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/.
Strony: 1
WItam.
Mam problem z aktualizacją mojego systemu Debian 8. Po wklepaniu komendy apt-get update wynik jest następujący:
Ign. http://ftp.pl.debian.org jessie InRelease Stary http://ftp.pl.debian.org jessie-updates InRelease Stary http://ftp.pl.debian.org jessie-backports InRelease Stary http://www.deb-multimedia.org stable InRelease Stary http://ftp.pl.debian.org jessie Release.gpg Stary http://ftp.pl.debian.org jessie Release Stary http://ftp.pl.debian.org jessie-updates/non-free Sources Stary http://ftp.pl.debian.org jessie-updates/contrib Sources Stary http://security.debian.org jessie/updates InRelease Stary http://ftp.pl.debian.org jessie-updates/main Sources Stary http://ftp.pl.debian.org jessie/main Sources Stary http://ftp.pl.debian.org jessie/non-free Sources Stary http://ftp.pl.debian.org jessie/contrib Sources Stary http://www.deb-multimedia.org stable/main Sources Stary http://security.debian.org jessie/updates/non-free Sources Stary http://www.deb-multimedia.org stable/non-free Sources Stary http://security.debian.org jessie/updates/main Sources Stary http://security.debian.org jessie/updates/contrib Sources W: Nie udało się pobrać http://security.debian.org/dists/jessie/updates/InRelease Nie udało się znaleźć oczekiwanego wpisu "main/binary-i38/Packages" w pliku Release (nieprawidłowy wpis sources.list lub nieprawidłowy plik) W: Nie udało się pobrać http://ftp.pl.debian.org/debian/dists/jessie-updates/InRelease Nie udało się znaleźć oczekiwanego wpisu "main/binary-i38/Packages" w pliku Release (nieprawidłowy wpis sources.list lub nieprawidłowy plik) W: Nie udało się pobrać http://ftp.pl.debian.org/debian/dists/jessie-backports/InRelease Nie udało się znaleźć oczekiwanego wpisu "main/binary-i38/Packages" w pliku Release (nieprawidłowy wpis sources.list lub nieprawidłowy plik) W: Nie udało się pobrać http://www.deb-multimedia.org/dists/stable/InRelease Nie udało się znaleźć oczekiwanego wpisu "main/binary-i38/Packages" w pliku Release (nieprawidłowy wpis sources.list lub nieprawidłowy plik) W: Nie udało się pobrać http://ftp.pl.debian.org/debian/dists/jessie/Release Nie udało się znaleźć oczekiwanego wpisu "main/binary-i38/Packages" w pliku Release (nieprawidłowy wpis sources.list lub nieprawidłowy plik) E: Nie udało się pobrać niektórych plików indeksu, zostały one zignorowane lub użyto ich starszej wersji.
a tak wygląda plik sources.list
deb http://ftp.pl.debian.org/debian/ jessie main non-free contrib deb-src http://ftp.pl.debian.org/debian/ jessie main non-free contrib deb http://security.debian.org/ jessie/updates main contrib non-free deb-src http://security.debian.org/ jessie/updates main contrib non-free deb http://ftp.pl.debian.org/debian/ jessie-updates main non-free contrib deb-src http://ftp.pl.debian.org/debian/ jessie-updates main non-free contrib deb http://ftp.pl.debian.org/debian/ jessie-backports main contrib non-free deb http://www.deb-multimedia.org/ stable main non-free deb-src http://www.deb-multimedia.org/ stable main non-free
Zmiana w pliku sources.list na wpisy znalezione na forum Debiana dają taki sam efekt jak w/w.
Z góry Dziękuję za pomoc.
Offline
2511
Ostatnio edytowany przez uzytkownikubunt (2016-12-01 01:30:13)
Offline
Wynik polecenia wrzucę popołudniu jak będę miał dostęp do tego komputera.
Offline
Ja bym poprosił o:
dpkg --print-architecture
Offline
Wynik polecenia uname -a
Linux pokoj 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19) i686 GNU/Linux
dpkg --print-architecture i386
Offline
rm -rf /var/lib/apt/lists/* apt-get update
Offline
mati75 napisał(-a):
Kod:
rm -rf /var/lib/apt/lists/* apt-get update
Wynik:
root@pokoj:/home/piotrek# rm -rf /var/lib/apt/lists/* root@pokoj:/home/piotrek# apt-get update Ign. http://ftp.pl.debian.org jessie InRelease Pobieranie:1 http://ftp.pl.debian.org jessie-updates InRelease [136 kB] Pobieranie:2 http://security.debian.org jessie/updates InRelease [63,1 kB] Pobieranie:3 http://ftp.pl.debian.org jessie-backports InRelease [166 kB] Pobieranie:4 http://ftp.pl.debian.org jessie Release.gpg [2373 B] Pobieranie:5 http://ftp.pl.debian.org jessie-updates/main Sources [2296 B] Pobieranie:6 http://ftp.pl.debian.org jessie-updates/non-free Sources [32 B] Pobieranie:7 http://ftp.pl.debian.org jessie-updates/contrib Sources [32 B] Pobieranie:8 http://ftp.pl.debian.org jessie Release [148 kB] Pobieranie:9 http://security.debian.org jessie/updates/main Sources [104 kB] Pobieranie:10 http://ftp.pl.debian.org jessie/main Sources [7058 kB] Pobieranie:11 http://security.debian.org jessie/updates/contrib Sources [1434 B] Pobieranie:12 http://security.debian.org jessie/updates/non-free Sources [14 B] Pobieranie:13 http://ftp.pl.debian.org jessie/non-free Sources [99,4 kB] Pobieranie:14 http://ftp.pl.debian.org jessie/contrib Sources [50,7 kB] Pobrano 7831 kB w 6s (1250 kB/s) W: Nie udało się pobrać http://security.debian.org/dists/jessie/updates/InRelease Nie udało się znaleźć oczekiwanego wpisu "main/binary-i38/Packages" w pliku Release (nieprawidłowy wpis sources.list lub nieprawidłowy plik) W: Nie udało się pobrać http://ftp.pl.debian.org/debian/dists/jessie-updates/InRelease Nie udało się znaleźć oczekiwanego wpisu "main/binary-i38/Packages" w pliku Release (nieprawidłowy wpis sources.list lub nieprawidłowy plik) W: Nie udało się pobrać http://ftp.pl.debian.org/debian/dists/jessie-backports/InRelease Nie udało się znaleźć oczekiwanego wpisu "main/binary-i38/Packages" w pliku Release (nieprawidłowy wpis sources.list lub nieprawidłowy plik) W: Nie udało się pobrać http://ftp.pl.debian.org/debian/dists/jessie/Release Nie udało się znaleźć oczekiwanego wpisu "main/binary-i38/Packages" w pliku Release (nieprawidłowy wpis sources.list lub nieprawidłowy plik) E: Nie udało się pobrać niektórych plików indeksu, zostały one zignorowane lub użyto ich starszej wersji.
Offline
2523
Ostatnio edytowany przez uzytkownikubunt (2016-12-01 01:30:28)
Offline
aptitude update && echo sukces && aptitude reinstall apt
Ign. http://ftp.pl.debian.org jessie InRelease Stary http://security.debian.org jessie/updates InRelease Stary http://ftp.pl.debian.org jessie-updates InRelease Stary http://ftp.pl.debian.org jessie-backports InRelease Stary http://ftp.pl.debian.org jessie Release.gpg Stary http://ftp.pl.debian.org jessie Release Stary http://ftp.pl.debian.org jessie-updates/non-free Sources Stary http://ftp.pl.debian.org jessie-updates/contrib Sources Stary http://security.debian.org jessie/updates/main Sources Stary http://ftp.pl.debian.org jessie-updates/main Sources Stary http://security.debian.org jessie/updates/contrib Sources Stary http://security.debian.org jessie/updates/non-free Sources Stary http://ftp.pl.debian.org jessie/main Sources Stary http://ftp.pl.debian.org jessie/non-free Sources Stary http://ftp.pl.debian.org jessie/contrib Sources 100% [Pracuje]W: Nie udało się pobrać http://security.debian.org/dists/jessie/updates/InRelease: Nie udało się znaleźć oczekiwanego wpisu "main/binary-i38/Packages" w pliku Release (nieprawidłowy wpis sources.list lub nieprawidłowy plik) W: Nie udało się pobrać http://ftp.pl.debian.org/debian/dists/jessie-updates/InRelease: Nie udało się znaleźć oczekiwanego wpisu "main/binary-i38/Packages" w pliku Release (nieprawidłowy wpis sources.list lub nieprawidłowy plik) W: Nie udało się pobrać http://ftp.pl.debian.org/debian/dists/jessie-backports/InRelease: Nie udało się znaleźć oczekiwanego wpisu "main/binary-i38/Packages" w pliku Release (nieprawidłowy wpis sources.list lub nieprawidłowy plik) W: Nie udało się pobrać http://ftp.pl.debian.org/debian/dists/jessie/Release: Nie udało się znaleźć oczekiwanego wpisu "main/binary-i38/Packages" w pliku Release (nieprawidłowy wpis sources.list lub nieprawidłowy plik) E: Nie udało się pobrać niektórych plików indeksu, zostały one zignorowane lub użyto ich starszej wersji. E: Nie można przebudować informacji o pakietach
ls /etc/apt/
apt.conf.d sources.list sources.list.save trusted.gpg~ listchanges.conf sources.list~ sources.list.save.1 trusted.gpg.d preferences.d sources.list.d-old trusted.gpg
ls /etc/apt/sources.list.d
ls /etc/apt/sources.list.d ls: nie ma dostępu do /etc/apt/sources.list.d: Nie ma takiego pliku ani katalogu
Offline
Prawdopodobnie źle dodałeś architekturę.
dpkg --print-foreign-architectures
Offline
dpkg --print-foreign-architectures i38
Offline
Jak widać przy dodawaniu architektury zjadłeś 6
dpkg --remove-architecture i38 dpkg --add-architecture i386
Offline
ilin napisał(-a):
Jak widać przy dodawaniu architektury zjadłeś 6
Kod:
dpkg --remove-architecture i38 dpkg --add-architecture i386
chyba pomogło:
apt-get update Ign. http://ftp.pl.debian.org jessie InRelease Pobieranie:1 http://ftp.pl.debian.org jessie-updates InRelease [136 kB] Stary http://security.debian.org jessie/updates InRelease Pobieranie:2 http://ftp.pl.debian.org jessie-backports InRelease [166 kB] Stary http://ftp.pl.debian.org jessie Release.gpg Stary http://security.debian.org jessie/updates/non-free Sources Pobieranie:3 http://ftp.pl.debian.org jessie-updates/main Sources [2296 B] Pobieranie:4 http://ftp.pl.debian.org jessie-updates/non-free Sources [32 B] Pobieranie:5 http://ftp.pl.debian.org jessie-updates/contrib Sources [32 B] Pobieranie:6 http://ftp.pl.debian.org jessie-updates/non-free i386 Packages [32 B] Pobieranie:7 http://ftp.pl.debian.org jessie-updates/contrib i386 Packages [32 B] Pobieranie:8 http://security.debian.org jessie/updates/main i386 Packages [183 kB] Pobieranie:9 http://ftp.pl.debian.org jessie-updates/contrib Translation-en [14 B] Pobieranie:10 http://ftp.pl.debian.org jessie-updates/main Translation-en [2506 B] Pobieranie:11 http://ftp.pl.debian.org jessie-updates/non-free Translation-en [14 B] Stary http://ftp.pl.debian.org jessie Release Pobieranie:12 http://ftp.pl.debian.org jessie-backports/contrib Translation-en [5144 B] Pobieranie:13 http://ftp.pl.debian.org jessie-backports/main Translation-en [243 kB] Pobieranie:14 http://ftp.pl.debian.org jessie-backports/non-free Translation-en [21,9 kB] Pobieranie:15 http://ftp.pl.debian.org jessie-updates/main i386 Packages [3448 B] Pobieranie:16 http://ftp.pl.debian.org jessie-backports/main i386 Packages [357 kB] Pobieranie:17 http://security.debian.org jessie/updates/contrib i386 Packages [2511 B] Pobieranie:18 http://security.debian.org jessie/updates/non-free i386 Packages [14 B] Pobieranie:19 http://security.debian.org jessie/updates/contrib Translation-en [1211 B] Pobieranie:20 http://security.debian.org jessie/updates/main Translation-en [97,5 kB] Pobieranie:21 http://security.debian.org jessie/updates/non-free Translation-en [14 B] Stary http://security.debian.org jessie/updates/main Sources Stary http://security.debian.org jessie/updates/contrib Sources Pobieranie:22 http://ftp.pl.debian.org jessie/main i386 Packages [6769 kB] Pobieranie:23 http://ftp.pl.debian.org jessie/non-free i386 Packages [79,7 kB] Pobieranie:24 http://ftp.pl.debian.org jessie/contrib i386 Packages [49,6 kB] Pobieranie:25 http://ftp.pl.debian.org jessie/contrib Translation-en [38,4 kB] Pobieranie:26 http://ftp.pl.debian.org jessie/main Translation-pl [574 kB] Pobieranie:27 http://ftp.pl.debian.org jessie/main Translation-en [4585 kB] Pobieranie:28 http://ftp.pl.debian.org jessie/non-free Translation-en [72,2 kB] Pobieranie:29 http://ftp.pl.debian.org jessie-backports/contrib i386 Packages [7028 B] Pobieranie:30 http://ftp.pl.debian.org jessie-backports/non-free i386 Packages [16,7 kB] Stary http://ftp.pl.debian.org jessie/main Sources Stary http://ftp.pl.debian.org jessie/non-free Sources Stary http://ftp.pl.debian.org jessie/contrib Sources Pobrano 13,4 MB w 9s (1368 kB/s) Czytanie list pakietów... Gotowe
Offline
Musiało pomóc.
Skoro dodałeś nieistniejącą architekturę, więc apt nie potrafił jej znaleźć w repozytoriach.
Offline
ilin napisał(-a):
Musiało pomóc.
Skoro dodałeś nieistniejącą architekturę, więc apt nie potrafił jej znaleźć w repozytoriach.
Jeżeli apt przyjmuje architekturę, która nie istnieje, to ja bym radził na bugzilli to zgłosić.
Moim zdaniem to babol malutki jak stodoła.
Chyba nie trudno do apta dodać funkcję, która ściąga z repo listę dostępnych architektur (albo ma tą listę zapisaną w programie, procki nie zmieniają się co tydzień), i sprawdza, czy dodana przez pacjenta jest na liście dopuszczalnych.
Offline
ilin napisał(-a):
Musiało pomóc.
Skoro dodałeś nieistniejącą architekturę, więc apt nie potrafił jej znaleźć w repozytoriach.
Z Debiana korzystam spordycznie, i do tej pory apt-get update działało ok, i nie dodawałem żadnej architektury do niego.Wiec nie bardzo wiem co się stało.
Offline
Strony: 1