apt-transport-https by default

Here is the place were the team and the community projects meet together. Help us to develop SolydXK projects or contribute your ideas for future releases.
User avatar
bas_otten
Posts: 213
Joined: 19 Oct 2013 12:22
Location: Netherlands

apt-transport-https by default

Postby bas_otten » 17 Apr 2018 07:54

After doing a fresh installation of SolydK lately, it occurred to me that when you add an https-repository to sources.list and import the corresponding key, doing 'apt-get update' just keeps hanging as if there is a network failure or the repository is unavailable. The actual cause, however, is that the package 'apt-transport-https' is not installed! So then you need to undo the additions to sources.list so it does not contain any https entries anymore, install apt-transport-https, then re-add the entries to successfully do the apt-get update and move on installing packages from those repositories. Since more and more third-party repositories are expected to be https, I guess, my suggestion would be to install apt-transport-https by default in the ISO's.

User avatar
Arjen Balfoort
Site Admin
Posts: 9331
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: apt-transport-https by default

Postby Arjen Balfoort » 17 Apr 2018 09:20

I've added the package to the ISOs and I will adapt solydxk-system to make sure the package is installed on current systems.

There are more issues that I need to solve first.


SolydXK needs you!
Development | Testing | Translations

User avatar
Arjen Balfoort
Site Admin
Posts: 9331
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: apt-transport-https by default

Postby Arjen Balfoort » 17 Apr 2018 12:29

I have the new solydxk-system in testing: http://repository.solydxk.nl/pool/testi ... xk-system/

apt-transport-https is now a dependency and the adjustment script replaces "http://repository.solydxk.com" with "https://repository.solydxk.nl".


SolydXK needs you!
Development | Testing | Translations

User avatar
grizzler
Posts: 2180
Joined: 04 Mar 2013 15:45
Location: The Hague, NL

Re: apt-transport-https by default

Postby grizzler » 17 Apr 2018 14:53

Just for your information, apt-transport-https serves no purpose on Buster and later. It's a dummy: https://packages.debian.org/buster/apt-transport-https

I will need to find a way to prevent it being added to my system (I try to remove cruft whenever I recognise it...).
Frank

SolydX EE 64 - tracking Debian Testing

User avatar
Arjen Balfoort
Site Admin
Posts: 9331
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: apt-transport-https by default

Postby Arjen Balfoort » 17 Apr 2018 15:06

Or....I let the adjust script install apt-transport-https only when on Stretch. It will then be installed on next boot.

In that case I won't be able to rewrite the sources file from http to https when installing solydxk-system: apt-transport-https is not yet installed on Stretch systems. Perhaps we can just leave out the http to https rewrite, only leave in the solydxk.com to solydxk.nl rewrite.


SolydXK needs you!
Development | Testing | Translations

User avatar
ilu
Posts: 2539
Joined: 09 Oct 2013 12:45

Re: apt-transport-https by default

Postby ilu » 17 Apr 2018 17:13

The package is needed on stretch as bas said as soon as you want to install from a repo using https. It seems that it will be integrated into apt in the future https://packages.debian.org/sid/apt-transport-https, so that's why it's dummy in buster. So I think the rewrite to https should happen anyway. The repo should get a SSL certificate of course - just checked, it already has one.

I think Lets Encrypt still doesn't have certificates for the whole toplevel domain - but that feature's planned afaik.

User avatar
Arjen Balfoort
Site Admin
Posts: 9331
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: apt-transport-https by default

Postby Arjen Balfoort » 18 Apr 2018 11:10

I've uploaded the adapted solydxk-system package to our repository: viewtopic.php?p=68075#p68075


SolydXK needs you!
Development | Testing | Translations


Return to “Suggestions & ideas / Open Projects”

Who is online

Users browsing this forum: No registered users and 1 guest