Error installing Ubuntu packages in case Docker repository already setup #1367
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
triage/accepted
Indicates an issue is ready to be actively worked on.
In my scenario, I had previously configured the Docker apt repository following the guidelines outlined in the official documentation: Docker Installation Guide for Ubuntu.
However, a problem arises when comparing this setup with the setup in Metal3-dev-env. The Docker documentation
uses the plain key format (.asc) for the apt repository signature, whereas the Metal3-dev-env setup utilizes a binary key format (.gpt). This discrepancy results in a clash within the signature, leading to the following error during installation:
In the code, it can be seen that there is already two tasks addressing this particular issue, both aimed at removing outdated entries with varying apt repository structures. These tasks are flagged with TODO comments to be removed further down the line
A potential solution could be to find all apt repositories associated with the URL https://download.docker.com/linux/ubuntu/, removing all entries and enforcing the utilization of signed-by=/etc/apt/keyrings/docker.gpg.
The text was updated successfully, but these errors were encountered: