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

apt-get confused, how to repair?



Hello all,

I seem to have a confused apt-get:

vendredi:~# apt-get check
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
Sorry, but the following packages have unmet dependencies:
  debconf: Depends: fileutils (>= 4.0-5) but it is not installed
  debhelper: Depends: fileutils (>= 4.0-2.1) but it is not installed
  kernel-package: Depends: fileutils (>= 3.16-4) but it is not installed
E: Unmet dependencies. Try using -f.
vendredi:~#

vendredi:~# apt-get install fileutils
Reading Package Lists... Done
Building Dependency Tree... Done
1 packages upgraded, 0 newly installed, 0 to remove and 86 not upgraded.
1 packages not fully installed or removed.
Need to get 533kB of archives. After unpacking 1024B will be used.
Get:1 ftp://linux.tellabs.fi potato/main fileutils 4.0l-3 [533kB]
Fetched 533kB in 1s (516kB/s)
(Reading database ... 52491 files and directories currently installed.)
Preparing to replace fileutils 4.0l-2 (using
.../fileutils_4.0l-3_i386.deb) ...
Unpacking replacement fileutils ...
dpkg: error processing /var/cache/apt/archives/fileutils_4.0l-3_i386.deb
(--unpack):
 trying to overwrite `/bin/chgrp', which is also in package
perl-5.005-base
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/fileutils_4.0l-3_i386.deb
E: Sub-process returned an error code (1)

-- 1 packages not fully installed or removed.
Need to get 533kB of archives. After unpacking 1024B will be used.
Get:1 ftp://linux.tellabs.fi potato/main fileutils 4.0l-3 [533kB]
Fetched 533kB in 1s (516kB/s)
(Reading database ... 52491 files and directories currently installed.)
Preparing to replace fileutils 4.0l-2 (using
.../fileutils_4.0l-3_i386.deb) ...
Unpacking replacement fileutils ...
dpkg: error processing /var/cache/apt/archives/fileutils_4.0l-3_i386.deb
(--unpack):
 trying to overwrite `/bin/chgrp', which is also in package
perl-5.005-base
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/fileutils_4.0l-3_i386.deb
E: Sub-process returned an error code (1)
vendredi:~#

It seems to me that /bin/chgrp is not in perl-5.005-base, apt-get just
thinks so. I have tried apt-get clean and autoclean, -f like apt-get
instructs, and running dselect but nothing helps. 

How should I proceed to get this system fixed? Is there a way to
recreate the database apt-get uses to store the installation state of
the system?
=================================================================== 
Tapio Lehtonen                     tel: +358 9 4131 2206
Tellabs Oy                         fax: +358 9 4131 2030
Sinimäentie 6                      email: tapio@Tellabs.fi 
FIN-02630 ESPOO                    URL  http://www.Tellabs.FI/
Finland                            Senior Systems Specialist
===================================================================
begin:vcard 
n:Lehtonen;Tapio
tel;cell:+358 40 590 1324
x-mozilla-html:FALSE
url:http://www.iki.fi/Tapio.Lehtonen
org:Tellabs Oy;R&D Tools Competence Center
adr:;;Sinimäentie 6;Espoo;;FIN-02630;Finland
version:2.1
email;internet:Tapio.Lehtonen@Tellabs.fi
title:Senior Systems Specialist
x-mozilla-cpt:;-3008
fn:Tapio Lehtonen
end:vcard

Reply to: