Strona 3 z 3

: 04 września 2014, 20:32
autor: tomaszzegar
A co zrobić, jeśli podczas aktualizacji wyskakuje takie info?

E: Nie udało się uzyskać blokady /var/lib/dpkg/lock - open (11: Zasoby chwilowo niedostępne)
E: Nie udało się zablokować katalogu administracyjnego (/var/lib/dpkg/), czy inny proces go używa?

Mam to dość często i za każdym razem muszę się przelogować, bonie wiem jak sobie z tym poradzić.

: 04 września 2014, 20:45
autor: marcin1982
Jakiś inny program / demon używa programu apt.

Jak błąd się pojawi - podaj wynik polecenia:

Kod: Zaznacz cały

ps aux | grep apt

: 04 września 2014, 22:05
autor: tomaszzegar
Dobra, a wracając do tematu... Czy te repo będą dobre dla testinga?

debcdrom:[Debian GNU/Linux testing _Jessie_ - Official Snapshot amd64DVD Binary-1 20140901-06:06]/ jessie main contrib


debcdrom:[Debian GNU/Linux testing _Jessie_ - Official Snapshot amd64DVD Binary-2 20140901-06:06]/ jessie main contrib


debcdrom:[Debian GNU/Linux testing _Jessie_ - Official Snapshot amd64DVD Binary-3 20140901-06:06]/ jessie main contrib




debhttp://ftp.pl.debian.org/debian testing main contrib non-free
deb-srchttp://ftp.pl.debian.org/debian testing main contrib non-free


debhttp://ftp.debian.org/debian/ jessie-updates main contrib non-free
deb-srchttp://ftp.debian.org/debian/ jessie-updates main contrib non-free


debhttp://security.debian.org/ jessie/updates main contrib non-free
deb-srchttp://security.debian.org/ jessie/updates main contrib non-free


debhttp://ftp.debian.org/debian/ jessie-backports main contrib non-free
deb-srchttp://ftp.debian.org/debian/ jessie-backports main contrib non-free


debhttp://ftp.pl.debian.org/debian/ jessie-proposed-updates main contribnon-free
deb-srchttp://ftp.pl.debian.org/debian/ jessie-proposed-updates main contribnon-free


debhttp://www.deb-multimedia.org jessie main non-free
deb-srchttp://www.deb-multimedia.org jessie main non-free

: 04 września 2014, 22:36
autor: marcin1982
Zajrzyj tutaj.

: 06 września 2014, 01:12
autor: tomaszzegar
sudo apt-get update
E: Nie udało się uzyskać blokady /var/lib/apt/lists/lock - open (11: Zasoby chwilowo niedostępne)
E: Nie udało się zablokować katalogu /var/lib/apt/lists/
root@debian:/home/tomzeg# sudo apt-get update
E: Nie udało się uzyskać blokady /var/lib/apt/lists/lock - open (11: Zasoby chwilowo niedostępne)
E: Nie udało się zablokować katalogu /var/lib/apt/lists/
root@debian:/home/tomzeg# ps aux | grep apt
root 8727 0.0 0.0 30988 2640 pts/0 T 01:09 0:00 apt-get update -qq
root 8730 0.0 0.0 38972 2284 pts/0 T 01:09 0:00 /usr/lib/apt/methods/http
root 8731 0.0 0.0 38972 2296 pts/0 T 01:09 0:00 /usr/lib/apt/methods/http
root 8732 0.0 0.0 38972 2296 pts/0 T 01:09 0:00 /usr/lib/apt/methods/http
root 8733 0.0 0.0 38972 2304 pts/0 T 01:09 0:00 /usr/lib/apt/methods/http
root 8734 0.0 0.0 38972 2308 pts/0 T 01:09 0:00 /usr/lib/apt/methods/http
root 8763 0.0 0.0 12944 952 pts/0 S+ 01:11 0:00 grep apt