Package installationsproblem


5 posts
by flip_at » Mon Dec 17, 2012 7:02 pm
Hallo allerseits,
seit neuestem bekomme ich immer folgende Meldung wenn ich Kommandos wie sudo apt-get upgrade oder sudo apt-get dist-upgrade ausführen will:

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libperl5.14 : Depends: perl-base (= 5.14.2-15+rpi1) but 5.14.2-12+rpi1 is installed
perl : Depends: perl-base (= 5.14.2-15+rpi1) but 5.14.2-12+rpi1 is installed
Depends: perl-modules (>= 5.14.2-15+rpi1) but 5.14.2-12+rpi1 is installed
E: Unmet dependencies. Try using -f.


Wobei sudo apt-get -f install dann dazu führt:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
perl-base perl-modules
Suggested packages:
libpod-plainer-perl
The following packages will be upgraded:
perl-base perl-modules
2 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
2 not fully installed or removed.
Need to get 4,905 kB of archives.
After this operation, 2,048 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main perl-base armhf 5.14.2-15+rpi1 [1,470 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian/ wheezy/main perl-modules all 5.14.2-15+rpi1 [3,435 kB]
Fetched 4,905 kB in 6s (769 kB/s)
dpkg: error: failed to open package info file `/var/lib/dpkg/available' for reading: No such file or directory
E: Sub-process /usr/bin/dpkg returned an error code (2)


Irgendwie kann ich damit nicht anfangen, hat jemand einen hilfreichen tipp für mich?

lg,
flip_at
Posts: 14
Joined: Tue Aug 07, 2012 5:28 pm
by Frank B » Mon Dec 17, 2012 7:22 pm
Hi,

versuch mal:

sudo dpkg --clear-avail && sudo apt-get update

Frank.
Posts: 61
Joined: Fri Sep 14, 2012 8:02 pm
Location: Germany
by flip_at » Mon Dec 17, 2012 9:26 pm
Hi,
was soll sudo dpkg --clear-avail machen?
Posts: 14
Joined: Tue Aug 07, 2012 5:28 pm
by Frank B » Tue Dec 18, 2012 6:44 pm
Dein Problem evtl. lösen, sonst hätte ichs ja nicht geschrieben....
Für weiteres ist google oder dpkg --help dein Freund...
Posts: 61
Joined: Fri Sep 14, 2012 8:02 pm
Location: Germany
by flip_at » Sat Dec 22, 2012 3:45 pm
Frank B wrote:Dein Problem evtl. lösen, sonst hätte ichs ja nicht geschrieben....
Für weiteres ist google oder dpkg --help dein Freund...


Na, hatte leider keinen erkennbaren Effekt der das Problem gelöst hätte. :?
Posts: 14
Joined: Tue Aug 07, 2012 5:28 pm