[BUG] apt pkg.install with HTTP URL as source fails, if URL contains a port #64516
Closed
3 tasks done
Labels
Milestone
Description
When trying to install a .deb package that is located on an internal webserver listening on a special port, it fails without an visible error.
The issue seems to be that aptpkg uses cp.cache_file to download the deb file and the resulting cache file path contains the http host and port with a colon in between.
I think somewhere in aptpkg the colon in the path is an issue.
Setup
Ubuntu 20.04 focal
Salt 3006.1
Steps to Reproduce the behavior
It can be tested by using any package from a public repositroy by just adding the default port in the URL, e.g. for nano:
debug output
When using cp.cache_file to download the file as an extra step, the result is the same:
But renaming the folder works:
Versions Report
salt --versions-report
The text was updated successfully, but these errors were encountered: