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