Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.







Kapelusznik








Masz pomieszane wersje Debiana, a pakiety instalowane z repozytorium i386 muszą być w takich samych wersjach jak zainstalowane z amd64. Próbujesz zainstalować 32-bitową wersję libc6 ze stable, a 64-bitową masz jakąś niedostępną obecnie w oficjalnym repozytorium, pewnie instalowaną kiedyś z testing/unstable. Rozwiązania trzy – albo cofasz 64-bitowe libc6 do stable, albo dobierasz 32-bitowe w obecnie zainstalowanej wersji, albo instalujesz oba z testinga.
Offline

Użytkownik


Tego debiana da się przywrócić do stanu po zainstalowaniu czy wypada zainstalować od nowa?
Offline




Psuj





Da się.

Offline

Użytkownik


Masz pomieszane wersje Debiana, a pakiety instalowane z repozytorium i386 muszą być w takich samych wersjach jak zainstalowane z amd64. Próbujesz zainstalować 32-bitową wersję libc6 ze stable, a 64-bitową masz jakąś niedostępną obecnie w oficjalnym repozytorium, pewnie instalowaną kiedyś z testing/unstable. Rozwiązania trzy – albo cofasz 64-bitowe libc6 do stable, albo dobierasz 32-bitowe w obecnie zainstalowanej wersji, albo instalujesz oba z testinga.
Prawdopodobnie, problem wziął się z instalacji Pythona 2.7.8 z testinga (dodałem repo testinga do synaptica -> zainstalowałem Pythona 2.7.8 -> wyłączyłem repo testinga w synapticu).
Co do problemu z uruchomieniem gpg4usb - nie było go pamiętam w przeszłości, gdy zainstalowałem multiarch, zamiast amd64 (jak obecnie).
Da się.
Czy jest to trudne i skomplikowane? Bardziej opłaca mi się grzebać w nim czy zrobić reinstalkę dual-boota? Ani to, ani to nie uśmiecha mi, jednak na coś trzeba się zdecydować. Stąd zastanawiam się co jest mniejszym bólem i pochłonie mniej czasu? :p
Offline





Szczawiożerca






Naprawa niemal zawsze jest szybsza niż reinstalacja.
Musisz po prostu wyrównać wersje pakietów:
ArnVaker napisał(-a):
Masz pomieszane wersje Debiana, a pakiety instalowane z repozytorium i386 muszą być w takich samych wersjach jak zainstalowane z amd64. Próbujesz zainstalować 32-bitową wersję libc6 ze stable, a 64-bitową masz jakąś niedostępną obecnie w oficjalnym repozytorium, pewnie instalowaną kiedyś z testing/unstable. Rozwiązania trzy – albo cofasz 64-bitowe libc6 do stable, albo dobierasz 32-bitowe w obecnie zainstalowanej wersji, albo instalujesz oba z testinga.
Offline

Użytkownik


Ok, to wracam w 100% do wersji stabilnej. Repozytorium jessie mam nieaktywne. Co muszę dodatkowo wykonać ?
Offline





Szczawiożerca






Spróbuj tak:
http://forum.dug.net.pl/viewtopic.php?pid=179996#p179996
Tylko zanim zatwierdzisz, wklej tu wyniki na forum bo znów będę teksty, że „samo ci się usunęło pól systemu” ;)
Możesz też zobaczyć jak wtedy aptitude sobie z tym poradzi (po dodaniu tego wpisu w /etc/apt/preferences lub /etc/apt/preferences.d/):
aptitude full-upgrade -s
Offline







Kapelusznik








yossarian napisał(-a):
Możesz też zobaczyć jak wtedy aptitude sobie z tym poradzi
aptitude właśnie nie proponuje cofnięcia pakietów do wersji z priorytetem powyżej 1000, stąd apt-get w tamtym wątku.
Offline





Szczawiożerca






Na szczęście nigdy nie musiałem tego sprawdzać. Dzięki za info :)
Offline

Użytkownik


apt-get full-upgrade -s - nie ma takiego polecenia. Nie przypadkiem dist-upgrade?
Zainstalowałem te biblioteki i386. Gpg4usb usb już działa. Dziękuję za pomoc :)
W każdym ukazał się taki log (na koniec instalacji bibliotek):
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 <prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] 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
Cholera - nie mogę teraz nawet nautilusa otworzyć przez to - szukam po necie i próbuje ale nic nie chce działać.
Ostatnio edytowany przez alfa444 (2014-08-27 20:55:48)
Offline







Kapelusznik








alfa444 napisał(-a):
apt-get full-upgrade -s - nie ma takiego polecenia.
Nikt nie proponował takiego polecenia.
Co do błędów z pythonem, zobacz tak:
dpkg --force-depends -P python2.7-minimal apt-get -f install dpkg --force-depends -P python2.7-minimal apt-get -f install
(tak, dwa razy to samo)
Gdyby chciał usuwać jakieś pakiety poza python2.7-minimal, nie zgadzaj się.
Offline

Użytkownik


Super, pomogło - dzięki wielkie! :D
Offline

Użytkownik


Ehh - jednak nie wszystko jest ok. W jednym miejscu się łata to w innym dziura wypada ;/ Nie wiem czy to się da naprawić czy przeinstalować albo może skasować i zainstalować gnome'a?
Aktualnie nie otwiera się:
- alacarte
- calibre
- software-center
- zakladka 'repozytoria' w synapticu
- niektóre elementy interfejsu zmnieniły język na ang
- pokazują się logi:
Reading state information... Done
calibre is already the newest version.
The following packages were automatically installed and are no longer required:
aptdaemon python-aptdaemon python-aptdaemon.gtk3widgets
python-lazr.restfulclient python-lazr.uri python-oauth python-simplejson
python-software-properties python-wadllib software-properties-gtk
update-manager-core update-manager-gnome update-notifier
update-notifier-common
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
user@host:~$ calibre
Traceback (most recent call last):
File "/usr/bin/calibre", line 18, in <module>
from calibre.gui2.main import main
File "/usr/lib/calibre/calibre/__init__.py", line 17, in <module>
from calibre.constants import (iswindows, isosx, islinux, isfrozen,
File "/usr/lib/calibre/calibre/constants.py", line 15, in <module>
import sys, locale, codecs, os, importlib, collections
ImportError: No module named locale
user@host:~$ sudo apt-get install synaptic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
python-lazr.restfulclient python-lazr.uri python-oauth python-simplejson
python-wadllib update-manager-core update-manager-gnome update-notifier
update-notifier-common
Use 'apt-get autoremove' to remove them.
Suggested packages:
deborphan
The following NEW packages will be installed:
synaptic
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2665 kB of archives.
After this operation, 7896 kB of additional disk space will be used.
Get:1 http://ftp.pl.debian.org/debian/ stable/main synaptic amd64 0.75.13 [2665 kB]
Fetched 2665 kB in 2s (988 kB/s)
Traceback (most recent call last):
File "/usr/bin/apt-listchanges", line 29, in <module>
import anydbm
ImportError: No module named anydbmsudo apt-get install software-center
Reading package lists... Done
Building dependency tree
Reading state information... Done
Recommended packages:
gir1.2-launchpad-integration-3.0 sessioninstaller
The following NEW packages will be installed:
software-center
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1105 kB of archives.
After this operation, 6205 kB of additional disk space will be used.
Get:1 http://ftp.pl.debian.org/debian/ stable/main software-center all 5.1.2debian3.1 [1105 kB]
Fetched 1105 kB in 2s (485 kB/s)
Traceback (most recent call last):
File "/usr/bin/apt-listchanges", line 29, in <module>
import anydbm
ImportError: No module named anydbm
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "pl_PL.utf8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package software-center.
(Reading database ... 192146 files and directories currently installed.)
Unpacking software-center (from .../software-center_5.1.2debian3.1_all.deb) ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for packagekit-backend-aptcc ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up software-center (5.1.2debian3.1) ...
Traceback (most recent call last):
File "/usr/sbin/update-software-center", line 25, in <module>
import locale
ImportError: No module named localeOffline







Kapelusznik








aptitude install locales dpkg-reconfigure locales
Wybierz tam przynajmniej en_US.UTF-8 oraz pl_PL.UTF-8, pl_PL.UTF-8 jako domyślne.
EDIT: I przeinstaluj sobie tego pythona:
aptitude reinstall python~i
Offline

Użytkownik


Wykonałem to. Programy jednak nadal się nie otwierają. Próba ich reinstalacji nic nie daje. Pojawia się log:
Kontynuować [T/n]? t
Traceback (most recent call last):
File "/usr/bin/apt-listchanges", line 29, in <module>
import anydbm
ImportError: No module named anydbmPRzy zamykaniu i otwieraniu systemu tez pojawiają si linijki wskazujące na jakieś błędy.
Offline





Szczawiożerca






Pokaz w ogóle jakie pakiety tam masz:
dpkg -l |grep python
Offline







Kapelusznik








Czyli w ogóle ich nie reinstaluje, tylko od razu jest ten komunikat? Jeśli tak, to wywal (choćby tymczasowo) apt-listchanges.
Offline

Użytkownik


Ok, teraz już wszystko gra:) Instalował je ale powjawiał się w logu ten komunikat.
Offline