[Touch-packages] [Bug 1675079] Re: 16.04 LTS Partition /boot fills up with Kernel images, gets underwear in a twist

2021-01-20 Thread private_lock
Update to comment 37

Issue 2) was my fault of not properly unmarking all components of the
kernel, so that some of it kept the "manual" status and prevented
removal. But once I severed all those marks, "apt autoremove" could do
it's work.

Issue 1) was reported first here:
https://bugs.kde.org/show_bug.cgi?id=430296
and then here:
https://github.com/hughsie/PackageKit/issues/450

** Bug watch added: KDE Bug Tracking System #430296
   https://bugs.kde.org/show_bug.cgi?id=430296

** Bug watch added: github.com/hughsie/PackageKit/issues #450
   https://github.com/hughsie/PackageKit/issues/450

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

Title:
  16.04 LTS Partition /boot fills up with Kernel images, gets underwear
  in a twist

Status in unattended-upgrades package in Ubuntu:
  Fix Released
Status in update-manager package in Ubuntu:
  Fix Released
Status in unattended-upgrades source package in Xenial:
  Fix Released
Status in update-manager source package in Xenial:
  Fix Released
Status in unattended-upgrades source package in Artful:
  Won't Fix
Status in update-manager source package in Artful:
  Fix Released

Bug description:
  [Impact]

   * Update-manager and unattended-upgrades install many kernel packages during 
the lifetime of a release but does not remove them automatically leading to 
those packages filling disk space potentially completely filling /boot and 
making the system unable to install updates or even boot.
   * Stable release users are impacted by this bug for years and their systems 
already collected many autoremovable unused kernel packages, thus they would 
benefit from backporting the fix greatly.
   * The bug is fixed by removing autoremovable (not currently booted) kernel 
packages when running unattended-upgrades or update-manager. Update manager 
offers the kernel removals when there are other updates to be installed.

  [Test Case]

   1. Install kernel packages to be removed, mark them auto-installed
  and run apt's kernel hook script to make apt consider them
  autoremovable:

    sudo apt install -y linux-image-extra-4.4.0-92-generic 
linux-image-extra-4.4.0-93-generic
    sudo apt-mark auto linux-image-extra-4.4.0-92-generic 
linux-image-extra-4.4.0-93-generic
    sudo /etc/kernel/postinst.d/apt-auto-removal

   2. Also downgrade a package to be upgraded:

     sudo apt-get install -y --allow-downgrades ca-
  certificates=20160104ubuntu1

   3. (update-manager). Run update-manager and observe that kernel
  packages are offered for removal in Details of updates.

    sudo update-manager

   4. (update-manager) Click on Install Now and observe that the kernel
  packages are removed.

   3. (unattended-upgrades) Run unattended-upgrades manually and observe
  the removal of the autoremovable kernel packages:

    sudo unattended-upgrade -v

  [Regression Potential]

   The change may cause update-manager or unattanded-upgrades to remove
  used kernel packages or fail to install other package updates.

  [Other Info]

  The unattended-upgrades fix is uploaded with many other fixes and
  those may cause regressions in other areas in unattended-upgrades.

  [Original bug text]

  On a 16.04LTS system, the /boot partition will eventually fill with
  Kernel images, until the point where "apt-get autoremove" can't
  complete.

  This issue has previously been reported as fixed, but it is not fixed:
  https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1357093

  Generally what I see is the final kernel image that fills the drive is
  incompletely installed (the header package does not make it).  "apt-
  get autoremove" tries to work, but fails.  I must manually remove
  kernel images to free enough space.

  I see this on a machine used by my elderly parents, where 'Download
  and install updates automatically' is set.  And on my home machines,
  where the setting is elsewhere.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1675079/+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 1675079] Re: 16.04 LTS Partition /boot fills up with Kernel images, gets underwear in a twist

2020-12-09 Thread private_lock
I'm hitting two distinct errors here:

1) Accepting the updates from the GUI-notification, all my kernels over
the past months get marked as "manual" - though I have the strong
feeling, they should be automatic and only kept until superseded by jet
more updates:

root@Meerschweinchen:/boot# apt-mark showmanual 'linux-image-.*'
linux-image-5.4.0-52-generic
linux-image-5.4.0-54-generic
linux-image-5.4.0-56-generic

2) Trying to mark an old kernel as "auto" will still not *MANUALLY* 
"autoremove":
root@Meerschweinchen:/boot# sudo apt-mark auto linux-image-5.4.0-51-generic
linux-image-5.4.0-51-generic wurde bereits auf automatisch installiert gesetzt.
root@Meerschweinchen:/boot# apt-mark showauto 'linux-image-.*'
linux-image-5.4.0-51-generic
linux-image-generic
root@Meerschweinchen:/boot# apt-get autoclean
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.   
Statusinformationen werden eingelesen Fertig
root@Meerschweinchen:/boot# apt-get autoremove
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.   
Statusinformationen werden eingelesen Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

This system is:
root@Meerschweinchen:/boot# uname -a
Linux Meerschweinchen 5.4.0-56-generic #62-Ubuntu SMP Mon Nov 23 19:20:19 UTC 
2020 x86_64 x86_64 x86_64 GNU/Linux
root@Meerschweinchen:/boot# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 20.04.1 LTS
Release:20.04
Codename:   focal

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

Title:
  16.04 LTS Partition /boot fills up with Kernel images, gets underwear
  in a twist

Status in unattended-upgrades package in Ubuntu:
  Fix Released
Status in update-manager package in Ubuntu:
  Fix Released
Status in unattended-upgrades source package in Xenial:
  Fix Released
Status in update-manager source package in Xenial:
  Fix Released
Status in unattended-upgrades source package in Artful:
  Won't Fix
Status in update-manager source package in Artful:
  Fix Released

Bug description:
  [Impact]

   * Update-manager and unattended-upgrades install many kernel packages during 
the lifetime of a release but does not remove them automatically leading to 
those packages filling disk space potentially completely filling /boot and 
making the system unable to install updates or even boot.
   * Stable release users are impacted by this bug for years and their systems 
already collected many autoremovable unused kernel packages, thus they would 
benefit from backporting the fix greatly.
   * The bug is fixed by removing autoremovable (not currently booted) kernel 
packages when running unattended-upgrades or update-manager. Update manager 
offers the kernel removals when there are other updates to be installed.

  [Test Case]

   1. Install kernel packages to be removed, mark them auto-installed
  and run apt's kernel hook script to make apt consider them
  autoremovable:

    sudo apt install -y linux-image-extra-4.4.0-92-generic 
linux-image-extra-4.4.0-93-generic
    sudo apt-mark auto linux-image-extra-4.4.0-92-generic 
linux-image-extra-4.4.0-93-generic
    sudo /etc/kernel/postinst.d/apt-auto-removal

   2. Also downgrade a package to be upgraded:

     sudo apt-get install -y --allow-downgrades ca-
  certificates=20160104ubuntu1

   3. (update-manager). Run update-manager and observe that kernel
  packages are offered for removal in Details of updates.

    sudo update-manager

   4. (update-manager) Click on Install Now and observe that the kernel
  packages are removed.

   3. (unattended-upgrades) Run unattended-upgrades manually and observe
  the removal of the autoremovable kernel packages:

    sudo unattended-upgrade -v

  [Regression Potential]

   The change may cause update-manager or unattanded-upgrades to remove
  used kernel packages or fail to install other package updates.

  [Other Info]

  The unattended-upgrades fix is uploaded with many other fixes and
  those may cause regressions in other areas in unattended-upgrades.

  [Original bug text]

  On a 16.04LTS system, the /boot partition will eventually fill with
  Kernel images, until the point where "apt-get autoremove" can't
  complete.

  This issue has previously been reported as fixed, but it is not fixed:
  https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1357093

  Generally what I see is the final kernel image that fills the drive is
  incompletely installed (the header package does not make it).  "apt-
  get autoremove" tries to work, but fails.  I must manually remove
  kernel images to free enough space.

  I see this on a machine used by my elderly parents, where 'Download
  and install updates automatically' is set.  And on my home machines,
  where the setting is elsewhere.

To manage 

[Touch-packages] [Bug 1492840] Re: Softlockup on boot of Kubuntu 14.04-3 Live-ISO

2015-09-09 Thread private_lock
I've tried various others ISO over the last days.

kubuntu-13.10-desktop-amd64.iso - blank screen before language chooser, 
probably another error
kubuntu-14.04-desktop-amd64.iso - works
kubuntu-14.04.1-desktop-amd64.iso - works
kubuntu-14.04.2-desktop-amd64.iso - same error
kubuntu-14.04.3-desktop-amd64.iso - the ISO from the original error report
kubuntu-14.10-desktop-amd64.iso - same error
kubuntu-15.04-desktop-amd64.iso - new KDE version, language chooser completely 
gone and screen turned off
kubuntu-15.10-beta1-desktop-amd64.iso - works again

Total: 5 out of 8 ISO fail on my hardware, though the upgrades worked so
far.

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

Title:
  Softlockup on boot of Kubuntu 14.04-3 Live-ISO

Status in xorg package in Ubuntu:
  New

Bug description:
  Summary:
  Booting a Live-session, I reach the language selection. On click on "try 
Kubuntu" without install, first the mouse changes to two balls circling each 
other. Next the dialog goes half transparent and the mouse pointer is gone. It 
won't react to any keyboard input.

  Details:
  I've downloaded the recent longterm release:
  
http://cdimage.ubuntu.com/kubuntu/releases/14.04.3/release/kubuntu-14.04.3-desktop-amd64.iso
  sha256sum 44cc15a31f9a3a6b583929ce711a5eb76fddb1ba447726f9bb2539d78b7a53bc

  I installed it via USB-creator to my USB pen drive and ran the
  internal md5sum checks successfully.

  On boot I get to the dialog to select the language, that I can switch
  back and forth. Also there's a link that can bring up a Konqueror
  window (though without entering my WiFi password, it won't connect).
  In addition, I can switch to a console via Ctrl+Alt+F1

  Once I click the "try Kubuntu"-button, the error occurs. So I klicked
  it and while the mouse-cursor balls were still cycling I switched to
  console.

  Alt+SysReq+1 was not supported
  Alt+SysReq+t first didn't do anything, so I tried switching back via 
Ctrl+Alt+F7 and it immediately dumped some cryptic stuff to the console, that 
refreshes about ever 30 seconds only to repeat itself. I'll attach a photo.

  BTW: I tried to update the BIOS to no avail (the new BIOS shows
  exactly the same behavior on this machine). ubuntu-bug was run on the
  same hardware but in a newer Kubuntu 15.04 installed on it's
  harddrive.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: xorg 1:7.7+7ubuntu4
  ProcVersionSignature: Ubuntu 3.19.0-26.28-generic 3.19.8-ckt4
  Uname: Linux 3.19.0-26-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1.3
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Sun Sep  6 22:02:37 2015
  InstallationDate: Installed on 2014-04-12 (512 days ago)
  InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Beta amd64 (20140326.2)
  ProcEnviron:
   LANGUAGE=de:en_US:en_GB:fr
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: Upgraded to vivid on 2015-05-04 (125 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1492840/+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 1492840] [NEW] Softlockup on boot of Kubuntu 14.04-3 Live-ISO

2015-09-06 Thread private_lock
Public bug reported:

Summary:
Booting a Live-session, I reach the language selection. On click on "try 
Kubuntu" without install, first the mouse changes to two balls circling each 
other. Next the dialog goes half transparent and the mouse pointer is gone. It 
won't react to any keyboard input.

Details:
I've downloaded the recent longterm release:
http://cdimage.ubuntu.com/kubuntu/releases/14.04.3/release/kubuntu-14.04.3-desktop-amd64.iso
sha256sum 44cc15a31f9a3a6b583929ce711a5eb76fddb1ba447726f9bb2539d78b7a53bc

I installed it via USB-creator to my USB pen drive and ran the internal
md5sum checks successfully.

On boot I get to the dialog to select the language, that I can switch
back and forth. Also there's a link that can bring up a Konqueror window
(though without entering my WiFi password, it won't connect). In
addition, I can switch to a console via Ctrl+Alt+F1

Once I click the "try Kubuntu"-button, the error occurs. So I klicked it
and while the mouse-cursor balls were still cycling I switched to
console.

Alt+SysReq+1 was not supported
Alt+SysReq+t first didn't do anything, so I tried switching back via 
Ctrl+Alt+F7 and it immediately dumped some cryptic stuff to the console, that 
refreshes about ever 30 seconds only to repeat itself. I'll attach a photo.

BTW: I tried to update the BIOS to no avail (the new BIOS shows exactly
the same behavior on this machine). ubuntu-bug was run on the same
hardware but in a newer Kubuntu 15.04 installed on it's harddrive.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: xorg 1:7.7+7ubuntu4
ProcVersionSignature: Ubuntu 3.19.0-26.28-generic 3.19.8-ckt4
Uname: Linux 3.19.0-26-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.3
Architecture: amd64
CurrentDesktop: KDE
Date: Sun Sep  6 22:02:37 2015
InstallationDate: Installed on 2014-04-12 (512 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Beta amd64 (20140326.2)
ProcEnviron:
 LANGUAGE=de:en_US:en_GB:fr
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: xorg
Symptom: display
UpgradeStatus: Upgraded to vivid on 2015-05-04 (125 days ago)

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


** Tags: amd64 apport-bug fonts kubuntu vivid

** Attachment added: "screenshot"
   
https://bugs.launchpad.net/bugs/1492840/+attachment/4458438/+files/IMG_20150906_214126.jpg

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

Title:
  Softlockup on boot of Kubuntu 14.04-3 Live-ISO

Status in xorg package in Ubuntu:
  New

Bug description:
  Summary:
  Booting a Live-session, I reach the language selection. On click on "try 
Kubuntu" without install, first the mouse changes to two balls circling each 
other. Next the dialog goes half transparent and the mouse pointer is gone. It 
won't react to any keyboard input.

  Details:
  I've downloaded the recent longterm release:
  
http://cdimage.ubuntu.com/kubuntu/releases/14.04.3/release/kubuntu-14.04.3-desktop-amd64.iso
  sha256sum 44cc15a31f9a3a6b583929ce711a5eb76fddb1ba447726f9bb2539d78b7a53bc

  I installed it via USB-creator to my USB pen drive and ran the
  internal md5sum checks successfully.

  On boot I get to the dialog to select the language, that I can switch
  back and forth. Also there's a link that can bring up a Konqueror
  window (though without entering my WiFi password, it won't connect).
  In addition, I can switch to a console via Ctrl+Alt+F1

  Once I click the "try Kubuntu"-button, the error occurs. So I klicked
  it and while the mouse-cursor balls were still cycling I switched to
  console.

  Alt+SysReq+1 was not supported
  Alt+SysReq+t first didn't do anything, so I tried switching back via 
Ctrl+Alt+F7 and it immediately dumped some cryptic stuff to the console, that 
refreshes about ever 30 seconds only to repeat itself. I'll attach a photo.

  BTW: I tried to update the BIOS to no avail (the new BIOS shows
  exactly the same behavior on this machine). ubuntu-bug was run on the
  same hardware but in a newer Kubuntu 15.04 installed on it's
  harddrive.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: xorg 1:7.7+7ubuntu4
  ProcVersionSignature: Ubuntu 3.19.0-26.28-generic 3.19.8-ckt4
  Uname: Linux 3.19.0-26-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1.3
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Sun Sep  6 22:02:37 2015
  InstallationDate: Installed on 2014-04-12 (512 days ago)
  InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Beta amd64 (20140326.2)
  ProcEnviron:
   LANGUAGE=de:en_US:en_GB:fr
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: Upgraded to vivid on 2015-05-04 (125 days ago)

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

-- 
Mailing