[Bug 1586303] Re: clear_partitions doesn't clear /boot
Brian Murray
brian at ubuntu.com
Tue Jun 7 15:22:01 UTC 2016
In the attached ubiquity upgrade log file we can see the following:
Apr 28 12:59:19 xubuntu kernel: [ 821.820380] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
Apr 28 12:59:19 xubuntu clear_partitions: Removing bin from / (/dev/sda2).
Apr 28 12:59:19 xubuntu clear_partitions: Removing dev from / (/dev/sda2).
Apr 28 12:59:20 xubuntu clear_partitions: Removing etc from / (/dev/sda2).
Apr 28 12:59:21 xubuntu clear_partitions: Removing lib from / (/dev/sda2).
Apr 28 12:59:21 xubuntu clear_partitions: Removing lib64 from / (/dev/sda2).
Apr 28 12:59:21 xubuntu clear_partitions: Removing proc from / (/dev/sda2).
Apr 28 12:59:21 xubuntu clear_partitions: Removing sbin from / (/dev/sda2).
Apr 28 12:59:21 xubuntu clear_partitions: Removing sys from / (/dev/sda2).
Apr 28 12:59:21 xubuntu clear_partitions: Removing usr/bin from / (/dev/sda2).
Apr 28 12:59:21 xubuntu clear_partitions: Removing usr/games from / (/dev/sda2).
Apr 28 12:59:21 xubuntu clear_partitions: Removing usr/include from / (/dev/sda2).
Apr 28 12:59:23 xubuntu clear_partitions: Removing usr/lib from / (/dev/sda2).
Apr 28 12:59:23 xubuntu clear_partitions: Removing usr/sbin from / (/dev/sda2).
Apr 28 12:59:26 xubuntu ubiquity: WARNING: Unknown X keysym "permille"
** Summary changed:
- After upgrade from Xubuntu 15.10 to 16.04, old kenrels are on /boot but not shown by `dpkg -l`
+ clear_partitions doesn't clear /boot
** Package changed: dpkg (Ubuntu) => ubiquity (Ubuntu)
** Changed in: ubiquity (Ubuntu)
Status: Incomplete => Confirmed
** Changed in: bikeshed (Ubuntu)
Status: New => Invalid
** Changed in: byobu (Ubuntu)
Status: New => Invalid
** Changed in: ubiquity (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1586303
Title:
clear_partitions doesn't clear /boot
Status in bikeshed package in Ubuntu:
Invalid
Status in byobu package in Ubuntu:
Invalid
Status in ubiquity package in Ubuntu:
Confirmed
Bug description:
Illustrated in shell:
$ ls -l /boot/vmlinuz-*
-rw------- 1 root root 6808720 helmi 26 05:17 /boot/vmlinuz-4.2.0-30-generic
-rw------- 1 root root 6808528 maali 11 02:11 /boot/vmlinuz-4.2.0-34-generic
-rw------- 1 root root 6829104 maali 16 02:45 /boot/vmlinuz-4.2.0-35-generic
-rw-r--r-- 1 root root 7013984 huhti 28 16:03 /boot/vmlinuz-4.4.0-21-generic
-rw------- 1 root root 7015440 touko 13 02:55 /boot/vmlinuz-4.4.0-22-generic
$ linux-version list
4.2.0-30-generic
4.2.0-34-generic
4.2.0-35-generic
4.4.0-21-generic
4.4.0-22-generic
$ dpkg -l linux-image-4'*' |grep .
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-============================-============-============-======================================================
ii linux-image-4.4.0-21-generic 4.4.0-21.37 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-22-generic 4.4.0-22.40 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
Workaround; How to remove the kernels:
http://askubuntu.com/q/779031/21005
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: dpkg 1.18.4ubuntu1.1
ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: XFCE
Date: Fri May 27 11:31:51 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-04-28 (28 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: dpkg
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bikeshed/+bug/1586303/+subscriptions
More information about the foundations-bugs
mailing list