Upgrade from Ubuntu 5.10 to 6.06 errors on coreutils_5.93-5ubuntu4_i386.deb
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
New
|
Undecided
|
Unassigned |
Bug Description
I atempted to upgrade Ubuntu from 5.10 to 6.06. During installation of upgrades the tool reports "Could not install '/var/cache/
and "subprocess pre-installation script returned error exit status 2".
(I have read the DapperReleaseNo
How did I get there:
1) Run System>
The Update Manager offered upgrade to 6.06.
2) Click Upgrade button
The tool will warn that downloading won't be cancellable and start downloading.
After downloading the procedure contines to probably install the new things. When it reached approx 10%, the mesasge above showed.
3) I clicked OK
The tool
The upgrading tool expands embended terminal window and apparently continues doing something (sorry, I did not watch it.)
Then it displayed:
Could not install the upgrades
The upgrade aborts now. Your system can be in an unusable state. A recovery was run (dpkg --configure -a).
installArchives() failed
I have played a little with Synaptic and managed to obtain detailed info:
debconf: unable to initialize frontend: Gnome perl5/Debconf/ FrontEnd/ Gnome.pm line 73, <> line 1.) 5.93-5ubuntu4_ i386.deb) ... man/man1/ md5sum. textutils. 1.gz to /usr/share/ man/man1/ md5sum. 1.gz' man/man1/ md5sum. textutils. 1.gz' with man/man1/ md5sum. 1.gz', not allowed apt/archives/ coreutils_ 5.93-5ubuntu4_ i386.deb (--unpack): apt/archives/ coreutils_ 5.93-5ubuntu4_ i386.deb
debconf: (Can't locate object method "signal_connect" via package "Gtk2::Window" at /usr/share/
debconf: falling back to frontend: Dialog
(Reading database ... 82222 files and directories currently installed.)
Preparing to replace coreutils 5.2.1-2ubuntu2 (using .../coreutils_
Removing `local diversion of /usr/share/
dpkg-divert: rename involves overwriting `/usr/share/
different file `/usr/share/
dpkg: error processing /var/cache/
subprocess pre-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Workaround:
I do not know which file was about to overwrite which file - in fact I do not care. I moved both files out o a way, repeated the upgrade form Synaptic and all goes fine.