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!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#26  2014-08-24 17:41:12

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Problem z uruchomieniem gpg4usb

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.


[img]http://svn.debianart.org/themes/generic/spinner/spinner48px-moreblue.png[/img]

Offline

 

#27  2014-08-25 11:51:46

  alfa444 - Użytkownik

alfa444
Użytkownik
Zarejestrowany: 2014-03-25

Re: Problem z uruchomieniem gpg4usb

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

Offline

 

#28  2014-08-25 12:52:25

  mati75 - Psuj

mati75
Psuj
Skąd: default city
Zarejestrowany: 2010-03-14
Serwis

Re: Problem z uruchomieniem gpg4usb

Da się.


[img]https://l0calh0st.pl/obrazki/userbar.png[/img]

Offline

 

#29  2014-08-26 10:20:39

  alfa444 - Użytkownik

alfa444
Użytkownik
Zarejestrowany: 2014-03-25

Re: Problem z uruchomieniem gpg4usb

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.[/quote]
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ę.[/quote]
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

 

#30  2014-08-26 10:25:42

  yossarian - Szczawiożerca

yossarian
Szczawiożerca
Skąd: Shangri-La
Zarejestrowany: 2011-04-25

Re: Problem z uruchomieniem gpg4usb

Naprawa niemal zawsze jest szybsza niż reinstalacja.
Musisz po prostu wyrównać wersje pakietów:
[quote=ArnVaker]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.[/quote]

Offline

 

#31  2014-08-26 10:51:15

  alfa444 - Użytkownik

alfa444
Użytkownik
Zarejestrowany: 2014-03-25

Re: Problem z uruchomieniem gpg4usb

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

Offline

 

#32  2014-08-26 11:09:45

  yossarian - Szczawiożerca

yossarian
Szczawiożerca
Skąd: Shangri-La
Zarejestrowany: 2011-04-25

Re: Problem z uruchomieniem gpg4usb

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/):

Kod:

aptitude full-upgrade -s

Offline

 

#33  2014-08-26 19:53:11

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Problem z uruchomieniem gpg4usb

[quote=yossarian]Możesz też zobaczyć jak wtedy aptitude sobie z tym poradzi[/quote]
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.


[img]http://svn.debianart.org/themes/generic/spinner/spinner48px-moreblue.png[/img]

Offline

 

#34  2014-08-26 22:01:59

  yossarian - Szczawiożerca

yossarian
Szczawiożerca
Skąd: Shangri-La
Zarejestrowany: 2011-04-25

Re: Problem z uruchomieniem gpg4usb

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

Offline

 

#35  2014-08-27 18:54:53

  alfa444 - Użytkownik

alfa444
Użytkownik
Zarejestrowany: 2014-03-25

Re: Problem z uruchomieniem gpg4usb

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):

Kod:

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

 

#36  2014-08-27 21:30:11

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Problem z uruchomieniem gpg4usb

[quote=alfa444]apt-get full-upgrade -s - nie ma takiego polecenia.[/quote]
Nikt nie proponował takiego polecenia.

Co do błędów z pythonem, zobacz tak:

Kod:

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ę.


[img]http://svn.debianart.org/themes/generic/spinner/spinner48px-moreblue.png[/img]

Offline

 

#37  2014-08-27 21:57:46

  alfa444 - Użytkownik

alfa444
Użytkownik
Zarejestrowany: 2014-03-25

Re: Problem z uruchomieniem gpg4usb

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

Offline

 

#38  2014-08-27 22:44:22

  alfa444 - Użytkownik

alfa444
Użytkownik
Zarejestrowany: 2014-03-25

Re: Problem z uruchomieniem gpg4usb

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:

Kod:

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 anydbm

Kod:

sudo 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 locale

Offline

 

#39  2014-08-27 22:49:05

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Problem z uruchomieniem gpg4usb

Kod:

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.

[b]EDIT:[/b] I przeinstaluj sobie tego pythona:

Kod:

aptitude reinstall python~i

[img]http://svn.debianart.org/themes/generic/spinner/spinner48px-moreblue.png[/img]

Offline

 

#40  2014-08-27 23:09:47

  alfa444 - Użytkownik

alfa444
Użytkownik
Zarejestrowany: 2014-03-25

Re: Problem z uruchomieniem gpg4usb

Wykonałem to. Programy jednak nadal się nie otwierają. Próba ich reinstalacji nic nie daje. Pojawia się log:

Kod:

Kontynuować [T/n]? t
Traceback (most recent call last):
  File "/usr/bin/apt-listchanges", line 29, in <module>
    import anydbm
ImportError: No module named anydbm

PRzy zamykaniu i otwieraniu systemu tez pojawiają si linijki wskazujące na jakieś błędy.

Offline

 

#41  2014-08-27 23:26:03

  yossarian - Szczawiożerca

yossarian
Szczawiożerca
Skąd: Shangri-La
Zarejestrowany: 2011-04-25

Re: Problem z uruchomieniem gpg4usb

Pokaz w ogóle jakie pakiety tam masz:

Kod:

dpkg -l |grep python

Offline

 

#42  2014-08-27 23:34:45

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Problem z uruchomieniem gpg4usb

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


[img]http://svn.debianart.org/themes/generic/spinner/spinner48px-moreblue.png[/img]

Offline

 

#43  2014-08-28 10:57:16

  alfa444 - Użytkownik

alfa444
Użytkownik
Zarejestrowany: 2014-03-25

Re: Problem z uruchomieniem gpg4usb

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

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)

[ Generated in 0.018 seconds, 11 queries executed ]

Informacje debugowania

Time (s) Query
0.00013 SET CHARSET latin2
0.00008 SET NAMES latin2
0.00108 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.218.48.62' WHERE u.id=1
0.00102 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.218.48.62', 1714723250)
0.00063 SELECT * FROM punbb_online WHERE logged<1714722950
0.00101 SELECT topic_id FROM punbb_posts WHERE id=274102
0.00471 SELECT id FROM punbb_posts WHERE topic_id=26186 ORDER BY posted
0.00122 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=26186 AND t.moved_to IS NULL
0.00007 SELECT search_for, replace_with FROM punbb_censoring
0.00176 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=26186 ORDER BY p.id LIMIT 25,25
0.00165 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=26186
Total query time: 0.01336 s