[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#349583: aptitude upgrade fails in the cupsys package



Package: cupsys
Version:  1.1.23-10sarge1

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
(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.

Best regards,

Myron Cheung

Reply to: