[Bug 1686138] Re: purge-old-kernels is superseded by "apt autoremove"

2017-09-03 Thread Jarno Suni
The problem and my solution (linux-purge) is presented here https://youtu.be/gozw6A3qwCY Subsequently I have published the utility at https://launchpad.net/linux-purge -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launc

[Bug 1686138] Re: purge-old-kernels is superseded by "apt autoremove"

2017-05-11 Thread Jarno Suni
Robie, 'apt autoremove' does not work, if there are broken packages in the system. And that usually is the case, if kernel updates have made /boot full. Even 'apt(-get) -f install' cannot deal with the space problem, as it tries to install something that does not fit. There are related bugs in o

[Bug 1686138] Re: purge-old-kernels is superseded by "apt autoremove"

2017-04-27 Thread Launchpad Bug Tracker
This bug was fixed in the package byobu - 5.117-0ubuntu1 --- byobu (5.117-0ubuntu1) artful; urgency=medium * usr/bin/purge-old-kernels, usr/share/man/man1/purge-old-kernels.1: LP: #1686138 - deprecate the logic in purge-old-kernel, as apt autoremove is supposed to work pr

[Bug 1686138] Re: purge-old-kernels is superseded by "apt autoremove"

2017-04-27 Thread Robie Basak
Dustin, Thank you for working on this! Some comments on your changes though: 1) Users will never see the deprecation message. And do we not want to make the change more gradually to protect against your concern that apt autoremove has edge case failures? And don't we want users to switch to runni

[Bug 1686138] Re: purge-old-kernels is superseded by "apt autoremove"

2017-04-27 Thread Launchpad Bug Tracker
** Branch linked: lp:byobu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1686138 Title: purge-old-kernels is superseded by "apt autoremove" To manage notifications about this bug go to: https://bug

[Bug 1686138] Re: purge-old-kernels is superseded by "apt autoremove"

2017-04-27 Thread Dustin Kirkland 
** Changed in: byobu (Ubuntu) Assignee: (unassigned) => Dustin Kirkland  (kirkland) ** Changed in: byobu (Ubuntu) Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.n

[Bug 1686138] Re: purge-old-kernels is superseded by "apt autoremove"

2017-04-27 Thread Robie Basak
3b) Before actually removing it, leave it in for a while but have it exit 1 with a message to stderr to use "apt autoremove" instead. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1686138 Title: pur

[Bug 1686138] Re: purge-old-kernels is superseded by "apt autoremove"

2017-04-27 Thread Robie Basak
Judging from the open bug reports, purge-old-kernels also does the wrong thing in various situations currently. To make progress, can I suggest a deprecation plan? 1) Mark purge-old-kernels as planned to be deprecated in Artful. Work as normal anyway, but note the planned deprecation to stderr, s

[Bug 1686138] Re: purge-old-kernels is superseded by "apt autoremove"

2017-04-26 Thread Dustin Kirkland 
** Changed in: byobu (Ubuntu) Importance: Undecided => Medium ** Changed in: byobu (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1686138 Title: purge-old

[Bug 1686138] Re: purge-old-kernels is superseded by "apt autoremove"

2017-04-26 Thread Dustin Kirkland 
That would certainly be nice! I'd be delighted to deprecate purge-old- kernels. However, the strange reality is that sometimes apt autoremove doesn't catch all of the kernels that should/could be removed. And apt behaves badly when your disk is already full (often due to many gigs of of old kern