[Touch-packages] [Bug 1863165] Re: autoremove-kernels doesn't purge kernels

2020-02-15 Thread Christian Kujau
I'd consider having remnants of old package versions (and lots of them)
to be a bug, but it's your distribution, so having this dismissed is an
answer to this problem nonetheless. Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1863165

Title:
  autoremove-kernels doesn't purge kernels

Status in apt package in Ubuntu:
  Invalid

Bug description:
  Maybe this is a configuration issue, but:

  # apt-get --purge autoremove
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

  # dpkg -l | grep ^rc | cut -c-70
  rc linux-image-4.15.0-66-generic 4.15.0-66.75 amd64 Signed kernel imag
  rc linux-image-4.15.0-67-generic 4.15.0-67.76 amd64 Signed kernel imag
  rc linux-image-4.15.0-71-generic 4.15.0-71.80 amd64 Signed kernel imag
  rc linux-image-4.15.0-72-generic 4.15.0-72.81 amd64 Signed kernel imag
  rc linux-image-4.15.0-73-generic 4.15.0-73.82 amd64 Signed kernel imag
  rc linux-image-4.15.0-74-generic 4.15.0-74.84 amd64 Signed kernel imag
  rc linux-image-4.15.0-75-generic 4.15.0-75.85 amd64 Signed kernel imag
  rc linux-image-4.15.0-76-generic 4.15.0-76.86 amd64 Signed kernel imag
  rc linux-modules-4.15.0-66-generic 4.15.0-66.75 amd64 Linux kernel ext
  rc linux-modules-4.15.0-67-generic 4.15.0-67.76 amd64 Linux kernel ext
  rc linux-modules-4.15.0-71-generic 4.15.0-71.80 amd64 Linux kernel ext
  rc linux-modules-4.15.0-72-generic 4.15.0-72.81 amd64 Linux kernel ext
  rc linux-modules-4.15.0-73-generic 4.15.0-73.82 amd64 Linux kernel ext
  rc linux-modules-4.15.0-74-generic 4.15.0-74.84 amd64 Linux kernel ext
  rc linux-modules-4.15.0-75-generic 4.15.0-75.85 amd64 Linux kernel ext
  rc linux-modules-4.15.0-76-generic 4.15.0-76.86 amd64 Linux kernel ext

  And the "rc" translates to "Remove/Conf-files". For some reason
  /etc/apt/apt.conf.d/01autoremove-kernels (triggered by unattended-
  upgrades.service) doesn't seem to remove the kernel's configuration
  files.

  The kernel images and modules are removed, only the package list (and
  maybe /usr/share/doc/linux*) is cluttered with the remnants of old
  kernels.

  Workaround:

   dpkg -l | awk '/^rc.*linux-(image|modules)/ {print $2}' | xargs dpkg
  -P

  # lsb_release -r; dpkg -s apt | grep Ver; uname -r
  Release:18.04
  Version: 1.6.12
  5.3.0-23-generic

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1863165] Re: autoremove-kernels doesn't purge kernels

2020-02-15 Thread Julian Andres Klode
This is not a support forum. Purging automatically is not recommended.
Purge interactively a few times a year.

** Changed in: apt (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1863165

Title:
  autoremove-kernels doesn't purge kernels

Status in apt package in Ubuntu:
  Invalid

Bug description:
  Maybe this is a configuration issue, but:

  # apt-get --purge autoremove
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

  # dpkg -l | grep ^rc | cut -c-70
  rc linux-image-4.15.0-66-generic 4.15.0-66.75 amd64 Signed kernel imag
  rc linux-image-4.15.0-67-generic 4.15.0-67.76 amd64 Signed kernel imag
  rc linux-image-4.15.0-71-generic 4.15.0-71.80 amd64 Signed kernel imag
  rc linux-image-4.15.0-72-generic 4.15.0-72.81 amd64 Signed kernel imag
  rc linux-image-4.15.0-73-generic 4.15.0-73.82 amd64 Signed kernel imag
  rc linux-image-4.15.0-74-generic 4.15.0-74.84 amd64 Signed kernel imag
  rc linux-image-4.15.0-75-generic 4.15.0-75.85 amd64 Signed kernel imag
  rc linux-image-4.15.0-76-generic 4.15.0-76.86 amd64 Signed kernel imag
  rc linux-modules-4.15.0-66-generic 4.15.0-66.75 amd64 Linux kernel ext
  rc linux-modules-4.15.0-67-generic 4.15.0-67.76 amd64 Linux kernel ext
  rc linux-modules-4.15.0-71-generic 4.15.0-71.80 amd64 Linux kernel ext
  rc linux-modules-4.15.0-72-generic 4.15.0-72.81 amd64 Linux kernel ext
  rc linux-modules-4.15.0-73-generic 4.15.0-73.82 amd64 Linux kernel ext
  rc linux-modules-4.15.0-74-generic 4.15.0-74.84 amd64 Linux kernel ext
  rc linux-modules-4.15.0-75-generic 4.15.0-75.85 amd64 Linux kernel ext
  rc linux-modules-4.15.0-76-generic 4.15.0-76.86 amd64 Linux kernel ext

  And the "rc" translates to "Remove/Conf-files". For some reason
  /etc/apt/apt.conf.d/01autoremove-kernels (triggered by unattended-
  upgrades.service) doesn't seem to remove the kernel's configuration
  files.

  The kernel images and modules are removed, only the package list (and
  maybe /usr/share/doc/linux*) is cluttered with the remnants of old
  kernels.

  Workaround:

   dpkg -l | awk '/^rc.*linux-(image|modules)/ {print $2}' | xargs dpkg
  -P

  # lsb_release -r; dpkg -s apt | grep Ver; uname -r
  Release:18.04
  Version: 1.6.12
  5.3.0-23-generic

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1863165] Re: autoremove-kernels doesn't purge kernels

2020-02-14 Thread Christian Kujau
** Changed in: apt (Ubuntu)
   Status: Invalid => New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1863165

Title:
  autoremove-kernels doesn't purge kernels

Status in apt package in Ubuntu:
  New

Bug description:
  Maybe this is a configuration issue, but:

  # apt-get --purge autoremove
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

  # dpkg -l | grep ^rc | cut -c-70
  rc linux-image-4.15.0-66-generic 4.15.0-66.75 amd64 Signed kernel imag
  rc linux-image-4.15.0-67-generic 4.15.0-67.76 amd64 Signed kernel imag
  rc linux-image-4.15.0-71-generic 4.15.0-71.80 amd64 Signed kernel imag
  rc linux-image-4.15.0-72-generic 4.15.0-72.81 amd64 Signed kernel imag
  rc linux-image-4.15.0-73-generic 4.15.0-73.82 amd64 Signed kernel imag
  rc linux-image-4.15.0-74-generic 4.15.0-74.84 amd64 Signed kernel imag
  rc linux-image-4.15.0-75-generic 4.15.0-75.85 amd64 Signed kernel imag
  rc linux-image-4.15.0-76-generic 4.15.0-76.86 amd64 Signed kernel imag
  rc linux-modules-4.15.0-66-generic 4.15.0-66.75 amd64 Linux kernel ext
  rc linux-modules-4.15.0-67-generic 4.15.0-67.76 amd64 Linux kernel ext
  rc linux-modules-4.15.0-71-generic 4.15.0-71.80 amd64 Linux kernel ext
  rc linux-modules-4.15.0-72-generic 4.15.0-72.81 amd64 Linux kernel ext
  rc linux-modules-4.15.0-73-generic 4.15.0-73.82 amd64 Linux kernel ext
  rc linux-modules-4.15.0-74-generic 4.15.0-74.84 amd64 Linux kernel ext
  rc linux-modules-4.15.0-75-generic 4.15.0-75.85 amd64 Linux kernel ext
  rc linux-modules-4.15.0-76-generic 4.15.0-76.86 amd64 Linux kernel ext

  And the "rc" translates to "Remove/Conf-files". For some reason
  /etc/apt/apt.conf.d/01autoremove-kernels (triggered by unattended-
  upgrades.service) doesn't seem to remove the kernel's configuration
  files.

  The kernel images and modules are removed, only the package list (and
  maybe /usr/share/doc/linux*) is cluttered with the remnants of old
  kernels.

  Workaround:

   dpkg -l | awk '/^rc.*linux-(image|modules)/ {print $2}' | xargs dpkg
  -P

  # lsb_release -r; dpkg -s apt | grep Ver; uname -r
  Release:18.04
  Version: 1.6.12
  5.3.0-23-generic

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1863165] Re: autoremove-kernels doesn't purge kernels

2020-02-13 Thread Christian Kujau
So, how can I convince APT to _automatically_ remove all kernel
leftovers? I could of course run a cron job with the workaround, but
maybe this can be done The Right Way? :)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1863165

Title:
  autoremove-kernels doesn't purge kernels

Status in apt package in Ubuntu:
  Invalid

Bug description:
  Maybe this is a configuration issue, but:

  # apt-get --purge autoremove
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

  # dpkg -l | grep ^rc | cut -c-70
  rc linux-image-4.15.0-66-generic 4.15.0-66.75 amd64 Signed kernel imag
  rc linux-image-4.15.0-67-generic 4.15.0-67.76 amd64 Signed kernel imag
  rc linux-image-4.15.0-71-generic 4.15.0-71.80 amd64 Signed kernel imag
  rc linux-image-4.15.0-72-generic 4.15.0-72.81 amd64 Signed kernel imag
  rc linux-image-4.15.0-73-generic 4.15.0-73.82 amd64 Signed kernel imag
  rc linux-image-4.15.0-74-generic 4.15.0-74.84 amd64 Signed kernel imag
  rc linux-image-4.15.0-75-generic 4.15.0-75.85 amd64 Signed kernel imag
  rc linux-image-4.15.0-76-generic 4.15.0-76.86 amd64 Signed kernel imag
  rc linux-modules-4.15.0-66-generic 4.15.0-66.75 amd64 Linux kernel ext
  rc linux-modules-4.15.0-67-generic 4.15.0-67.76 amd64 Linux kernel ext
  rc linux-modules-4.15.0-71-generic 4.15.0-71.80 amd64 Linux kernel ext
  rc linux-modules-4.15.0-72-generic 4.15.0-72.81 amd64 Linux kernel ext
  rc linux-modules-4.15.0-73-generic 4.15.0-73.82 amd64 Linux kernel ext
  rc linux-modules-4.15.0-74-generic 4.15.0-74.84 amd64 Linux kernel ext
  rc linux-modules-4.15.0-75-generic 4.15.0-75.85 amd64 Linux kernel ext
  rc linux-modules-4.15.0-76-generic 4.15.0-76.86 amd64 Linux kernel ext

  And the "rc" translates to "Remove/Conf-files". For some reason
  /etc/apt/apt.conf.d/01autoremove-kernels (triggered by unattended-
  upgrades.service) doesn't seem to remove the kernel's configuration
  files.

  The kernel images and modules are removed, only the package list (and
  maybe /usr/share/doc/linux*) is cluttered with the remnants of old
  kernels.

  Workaround:

   dpkg -l | awk '/^rc.*linux-(image|modules)/ {print $2}' | xargs dpkg
  -P

  # lsb_release -r; dpkg -s apt | grep Ver; uname -r
  Release:18.04
  Version: 1.6.12
  5.3.0-23-generic

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1863165] Re: autoremove-kernels doesn't purge kernels

2020-02-13 Thread Julian Andres Klode
This is not what the purge flag does. Starting in 20.04, you can use apt
purge ~c aka apt purge ?configuration-files to purge packages left in
configuration files.

The latter also works in 19.10. both also work with aptitude purge in
older releases.

** Changed in: apt (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1863165

Title:
  autoremove-kernels doesn't purge kernels

Status in apt package in Ubuntu:
  Invalid

Bug description:
  Maybe this is a configuration issue, but:

  # apt-get --purge autoremove
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

  # dpkg -l | grep ^rc | cut -c-70
  rc linux-image-4.15.0-66-generic 4.15.0-66.75 amd64 Signed kernel imag
  rc linux-image-4.15.0-67-generic 4.15.0-67.76 amd64 Signed kernel imag
  rc linux-image-4.15.0-71-generic 4.15.0-71.80 amd64 Signed kernel imag
  rc linux-image-4.15.0-72-generic 4.15.0-72.81 amd64 Signed kernel imag
  rc linux-image-4.15.0-73-generic 4.15.0-73.82 amd64 Signed kernel imag
  rc linux-image-4.15.0-74-generic 4.15.0-74.84 amd64 Signed kernel imag
  rc linux-image-4.15.0-75-generic 4.15.0-75.85 amd64 Signed kernel imag
  rc linux-image-4.15.0-76-generic 4.15.0-76.86 amd64 Signed kernel imag
  rc linux-modules-4.15.0-66-generic 4.15.0-66.75 amd64 Linux kernel ext
  rc linux-modules-4.15.0-67-generic 4.15.0-67.76 amd64 Linux kernel ext
  rc linux-modules-4.15.0-71-generic 4.15.0-71.80 amd64 Linux kernel ext
  rc linux-modules-4.15.0-72-generic 4.15.0-72.81 amd64 Linux kernel ext
  rc linux-modules-4.15.0-73-generic 4.15.0-73.82 amd64 Linux kernel ext
  rc linux-modules-4.15.0-74-generic 4.15.0-74.84 amd64 Linux kernel ext
  rc linux-modules-4.15.0-75-generic 4.15.0-75.85 amd64 Linux kernel ext
  rc linux-modules-4.15.0-76-generic 4.15.0-76.86 amd64 Linux kernel ext

  And the "rc" translates to "Remove/Conf-files". For some reason
  /etc/apt/apt.conf.d/01autoremove-kernels (triggered by unattended-
  upgrades.service) doesn't seem to remove the kernel's configuration
  files.

  The kernel images and modules are removed, only the package list (and
  maybe /usr/share/doc/linux*) is cluttered with the remnants of old
  kernels.

  Workaround:

   dpkg -l | awk '/^rc.*linux-(image|modules)/ {print $2}' | xargs dpkg
  -P

  # lsb_release -r; dpkg -s apt | grep Ver; uname -r
  Release:18.04
  Version: 1.6.12
  5.3.0-23-generic

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp