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

#1  2018-01-19 13:55:30

  hook03 - Użytkownik

hook03
Użytkownik
Zarejestrowany: 2006-12-17

problem z apt-get update

Witam
Proszę o pomoc mam problem przy instrukcji apt-get update pojawia mi się:

apt-get update
Ign:1 http://ftp.pl.debian.org/debian stretch InRelease
Stary:2 http://ftp.pl.debian.org/debian stretch Release                                                 
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease                                           
Stary:4 http://download.virtualbox.org/virtualbox/debian stretch InRelease         
Stary:5 http://dl.google.com/linux/chrome/deb stable Release
Czytanie list pakietów... Gotowe

jak wykasuje z /var/lib/apt/lists/ pliki apt-get update jest ok, ale przy ponownym uruchomieniu znów pojawia sie ten sam błąd.
Proszę o pomoc  góey dziękuję....

Offline

 

#2  2018-01-19 14:03:12

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/urandom
Zarejestrowany: 2008-01-07

Re: problem z apt-get update

To nie jest żaden błąd, po prostu Debian nie ściąga drugi raz list pakietów, które już ma w brzuchu.

Możliwe z resztą, że  te mirrory stracą na znaczeniu, mają status "deprecated", Debian otworzył repo w chmurce Amazonu, które jest dużo szybsze od mirrorów lustrzanych.

Masz tu informację:
https://wiki.debian.org/DebianGeoMirror
http://deb.debian.org/

A tu przykład sources.list:

https://wiki.debian.org/SourcesList#Example_sources.list

Ostatnio edytowany przez Jacekalex (2018-01-19 14:06:56)


W demokracji każdy naród ma taką władzę, na jaką zasługuje ;)
Si vis pacem  para bellum  ;)       |       Pozdrawiam :)

Offline

 

#3  2018-01-19 14:29:31

  hook03 - Użytkownik

hook03
Użytkownik
Zarejestrowany: 2006-12-17

Re: problem z apt-get update

Dzieki za szybka odpowiedz
wrzucilem repozytoria z Wiki ale niestety to samo raz przejdzie za drugim razem bład:
apt-get update
Ign:1 http://deb.debian.org/debian stretch InRelease
Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease
Stary:3 http://deb.debian.org/debian stretch-updates InRelease
Stary:4 http://security.debian.org stretch/updates InRelease                                                     
Stary:5 http://dl.google.com/linux/chrome/deb stable Release                                                     
Stary:6 http://deb.debian.org/debian stretch Release                                 
Czytanie list pakietów... Gotowe         

Prosze o pomoc bo mi się pomysły skończyły....

Offline

 

#4  2018-01-19 15:14:19

  arecki - Użytkownik

arecki
Użytkownik
Skąd: 44 Bronson Lane Hensonville
Zarejestrowany: 2016-03-03

Re: problem z apt-get update

A gdzie ten błąd?

Offline

 

#5  2018-01-19 15:21:55

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/urandom
Zarejestrowany: 2008-01-07

Re: problem z apt-get update

W tym, że czasem trzeba troszkę [url=http://wklej.org/id/3348442/txt/]poczekać[/url]... xD

PS.
Ta chmurka z repozytoriami ma całkiem niezłą szybkość:

Kod:

Pobrano 153 MB w 28s (5477 kB/s)

Ostatnio edytowany przez Jacekalex (2018-01-19 15:24:36)


W demokracji każdy naród ma taką władzę, na jaką zasługuje ;)
Si vis pacem  para bellum  ;)       |       Pozdrawiam :)

Offline

 

#6  2018-01-19 15:39:41

  hook03 - Użytkownik

hook03
Użytkownik
Zarejestrowany: 2006-12-17

Re: problem z apt-get update

Witam
bląd jest w tym:

apt-get update
Ign:1 http://deb.debian.org/debian stretch InRelease
Stary:2 http://security.debian.org stretch/updates InRelease
Stary:3 http://deb.debian.org/debian stretch-updates InRelease
Stary:4 http://deb.debian.org/debian stretch Release     
Czytanie list pakietów... Gotowe

jeśli skasuje /var/lib/apt/lists/ pliki apt-get update jest ok:
Pobieranie:1 http://security.debian.org stretch/updates InRelease [63,0 kB]
Ign:2 http://deb.debian.org/debian stretch InRelease
Pobieranie:3 http://deb.debian.org/debian stretch-updates InRelease [91,0 kB]
Pobieranie:4 http://deb.debian.org/debian stretch Release [118 kB]
Pobieranie:5 http://security.debian.org stretch/updates/main Sources [107 kB]
Pobieranie:6 http://deb.debian.org/debian stretch Release.gpg [2434 B]
Pobieranie:7 http://security.debian.org stretch/updates/non-free Sources [772 B]
Pobieranie:8 http://security.debian.org stretch/updates/contrib Sources [924 B]
Pobieranie:9 http://security.debian.org stretch/updates/main i386 Packages [269 kB]
Pobieranie:10 http://security.debian.org stretch/updates/main amd64 Packages [268 kB]
Pobieranie:11 http://deb.debian.org/debian stretch-updates/main Sources [3564 B]
Pobieranie:12 http://security.debian.org stretch/updates/main Translation-en [118 kB]
Pobieranie:13 http://security.debian.org stretch/updates/contrib amd64 Packages [1352 B]
Pobieranie:14 http://security.debian.org stretch/updates/contrib i386 Packages [1352 B]
Pobieranie:15 http://security.debian.org stretch/updates/contrib Translation-en [1023 B]
Pobieranie:16 http://security.debian.org stretch/updates/non-free i386 Packages [1268 B]
Pobieranie:17 http://security.debian.org stretch/updates/non-free amd64 Packages [1268 B]
Pobieranie:18 http://security.debian.org stretch/updates/non-free Translation-en [481 B]
Pobieranie:19 http://deb.debian.org/debian stretch-updates/main amd64 Packages [5976 B]
Pobieranie:20 http://deb.debian.org/debian stretch-updates/main i386 Packages [5956 B]
Pobieranie:21 http://deb.debian.org/debian stretch-updates/main Translation-en [3583 B]
Pobieranie:22 http://deb.debian.org/debian stretch/main Sources [6756 kB]
Pobieranie:23 http://deb.debian.org/debian stretch/non-free Sources [79,7 kB]
Pobieranie:24 http://deb.debian.org/debian stretch/contrib Sources [44,7 kB]
Pobieranie:25 http://deb.debian.org/debian stretch/main amd64 Packages [7123 kB]
Pobieranie:26 http://deb.debian.org/debian stretch/main i386 Packages [7103 kB]
Pobieranie:27 http://deb.debian.org/debian stretch/main Translation-pl [522 kB]
Pobieranie:28 http://deb.debian.org/debian stretch/main Translation-en [5393 kB]
Pobieranie:29 http://deb.debian.org/debian stretch/main amd64 DEP-11 Metadata [3066 kB]
Pobieranie:30 http://deb.debian.org/debian stretch/main DEP-11 64x64 Icons [6804 kB]
Pobieranie:31 http://deb.debian.org/debian stretch/main DEP-11 128x128 Icons [15,8 MB]
Pobieranie:32 http://deb.debian.org/debian stretch/contrib amd64 Packages [50,9 kB]
Pobieranie:33 http://deb.debian.org/debian stretch/contrib i386 Packages [47,9 kB]
Pobieranie:34 http://deb.debian.org/debian stretch/contrib Translation-en [45,9 kB]
Pobieranie:35 http://deb.debian.org/debian stretch/contrib amd64 DEP-11 Metadata [7308 B]
Pobieranie:36 http://deb.debian.org/debian stretch/contrib DEP-11 64x64 Icons [100 kB]
Pobieranie:37 http://deb.debian.org/debian stretch/contrib DEP-11 128x128 Icons [254 kB]
Pobieranie:38 http://deb.debian.org/debian stretch/non-free amd64 Packages [78,0 kB]
Pobieranie:39 http://deb.debian.org/debian stretch/non-free i386 Packages [68,9 kB]
Pobieranie:40 http://deb.debian.org/debian stretch/non-free Translation-en [79,2 kB]
Pobieranie:41 http://deb.debian.org/debian stretch/non-free amd64 DEP-11 Metadata [7180 B]
Pobieranie:42 http://deb.debian.org/debian stretch/non-free DEP-11 64x64 Icons [30,0 kB]
Pobieranie:43 http://deb.debian.org/debian stretch/non-free DEP-11 128x128 Icons [85,2 kB]
Pobrano 54,6 MB w 9s (5847 kB/s)
Czytanie list pakietów...

wydaje mim sie ze repozytoria z wiki powinny dzialać proszę o wyrozumiałość nie jestem doświadczonym użytkownikiem debiana, ale proszę o pomoc...

Offline

 

#7  2018-01-19 16:05:42

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/urandom
Zarejestrowany: 2008-01-07

Re: problem z apt-get update

Pierwsze primo, widocznie w stable chwilowo nie ma nowych pakietów.
Drugie primo, skonfiguruj sobie apta, żeby trochę przyspieszył.

Do Strecha radziłbym zrobić tak:
Do  [b]/etc/apt/apt.conf[/b]  wstawić:

Kod:

APT::Default-Release "stable";

APT::Get::Install-Recommends "false";
APT::Get::Install-Suggests "false";

Apt::Get::Purge;

Acquire::PDiffs "true";

Szybciej będzie aktualizował listy pakietów dzięki pobieraniu łatek pdiff,
a wyłączenie sugerowanych i polecanych pakietów oszczędzi sporo "cholesterolu" zaciąganego przez chore zależności.

Pozdro


W demokracji każdy naród ma taką władzę, na jaką zasługuje ;)
Si vis pacem  para bellum  ;)       |       Pozdrawiam :)

Offline

 

#8  2018-01-19 17:01:14

  hook03 - Użytkownik

hook03
Użytkownik
Zarejestrowany: 2006-12-17

Re: problem z apt-get update

Czy ja dobrze rozumiem jeśli będą nowe pakiety nie będzie pojawiać się :
Ign:1 http://ftp.pl.debian.org/debian stretch InRelease
Stary:2 http://ftp.pl.debian.org/debian stretch Release                                                 
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease                                           
Stary:4 http://download.virtualbox.org/virtualbox/debian stretch InRelease         
Stary:5 http://dl.google.com/linux/chrome/deb stable Release

czy powinienem stworzyć plik apt.conf w /etc/apt/ i wkleić :

APT::Default-Release "stable";

APT::Get::Install-Recommends "false";
APT::Get::Install-Suggests "false";

Apt::Get::Purge;

Acquire::PDiffs "true";

Offline

 

#9  2018-01-19 17:01:27

  ilin - Palacz

ilin
Palacz
Skąd: PRLu
Zarejestrowany: 2006-05-03

Re: problem z apt-get update

[quote=hook03]Witam
bląd jest w tym:

apt-get update
Ign:1 http://deb.debian.org/debian stretch InRelease
Stary:2 http://security.debian.org stretch/updates InRelease
Stary:3 http://deb.debian.org/debian stretch-updates InRelease
Stary:4 http://deb.debian.org/debian stretch Release     
Czytanie list pakietów... Gotowe

jeśli skasuje /var/lib/apt/lists/ pliki apt-get update jest ok:
Pobieranie:1 http://security.debian.org stretch/updates InRelease [63,0 kB]
Ign:2 http://deb.debian.org/debian stretch InRelease
Pobieranie:3 http://deb.debian.org/debian stretch-updates InRelease [91,0 kB]
Pobieranie:4 http://deb.debian.org/debian stretch Release [118 kB]
Pobieranie:5 http://security.debian.org stretch/updates/main Sources [107 kB]
Pobieranie:6 http://deb.debian.org/debian stretch Release.gpg [2434 B]
Pobieranie:7 http://security.debian.org stretch/updates/non-free Sources [772 B]
Pobieranie:8 http://security.debian.org stretch/updates/contrib Sources [924 B]
Pobieranie:9 http://security.debian.org stretch/updates/main i386 Packages [269 kB]
Pobieranie:10 http://security.debian.org stretch/updates/main amd64 Packages [268 kB]
Pobieranie:11 http://deb.debian.org/debian stretch-updates/main Sources [3564 B]
Pobieranie:12 http://security.debian.org stretch/updates/main Translation-en [118 kB]
Pobieranie:13 http://security.debian.org stretch/updates/contrib amd64 Packages [1352 B]
Pobieranie:14 http://security.debian.org stretch/updates/contrib i386 Packages [1352 B]
Pobieranie:15 http://security.debian.org stretch/updates/contrib Translation-en [1023 B]
Pobieranie:16 http://security.debian.org stretch/updates/non-free i386 Packages [1268 B]
Pobieranie:17 http://security.debian.org stretch/updates/non-free amd64 Packages [1268 B]
Pobieranie:18 http://security.debian.org stretch/updates/non-free Translation-en [481 B]
Pobieranie:19 http://deb.debian.org/debian stretch-updates/main amd64 Packages [5976 B]
Pobieranie:20 http://deb.debian.org/debian stretch-updates/main i386 Packages [5956 B]
Pobieranie:21 http://deb.debian.org/debian stretch-updates/main Translation-en [3583 B]
Pobieranie:22 http://deb.debian.org/debian stretch/main Sources [6756 kB]
Pobieranie:23 http://deb.debian.org/debian stretch/non-free Sources [79,7 kB]
Pobieranie:24 http://deb.debian.org/debian stretch/contrib Sources [44,7 kB]
Pobieranie:25 http://deb.debian.org/debian stretch/main amd64 Packages [7123 kB]
Pobieranie:26 http://deb.debian.org/debian stretch/main i386 Packages [7103 kB]
Pobieranie:27 http://deb.debian.org/debian stretch/main Translation-pl [522 kB]
Pobieranie:28 http://deb.debian.org/debian stretch/main Translation-en [5393 kB]
Pobieranie:29 http://deb.debian.org/debian stretch/main amd64 DEP-11 Metadata [3066 kB]
Pobieranie:30 http://deb.debian.org/debian stretch/main DEP-11 64x64 Icons [6804 kB]
Pobieranie:31 http://deb.debian.org/debian stretch/main DEP-11 128x128 Icons [15,8 MB]
Pobieranie:32 http://deb.debian.org/debian stretch/contrib amd64 Packages [50,9 kB]
Pobieranie:33 http://deb.debian.org/debian stretch/contrib i386 Packages [47,9 kB]
Pobieranie:34 http://deb.debian.org/debian stretch/contrib Translation-en [45,9 kB]
Pobieranie:35 http://deb.debian.org/debian stretch/contrib amd64 DEP-11 Metadata [7308 B]
Pobieranie:36 http://deb.debian.org/debian stretch/contrib DEP-11 64x64 Icons [100 kB]
Pobieranie:37 http://deb.debian.org/debian stretch/contrib DEP-11 128x128 Icons [254 kB]
Pobieranie:38 http://deb.debian.org/debian stretch/non-free amd64 Packages [78,0 kB]
Pobieranie:39 http://deb.debian.org/debian stretch/non-free i386 Packages [68,9 kB]
Pobieranie:40 http://deb.debian.org/debian stretch/non-free Translation-en [79,2 kB]
Pobieranie:41 http://deb.debian.org/debian stretch/non-free amd64 DEP-11 Metadata [7180 B]
Pobieranie:42 http://deb.debian.org/debian stretch/non-free DEP-11 64x64 Icons [30,0 kB]
Pobieranie:43 http://deb.debian.org/debian stretch/non-free DEP-11 128x128 Icons [85,2 kB]
Pobrano 54,6 MB w 9s (5847 kB/s)
Czytanie list pakietów...

wydaje mim sie ze repozytoria z wiki powinny dzialać proszę o wyrozumiałość nie jestem doświadczonym użytkownikiem debiana, ale proszę o pomoc...[/quote]
Ale w czym jest problem, jaki tu jest błąd ?
Wszystko jest w należytym porządku.


[b]Problemy rozwiązujemy na forum nie na PW[/b] -> Niech inni na tym skorzystają.
[url=http://dug.net.pl/]Polski portal Debiana[/url]

Offline

 

#10  2018-01-19 21:43:13

  yossarian - Szczawiożerca

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

Re: problem z apt-get update

https://forum.dug.net.pl/viewtopic.php?pid=274306#p274306

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.00016 SET CHARSET latin2
0.00006 SET NAMES latin2
0.00179 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='3.147.67.166' WHERE u.id=1
0.00175 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.147.67.166', 1714924679)
0.00063 SELECT * FROM punbb_online WHERE logged<1714924379
0.00126 SELECT topic_id FROM punbb_posts WHERE id=316935
0.00194 SELECT id FROM punbb_posts WHERE topic_id=30209 ORDER BY posted
0.00158 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=30209 AND t.moved_to IS NULL
0.00013 SELECT search_for, replace_with FROM punbb_censoring
0.00260 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=30209 ORDER BY p.id LIMIT 0,25
0.00169 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=30209
Total query time: 0.01359 s