APT and u-u and marking work as designed.
** Changed in: unattended-upgrades (Ubuntu)
Status: Incomplete => Invalid
** Changed in: apt (Ubuntu)
Status: Incomplete => Invalid
** Summary changed:
- apt autoremove is not removing unused kernels
+ discover is not removing unused kerne
TJ:
linux-image-5.4.0-40-generic/focal-updates,focal-security,now 5.4.0-40.44 amd64
[installed,automatic]
linux-image-5.4.0-40-lowlatency/focal-updates,focal-security,now 5.4.0-40.44
amd64 [installed,automatic]
linux-image-5.4.0-42-generic/focal-updates,focal-security,now 5.4.0-42.46 amd64
[ins
Please install a few old kernels manually, mark them autoremovable and
run u-u in verbose and debug mode.
If u-u removes those kernels this is not an u-u bug.
Then install those again and try removing them with apt.
If apt removes those kernels than this is not an APT bug.
** Changed in: unatte
Erich, looks like that code wasn't reached or if it was the object
(list) "auto_removable" was empty.
Maybe the problem is outside this code. Does apt think those packages
are still installed?
apt list --installed 'linux-image*'
Also, what is the actual content of /boot/ ("ls -latr /boot/") ? I
** Changed in: unattended-upgrades (Ubuntu)
Status: Incomplete => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914278
Title:
apt autoremove is not removing unused kernels
To manage not
Hi TJ,
Here's the output from the patched version:
https://paste.ubuntu.com/p/dzGqfR9PRH/
I hope this helps. Thanks for chipping-in!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914278
Title:
ap
The attachment "Kernel pkg debugging" seems to be a patch. If it isn't,
please remove the "patch" flag from the attachment, remove the "patch"
tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the
team.
[This is an automated message performed by a Launchpad user owned by
~brian-m
I haven't been able to test this since the systems I have here don't
have any kernel images lying around, but wondering if this patch could
help narrow down the cause?
Apply to a (copy) of /usr/bin/unattended-upgrade - possibly put in
/usr/local/bin/ so it is called before the package-installed ve
Balint:
Here's the result:
https://paste.ubuntu.com/p/9kbT6HDpjw/
Bear in mind, I have a few external repositories, and we also ship a
bunch of external repositories by default. That said, none of those
should affect this as they don't contain kernels, nor do we pin any
kernels.
If you'd like, I
@eeickmeyer Please run manually:
sudo unattended-upgrade --verbose --debug
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914278
Title:
apt autoremove is not removing unused kernels
To manage not
Balint:
Here's the results, looks like everything matches what you've got there.
erich@erich-KFocus:~$ cat /etc/apt/apt.conf.d/20auto-upgrades
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "1";
APT::Periodic::AutocleanInterval "0";
APT::Periodic::Unattende
I'm also wondering if these are laptops or desktops, and if laptops, are
they mainly on battery whilst not sleeping/charging? I ask since apt-
daily-upgrade.service has:
ConditionACPower=true
and so may be reporting:
Condition check resulted in Daily apt upgrade and clean activities being
skippe
Is unatteded-upgrade disabled on the system?
$ cat /etc/apt/apt.conf.d/20auto-upgrades
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";
$ apt-config dump | grep Periodic
APT::Periodic "";
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-P
Hi Balint!
Unfortunately, it looks like it didn't run at all. On my system, I came
up with this:
root@erich-KFocus:/var/log/unattended-upgrades# grep 'unused kernel'
/var/log/unattended-upgrades/*.gz
root@erich-KFocus:/var/log/unattended-upgrades#
That tells me it likely didn't run at all.
*
The configuration file is fine, it is the default value that's commented
out.
Please check unattended-upgrades logs if it performed kernel removals:
zgrep 'unused kernel' /var/log/unattended-upgrades/*.gz
Also please check if it ran at all.
** Changed in: unattended-upgrades (Ubuntu)
St
15 matches
Mail list logo