Strona 1 z 1

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

: 27 sierpnia 2014, 21:09
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ć?

: 27 sierpnia 2014, 21:47
autor: Yampress
Na prewno nie trzeba edytować tego pliku , który wskazałeś bo to plik binarny, a nie konfiguracyjny.

: 27 sierpnia 2014, 23:20
autor: alfa444
ok, rozwiązane.

: 28 sierpnia 2014, 07:17
autor: pabliszer
Mógłbyś napisać jak to zrobiłeś, bo ktoś może kiedyś będzie miał podobny problem.

: 28 sierpnia 2014, 10:19
autor: mati75

Kod: Zaznacz cały

apt-get install -f

: 28 sierpnia 2014, 11:05
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