Hi,
I have a machine which I have updated since Wheezy in 2013 and has thus accumulated a bit of cruft. It is currently running Bookworm but seems
to have become stuck at 12.7.
I have a second machine on which I installed a fresh Bookworm a few
weeks ago. This has point release 12.9.
I have replaced /etc/apt/source.list on the 12.7 machine with that from
the 12.9 machine, done
apt-get clean
apt-get update
apt-get upgrade
but no new packages are installed.
Loris Bennett wrote:
Hi,
I have a machine which I have updated since Wheezy in 2013 and has thus
accumulated a bit of cruft. It is currently running Bookworm but seems
to have become stuck at 12.7.
I have a second machine on which I installed a fresh Bookworm a few
weeks ago. This has point release 12.9.
I have replaced /etc/apt/source.list on the 12.7 machine with that from
the 12.9 machine, done
apt-get clean
apt-get update
apt-get upgrade
but no new packages are installed.
You don't need to change your sources inside a major version.
The minor version is effectively invisible.
Please tell us the exact and actual output from running:
# apt update
and, after that,
# apt list --upgradable
Hi,
I have a machine which I have updated since Wheezy in 2013 and has thus accumulated a bit of cruft. It is currently running Bookworm but seems
to have become stuck at 12.7.
I have a second machine on which I installed a fresh Bookworm a few
weeks ago. This has point release 12.9.
I have replaced /etc/apt/source.list on the 12.7 machine with that from
the 12.9 machine, done
apt-get clean
apt-get update
apt-get upgrade
but no new packages are installed.
Where could I look to see where the problem is?
Cheers,
Loris
--
This signature is currently under constuction.
On 18/03/2025 02:24, Andrew M.A. Cater wrote:
As ever with apt problems, it's really useful if you can copy you
*actual* /etc/apt/sources.list file to the mailing list.
Output of
apt policy
while being more "noisy", is a more reliable source for
troubleshooting. The first step is to check if it matches expected configuration from /etc/apt/sources.list and /etc/apt/sources.list.d/
files. If apt source are correct then try
apt list --upgradable
or "apt list '~U'". There are some subtle differences between apt and
apt-get commands. Unless you have some old package preventing upgrade
or a similar issue, "apt update" and "apt upgrade" should install
packages from next point release.
On Mon, Mar 17, 2025 at 10:03:48AM +0100, Loris Bennett wrote:
Hi,
I have a machine which I have updated since Wheezy in 2013 and has thus
accumulated a bit of cruft. It is currently running Bookworm but seems
to have become stuck at 12.7.
I have a second machine on which I installed a fresh Bookworm a few
weeks ago. This has point release 12.9.
12.10 was just released this last weekend so you might want to upgrade
again. It's not vital but you'll then be more up to date.
apt-get update ; apt-get dist-upgrade works for me to do that.
I hit something similar the other day. You can try (from Adam Barratt on IRC):
adsb | often just rm-ing /var/lib/apt/lists/* and trying again is enough
In my case, I switched mirrors - my /etc/apt/sources.list pointed to deb.debian.org in each line of the stanza.
I'm in the UK to changed this to ftp.uk.debian.org for each line and it worked for me. I think sometimes it's just a stale file / cache somewhere.
Try changing mirrors to the nearest mirror in your country, maybe, and
see if that makes a difference.
As ever with apt problems, it's really useful if you can copy you
*actual* /etc/apt/sources.list file to the mailing list.
It is very easy to make a typo. Invariably, when you do so, someone else
will spot _exactly_ what you've done immediately, even though you've been looking at it for hours :)
With every good wish, as ever,
Andy Cater
(amacater@debian.org)
--I have replaced /etc/apt/source.list on the 12.7 machine with that from
the 12.9 machine, done
apt-get clean
apt-get update
apt-get upgrade
but no new packages are installed.
Where could I look to see where the problem is?
Cheers,
Loris
--
This signature is currently under constuction.
"Loris Bennett" <loris.bennett@fu-berlin.de> writes:
Dan Ritter <dsr@randomstring.org> writes:
Loris Bennett wrote:
Hi,
I have a machine which I have updated since Wheezy in 2013 and has thus >>>> accumulated a bit of cruft. It is currently running Bookworm but seems >>>> to have become stuck at 12.7.
I have a second machine on which I installed a fresh Bookworm a few
weeks ago. This has point release 12.9.
I have replaced /etc/apt/source.list on the 12.7 machine with that from >>>> the 12.9 machine, done
apt-get clean
apt-get update
apt-get upgrade
but no new packages are installed.
You don't need to change your sources inside a major version.
The minor version is effectively invisible.
Please tell us the exact and actual output from running:
# apt update
and, after that,
# apt list --upgradable
# apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease >> Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Fetched 55.4 kB in 1s (109 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
# apt list --upgradable
Listing... Done
--
This signature is currently under constuction.
It's possible that your system has already been upgraded automatically
by unattended-upgrade.
Can you show the output of the following commands?
cat /etc/debian_version
uname -a
dpkg -l | grep linux-image$ dpkg -l | grep linux-image
cat /etc/apt/sources.list
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (1 / 15) |
Uptime: | 160:12:54 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,056 |
Messages: | 6,416,492 |