minidystrybucja squeeze na armel - problemy

Pomoc dotycząca instalacji systemu
rafzap
Posty: 30
Rejestracja: 12 stycznia 2016, 15:35

[SOLVED] minidystrybucja squeeze na armel

Post autor: rafzap »

Witam wszystkich.

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
Awatar użytkownika
dedito
Moderator
Posty: 3510
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Post autor: dedito »

Jakieś znaczniki code poproszę bo ciężko się czyta takie coś.
Awatar użytkownika
mati75
Junior Member
Posty: 623
Rejestracja: 30 lipca 2009, 11:19
Lokalizacja: default city

Post autor: mati75 »

Nie mieszaj wersji dystrybucji. Wpisy:

Kod: Zaznacz cały

[color=#333333]#~~~~~~Debian-multimedia~~~~~~#[/color]
[color=#333333]deb [/color][URL]http://www.deb-multimedia.org/[/URL][color=#333333] stable main non-free[/color]
[color=#333333]deb-src [/color][URL]http://www.deb-multimedia.org/[/URL][color=#333333] stable main non-free
są do zmiany na squeeze lub całkowicie do usunięcia.[/color]
rafzap
Posty: 30
Rejestracja: 12 stycznia 2016, 15:35

Post autor: rafzap »

usunąłem, ale wciąż to nic nie zmienia. cały czas mam komunikat:

dpkg: unknown option --print-foreign-architectures
Awatar użytkownika
mati75
Junior Member
Posty: 623
Rejestracja: 30 lipca 2009, 11:19
Lokalizacja: default city

Post autor: mati75 »

Spróbuj zrobić tak:

Kod: Zaznacz cały

wget http://ftp.de.debian.org/debian/pool/main/p/pkg-config/pkg-config_0.25-1.1_armel.deb
dpkg -i pkg-config_0.25-1.1_armel.deb
apt-get install -f
rafzap
Posty: 30
Rejestracja: 12 stycznia 2016, 15:35

Post autor: rafzap »

dzięki mati75, problem rozwiązany
Awatar użytkownika
marcin1982
Moderator
Posty: 1730
Rejestracja: 05 maja 2011, 12:59
Lokalizacja: Zagłębie Dąbrowskie

Post autor: marcin1982 »

Oznacz wątek jako rozwiązany zgodnie z regulaminem forum.
ODPOWIEDZ