OS : Linux kaushal 5.8.0-36-generic #40~20.04.1-Ubuntu SMP Wed Jan 6 10:15:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Every Day when my pc boots up and write the first command apt update
I got the following error.
After some time it auto resolved. This is normal?
kaushal@kaushal:~$ sudo apt update [sudo] password for kaushal: Reading package lists... Done E: Could not get lock /var/lib/apt/lists/lock. It is held by process 2346 (packagekitd) 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/ kaushal@kaushal:~$ sudo apt update Reading package lists... Done E: Could not get lock /var/lib/apt/lists/lock. It is held by process 2346 (packagekitd) 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/ kaushal@kaushal:~$ sudo apt update Hit:1 http://in.archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease Hit:3 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease Hit:4 http://ppa.launchpad.net/git-core/ppa/ubuntu focal InRelease Hit:5 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease Hit:6 http://security.ubuntu.com/ubuntu focal-security InRelease Get:7 https://mega.nz/linux/MEGAsync/xUbuntu_20.04 ./ InRelease [2,441 B] Fetched 2,441 B in 2s (1,115 B/s) Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. kaushal@kaushal:~$