[Bug 854490] Re: update from natty to oneiric hangs on libpam0g upgrade and cups reload

Naba Kumar 854490 at bugs.launchpad.net
Tue Sep 20 18:23:12 UTC 2011


For those interested to get past this stuck state to continue 11.10
installation can do following:

1. Edit the file /etc/init.d/cups, and add "exit 0" right in the beginning as first statement. This will bypass the failures in starting cups.
2. Find out PID of current running process of this script with "ps ax | grep init.d" and kill it with "kill -9 <PID>". After this, installation will continue.
3. Revert back step 1 once installation is done, and wait for cups related updates to arrive :)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/854490

Title:
  update from natty to oneiric hangs on libpam0g upgrade and cups reload

Status in “apt” package in Ubuntu:
  New
Status in “cups” package in Ubuntu:
  In Progress
Status in “apt” source package in Oneiric:
  New
Status in “cups” source package in Oneiric:
  In Progress

Bug description:
  TEST CASE:
  1. Install Natty and apply updates
  2. run update-manager -d and proceed with the upgrade to 11.10

  Result:
  The upgrade hangs at libpam0g upgrade when cups is reloaded. The last message displayed on console and terminal log is:
  Restarting services possibly affected by the upgrade:
    gdm: reloading...done.
    cups: stopping...starting...

  The following message is displayed and repeated in syslog
  Sep 20 09:19:36 ubuntu-VirtualBox kernel: [ 1893.528204] type=1400 audit(1316503176.331:210): apparmor="STATUS" operation="profile_replace" name="/usr/lib/cups/backend/cups-pdf" pid=18386 comm="apparmor_parser"
  Sep 20 09:19:36 ubuntu-VirtualBox kernel: [ 1893.528494] type=1400 audit(1316503176.331:211): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=18386 comm="apparmor_parser"
  Sep 20 09:19:36 ubuntu-VirtualBox init: cups main process (18387) terminated with status 127
  Sep 20 09:19:36 ubuntu-VirtualBox init: cups main process ended, respawning

  The following cups processes are running:
  root     16275  0.0  0.0   2028   512 pts/2    S+   09:11   0:00 /bin/sh -e /etc/init.d/cups start
  root     16279  0.0  0.1   4944  1292 pts/2    S+   09:11   0:00 start cups

  Killing process 16275 allows to continue the upgrade.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: update-manager 1:0.150.3
  ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8
  Uname: Linux 2.6.38-11-generic i686
  Architecture: i386
  Date: Tue Sep 20 09:13:29 2011
  GConfNonDefault:
   /apps/update-manager/check_new_release_ignore=
   /apps/update-manager/first_run=false
   /apps/update-manager/window_size=(600,600)
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_US:en
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: update-manager
  UpgradeStatus: Upgraded to natty on 2011-09-20 (0 days ago)

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




More information about the foundations-bugs mailing list