I'm running Raspbian on my Raspberry Pi I just set up this day, the problem is that every time I try to install any package I get an error , for example, sudo apt-get install samba gives me :
The following packages have unmet dependencies:
libc6 : Depends: libgcc1 but it is not going to be installed
samba : Depends: samba-common (= 2:3.6.6-6+deb7u4) but it is not going to be installed
Depends: libwbclient0 (= 2:3.6.6-6+deb7u4) but it is not going to be installed
Depends: libacl1 (>= 2.2.51-8) but it is not going to be installed
Depends: libattr1 (>= 1:2.4.46-8) but it is not going to be installed
Depends: libcap2 (>= 2.10) but it is not going to be installed
Depends: libcomerr2 (>= 1.01) but it is not going to be installed
Depends: libcups2 (>= 1.4.0) but it is not going to be installed
Depends: libgcc1 (>= 1:4.4.0) but it is not going to be installed
Depends: libgssapi-krb5-2 (>= 1.10+dfsg~) but it is not going to be installed
(...)
Try 'apt-get -f install' with no packages (or specify a solution).
So I tried to do sudo apt-get -f install but that gave me :
$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libgcc1
The following NEW packages will be installed:
libgcc1
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed.
Need to get 0 B/54.2 kB of archives. Continue [Y/n]? y
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, line 1.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, chunk 1.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, line 1.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, chunk 1.
E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
dpkg: regarding .../libgcc1_1%3a4.8.2-21~rpi3rpi1_armhf.deb containing libgcc1:armhf, pre-dependency problem: libgcc1 pre-depends on multiarch-support, multiarch-support is unpacked, but has never been configured.
dpkg: error processing /var/cache/apt/archives/libgcc1_1%3a4.8.2-21~rpi3rpi1_armhf.deb (--unpack): pre-dependency problem - not installing libgcc1:armhf
Errors were encountered while processing: /var/cache/apt/archives/libgcc1_1%3a4.8.2-21~rpi3rpi1_armhf.deb
E:Sub-process /usr/bin/dpkg returned an error code (1)
I then tried to figure out how to fix these new errors and I ended up here : http://www.raspberrypi.org/forums/viewtopic.php?f=28&t=48737
So I followed these steps : https://askubuntu.com/questions/55099/dpkg-error-parsing-file-var-lib-dpkg-available-near-line-0
Because that seemed to work for the other guy but it's still giving me the same errors, it looks like there's something wrong with the packet management, does anyone know how I would fix this ?
apt-get update
beforeapt-get install
? – Vinz Nov 12 '14 at 11:07debconf
installation seems to be corrupted...: E: Cannot get debconf version. Is debconf installed? – Vinz Nov 12 '14 at 11:20