Hi Roger,<br><br>Thank you for your response.&nbsp; No, I don't have problem with other apt-get reinstall or install of other packages.&nbsp; 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> &lt;<a href="mailto:rleigh@whinlatter.ukfsn.org">rleigh@whinlatter.ukfsn.org</a>&gt; 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 &lt;<a href="mailto:onyx.peridot@gmail.com">onyx.peridot@gmail.com</a>&gt; writes:<br><br>&gt; When I run &quot;aptitude reinstall cupsys&quot;, I get these error messages:
<br>&gt;<br>&gt; aptitude reinstall cupsys<br>&gt; Reading Package Lists... Done<br>&gt; Building Dependency Tree<br>&gt; Reading extended state information<br>&gt; Initializing package states... Done<br>&gt; Reading task descriptions... Done
<br>&gt; The following packages will be REINSTALLED:<br>&gt;&nbsp;&nbsp; cupsys<br>&gt; 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not<br>&gt; upgraded.<br>&gt; Need to get 0B/8956kB of archives. After unpacking 0B will be used.
<br>&gt; Writing extended state information... Done<br>&gt; Preconfiguring packages ...<br>&gt; ccache: failed to create (null)/.ccache (No such file or directory)<br>&gt; dpkg: subprocess gcc -dumpmachine returned error exit status 1
<br>&gt; 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>&gt; (Reading database ... 124516 files and directories currently installed.)<br>&gt; Preparing to replace cupsys 1.1.23-10sarge1 (using .../<br>&gt; cupsys_1.1.23-10sarge1_i386.deb) ...
<br>&gt; Stopping Common Unix Printing System: cupsd.<br>&gt; Unpacking replacement cupsys ...<br>&gt; Setting up cupsys (1.1.23-10sarge1) ...<br>&gt; ccache: failed to create (null)/.ccache (No such file or directory)<br>
&gt; dpkg: subprocess gcc -dumpmachine returned error exit status 1<br>&gt; dpkg: error processing cupsys (--configure):<br>&gt;&nbsp;&nbsp;subprocess post-installation script returned error exit status 2<br>&gt; Errors were encountered while processing:
<br>&gt;&nbsp;&nbsp;cupsys<br>&gt; E: Sub-process /usr/bin/dpkg returned an error code (1)<br>&gt; Ack!&nbsp;&nbsp;Something bad happened while installing packages.&nbsp;&nbsp;Trying to recover:<br>&gt; Setting up cupsys (1.1.23-10sarge1) ...<br>&gt; ccache: failed to create (null)/.ccache (No such file or directory)
<br>&gt; dpkg: subprocess gcc -dumpmachine returned error exit status 1<br>&gt; dpkg: error processing cupsys (--configure):<br>&gt;&nbsp;&nbsp;subprocess post-installation script returned error exit status 2<br>&gt; Errors were encountered while processing:
<br>&gt;&nbsp;&nbsp;cupsys<br>&gt; Reading Package Lists... Done<br>&gt; Building Dependency Tree<br>&gt; Reading extended state information<br>&gt; Initializing package states... Done<br>&gt; Reading task descriptions... Done<br>&gt;
<br>&gt; Temporary work around:<br>&gt;<br>&gt; After removing the package ccache, cupsys could be installed without<br>&gt; trouble.&nbsp;&nbsp;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.&nbsp;&nbsp;AFAICT, cupsys is just an innocent bystander here,<br>though it might possibly be tripping over breakage elsewhere.&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Printing on GNU/Linux?&nbsp;&nbsp;<a href="http://gutenprint.sourceforge.net/">http://gutenprint.sourceforge.net/</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Debian GNU/Linux&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.debian.org/">http://www.debian.org/</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GPG Public Key: 0x25BFB848.&nbsp;&nbsp;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+ &lt;<a href="http://mailcrypt.sourceforge.net/">http://mailcrypt.sourceforge.net/</a>&gt;<br><br>iD8DBQFD2OiMVcFcaSW/uEgRAiEKAJ9ze8r9ElGFz9gp/Ok256YH8YegMgCg73H+
<br>rYx6DZg5n2ZTYSTxFKu5sfg=<br>=Xn6J<br>-----END PGP SIGNATURE-----<br></blockquote></div><br>