Update to grub-legacy-ec2 17.2-35-gf576b2a2-0ubuntu1~16.04.2 failed to remove old files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi there,
after upgrading grub-legacy-ec2 to 17.2-35-
Vorbereitung zum Entpacken von .../grub-
»Umleitung von /usr/sbin/
Entpacken von grub-legacy-ec2 (17.2-35-
!!!
dpkg: Warnung: Altes Verzeichnis »/etc/kernel/
dpkg: Warnung: Altes Verzeichnis »/etc/kernel/
dpkg: Warnung: Altes Verzeichnis »/etc/kernel/
!!!
grub-legacy-ec2 (17.2-35-
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-
Found kernel: /vmlinuz-
Replacing config file /run/grub/menu.lst with new version
Found kernel: /vmlinuz-
Found kernel: /vmlinuz-
Replacing config file /run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... done
I marked the errors with !!!. It says: "Old directory XXX could not be removed, directory isn't empty."
It seems that it tries to remove "/etc/kernel/
Any way to fix the package?
I think these comments are just noise at this piont.
I do not believe you will see them on subsequent updates.
there was a fix that went in that moved the directory from '/etc/kernel/ kernel' to '/etc/kernel' (bug 1581416).
i believe the messages are just a result of that.
if you continued to see this on subsequent ugrades you can set back to new.