You are not logged in.
Hi,
I (not quite) recently upgraded my system, but it looks like apt is still confused about my base system:
# apt search linux-image-amd64
Sorting... Done
Full Text Search... Done
linux-image-amd64/testing,now 4.9+80+deb9u5 amd64 [installed]
Linux for 64-bit PCs (meta-package)
...
Here it indicates /testing instead of /stable or even better, /ascii. I am under the impression that the version should come from /etc/os-release but there is no such field in mine:
# cat /etc/os-release
PRETTY_NAME="Devuan GNU/Linux ascii"
NAME="Devuan GNU/Linux"
ID=devuan
ID_LIKE=debian
HOME_URL="https://www.devuan.org/"
SUPPORT_URL="https://devuan.org/os/community"
BUG_REPORT_URL="https://bugs.devuan.org/"
What is going on here?
Last edited by malinas (2018-08-12 22:34:06)
Offline
I am running a fresh installed ASCII with backports kernel 4.16 installed. What is your sources.list looking alike? Mine is clearly pointing to ascii. I get:
root@xxx:/# uname -a
Linux xxx 4.16.0-0.bpo.2-amd64 #1 SMP Debian 4.16.16-2~bpo9+1 (2018-06-26) x86_64 GNU/Linux
root@xxx:/# apt search linux-image-amd64
Sortierung... Fertig
Volltextsuche... Fertig
linux-image-amd64/stable,stable-security,now 4.9+80+deb9u4 amd64 [installiert]
Linux for 64-bit PCs (meta-package)
linux-image-amd64-dbg/stable,stable-security 4.9+80+deb9u4 amd64
Debugging symbols for Linux amd64 configuration (meta-package)
root@xxx:/# cat /etc/os-release
PRETTY_NAME="Devuan GNU/Linux ascii"
NAME="Devuan GNU/Linux"
ID=devuan
ID_LIKE=debian
HOME_URL="https://www.devuan.org/"
SUPPORT_URL="https://devuan.org/os/community"
BUG_REPORT_URL="https://bugs.devuan.org/"
Regards, rolfie
Last edited by rolfie (2018-07-19 19:43:53)
Offline
These are my files:
# cat /etc/apt/sources.list
deb http://sg.mirror.devuan.org/merged/ ascii main contrib non-free
deb http://sg.mirror.devuan.org/merged/ ascii-security main contrib non-free
deb http://sg.mirror.devuan.org/merged/ ascii-updates main contrib non-free
# cat /etc/apt/sources.list.d/backports.list
deb http://sg.mirror.devuan.org/merged/ ascii-backports main contrib non-free
# cat /etc/apt/sources.list.d/virtualbox.list
deb http://download.virtualbox.org/virtualbox/debian stretch contrib non-free
If I use apt-cache instead:
# apt-cache policy linux-image-amd64
linux-image-amd64:
Installed: 4.9+80+deb9u5
Candidate: 4.9+80+deb9u5
Version table:
4.16+94~bpo9+1 100
100 http://sg.mirror.devuan.org/merged ascii-backports/main amd64 Packages
*** 4.9+80+deb9u5 500
500 http://sg.mirror.devuan.org/merged ascii/main amd64 Packages
100 /var/lib/dpkg/status
4.9+80+deb9u4 500
500 http://sg.mirror.devuan.org/merged ascii-security/main amd64 Packages
So the information about what are stable and testing must come from somewhere else?
Offline
There are new mirrors you should use. Change sg.mirror.devuan.org to deb.devuan.org (or maybe sg.deb.devuan.org) in sources.list, then update.
Offline
That fixed the problem! And it sort of answers the question of where the information comes from: the repository itself. Thanks!
Offline