I've initiated 'Package Management System' and almost at the same time started 'Synaptic' which resulted in broken '# apt update && apt upgrade' process. I could observe it from the shell.
After which I've done So I killed the process 1521That seems have damaged Debian update/upgrade ability.
What should be done to repair Debian so it upgradable / updatable again?
Code:
user@mypc:~$ sudo apt update && sudo apt upgradeReading packages list… DoneE: Could not get lock /var/lib/apt/lists/lock. It is held by process 1521 (packagekitd)N: Be noted that lock file deletion won't solve the problem and could brake your system.E: Unable to lock /var/lib/apt/lists/
Code:
user@mypc:~$ sudo fuser /var/lib/apt/lists/lockCannot stat file /proc/2080/fd/21: Permission deniedCannot stat file /proc/2080/fd/22: Permission deniedCannot stat file /proc/2080/fd/185: Permission deniedCannot stat file /proc/2080/fd/219: Permission deniedCannot stat file /proc/2080/fd/220: Permission deniedCannot stat file /proc/2080/fd/221: Permission deniedCannot stat file /proc/2080/fd/245: Permission deniedCannot stat file /proc/2080/fd/246: Permission deniedCannot stat file /proc/2080/fd/247: Permission deniedCannot stat file /proc/2080/fd/251: Permission deniedCannot stat file /proc/2080/fd/252: Permission deniedCannot stat file /proc/2080/fd/253: Permission denied/var/lib/apt/lists/lock: 1521
Code:
user@mypc:~$ sudo lsof -w /var/lib/apt/lists/lockCOMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAMEpackageki 1521 root 14uW REG 254,0 0 2883969 /var/lib/apt/lists/lockuser@mypc:~$ sudo kill -9 1521
What should be done to repair Debian so it upgradable / updatable again?
Statistics: Posted by nikobit — 2024-06-04 11:25 — Replies 9 — Views 165