: 05 sierpnia 2009, 12:14
Zaznacz w terminalu tekst i wklej go w FF środkowym myszy.
Polski portal użytkowników dystrybucji Debian GNU/Linux, dyskusje, artykuły, nowości, blog, porady, pomoc.
https://www.debian.pl/
Kod: Zaznacz cały
debian:/home/athlon# apt-get update
Traf [url]http://security.debian.org[/url] lenny/updates Release.gpg
Ign [url]http://security.debian.org[/url] lenny/updates/main Translation-pl
Ign [url]http://security.debian.org[/url] lenny/updates/contrib Translation-pl
Traf [url]http://ftp.pl.debian.org[/url] lenny Release.gpg
Traf [url]http://ftp.pl.debian.org[/url] lenny/main Translation-pl
Ign [url]http://ftp.pl.debian.org[/url] lenny/non-free Translation-pl
Ign [url]http://ftp.pl.debian.org[/url] lenny/contrib Translation-pl
Ign [url]http://security.debian.org[/url] lenny/updates/non-free Translation-pl
Traf [url]http://ftp.pl.debian.org[/url] lenny Release
Traf [url]http://security.debian.org[/url] lenny/updates Release
Błąd [url]http://sercurity.debian.org[/url] lenny/updates Release.gpg
Nie udało się przetłumaczyć nazwy "sercurity.debian.org"
Ign [url]http://ftp.pl.debian.org[/url] lenny/main Packages/DiffIndex
Ign [url]http://security.debian.org[/url] lenny/updates/main Packages/DiffIndex
Ign [url]http://ftp.pl.debian.org[/url] lenny/non-free Packages/DiffIndex
Ign [url]http://ftp.pl.debian.org[/url] lenny/contrib Packages/DiffIndex
Ign [url]http://ftp.pl.debian.org[/url] lenny/main Sources/DiffIndex
Ign [url]http://ftp.pl.debian.org[/url] lenny/non-free Sources/DiffIndex
Ign [url]http://ftp.pl.debian.org[/url] lenny/contrib Sources/DiffIndex
Ign [url]http://security.debian.org[/url] lenny/updates/main Sources/DiffIndex
Ign [url]http://security.debian.org[/url] lenny/updates/contrib Packages/DiffIndex
Ign [url]http://security.debian.org[/url] lenny/updates/non-free Packages/DiffIndex
Traf [url]http://ftp.pl.debian.org[/url] lenny/main Packages
Traf [url]http://security.debian.org[/url] lenny/updates/main Packages
Traf [url]http://ftp.pl.debian.org[/url] lenny/non-free Packages
Traf [url]http://ftp.pl.debian.org[/url] lenny/contrib Packages
Traf [url]http://ftp.pl.debian.org[/url] lenny/main Sources
Traf [url]http://ftp.pl.debian.org[/url] lenny/non-free Sources
Traf [url]http://ftp.pl.debian.org[/url] lenny/contrib Sources
Traf [url]http://security.debian.org[/url] lenny/updates/main Sources
Traf [url]http://security.debian.org[/url] lenny/updates/contrib Packages
Traf [url]http://security.debian.org[/url] lenny/updates/non-free Packages
Czytanie list pakietów... Gotowe
W: Nie udało się pobrać [url]http://sercurity.debian.org/dists/lenny/updates/Release[/url].
gpg Nie udało się przetłumaczyć nazwy "sercurity.debian.org"
W: Nie udało się pobrać niektórych plików indeksu, zostały one zignorowane lub z
ostała użyta ich starsza wersja.
W: Należy uruchomić apt-get update aby naprawić te problemy.
Kod: Zaznacz cały
debian:/home/athlon# apt-get install kadu
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności... Gotowe
Zostaną zainstalowane następujące dodatkowe pakiety:
kadu-common kadu-external-modules kadu-gtk-modules kadu-kde-modules
Sugerowane pakiety:
kadu-themes
Następujące pakiety zostaną zaktualizowane:
kadu kadu-common kadu-external-modules kadu-gtk-modules kadu-kde-modules
5 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 290 nieaktualizowanych.
Konieczne pobranie 0B/3610kB archiwów.
Po tej operacji zostanie dodatkowo użyte 0B miejsca na dysku.
Kontynuować [T/n]? t
(Odczytywanie bazy danych ...
dpkg: poważne ostrzeżenie: brak listy plików pakietu "libmtp7", przyjęcie że pakiet nie ma zainstalowanych plików.
dpkg: nienaprawialny błąd krytyczny, przerywanie:
files list file for package `build-essential' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
Takie coś, to niekoniecznie jest problem z apt-getem. Występuje dość powszechnie, kiedy APT nie może się skomunikować z serwerem/repozytorium. Apt-get update nic tu nie pomoże. Rozwiązania są następujące:Athlon pisze:Teraz apt-get update wypluwa mi, że Nie udało się pobrać [url]http://security.debian.or...ates/Release9P9[/url] Nie udało sie przetłumaczyć nazwy "security.debian.org". Pisze jeszcze, że: Nie udało się pobrać niektórych plików indeksu, zostały one zignorowane lub została użyta ich starsza wersja.
Należy uruchomić apt-get update aby naprawić te problemy. (To jest akurat dla mnie nie logiczne bo właśnie wyskakuje to po wpisaniu apt-get update).
Kod: Zaznacz cały
deb [url]http://security.debian.org/[/url] lenny/updates main contrib non-free
Kod: Zaznacz cały
apt-get update
Kod: Zaznacz cały
deb [url]http://security.debian.org/[/url] lenny/updates main contrib non-free
Kod: Zaznacz cały
apt-get update
Kod: Zaznacz cały
deb [url]http://ftp.pl.debian.org/debian/[/url] lenny main non-free contrib
#deb-src [url]http://ftp.pl.debian.org/debian/[/url] lenny main non-free contrib
deb [url]http://security.debian.org/[/url] lenny/updates main contrib non-free
#deb-src [url]http://security.debian.org/[/url] lenny/updates main contrib non-free
deb [url]http://www.debian-multimedia.org[/url] lenny main
#deb-src [url]http://www.debian-multimedia.org[/url] lenny main
deb [url]http://deb.opera.com/opera/[/url] testing non-free
deb [url]http://volatile.debian.org/debian-volatile[/url] lenny/volatile main contrib non-free
#deb-src [url]http://volatile.debian.org/debian-volatile[/url] lenny/volatile main contrib non-free
#deb [url]http://www.backports.org/debian[/url] lenny-backports main contrib non-free
#deb-src [url]http://www.backports.org/debian[/url] lenny-backports main contrib non-free
Kod: Zaznacz cały
apt-get purge libmtp7
Kod: Zaznacz cały
debian:/home/athlon# apt-get purge libmtp7
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności... Gotowe
Zostaną zainstalowane następujące dodatkowe pakiety:
amarok-common amarok-engine-xine
Sugerowane pakiety:
libqt0-ruby1.8 python-qt3 libdbus-glib
Następujące pakiety zostaną USUNIÊTE:
amarok* amarok-konqsidebar* libmtp7*
Następujące pakiety zostaną zaktualizowane:
amarok-common amarok-engine-xine
2 aktualizowanych, 0 nowo instalowanych, 3 usuwanych i 291 nieaktualizowanych.
Konieczne pobranie 0B/11,2MB archiwów.
Po tej operacji zostanie zwolnione 7983kB miejsca na dysku.
Kontynuować [T/n]? t
(Odczytywanie bazy danych ...
dpkg: poważne ostrzeżenie: brak listy plików pakietu "libmtp7", przyjęcie że pak
iet nie ma zainstalowanych plików.
dpkg: nienaprawialny błąd krytyczny, przerywanie:
files list file for package `build-essential' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
Kod: Zaznacz cały
dpkg --configure -a