14
lxmcf
5y

I may love apt but fuck me, the amount of times I've gotten told that the process is currently locked is making me go bat shit crazy -,-

Comments
  • 3
    You only have that problem if you're trying to run more than one apt at the same time, which you should never do with package managers because that can seriously destroy a system.
  • 0
    @tokumei I'm not though, ill boot up my machine, run apt upgrade and boom, in use
  • 3
    Pacman has the same thing with /var/lib/pacman/db.lck, except it even explicitly tells you "if you're sure a package manager is not already running, you can remove /var/lib/pacman/db.lck". Makes you wonder.. why does pacman not just do a check on whether there's another pacman process running?
  • 0
    Apt works great on windows. Download it from the windows store! (Microsoft supported, win 10+, wsl)

    Try gentoo + emerge. It will change your thoughts on apt.
  • 2
    @Condor because checking if a process is running is not thread / multi-process safe. Race conditions and broken dependencies.
  • 4
    @lxmcf You probably have update-notifier installed, it will check for updates sometimes. You can also delete it with apt (one of the first things I do)
  • 1
    @Jifuna ... I have some disabling to do!
  • 0
    Use aptdcon.... It'll wait for the running process to finish
Add Comment