by coolThingsFirst · 1y ago · 0 comments
But damn some aspects are really annoying. One other issue is one package installation at a time with a lock which you can't do from other terminal.
Here's what GPT says:
> The APT package manager uses a lock file (usually /var/lib/dpkg/lock or /var/lib/apt/lists/lock) to ensure that only one process (like apt-get, apt, or the GUI Software Center) is modifying packages at a time.
To me this seems like a serious limitation
$ sudo apt-get install X
and they can cut and paste and it's done. To do the same with a GUI package manager I'd have to spell out 10 or so steps. I've had enough times where the spinner started spinning and never stopped spinning and the lock file never got unlocked or the package database got corrupted that I won't even try using one.It would be like the time they took the giant lock out of the kernel, but that kind of thing is fraught. I remember a few years in the 2 series where we were getting crashes all the times under heavy load from concurrency bugs after they took out that lock.