[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt config options to specify the CA of the https repository?



On Fri, Sep 19, 2025 at 15:13:28 -0400, Timothy M Butterworth wrote:
> There was a similar topic to this a while back and I do not believe APT
> supports HTTPS only HTTP and FTP.

APT supports HTTPS and HTTP.

Many years ago, HTTPS support was new, and required a separate package.
This is no longer the case; HTTPS support is included in the base apt
package now.

hobbit:~$ apt-cache search apt-transport
apt - commandline package manager
apt-transport-https - transitional package for https support
libapt-pkg7.0 - package management runtime library
apt-transport-s3 - APT transport for privately held AWS S3 repositories
apt-transport-tor - APT transport for anonymous package downloads via Tor
libapt-pkg6.0 - package management runtime library

hobbit:~$ apt-cache show apt-transport-https
[...]
Description-en: transitional package for https support
 This is a dummy transitional package - https support has been moved into
 the apt package in 1.5. It can be safely removed.
[...]

It's not clear to me whether APT supports FTP transport at this time.  I
can't find any references to FTP in apt(8) or sources.list(5), and the
only reference I can find in the documentation directory is this one:

hobbit:/usr/share/doc/apt$ zgrep FTP *
changelog.gz:  * Change multi sources.list entry example from FTP to HTTPS

But it's not clear whether that means FTP support is *gone* or simply
no longer given as an example.


Reply to: