I think —DOCKER— is doing this. I installed based, and userspace(7)-pilled liblxc and libvirt and then this asshole inserted a dependency when I tried to install from their Debian package with sudo dpkg -i. One of them was qemu-system, the other was docker-cli because they were forcing me to use Docker-Desktop, which I would not be caught dead using.
So is this accidental, or another predatory move by one of these ‘ooh I wish I did not open source’ companies (e.g. HashiCorp)? Why don’t we all use LXC and ditch this piece of shit?
I could be misunderstanding how Debian-based packaging works. But this is too ‘’‘accidental’‘’. Correct me if I am wrong.
uname -a for context:
Linux pop-os 6.8.0-76060800daily20240311-generic #202403110203~1714077665~22.04~4c8e9a0 SMP PREEMPT_DYNAMIC Thu A x86_64 x86_64 x86_64 GNU/Linux
Your description is mildly confusing to read, could you provide a list of commands? You can check
history
for this.Sometimes APT can auto install recommended packages, adding
--no-install-recommends
disables this temporarily.Edit: Also you’re using PopOS which is Ubuntu based, usually using Debian packages isn’t an issue on Ubuntu, but sometimes it is, and something like docker should have an Ubuntu version.
I posted my
history
as a response to @Technus. I know about --no-install-recommends but that’s anapt(1)
switch. How can I do that withdpkg(1)
? Check my history, I’ve been building more than I have been installing lately. Like, for a long time I have been looking for a ‘useful’ language to make, and then I remembered that there’s a swath of programmers in my country who are addicted to Delphi, and Nkki W. has not pushed to Pascal upstream since 1974. So I decided to host a Pascal on JVM. I made ANTLR. But then, it kept complaining that some targets fail, so I had to remove them from pom.xml. I myself am new to Java toolchain tbqh. I think one language that most people build from source is NodeJS. NodejS toolchain is not as good as say, Ruby’s or Guile’s, but it’s good enough and easy to use.Thanks.
How can I do that with
dpkg(1)
?You can install .deb files with apt by prepending a
./
, e.g.sudo apt install --no-install-recommends ./docker-desktop-4.30.0-amd64.deb
would work. I usually avoid using dpkg unless I have to.Also:
- That deb file is for docker desktop, which you said you didn’t want?
- Is
insapp
an alias or something? - You were running
sudo apt-get install -f
before, was your install already broken?
1- Not sure, I can’t read; 2- Yes, Fish; 3- Yes, it fixed it.
I don’t have an answer as to what happened, I checked the script and it looks sane to me, it installs the
docker-ce
package which should be the open-source community version as one would expect.Maybe check what the package depends on and see if it pulls in all of that. Even qemu is a bit weird, it makes sense for docker-machine but I expect that to be a different package anyway. I guess Docker Desktop probably does use it, that way they can make it work the same on all platforms which is kind of dumb to do on Linux.
But,
Why don’t we all use LXC and ditch this piece of shit?
Try out Podman. It’s mostly a drop-in replacement for Docker, daemonless, rootless and less magical.
Podman, gotcha. I am freaking tired of these Docker-esque companies. They use their status as a FOSS application to grift people. As if it’s really ‘hard’ to do what Docker does! It’s just mixing a namespaces(7) with cgroups(7), some other stuff too, like seccomp(7). Hashicorp is one of these companies, I think you know, it went entirely closed-source a few months ago. But truly, what is so ‘complex’ about a secure hashtable database? GNU has one! You can use libcrypto + libtokyocabinet to make one in matter of hours. I think the issue is, most sysadmins, especially old ones, are either clueless about systems programming, or if they are, they are just too lazy to roll their own. I’m not saying ‘roll your own’, I’m saying, you don’t necessarily need super-stable software. Companies like Hashicorp and Docker find giant customers with rich pockets, e.g. AWS, either that, or some degenerate Black-Rock-esque corporate buys them out and you know, I don’t wanna prescribe anything to Americans because I don’t wanna be the pot calling the kettle black, but damn, imprison those damn investment bankers! They don’t understand that closed source doesn’t necessarily mean ‘more moola’. What it means is more obscurity, more trouble finding bugs, etc. The closed-source software died fucking ages ago. Even Micrsoft open-sourced DOS, most likely they will start open-sourcing 9x and then NT, or at least, release Windows’ specs; pretty soon. Say whatever about micropeni$ but they produce more FOSS these days than closed-source software! E.g. VSCode, Terminal, TypeScript, etc (I don’t use any of them, but I appreciate the gesture!).
Sorry for the rant.
@Max_P is right: try podman. It also can run rootless, no docker service running in the background, either.
If you have the time and spare credits (and the cash to pay for tuition, of course) I’d recommend a basic humanities course or two. An intro to English literature is usually straightforward and easy. World history is great; history of the 20th century is also great, for different reasons. Personally, I recommend some sort of into to philosophy or epistemology; another mind-opening one is intro to anthropology or comparative values & beliefs. Ask your course counselor about this.
In general, if possible, I would recommend that you consider what it might be like to have a bachelor of arts instead of a bachelor of sciences. If your school offers it, it would be a much more balanced degree.
I’m not American though :D
Ah, no worries. There should be an introduction-to-literature course in your native language, covering the classics and important works of your native culture. I still stand by the rest of the recommendations. By “bachelor of arts” and “bachelor of sciences” I mean how your college/university accredits degrees; computer science and engineering are usually “science” degrees but many universities have an alternative “art” version that you can choose.
Which version of Debian are you using?
What version was it before you did this update?
What action did you take that prompted this dependency?
I posted my uname -a, it’s Pop_OS!, Debian-based but not Debian. My kernel is the latest version, I just did a fresh install and did a dist-upgrade (uname -r says
6.8.0-76060800daily20240311-generic
).Here’s my entire command history since I installed this one a few days back (I got nuthing to hide!)
So if you guys really think there’s something fishy here, please do something!
Okay. Couple of things.
- Pop_OS is not Debian and any issues should be raised with the maintainers of that distribution.
- Doing a dist-upgrade is the only thing that can remove packages if a newer package has different dependencies.
- I don’t know why you did a dist-upgrade, but likely it was because some packages were held back, which was probably because they removed something.
- You guys is you. If you want something to change, the first step is lodging and issue with the correct maintainers. If you were to lodge this issue in the Debian BTS, I’d be surprised if it survived 24 hours without being closed as being not related to Debian.
- Your approach is unlikely to win you any sympathy or friends. For the most part, we’re all volunteers here.
I was mainly asking if this was even the case. If i go to the maintainers and say shit like this they b& me.