Cupsys fails to update when using Ubuntu on a USB Stick

Bug #192650 reported by Morad
4
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: cupsys

I installed Ubuntu 7.10 Gutsy on a USB stick by following the instructions on pendrivelinux.com. When updating the system, I get a crash report (every time) with the following message:

Setting up cupsys (1.3.2-1ubuntu7.5) ...
$Mounting securityfs on /sys/kernel/security: done.
Reloading AppArmor profiles : done.
 * Starting Common Unix Printing System: cupsd /usr/sbin/cupsd: error while loading shared libraries: /lib/tls/i686/cmov/libc.so.6: cannot apply additional memory protection after relocation: Permission denied
invoke-rc.d: initscript cupsys, action "start" failed.
dpkg: error processing cupsys (--configure):
 subprocess post-installation script returned error exit status 127

ProblemType: Package
Architecture: i386
Date: Sat Feb 16 18:02:05 2008
DistroRelease: Ubuntu 7.10
ErrorMessage: subprocess post-installation script returned error exit status 127
Package: cupsys 1.3.2-1ubuntu7.5
PackageArchitecture: i386
SourcePackage: cupsys
Title: package cupsys 1.3.2-1ubuntu7.5 failed to install/upgrade: subprocess post-installation script returned error exit status 127
Uname: Linux ubuntu 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

Revision history for this message
Morad (moradks) wrote :
Revision history for this message
TerryG (tgalati4) wrote :

Since Ubuntu is not designed to run from a USB stick, marking as incomplete until more data can be gathered. My guess is that this will be lower priority as Ubuntu is designed for normal desktop installs. Can you be more specific about updates? Often, when the kernel gets updated, CUPS will break, this is a rather normal instance. It wouldn't matter whether it was USB stick or normal disk drive install.

Changed in cupsys:
status: New → Incomplete
Revision history for this message
ErikE (erik-roijen) wrote :

The bug is similar to the one mentioned at:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/131976

Basically this command might be a workaround to solve the problem:
  sudo aa-complain /usr/sbin/cupsd/

It worked for me,
ErikE

Revision history for this message
Morad (moradks) wrote : Re: [Bug 192650] Re: Cupsys fails to update when using Ubuntu on a USB Stick

Thanks Erik,
this worked for me too.

On Mon, Feb 25, 2008 at 9:54 AM, ErikE <email address hidden> wrote:

> The bug is similar to the one mentioned at:
> https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/131976
>
> Basically this command might be a workaround to solve the problem:
> sudo aa-complain /usr/sbin/cupsd/
>
> It worked for me,
> ErikE
>
> --
> Cupsys fails to update when using Ubuntu on a USB Stick
> https://bugs.launchpad.net/bugs/192650
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Source Package "cupsys" in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: cupsys
>
> I installed Ubuntu 7.10 Gutsy on a USB stick by following the instructions
> on pendrivelinux.com. When updating the system, I get a crash report
> (every time) with the following message:
>
> Setting up cupsys (1.3.2-1ubuntu7.5) ...
> $Mounting securityfs on /sys/kernel/security: done.
> Reloading AppArmor profiles : done.
> * Starting Common Unix Printing System: cupsd
> /usr/sbin/cupsd: error while loading shared libraries:
> /lib/tls/i686/cmov/libc.so.6: cannot apply additional memory protection
> after relocation: Permission denied
> invoke-rc.d: initscript cupsys, action "start" failed.
> dpkg: error processing cupsys (--configure):
> subprocess post-installation script returned error exit status 127
>
> ProblemType: Package
> Architecture: i386
> Date: Sat Feb 16 18:02:05 2008
> DistroRelease: Ubuntu 7.10
> ErrorMessage: subprocess post-installation script returned error exit
> status 127
> Package: cupsys 1.3.2-1ubuntu7.5
> PackageArchitecture: i386
> SourcePackage: cupsys
> Title: package cupsys 1.3.2-1ubuntu7.5 failed to install/upgrade:
> subprocess post-installation script returned error exit status 127
> Uname: Linux ubuntu 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007
> i686 GNU/Linux
>

--
Morad Khosrow Shahi
Tel. +1 (917) 650.9194
mailto:<email address hidden>

http://www.moma-life.com - Life in the City
http://itcaptain.blogspot.com - Life with projects from hell

Revision history for this message
TerryG (tgalati4) wrote :

Triaged to Confirmed. Package changed to apparmor. Work-arounds presented.

Changed in cupsys:
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.