kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #184285
[Bug 1592917] Re: do-release-upgrade stuck when dealing with apparmor profile for cupsd
Workaround:
Step 1:
=======
I killed the process with which I was stuck with (kill 20108):
root 20108 0.0 0.0 4508 1624 pts/18 S+ 18:42 0:00 /bin/sh
/var/lib/dpkg/info/cups-daemon.postinst configure 1.7.2-0ubuntu1.7
This had the result that the do-release-upgrade script continued to
configure all the packages.
At this point, dpkg --configure -a fails because mysql-server cannot be
configured (no socket connection)
Step 2: remove autoremovable packages
=====================
apt-get autoremove => mysql-server can be configured after autoremove
aptitude-common dh-apparmor g++-4.8 gcc-4.9-base:i386 gir1.2-gconf-2.0 java-common kubuntu-debug-installer latex-beamer latex-xcolor libamd2.3.1 libatk-wrapper-java
libatk-wrapper-java-jni libavcodec54 libavformat54 libavresample1 libavutil52 libbaloocore4 libbaloofiles4 libbalooxapian4 libbit-vector-perl libboost-iostreams1.54.0
libboost-thread1.54.0 libcamd2.3.1 libcarp-clan-perl libccolamd2.8.0 libcgmanager0:i386 libcholmod2.1.2 libclamav6 libdate-calc-perl libdate-calc-xs-perl libdbd-mysql-perl
libdbi-perl libdbus-1-3:i386 libdrm2:i386 libegl1-mesa-drivers libept1.4.12 libepub0 libgbm1-lts-wily libgconf2-4 libgegl-0.2-0 libgif4 libgl1-mesa-dri-lts-wily
libglapi-mesa-lts-wily libgles1-mesa-lts-wily libgles2-mesa-lts-wily libgraphicsmagick3 libicc2 libidl-2-0 libidl-common libilmbase6 libimdi0 libjavascriptcoregtk-1.0-0
libjson-c2:i386 libkactivities-models1 libkidletime4 libkscreen1 liblinear1 libmagick++5 libmagickcore5 libmagickcore5-extra libmagickwand5 libmrm4 libmusicbrainz5-0
libnepomukcleaner4 libnepomukcore4abi1 libnih-dbus1:i386 libnih1:i386 libokularcore4 libopenexr6 libopenjpeg2 liborbit2 libpng12-0:i386 libpostproc52 libpth20 libqapt3
libqapt3-runtime libqjson0 libsctp1 libsoprano4 libstdc++-4.8-dev libswscale2 libterm-readkey-perl libts-0.0-0 libuil4 libumfpack5.6.2 libvirtodbc0 libvte-common libvte9
libwebkitgtk-1.0-0 libwebkitgtk-1.0-common libwireshark3 libwiretap3 libwsutil3 libwxbase2.8-0 libwxgtk2.8-0 libx264-142 libxatracker2-lts-wily libxen-4.4 libzip2 libzip4
linux-headers-generic-lts-wily linux-image-generic-lts-wily lksctp-tools nepomuk-core-data odbcinst odbcinst1debian2 perlmagick pgf phonon-backend-gstreamer1.0
php-symfony2-yaml php5-xdebug python-urlgrabber python-vte qapt-batch shared-desktop-ontologies soprano-daemon syslinux-themes-debian syslinux-themes-debian-wheezy
texlive-luatex tsconf ttf-dejavu-core virtuoso-minimal virtuoso-opensource-6.1-bin virtuoso-opensource-6.1-common xserver-xorg-core-lts-wily xserver-xorg-input-all-lts-wily
xserver-xorg-input-evdev-lts-wily xserver-xorg-input-mouse-lts-wily xserver-xorg-input-synaptics-lts-wily xserver-xorg-input-vmmouse-lts-wily
xserver-xorg-input-wacom-lts-wily xserver-xorg-video-all-lts-wily xserver-xorg-video-ati-lts-wily xserver-xorg-video-cirrus-lts-wily xserver-xorg-video-fbdev-lts-wily
xserver-xorg-video-intel-lts-wily xserver-xorg-video-mach64-lts-wily xserver-xorg-video-mga-lts-wily xserver-xorg-video-neomagic-lts-wily
xserver-xorg-video-nouveau-lts-wily xserver-xorg-video-openchrome-lts-wily xserver-xorg-video-qxl-lts-wily xserver-xorg-video-r128-lts-wily
xserver-xorg-video-radeon-lts-wily xserver-xorg-video-savage-lts-wily xserver-xorg-video-siliconmotion-lts-wily xserver-xorg-video-sisusb-lts-wily
xserver-xorg-video-tdfx-lts-wily xserver-xorg-video-trident-lts-wily xserver-xorg-video-vesa-lts-wily xserver-xorg-video-vmware-lts-wily
mysql-server is configured automatically at this point. Database is
migrated automatically.
dpkg --configure -a does not show any remaining entries
My system looks quite promising again.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1592917
Title:
do-release-upgrade stuck when dealing with apparmor profile for cupsd
Status in linux package in Ubuntu:
Incomplete
Bug description:
On an up-to-date 14.04.x, I started do-release-upgrade -d to upgrade
to ubuntu 16.04.
At about 50% of the installation of packages, do-release-upgrade
stucks in the following manner:
- cpu runs at 0%~ and there is no disk I/O for about 15 minutes now
- do-release-upgrade does not terminate, and there is no visible progress at all.
---
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: thomas 3220 F.... pulseaudio
CurrentDesktop: Unity
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=UUID=28eded29-f9e6-44b5-9e54-c4dd60c8e3cd
InstallationDate: Installed on 2014-11-29 (564 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
Lsusb:
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0c45:6419 Microdia Integrated Webcam
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. Latitude E5510
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-4.2.0-38-generic root=UUID=6408c2d9-1b60-43d7-9a7f-2dceeb40de28 ro rootflags=subvol=@ quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.2.0-38.45~14.04.1-generic 4.2.8-ckt10
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: Daemon not responding.
RelatedPackageVersions:
linux-restricted-modules-4.2.0-38-generic N/A
linux-backports-modules-4.2.0-38-generic N/A
linux-firmware 1.157
Tags: xenial
Uname: Linux 4.2.0-38-generic x86_64
UpgradeStatus: Upgraded to xenial on 2016-06-15 (0 days ago)
UserGroups: adm cdrom dip libvirtd lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 12/06/2013
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A16
dmi.board.name: 023HKR
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA16:bd12/06/2013:svnDellInc.:pnLatitudeE5510:pvr0001:rvnDellInc.:rn023HKR:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E5510
dmi.product.version: 0001
dmi.sys.vendor: Dell Inc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1592917/+subscriptions
References