Polecenie apt-get -f install wy

Problemy dotyczące innych systemów operacyjnych
czarnu
Posty: 2
Rejestracja: 24 listopada 2013, 13:54

Polecenie apt-get -f install wyświetla błędy - Ubuntu serwer

Post autor: czarnu »

Witam.
M
am Ubuntu Serwer 13.04, po wpisaniu poniższego polecenia otrzymuję błędy:

Kod: Zaznacz cały

root@TOUDI:/home/...# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 245 nieaktualizowanych.
2 nie w pełni zainstalowanych lub usuniętych.
Po tej operacji zostanie dodatkowo użyte 0 B miejsca na dysku.
Konfigurowanie pakietu apt-show-versions (0.22.2) ...
removing old cache files
** initializing cache. This may take a while **
Type of arg 1 to keys must be hash (not hash element) at /usr/bin/apt-show-versi                       ons line 264, near "}) "
Type of arg 1 to keys must be hash (not hash element) at /usr/bin/apt-show-versi                       ons line 359, near "}) "
Execution of /usr/bin/apt-show-versions aborted due to compilation errors.
dpkg: error processing apt-show-versions (--configure):
 podproces zainstalowany skrypt post-installation zwrócił kod błędu 255
dpkg: dependency problems prevent configuration of apt-xapian-index:
 apt-xapian-index zależy od python:any (>= 2.7.1-0ubuntu2).
dpkg: error processing apt-xapian-index (--configure):
 problemy z zależnościami - pozostawianie nieskonfigurowanego
No apport report written because the error message indicates its a followup erro                       r from a previous failure.
                          Wystąpiły błędy podczas przetwarzania:
 apt-show-versions
 apt-xapian-index
E: Sub-process /usr/bin/dpkg returned an error code (1)

Przyznam się szczerze, że nie wiem o co chodzi, mogę liczyć na pomoc?

Pozdrawiam.
Awatar użytkownika
Menel
Member
Posty: 1117
Rejestracja: 24 sierpnia 2013, 19:58
Lokalizacja: doktor informoparalityki

Post autor: Menel »

Uzupełnij listę repozytoriów dla swojej dystrybucji i zaktualizuj system.

/etc/apt/sources.list

Kod: Zaznacz cały

apt-get update && apt-get upgrade
czarnu
Posty: 2
Rejestracja: 24 listopada 2013, 13:54

Post autor: czarnu »

Plik /etc/apt/sources.list opróżniony, wstawiłem nowe wpisy ze strony:
http://www.ubuntu-pomoc.org/repozytoria ... alamander/

Wydałem polecenie:

Kod: Zaznacz cały

root@TOUDI:/home/...# apt-get update && apt-get upgrade
Ign. [URL]http://pl.archive.ubuntu.com[/URL] saucy InRelease
Ign. [URL]http://pl.archive.ubuntu.com[/URL] saucy-security InRelease
Ign. [URL]http://pl.archive.ubuntu.com[/URL] saucy-updates InRelease
Ign. [URL]http://pl.archive.ubuntu.com[/URL] saucy-backports InRelease
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy Release.gpg
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-security Release.gpg
Stary [URL]http://deb.opera.com[/URL] stable InRelease
Stary [URL]http://repository.spotify.com[/URL] stable InRelease
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-updates Release.gpg
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-backports Release.gpg
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy Release
Ign. [URL]http://archive.canonical.com[/URL] saucy InRelease
Ign. [URL]http://extras.ubuntu.com[/URL] saucy InRelease
Ign. [URL]http://ppa.launchpad.net[/URL] saucy InRelease
Ign. [URL]http://ppa.launchpad.net[/URL] saucy InRelease
Ign. [URL]http://ppa.launchpad.net[/URL] saucy InRelease
Stary [URL]http://deb.opera.com[/URL] stable/non-free i386 Packages
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-security Release
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-updates Release
Stary [URL]http://repository.spotify.com[/URL] stable/non-free i386 Packages
Stary [URL]http://archive.canonical.com[/URL] saucy Release.gpg
Ign. [URL]http://deb.opera.com[/URL] stable/non-free TranslationIndex
Stary [URL]http://extras.ubuntu.com[/URL] saucy Release.gpg
Ign. [URL]http://ppa.launchpad.net[/URL] saucy InRelease
Ign. [URL]http://ppa.launchpad.net[/URL] saucy InRelease
Stary [URL]http://ppa.launchpad.net[/URL] saucy Release.gpg
Stary [URL]http://ppa.launchpad.net[/URL] saucy Release.gpg
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-backports Release
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy/main Sources
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy/restricted Sources
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy/universe Sources
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy/multiverse Sources
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy/main i386 Packages
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy/restricted i386 Packages
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy/universe i386 Packages
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy/multiverse i386 Packages
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy/main TranslationIndex
Ign. [URL]http://repository.spotify.com[/URL] stable/non-free TranslationIndex
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy/multiverse TranslationIndex
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy/restricted TranslationIndex
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy/universe TranslationIndex
Stary [URL]http://archive.canonical.com[/URL] saucy Release
Stary [URL]http://extras.ubuntu.com[/URL] saucy Release
Stary [URL]http://ppa.launchpad.net[/URL] saucy Release.gpg
Stary [URL]http://ppa.launchpad.net[/URL] saucy Release.gpg
Stary [URL]http://ppa.launchpad.net[/URL] saucy Release.gpg
Stary [URL]http://ppa.launchpad.net[/URL] saucy Release
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-security/main Sources
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-security/restricted Sources
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-security/universe Sources
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-security/multiverse Sources
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-security/main i386 Packages
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-security/restricted i386 Packages
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-security/universe i386 Packages
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-security/multiverse i386 Packages
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-security/main TranslationIndex
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-security/multiverse TranslationIndex
Stary [URL]http://ppa.launchpad.net[/URL] saucy Release
Stary [URL]http://ppa.launchpad.net[/URL] saucy Release
Stary [URL]http://ppa.launchpad.net[/URL] saucy Release
Stary [URL]http://ppa.launchpad.net[/URL] saucy Release
Stary [URL]http://archive.canonical.com[/URL] saucy/partner Sources
Stary [URL]http://extras.ubuntu.com[/URL] saucy/main Sources
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-security/restricted TranslationIndex
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-security/universe TranslationIndex
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-updates/main Sources
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-updates/restricted Sources
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-updates/universe Sources
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-updates/multiverse Sources
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-updates/main i386 Packages
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-updates/restricted i386 Packages
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-updates/universe i386 Packages
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-updates/multiverse i386 Packages
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-updates/main TranslationIndex
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-updates/multiverse TranslationIndex
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-updates/restricted TranslationIndex
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-updates/universe TranslationIndex
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-backports/main Sources
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-backports/restricted Sources
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-backports/universe Sources
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-backports/multiverse Sources
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-backports/main i386 Packages
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-backports/restricted i386 Packages
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-backports/universe i386 Packages
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-backports/multiverse i386 Packages
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-backports/main TranslationIndex
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-backports/multiverse TranslationIndex
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-backports/restricted TranslationIndex
Stary [URL]http://extras.ubuntu.com[/URL] saucy/main i386 Packages
Ign. [URL]http://extras.ubuntu.com[/URL] saucy/main TranslationIndex
Stary [URL]http://archive.canonical.com[/URL] saucy/partner i386 Packages
Ign. [URL]http://archive.canonical.com[/URL] saucy/partner TranslationIndex
Stary [URL]http://ppa.launchpad.net[/URL] saucy/main Sources
Stary [URL]http://ppa.launchpad.net[/URL] saucy/main i386 Packages
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-backports/universe TranslationIndex
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy/main Translation-pl
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy/main Translation-en
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy/multiverse Translation-pl
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy/multiverse Translation-en
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy/restricted Translation-pl
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy/restricted Translation-en
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy/universe Translation-pl
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy/universe Translation-en
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-security/main Translation-en
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-security/multiverse Translation-en
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-security/restricted Translation-en
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-security/universe Translation-en
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-updates/main Translation-en
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-updates/multiverse Translation-en
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-updates/restricted Translation-en
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-updates/universe Translation-en
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-backports/main Translation-en
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-backports/multiverse Translation-en
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-backports/restricted Translation-en
Stary [URL]http://pl.archive.ubuntu.com[/URL] saucy-backports/universe Translation-en
Ign. [URL]http://deb.opera.com[/URL] stable/non-free Translation-pl_PL
Ign. [URL]http://ppa.launchpad.net[/URL] saucy/main TranslationIndex
Stary [URL]http://ppa.launchpad.net[/URL] saucy/main Sources
Stary [URL]http://ppa.launchpad.net[/URL] saucy/main i386 Packages
Ign. [URL]http://ppa.launchpad.net[/URL] saucy/main TranslationIndex
Stary [URL]http://ppa.launchpad.net[/URL] saucy/main Sources
Ign. [URL]http://deb.opera.com[/URL] stable/non-free Translation-pl
Ign. [URL]http://deb.opera.com[/URL] stable/non-free Translation-en
Stary [URL]http://ppa.launchpad.net[/URL] saucy/main i386 Packages
Ign. [URL]http://ppa.launchpad.net[/URL] saucy/main TranslationIndex
Stary [URL]http://ppa.launchpad.net[/URL] saucy/main Sources
Stary [URL]http://ppa.launchpad.net[/URL] saucy/main i386 Packages
Ign. [URL]http://ppa.launchpad.net[/URL] saucy/main TranslationIndex
Ign. [URL]http://repository.spotify.com[/URL] stable/non-free Translation-pl_PL
Stary [URL]http://ppa.launchpad.net[/URL] saucy/main Sources
Stary [URL]http://ppa.launchpad.net[/URL] saucy/main i386 Packages
Ign. [URL]http://ppa.launchpad.net[/URL] saucy/main TranslationIndex
Ign. [URL]http://repository.spotify.com[/URL] stable/non-free Translation-pl
Ign. [URL]http://repository.spotify.com[/URL] stable/non-free Translation-en
Ign. [URL]http://archive.canonical.com[/URL] saucy/partner Translation-pl_PL
Ign. [URL]http://archive.canonical.com[/URL] saucy/partner Translation-pl
Ign. [URL]http://archive.canonical.com[/URL] saucy/partner Translation-en
Ign. [URL]http://extras.ubuntu.com[/URL] saucy/main Translation-pl_PL
Ign. [URL]http://extras.ubuntu.com[/URL] saucy/main Translation-pl
Ign. [URL]http://extras.ubuntu.com[/URL] saucy/main Translation-en
Ign. [URL]http://ppa.launchpad.net[/URL] saucy/main Translation-pl_PL
Ign. [URL]http://ppa.launchpad.net[/URL] saucy/main Translation-pl
Ign. [URL]http://ppa.launchpad.net[/URL] saucy/main Translation-en
Ign. [URL]http://ppa.launchpad.net[/URL] saucy/main Translation-pl_PL
Ign. [URL]http://ppa.launchpad.net[/URL] saucy/main Translation-pl
Ign. [URL]http://ppa.launchpad.net[/URL] saucy/main Translation-en
Ign. [URL]http://ppa.launchpad.net[/URL] saucy/main Translation-pl_PL
Ign. [URL]http://ppa.launchpad.net[/URL] saucy/main Translation-pl
Ign. [URL]http://ppa.launchpad.net[/URL] saucy/main Translation-en
Ign. [URL]http://ppa.launchpad.net[/URL] saucy/main Translation-pl_PL
Ign. [URL]http://ppa.launchpad.net[/URL] saucy/main Translation-pl
Ign. [URL]http://ppa.launchpad.net[/URL] saucy/main Translation-en
Ign. [URL]http://ppa.launchpad.net[/URL] saucy/main Translation-pl_PL
Ign. [URL]http://ppa.launchpad.net[/URL] saucy/main Translation-pl
Ign. [URL]http://ppa.launchpad.net[/URL] saucy/main Translation-en
Type of arg 1 to keys must be hash (not hash element) at /usr/bin/apt-show-versions line 264, near "}) "
Type of arg 1 to keys must be hash (not hash element) at /usr/bin/apt-show-versions line 359, near "}) "
Execution of /usr/bin/apt-show-versions aborted due to compilation errors.
E: Problem executing scripts APT::Update::Post-Invoke-Success 'test -x /usr/bin/apt-show-versions || exit 0 ; apt-show-versions -i'
E: Sub-process returned an error code
I dalej problem.
Awatar użytkownika
Menel
Member
Posty: 1117
Rejestracja: 24 sierpnia 2013, 19:58
Lokalizacja: doktor informoparalityki

Post autor: Menel »

Tu coś znalazłem na ten temat, zerknij:
http://askubuntu.com/questions/221038/p ... ith-update

Z tego co widzę to tu są listy repozytoriów do tej wersji Ubuntu:
http://ubuntuguide.org/wiki/Ubuntu_Raring_Repositories
http://www.ubuntu-pomoc.org/domyslne-re ... -ringtail/

apt-show-versions parsuje plik statusu dpkg, listy APT-a z zainstalowanymi i dostępnymi wersjami pakietu lub dystrybucji oraz pokazuje opcje aktualizacji wybranego pakietu w określonej dystrybucji.
Jest to szczególnie użyteczne, jeśli korzysta się z wymieszanego środowiska dystrybucji stabilnej i testowej a zachodzi potrzeba uzyskania listy wszystkich, możliwych do zaktualizowania pakietów, pochodzących z dystrybucji testowej.
fnmirk
Senior Member
Posty: 8273
Rejestracja: 03 grudnia 2007, 06:37

Post autor: fnmirk »

&quot pisze:Plik /etc/apt/sources.list opróżniony, wstawiłem nowe wpisy ze strony:
http://www.ubuntu-pomoc.org/repozytoria ... alamander/

Wydałem polecenie:
Bezmyślne i niewskazane posunięcie wykonywania aktualizacji na uszkodzonym systemie. Zachowałeś przynajmniej kopię poprzedniej zawartości pliku /etc/apt/sources.list?

Przedstaw poprzednią i obecną zawartość pliku /etc/apt/sources.list. Zajrzyj do katalogu /etc/apt/sources.list.d/ czy tam nie masz jakichś plików z adresami repozytoriów.

Nie zmieniaj nic w pliku /etc/apt/sources.list i sprawdź czy przypadkiem Twój edytor nie utworzył jakiejś kopii poprzedniej zawartości tego pliku. Może to być jakiś plik ukryty w katalogu /etc/apt/.

Przedstaw też wynik:

Kod: Zaznacz cały

uname -a
ODPOWIEDZ