apt-get problem

Toby Kelsey toby_kelsey at ntlworld.com
Fri Jun 16 16:37:29 UTC 2006


Are there any apt-get experts who can solve this problem, which
occurred during a Breezy install with debrootstrap?

root:/# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
   slocate
The following NEW packages will be installed:
   slocate
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/30.1kB of archives.
After unpacking 156kB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 64455 files and directories currently installed.)
Unpacking slocate (from .../slocate_3.0.beta.r3-1_i386.deb) ...
Removing `diversion of /etc/cron.daily/find to /etc/cron.daily/find.notslocate 
by slocate'
dpkg-divert: rename involves overwriting `/etc/cron.daily/find' with
   different file `/etc/cron.daily/find.notslocate', not allowed
dpkg: error processing /var/cache/apt/archives/slocate_3.0.beta.r3-1_i386.deb 
(--unpack):
  subprocess pre-installation script returned error exit status 2
Errors were encountered while processing:
  /var/cache/apt/archives/slocate_3.0.beta.r3-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

root:/# dpkg -S /etc/cron.daily/find
diversion by slocate from: /etc/cron.daily/find
diversion by slocate to: /etc/cron.daily/find.notslocate

Trying to purge or install findutils or slocate makes no difference.

Toby




More information about the ubuntu-users mailing list