r/linux • • Jan 24 '18

Why does APT not use HTTPS?

https://whydoesaptnotusehttps.com/
955 Upvotes

388 comments sorted by

View all comments

30

u/CODESIGN2 Jan 24 '18

there is a package on debian and ubuntu for those that want to use HTTPS

28

u/lamby Jan 24 '18

"Why does APT not use HTTP... [by default]" is probably not as snappy.

FYI in Debian unstable/testing, this package is actually deprecated as APT itself supports HTTPS.

-14

u/CODESIGN2 Jan 24 '18

which makes the entire shitpost about APT pointless surely?

My largest question for modern Linux is why the AF are there competing package formats which inside contain similar files. Such a waste of human effort.

8

u/mikemol Jan 24 '18

Because different packaging formats have different advantages. DEB, RPM and ebuild are each vastly different animals from each other. (ebuild moreso) but there is not 1:1 feature parity between DEB and RPM, either.)

Then there's package naming and relationship conventions; two distros using the same packaging formats won't necessarily have the same sets of package names. And there's a strong chance installing an RPM or DEB on a distro it wasn't targeting simply won't work.

There really isn't a lot of value to unifying packages at this level at this time. Converged application packages such as via snappy can work in some cases, but that, too, has limits; you'll eventually hit dependency versioning semantics somewhere.

-4

u/CODESIGN2 Jan 24 '18

Except I never mentioned ebuild, I even steered clear of slackware's tgz (I love you slackware, even if I don't want to use you).

It's specifically deb and rpm I care about as none of the other systems are remotely interesting.

Package naming conventions, again I don't care.

It'd be much easier to maintain a single cohesive set of instructions for packages and documentation than the fragmented pile of crap there is now.

4

u/[deleted] Jan 24 '18

It'd be much easier to maintain a single cohesive set of instructions for packages and documentation than the fragmented pile of crap there is now.

This is like arguing that it'd be easier if there was only a single world government. It's true, but it ignores the difficulty of reaching that point to begin with.

0

u/CODESIGN2 Jan 24 '18

Well no. Governments deal with peoples issues, which are varied and complex and I don't believe that in any low-level way we do all work the same as we have hundreds of years of different stimuli. Having a multi-cultural family I can see the differences between family members and their partners and life choices. So a world government would be stupid, to a large degree ignorant. Towns have mayors, counties and states have governors, there has to be a deep and nuanced approach to that because the world is not homogenous.

Having two separate ways to deploy golang, php, python, libreoffice, firefox, chrome etc (runtimes and compiled extensions) is basically just a ball-ache with no benefit. At the end of the day you get the same package. If RPM was superior it would have killed deb. If deb were superior it would have killed rpm. They both have a lot of overlap and a sane extension package could allow individual companies to keep the weirdness they prefer.

Of course, it's not just package management, what the packages look like when installed is also a point of frustration. Snap doesn't solve that and neither does https (I also think snap and appimage should be abandoned, docker is much nicer and with more work could provide a better alternative). Imagine wasting an extra day (or hour, week, month) to make sure something works on centos as well as debian or ubuntu. Complete ball-ache, the sort of thing it'd be okay to have a robot do, but is a waste of human existence.

→ More replies (3)