[+] E: Sub-process /usr/bin/dpkg returned an error code (1)

Tematy związane z oprogramowaniem, instalacją, konfiguracją
alfa444
Posty: 28
Rejestracja: 04 marca 2014, 19:39

[+] E: Sub-process /usr/bin/dpkg returned an error code (1)

Post autor: alfa444 »

Aktualizowałem biblioteki multiarch i pythona z testing do stable. Ukazał się log:
Errors were encountered while processing: python2.7-minimal python-minimal python2.7 python libpython2.7 python-all E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up python2.7-minimal (2.7.3-6+deb7u2) ... Could not find platform independent libraries
Consider setting $PYTHONHOME to
[:] ImportError: No module named site dpkg: error processing python2.7-minimal (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of python-minimal: python-minimal depends on python2.7-minimal (>= 2.7.3-1~); however: Package python2.7-minimal is not configured yet. dpkg: error processing python-minimal (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python: python depends on python-minimal (= 2.7.3-4+deb7u1); however: Package python-minimal is not configured yet. dpkg: error processing python (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python2.7: python2.7 depends on python2.7-minimal (= 2.7.3-6+deb7u2); however: Package python2.7-minimal is not configured yet. dpkg: error processing python2.7 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python-all: python-all depends on python (= 2.7.3-4+deb7u1); however: Package python is not configured yet. python-all depends on python2.7 (>= 2.7.2-3); however: Package python2.7 is not configured yet. dpkg: error processing python-all (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libpython2.7: libpython2.7 depends on python2.7 (= 2.7.3-6+deb7u2); however: Package python2.7 is not configured yet. dpkg: error processing libpython2.7 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python2.7-minimal python-minimal python python2.7 python-all libpython2.7
W tej chwili nie mogę nawet otworzyć nautilusa. Szukam rozwiązań ale żadna ze znalezionych podpowiedzi nie działa. Pamiętam że trzeba edytować jakiś plik w /usr/bin/dpkg i usunąć niektóre linijki, tylko nie pamiętam który to;/ Cytowany tekst wstawiamy w tagi "quote" nie "code" jak to zrobiłeś! Do tego zupełny bełkot. Możesz coś z tego przeczytać?
Awatar użytkownika
Yampress
Administrator
Posty: 6416
Rejestracja: 09 sierpnia 2007, 21:41
Lokalizacja: PL

Post autor: Yampress »

Na prewno nie trzeba edytować tego pliku , który wskazałeś bo to plik binarny, a nie konfiguracyjny.
alfa444
Posty: 28
Rejestracja: 04 marca 2014, 19:39

Post autor: alfa444 »

ok, rozwiązane.
pabliszer
Posty: 61
Rejestracja: 07 października 2009, 12:20

Post autor: pabliszer »

Mógłbyś napisać jak to zrobiłeś, bo ktoś może kiedyś będzie miał podobny problem.
Awatar użytkownika
mati75
Junior Member
Posty: 625
Rejestracja: 30 lipca 2009, 11:19
Lokalizacja: default city

Post autor: mati75 »

Kod: Zaznacz cały

apt-get install -f
alfa444
Posty: 28
Rejestracja: 04 marca 2014, 19:39

Post autor: alfa444 »

Kod: Zaznacz cały

 dpkg --force-depends -P python2.7-minimal apt-get -f install dpkg --force-depends -P python2.7-minimal apt-get -f install  aptitude install locales dpkg-reconfigure locales aptitude reinstall python~i 
ODPOWIEDZ