Difference between revisions of "Could not get lock"

From wikieduonline
Jump to navigation Jump to search
(Created page with " Reading package lists... Done E: Could not get lock /var/lib/apt/lists/lock. It is held by process 34612 (apt-get) N: Be aware that removing the lock file is not a solu...")
 
 
Line 4: Line 4:
 
  E: Unable to lock directory /var/lib/apt/lists/
 
  E: Unable to lock directory /var/lib/apt/lists/
  
 +
ps -ef | grep apt | grep -v grep
 +
root      34565      1  0 03:39 ?        00:00:00 /bin/sh /usr/lib/apt/apt.systemd.daily update
 +
root      34569  34565  0 03:39 ?        00:00:00 /bin/sh /usr/lib/apt/apt.systemd.daily [[lock_is_held]] update
 +
root      34612  34569  0 03:39 ?        00:01:02 apt-get -qq -y update
 +
_apt      34615  34612  0 03:39 ?        00:00:02 /usr/lib/apt/methods/http
 +
_apt      34621  34612  0 03:39 ?        00:00:00 /usr/lib/apt/methods/gpgv
 +
_apt      34787  34612  0 03:39 ?        00:00:00 /usr/lib/apt/methods/store
  
 
== Related ==
 
== Related ==
Line 11: Line 18:
 
* {{apt}}
 
* {{apt}}
 
* {{lock}}
 
* {{lock}}
 +
 +
[[Category:APT]]

Latest revision as of 15:53, 28 May 2022

Reading package lists... Done
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 34612 (apt-get)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to lock directory /var/lib/apt/lists/
ps -ef | grep apt | grep -v grep
root       34565       1  0 03:39 ?        00:00:00 /bin/sh /usr/lib/apt/apt.systemd.daily update
root       34569   34565  0 03:39 ?        00:00:00 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held update
root       34612   34569  0 03:39 ?        00:01:02 apt-get -qq -y update
_apt       34615   34612  0 03:39 ?        00:00:02 /usr/lib/apt/methods/http
_apt       34621   34612  0 03:39 ?        00:00:00 /usr/lib/apt/methods/gpgv
_apt       34787   34612  0 03:39 ?        00:00:00 /usr/lib/apt/methods/store

Related[edit]

See also[edit]

Advertising: