To pomogło, ale przy próbie instalacji php mam następny problem;
Code: Select all
Get:86 http://mirrordirector.raspbian.org/raspbian/ wheezy/main xml-core all 0.13+nmu2 [24.2 kB]
Fetched 41.8 MB in 32s (1,292 kB/s)
E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 34%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 69%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 100%
Selecting previously unselected package libc-bin.
(Reading database ... 47 files and directories currently installed.)
Unpacking libc-bin (from .../libc-bin_2.13-38+rpi2+deb7u10_armhf.deb) ...
Setting up libc-bin (2.13-38+rpi2+deb7u10) ...
Selecting previously unselected package gcc-4.8-base:armhf.
(Reading database ... 118 files and directories currently installed.)
Unpacking gcc-4.8-base:armhf (from .../gcc-4.8-base_4.8.2-21~rpi3rpi1_armhf.deb) ...
Setting up gcc-4.8-base:armhf (4.8.2-21~rpi3rpi1) ...
Selecting previously unselected package multiarch-support.
(Reading database ... 127 files and directories currently installed.)
Unpacking multiarch-support (from .../multiarch-support_2.13-38+rpi2+deb7u10_armhf.deb) ...
Selecting previously unselected package libc6:armhf.
Unpacking libc6:armhf (from .../libc6_2.13-38+rpi2+deb7u10_armhf.deb) ...
Selecting previously unselected package libgcc1:armhf.
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)
pi@raspberrypi ~ $ sudo apt-get install php5-cli
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:
libc6 : Depends: libgcc1 but it is not going to be installed
php5-cli : Depends: libbz2-1.0 but it is not going to be installed
Depends: libcomerr2 (>= 1.01) but it is not going to be installed
Depends: libdb5.1 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.6.dfsg.2) but it is not going to be installed
Depends: libk5crypto3 (>= 1.6.dfsg.2) but it is not going to be installed
Depends: libkrb5-3 (>= 1.6.dfsg.2) but it is not going to be installed
Depends: libonig2 (>= 5.2.0) but it is not going to be installed
Depends: libpcre3 (>= 8.10) but it is not going to be installed
Depends: libqdbm14 (>= 1.8.74) but it is not going to be installed
Depends: libssl1.0.0 (>= 1.0.0) but it is not going to be installed
Depends: libxml2 (>= 2.8.0) but it is not going to be installed
Depends: zlib1g (>= 1:1.1.4) but it is not going to be installed
Depends: mime-support but it is not going to be installed
Depends: php5-common (= 5.4.45-0+deb7u2) but it is not going to be installed
Depends: libmagic1 but it is not going to be installed
Depends: ucf but it is not going to be installed
Depends: tzdata but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
pi@raspberrypi ~ $ 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.
After this operation, 210 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
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)