I ran and I hid.. but the dependencies found me

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
chapiums

I ran and I hid.. but the dependencies found me

#1 Post by chapiums »

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-3) but 5.8.4-2.3 is installed
perl: Depends: perl-base (= 5.8.4-3) but 5.8.4-2.3 is installed
E: Unmet dependencies. Try using -f.


Is what i get if i attempt to use apt-get upgrade/dist-upgrade -f

dpkg gives me the same error if i try to reinstall the package. I think its conflicting witha version of perl gimp installed from a non-official repository. At this point I just wish i could fix it.

I tried
apt-get --reinstall install perl; FE

and also extracting the deb file and manually placing perl in (not sure if i did it right though).

The main issue is apt wont touch perl because its needed by gimp and also is a base system file.

Ugh..

Any thoughts?

User avatar
Roeland
Posts: 76
Joined: 2004-09-20 12:09
Location: Groningen, NL

#2 Post by Roeland »

Error Message wrote:You might want to run `apt-get -f install' to correct these.
What if you try that?

-Roel
Science Center
Debian GNU/Linux flowing through my veins

chapiums

apt-get install -f

#3 Post by chapiums »

I'll spare any explanation ;-)



[b]/home/chapium § apt-get upgrade[/b]

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-3) but 5.8.4-2.3 is installed
perl: Depends: perl-base (= 5.8.4-3) but 5.8.4-2.3 is installed
E: Unmet dependencies. Try using -f.

[b]/home/chapium § apt-get install -f[/b]

Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
perl-base
The following packages will be upgraded:
perl-base
1 upgraded, 0 newly installed, 0 to remove and 132 not upgraded.
4 not fully installed or removed.
Need to get 0B/747kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] y
debconf: Perl may be unconfigured (Can't locate IO/File.pm in @INC (@INC contain
s: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl
5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_per
l .) at /usr/share/perl/5.8/FileHandle.pm line 9.
Compilation failed in require at (eval 1) line 3.
BEGIN failed--compilation aborted at (eval 1) line 3.
) -- aborting
(Reading database ... 125026 files and directories currently installed.)
Preparing to replace perl-base 5.8.4-2.3 (using .../perl-base_5.8.4-3_i386.deb) ...
Unpacking replacement perl-base ...
dpkg: error processing /var/cache/apt/archives/perl-base_5.8.4-3_i386.deb (--unpack):
trying to overwrite `/usr/lib/perl/5.8', which is also in package gimp-perl
Errors were encountered while processing:
/var/cache/apt/archives/perl-base_5.8.4-3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

fubar :D

User avatar
AdrianTM
Posts: 2499
Joined: 2004-09-19 01:08

#4 Post by AdrianTM »

maybe: "dpkg --configure -a" ?
or even "dpkg --remove -a"...

Guest

Re: apt-get install -f

#5 Post by Guest »

chapiums wrote: dpkg: error processing /var/cache/apt/archives/perl-base_5.8.4-3_i386.deb (--unpack):
trying to overwrite `/usr/lib/perl/5.8', which is also in package gimp-perl
Errors were encountered while processing:
/var/cache/apt/archives/perl-base_5.8.4-3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
fubar :D
According to http://packages.debian.org there is no package named gimp-perl in the distribution. Is it some unofficial package? What's in your /etc/apt/sources.list file?
--
trave11er

Chapiums

Fixed

#6 Post by Chapiums »

Gimp-Perl was a separate source, but i removed it. Anyways.. I fixed it by running dselect to remove perl and all things dependent on it. (70% of my system)

Everything is peachy keen now. Thanks!

Post Reply