[Pkg-cups-devel] Bug#349583: aptitude upgrade fails in the cupsys package

Myron Cheung onyx.peridot at gmail.com
Thu Jan 26 15:31:28 UTC 2006


Hi Roger,

Thank you for your response.  No, I don't have problem with other apt-get
reinstall or install of other packages.  Thanks again for looking into the
bug.

Myron

On 1/26/06, Roger Leigh <rleigh at whinlatter.ukfsn.org> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> reassign 349583 ccache
> thanks
>
> Myron Cheung <onyx.peridot at gmail.com> writes:
>
> > When I run "aptitude reinstall cupsys", I get these error messages:
> >
> > aptitude reinstall cupsys
> > Reading Package Lists... Done
> > Building Dependency Tree
> > Reading extended state information
> > Initializing package states... Done
> > Reading task descriptions... Done
> > The following packages will be REINSTALLED:
> >   cupsys
> > 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0
> not
> > upgraded.
> > Need to get 0B/8956kB of archives. After unpacking 0B will be used.
> > Writing extended state information... Done
> > Preconfiguring packages ...
> > ccache: failed to create (null)/.ccache (No such file or directory)
> > dpkg: subprocess gcc -dumpmachine returned error exit status 1
> > cupsys failed to preconfigure, with exit status 2
>
> The first error looks like it's coming from ccache (null pointer).
> The second looks like a gcc issue (what does `gcc -dumpmachine` show?
> Note that the error is during preconfiguration: cupsys isn't yet
> unpacked or installed, so the installation continues.
>
> > (Reading database ... 124516 files and directories currently installed.)
> > Preparing to replace cupsys 1.1.23-10sarge1 (using .../
> > cupsys_1.1.23-10sarge1_i386.deb) ...
> > Stopping Common Unix Printing System: cupsd.
> > Unpacking replacement cupsys ...
> > Setting up cupsys (1.1.23-10sarge1) ...
> > ccache: failed to create (null)/.ccache (No such file or directory)
> > dpkg: subprocess gcc -dumpmachine returned error exit status 1
> > dpkg: error processing cupsys (--configure):
> >  subprocess post-installation script returned error exit status 2
> > Errors were encountered while processing:
> >  cupsys
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > Ack!  Something bad happened while installing packages.  Trying to
> recover:
> > Setting up cupsys (1.1.23-10sarge1) ...
> > ccache: failed to create (null)/.ccache (No such file or directory)
> > dpkg: subprocess gcc -dumpmachine returned error exit status 1
> > dpkg: error processing cupsys (--configure):
> >  subprocess post-installation script returned error exit status 2
> > Errors were encountered while processing:
> >  cupsys
> > Reading Package Lists... Done
> > Building Dependency Tree
> > Reading extended state information
> > Initializing package states... Done
> > Reading task descriptions... Done
> >
> > Temporary work around:
> >
> > After removing the package ccache, cupsys could be installed without
> > trouble.  But I had to reinstall ccache again.
>
> This looks like ccache is the root cause of the problem, unless it's a
> fault in apt/dpkg.  AFAICT, cupsys is just an innocent bystander here,
> though it might possibly be tripping over breakage elsewhere.  Do you
> get an error if you install another new package, or reinstall cupsys
> (apt-get --reinstall install cupsys)?
>
>
> Regards,
> Roger
>
> - --
> Roger Leigh
>                 Printing on GNU/Linux?  http://gutenprint.sourceforge.net/
>                 Debian GNU/Linux        http://www.debian.org/
>                 GPG Public Key: 0x25BFB848.  Please sign and encrypt your
> mail.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
> Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>
>
> iD8DBQFD2OiMVcFcaSW/uEgRAiEKAJ9ze8r9ElGFz9gp/Ok256YH8YegMgCg73H+
> rYx6DZg5n2ZTYSTxFKu5sfg=
> =Xn6J
> -----END PGP SIGNATURE-----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-cups-devel/attachments/20060126/861639a7/attachment.htm


More information about the Pkg-cups-devel mailing list