Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove apt-transport-https from pre_reqs #434

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

thaJeztah
Copy link
Member

This package is no longer needed on all current distro versions we support. From the package description (https://packages.debian.org/buster/apt-transport-https);

This is a dummy transitional package - https support has been moved into the
apt package in 1.5. It can be safely removed.

Verifying the version of apt that's available in Ubuntu and Debian:

Ubuntu:

docker run --rm ubuntu:xenial apt --version
apt 1.2.35 (amd64)

docker run --rm ubuntu:17.04 apt --version
apt 1.4.6 (amd64)

docker run --rm ubuntu:17.10 apt --version
apt 1.5.2 (amd64)

docker run --rm ubuntu:18.04 apt --version
apt 1.6.14 (amd64)

docker run --rm ubuntu:20.04 apt --version
apt 2.0.6 (amd64)

Debian:

docker run --rm debian:stretch apt --version
apt 1.4.11 (amd64)

docker run --rm debian:buster apt --version
apt 1.8.2.3 (amd64)

docker run --rm debian:bullseye apt --version
apt 2.2.4 (amd64)

From the above; all currently supported versions of Ubuntu (18.04 and up), and Debian (old-stable and stable) have apt > 1.5, so we can remove this dependency from the installation instructions.

This package is no longer needed on all current distro versions we support. From
the package description (https://packages.debian.org/buster/apt-transport-https);

> This is a dummy transitional package - https support has been moved into the
> apt package in 1.5. It can be safely removed.

Verifying the version of apt that's available in Ubuntu and Debian:

Ubuntu:

    docker run --rm ubuntu:xenial apt --version
    apt 1.2.35 (amd64)

    docker run --rm ubuntu:17.04 apt --version
    apt 1.4.6 (amd64)

    docker run --rm ubuntu:17.10 apt --version
    apt 1.5.2 (amd64)

    docker run --rm ubuntu:18.04 apt --version
    apt 1.6.14 (amd64)

    docker run --rm ubuntu:20.04 apt --version
    apt 2.0.6 (amd64)

Debian:

    docker run --rm debian:stretch apt --version
    apt 1.4.11 (amd64)

    docker run --rm debian:buster apt --version
    apt 1.8.2.3 (amd64)

    docker run --rm debian:bullseye apt --version
    apt 2.2.4 (amd64)

From the above; all currently supported versions of Ubuntu (18.04 and up), and
Debian (old-stable and stable) have apt > 1.5, so we can remove this dependency
from the installation instructions.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah self-assigned this Jul 20, 2024
@thaJeztah thaJeztah requested a review from vvoland July 20, 2024 15:22
@thaJeztah thaJeztah merged commit c10af07 into docker:master Jul 22, 2024
9 checks passed
@thaJeztah thaJeztah deleted the remove_apt_transport_https branch July 22, 2024 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is apt-transport-https a requirement on raspbian?
3 participants