Public bug reported:

Hi!

/usr/bin/purge-old-kernels script installed by byobu today it's a simple
bypass to an apt autoremove which can uninstall other packages not
kernel related.

Please replace on that script the line:

sudo apt-get $@ autoremove

By this one:

apt list '?or(?garbage,?config-files)' | grep -Po '^.*\/' | sed
's/\///g' | grep linux | xargs apt purge

Regards,

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: byobu 5.133-1
ProcVersionSignature: Ubuntu 5.15.0-121.131-generic 5.15.163
Uname: Linux 5.15.0-121-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Wed Aug 14 11:43:52 2024
InstallationDate: Installed on 2013-01-17 (4227 days ago)
InstallationMedia: Ubuntu-Server 12.04.1 LTS "Precise Pangolin" - Release amd64 
(20120817.3)
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=es_ES.UTF-8
 TERM=xterm
 XDG_RUNTIME_DIR=<set>
 PATH=(custom, no user)
SourcePackage: byobu
UpgradeStatus: Upgraded to jammy on 2023-05-30 (442 days ago)

** Affects: byobu (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2076983

Title:
  Fix for purge-old-kernels scripts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/byobu/+bug/2076983/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to