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

Dependency issue with perl-base



Hi Debian fans,

I tried to upgrade my system and run into an dependency issue.

1) First I thought this was down to the fact that I set the locales to
UTF-8, so I removed those settings (below).
----------
ns1:/home/nilsv# locale
LANG=POSIX
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

2) But,when I try to upgrade perl-base than I get a dependency issue which
I cant resolve. I tried to force it, but no luck. (below)
-----------
ns1:/home/nilsv# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  libperl5.8: Depends: perl-base (= 5.8.4-6) but 5.8.4-5 is installed
  perl: Depends: perl-base (= 5.8.4-6) but 5.8.4-5 is installed
E: Unmet dependencies. Try using -f.

ns1:/home/nilsv# apt-get upgrade -f

<snip>

Do you want to continue? [Y/n] Y
Preconfiguring packages ...
(Reading database ... 95329 files and directories currently installed.)
Preparing to replace perl-base 5.8.4-5 (using
.../perl-base_5.8.4-6_amd64.deb) ...
Unpacking replacement perl-base ...
dpkg: error processing /var/cache/apt/archives/perl-base_5.8.4-6_amd64.deb
(--unpack):
 trying to overwrite `/usr/lib/perl/5.8', which is also in package
liblockfile-simple-perl
Errors were encountered while processing:
 /var/cache/apt/archives/perl-base_5.8.4-6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

------

Any suggestions are much appreciated.

Best regards

Nils Valentin
Tokyo / Japan
http://www.be-known-online.com



Reply to: