Przeszukiwałem sieć aby wyszperać jakieś wsparcie w moim problemie, ale chyba utknąłem. Problem polega na tym iż zainstalowałem debiana squeeze na d-link DNS-320, i podczas zabawy systemem i aktualizacji przesadziłem, i teraz jak chcę cokolwiek zrobić (update do np. wheeze, instalacja pakietów itp) mam wciąż ten sam komunikat:
-----------------------------------------
Kod: Zaznacz cały
apt-get clean autoclean
Kod: Zaznacz cały
apt-get update
Kod: Zaznacz cały
apt-get upgrade
Kod: Zaznacz cały
root@SAMB:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up pkg-config (0.29-2) ...
[B]dpkg: unknown option --print-foreign-architectures[/B]
Type dpkg --help for help about installing and deinstalling packages
[*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Options marked
[*] produce a lot of output - pipe it through `less' or `more' !
pkg-config-dpkghook: error: dpkg --print-foreign-architectures failed
dpkg: error processing pkg-config (--configure):
subprocess installed post-installation script returned error exit status 2
configured to not write apport reports
Errors were encountered while processing:
pkg-config
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
Total disk space freed by localepurge: 0 KiB
E: Sub-process /usr/bin/dpkg returned an error code (1)
-----------------------------------------
dpkg --print-architecture
[B]armel[/B]
-----------------------------------------
[B]ca[/B]t /etc/debian_version
[B]6.0.10
[/B]
-----------------------------------------
dpkg -l dpkg
+++-====================-====================-========================================================
ii [B]dpkg 1.15.11 [/B] Debian package management system
-----------------------------------------
repozytoria
cat /etc/apt/sources.list
#~~~~~~Squeeze~~~~~~#
deb [URL]http://ftp.pl.debian.org/debian/[/URL] squeeze main non-free contrib
deb-src [URL]http://ftp.pl.debian.org/debian/[/URL] squeeze main non-free contrib
deb [URL]http://security.debian.org/[/URL] squeeze/updates main contrib non-free
deb-src [URL]http://security.debian.org/[/URL] squeeze/updates main contrib non-free
deb [URL]http://ftp.pl.debian.org/debian/[/URL] squeeze-updates main non-free contrib
deb-src [URL]http://ftp.pl.debian.org/debian/[/URL] squeeze-updates main non-free contrib
#~~~~~~Backports_Squeeze~~~~~~#
deb [URL]http://backports.debian.org/debian-backports[/URL] squeeze-backports main contrib non-free
#~~~~~~Debian-multimedia~~~~~~#
deb [URL]http://www.deb-multimedia.org/[/URL] stable main non-free
deb-src [URL]http://www.deb-multimedia.org/[/URL] stable main non-free
-----------------------------------------
[B]aptitude dist-upgrade[/B]
The following partially installed packages will be configured:
pkg-config
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up pkg-config (0.29-2) ...
dpkg: unknown option --print-foreign-architectures
Type dpkg --help for help about installing and deinstalling packages
[*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Options marked
[*] produce a lot of output - pipe it through `less' or `more' !
pkg-config-dpkghook: error: dpkg --print-foreign-architectures failed
dpkg: error processing pkg-config (--configure):
subprocess installed post-installation script returned error exit status 2
configured to not write apport reports
Errors were encountered while processing:
pkg-config
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
Total disk space freed by localepurge: 0 KiB
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up pkg-config (0.29-2) ...
dpkg: unknown option --print-foreign-architectures
Type dpkg --help for help about installing and deinstalling packages
[*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Options marked
[*] produce a lot of output - pipe it through `less' or `more' !
pkg-config-dpkghook: error: dpkg --print-foreign-architectures failed
dpkg: error processing pkg-config (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
pkg-config
próbowałem różnych sztuczek ale wciąż mam ten sam problem. prośba o wsparcie
rafzap