Strona 1 z 1

"Nie udało się odczytać listy źródeł" przy próbie aktualizacji systemu

: 24 lis 2014, 10:09
autor: nowak8118
Witam
Mam problem repozytoriami, a dokładniej.
Kilka dni w tył zobaczyłem ikonę "zakaz wjazdu" na pasku u góry kliknąłem w to i pokazało mi się że wystąpił błąd o następującej treści:
Aby zidentyfikować problem uruchom Menadżera pakietów z menu kontekstowego lub apt-get w terminalu: Identyfikator błędu "Błąd: Otwieranie bufora (E:Malformed line 10 in source list /etc/apt/sources.list (dist parse), E:The package lists or status file could not be parsed or opened.)" Zazwyczaj oznacza to, że instalowane pakiety posiadają niespełnione zależności.

Więc otworzyłem terminal i w nim podałem komendę sudo gedit /etc/apt/sources.list otworzyłem listę repozytoriów i zastosowałem się do:
viewtopic.php?f=142&t=169868
Po wklejeniu repo z tej stronki uzyskałem wynik że repo są stare, ignorowane a na koniec że występują duplikaty z backports, więc wkleiłem z powrotem swoje stare repo które miałem po instalacji systemu i teraz gdy wydaję polecenie sudo apt-get update to mam komuniakt "E: Nie udało się odczytać listy źródeł."

Co można z tym fantem zrobić żeby wszystko współgrało i  żebym nie miał tej ikonki "zakaz wjazdu"?

System: 32 bit, ver. 14.04lts

Re: Problem z repozytoriami, nie chcą się aktualizować.

: 24 lis 2014, 10:38
autor: mistrz1
Lepiej będzie, gdy wpiszesz polecenie w terminalu i podasz wszystko, co się w nim wyświetla niż ocenzurowane informacje.

Re: brak aktualizacja repozytoriów ubuntu

: 24 lis 2014, 20:07
autor: nowak8118
właśnie nic się nie wyświetla.
Jest tylko komunikat E: Nie udało się odczytać listy źródeł.

Re: brak aktualizacja repozytoriów ubuntu

: 24 lis 2014, 20:18
autor: igotit4free
Wklej tu wynik

Kod: Zaznacz cały

cat /etc/apt/sources.list

Re: "Nie udało się odczytać listy źródeł" przy próbie aktualizacji systemu

: 24 lis 2014, 22:05
autor: nowak8118

Kod: Zaznacz cały

deb http://pl.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb http://pl.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu trusty-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted universe multiverse
deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
deb http://archive.canonical.com/trusty partner
deb-src http://archive.canonical.com/trusty partner
To są te repozytoria co nie chcą się aktualizować po przez polecenie sudo apt-get update
Jak po restarcie systemu, czyli 2 minuty temu, to jest nowa odpowiedź:

Kod: Zaznacz cały

E: Nieprawidłowa linia 10 w liście źródeł /etc/apt/sources.list (analiza dystrybucji)
następnie
E: Nie udało się odczytać list źródeł.

Re: "Nie udało się odczytać listy źródeł" przy próbie aktualizacji systemu

: 24 lis 2014, 22:13
autor: mistrz1
Widzę, że masz problem ze zrozumieniem tego, co czytasz.

Re: "Nie udało się odczytać listy źródeł" przy próbie aktualizacji systemu

: 24 lis 2014, 23:11
autor: nowak8118
widzę że wyskoczyło mi że jest jakiś problem w linii 10. Linia 10 odnosi się do repozytoriów seciurity, gdy podmieniam tą linie z innego repo to wyskakuje informacja że jest stary podczas aktualizacji. Więc co z tym fantem zrobić?

Re: "Nie udało się odczytać listy źródeł" przy próbie aktualizacji systemu

: 25 lis 2014, 08:17
autor: namok
nowak8118 pisze:widzę że wyskoczyło mi że jest jakiś problem w linii 10. Linia 10 odnosi się do repozytoriów seciurity, gdy podmieniam tą linie z innego repo to wyskakuje informacja że jest stary podczas aktualizacji. Więc co z tym fantem zrobić?
igotit4free pisze:Wklej tu wynik

Kod: Zaznacz cały

cat /etc/apt/sources.list
Może wreszcie raczysz to podać.

Re: "Nie udało się odczytać listy źródeł" przy próbie aktualizacji systemu

: 25 lis 2014, 08:44
autor: igotit4free
Wyedytuj swoje repo

Kod: Zaznacz cały

sudo gedit /etc/apt/sources.list
usuń zawartość i wklej te z linku który sam podajesz:

Kod: Zaznacz cały

### Repozytoria podstawowe - obowiązkowe
deb http://pl.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb http://pl.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://pl.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://pl.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
### Repozytoria przydatne
deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner
deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
następnie wydaj

Kod: Zaznacz cały

sudo apt-get update
i pokaż wynik.

Re: "Nie udało się odczytać listy źródeł" przy próbie aktualizacji systemu

: 25 lis 2014, 20:22
autor: nowak8118

Kod: Zaznacz cały

michal@michal-lap:~$ sudo gedit /etc/apt/sources.list
[sudo] password for michal: 

(gedit:2295): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(gedit:2295): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

Kod: Zaznacz cały

michal@michal-lap:~$ sudo apt-get update
Ign.  http://archive.canonical.com trusty InRelease
Ign.  http://ppa.launchpad.net trusty InRelease                                
Stary http://archive.canonical.com trusty Release.gpg                          
Ign.  http://ppa.launchpad.net trusty InRelease                                
Stary http://archive.canonical.com trusty Release                              
Ign.  http://ppa.launchpad.net trusty InRelease                                
Ign.  http://ppa.launchpad.net trusty InRelease                                
Ign.  http://ppa.launchpad.net trusty InRelease                                
Ign.  http://ppa.launchpad.net trusty InRelease                                
Pobieranie:1 http://archive.canonical.com trusty/partner Sources [7924 B]      
Stary http://ppa.launchpad.net trusty Release.gpg                              
Stary http://ppa.launchpad.net trusty Release.gpg                              
Stary http://archive.canonical.com trusty/partner i386 Packages                
Stary http://ppa.launchpad.net trusty Release.gpg                              
Stary http://archive.canonical.com trusty/partner Translation-en               
Stary http://ppa.launchpad.net trusty Release.gpg                              
Stary http://ppa.launchpad.net trusty Release.gpg                              
Stary http://ppa.launchpad.net trusty Release.gpg                         
Stary http://ppa.launchpad.net trusty Release                             
Stary http://ppa.launchpad.net trusty Release                                  
Stary http://ppa.launchpad.net trusty Release                                  
Stary http://ppa.launchpad.net trusty Release                                  
Stary http://ppa.launchpad.net trusty Release                                  
Stary http://ppa.launchpad.net trusty Release                                  
Stary http://ppa.launchpad.net trusty/main i386 Packages                       
Stary http://ppa.launchpad.net trusty/main i386 Packages                       
Stary http://ppa.launchpad.net trusty/main Translation-en                      
Stary http://ppa.launchpad.net trusty/main i386 Packages                       
Stary http://ppa.launchpad.net trusty/main Translation-en                      
Stary http://ppa.launchpad.net trusty/main i386 Packages                       
Stary http://ppa.launchpad.net trusty/main Translation-en                      
Stary http://ppa.launchpad.net trusty/main i386 Packages                       
Stary http://ppa.launchpad.net trusty/main Translation-en                      
Stary http://ppa.launchpad.net trusty/main i386 Packages                       
Stary http://ppa.launchpad.net trusty/main Translation-en                      
Ign.  http://ppa.launchpad.net trusty/main Translation-pl_PL                   
Ign.  http://ppa.launchpad.net trusty/main Translation-pl                      
Ign.  http://ppa.launchpad.net trusty/main Translation-en                 
Ign.  http://extras.ubuntu.com trusty InRelease                           
Pobieranie:2 http://extras.ubuntu.com trusty Release.gpg [72 B]           
Pobieranie:3 http://extras.ubuntu.com trusty Release [11,9 kB]          
Pobieranie:4 http://extras.ubuntu.com trusty/main Sources [14 B]  
Pobieranie:5 http://extras.ubuntu.com trusty/main i386 Packages [14 B]
Ign.  http://extras.ubuntu.com trusty/main Translation-pl_PL         
Ign.  http://extras.ubuntu.com trusty/main Translation-pl            
Ign.  http://extras.ubuntu.com trusty/main Translation-en
Ign.  http://pl.archive.ubuntu.com trusty InRelease
Ign.  http://pl.archive.ubuntu.com trusty-security InRelease
Ign.  http://pl.archive.ubuntu.com trusty-updates InRelease
Ign.  http://pl.archive.ubuntu.com trusty-backports InRelease
Stary http://pl.archive.ubuntu.com trusty Release.gpg
Pobieranie:6 http://pl.archive.ubuntu.com trusty-security Release.gpg [933 B]
Pobieranie:7 http://pl.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Stary http://pl.archive.ubuntu.com trusty-backports Release.gpg
Stary http://pl.archive.ubuntu.com trusty Release
Pobieranie:8 http://pl.archive.ubuntu.com trusty-security Release [62,0 kB]
Pobieranie:9 http://pl.archive.ubuntu.com trusty-updates Release [62,0 kB]
Stary http://pl.archive.ubuntu.com trusty-backports Release
Stary http://pl.archive.ubuntu.com trusty/main Sources 
Stary http://pl.archive.ubuntu.com trusty/restricted Sources
Stary http://pl.archive.ubuntu.com trusty/universe Sources
Stary http://pl.archive.ubuntu.com trusty/multiverse Sources
Stary http://pl.archive.ubuntu.com trusty/main i386 Packages
Stary http://pl.archive.ubuntu.com trusty/restricted i386 Packages
Stary http://pl.archive.ubuntu.com trusty/universe i386 Packages
Stary http://pl.archive.ubuntu.com trusty/multiverse i386 Packages
Stary http://pl.archive.ubuntu.com trusty/main Translation-pl
Stary http://pl.archive.ubuntu.com trusty/main Translation-en
Stary http://pl.archive.ubuntu.com trusty/multiverse Translation-pl
Stary http://pl.archive.ubuntu.com trusty/multiverse Translation-en
Stary http://pl.archive.ubuntu.com trusty/restricted Translation-pl
Stary http://pl.archive.ubuntu.com trusty/restricted Translation-en
Stary http://pl.archive.ubuntu.com trusty/universe Translation-pl
Stary http://pl.archive.ubuntu.com trusty/universe Translation-en
Pobieranie:10 http://pl.archive.ubuntu.com trusty-security/main Sources [51,5 kB]
Pobieranie:11 http://pl.archive.ubuntu.com trusty-security/restricted Sources [14 B]
Pobieranie:12 http://pl.archive.ubuntu.com trusty-security/universe Sources [17,4 kB]
Pobieranie:13 http://pl.archive.ubuntu.com trusty-security/multiverse Sources [702 B]
Pobieranie:14 http://pl.archive.ubuntu.com trusty-security/main i386 Packages [154 kB]
Pobieranie:15 http://pl.archive.ubuntu.com trusty-security/restricted i386 Packages [14 B]
Pobieranie:16 http://pl.archive.ubuntu.com trusty-security/universe i386 Packages [72,6 kB]
Pobieranie:17 http://pl.archive.ubuntu.com trusty-security/multiverse i386 Packages [1401 B]
Pobieranie:18 http://pl.archive.ubuntu.com trusty-security/main Translation-en [79,3 kB]
Stary http://pl.archive.ubuntu.com trusty-security/multiverse Translation-en   
Stary http://pl.archive.ubuntu.com trusty-security/restricted Translation-en   
Pobieranie:19 http://pl.archive.ubuntu.com trusty-security/universe Translation-en [39,6 kB]
Pobieranie:20 http://pl.archive.ubuntu.com trusty-updates/main Sources [142 kB]
Pobieranie:21 http://pl.archive.ubuntu.com trusty-updates/restricted Sources [1408 B]
Pobieranie:22 http://pl.archive.ubuntu.com trusty-updates/universe Sources [91,8 kB]
Pobieranie:23 http://pl.archive.ubuntu.com trusty-updates/multiverse Sources [3536 B]
Pobieranie:24 http://pl.archive.ubuntu.com trusty-updates/main i386 Packages [360 kB]
Pobieranie:25 http://pl.archive.ubuntu.com trusty-updates/restricted i386 Packages [5820 B]
Pobieranie:26 http://pl.archive.ubuntu.com trusty-updates/universe i386 Packages [221 kB]
Pobieranie:27 http://pl.archive.ubuntu.com trusty-updates/multiverse i386 Packages [9532 B]
Pobieranie:28 http://pl.archive.ubuntu.com trusty-updates/main Translation-en [168 kB]
Stary http://pl.archive.ubuntu.com trusty-updates/multiverse Translation-en    
Stary http://pl.archive.ubuntu.com trusty-updates/restricted Translation-en    
Pobieranie:29 http://pl.archive.ubuntu.com trusty-updates/universe Translation-en [111 kB]
Stary http://pl.archive.ubuntu.com trusty-backports/main Sources               
Stary http://pl.archive.ubuntu.com trusty-backports/restricted Sources         
Stary http://pl.archive.ubuntu.com trusty-backports/universe Sources           
Stary http://pl.archive.ubuntu.com trusty-backports/multiverse Sources         
Stary http://pl.archive.ubuntu.com trusty-backports/main i386 Packages         
Stary http://pl.archive.ubuntu.com trusty-backports/restricted i386 Packages   
Stary http://pl.archive.ubuntu.com trusty-backports/universe i386 Packages     
Stary http://pl.archive.ubuntu.com trusty-backports/multiverse i386 Packages   
Stary http://pl.archive.ubuntu.com trusty-backports/main Translation-en        
Stary http://pl.archive.ubuntu.com trusty-backports/multiverse Translation-en  
Stary http://pl.archive.ubuntu.com trusty-backports/restricted Translation-en  
Stary http://pl.archive.ubuntu.com trusty-backports/universe Translation-en    
Ign.  http://pl.archive.ubuntu.com trusty/main Translation-pl_PL               
Ign.  http://pl.archive.ubuntu.com trusty/multiverse Translation-pl_PL         
Ign.  http://pl.archive.ubuntu.com trusty/restricted Translation-pl_PL         
Ign.  http://pl.archive.ubuntu.com trusty/universe Translation-pl_PL           
Pobrano 1675 kB w 11s (141 kB/s)                                               
Czytanie list pakietów... Gotowe
W: Duplicate sources.list entry http://pl.archive.ubuntu.com/ubuntu/ trusty-backports/main i386 Packages (/var/lib/apt/lists/pl.archive.ubuntu.com_ubuntu_dists_trusty-backports_main_binary-i386_Packages)
W: Duplicate sources.list entry http://pl.archive.ubuntu.com/ubuntu/ trusty-backports/restricted i386 Packages (/var/lib/apt/lists/pl.archive.ubuntu.com_ubuntu_dists_trusty-backports_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://pl.archive.ubuntu.com/ubuntu/ trusty-backports/universe i386 Packages (/var/lib/apt/lists/pl.archive.ubuntu.com_ubuntu_dists_trusty-backports_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://pl.archive.ubuntu.com/ubuntu/ trusty-backports/multiverse i386 Packages (/var/lib/apt/lists/pl.archive.ubuntu.com_ubuntu_dists_trusty-backports_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ trusty/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_trusty_partner_binary-i386_Packages)
W: Należy uruchomić apt-get update aby naprawić te problemy.
I właśnie przeraża mnie to że tam wyskakują informacje takie jak: ignorowany i stary, są tam właśnie te duplikaty o których wspomniałem wcześniej.

Re: "Nie udało się odczytać listy źródeł" przy próbie aktualizacji systemu

: 25 lis 2014, 20:45
autor: Tomfoc
Stary - nie zmienił sie od ostatniego pobierania
Ignorowane - nie jest pobierany gdyż apt uznał, że nie ma takiej potrzeby (bo np. nie miał prawa się zmienić gdy jakiś inny się nie zmienił)

Re: "Nie udało się odczytać listy źródeł" przy próbie aktualizacji systemu

: 25 lis 2014, 21:00
autor: xwizard
Usuń duplikaty, z resztą W to skrót od "warning". Co ci tam właściwie nie działa, że się takimi bzdetami przejmujesz?

Re: "Nie udało się odczytać listy źródeł" przy próbie aktualizacji systemu

: 25 lis 2014, 23:00
autor: nowak8118
W sumie to wszystko działa, ale skoro jest jakaś awaria to przydało by się ja usunąć :)
Nie wiem w jaki sposób uczyć się poprawnej obsługi linuxa, więc czepiam się byle czego :)