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

Install from debian remote repository with packages that reference relative urls (e.g. /./) fails, nvidia, cuda, dcgm #9

Open
KoenDierckx opened this issue Dec 5, 2022 · 1 comment
Assignees

Comments

@KoenDierckx
Copy link

We are using Artifactory to host an internal caching remote for the cuda debian repository.
But we run into an issue while actually trying to get a package.

We created an initial issue here:
https://jfrog.atlassian.net/browse/RTFACT-24926

Another developer has also ran into the same issue, and his finding suggest the actual main cause is the incorrect use of relative urls inside the Packages file

@kmittman kmittman self-assigned this Jan 12, 2023
@kmittman
Copy link
Collaborator

Hmmm, I would think this syntax is compliant with the Debian repository specifications.

While we rolled out a custom implementation (see repo-debian.sh in this repository) in 2020 for generating this metadata, it was designed to be a drop-in replacement for the previous mechanism apt-ftparchive.

Looking at older releases, I see the same relative path format in the meta-data to the *.deb packages

  • CUDA 9.0 local installer for Ubuntu 16.04: Packages.gz
Filename: ./cuda_9.0.176-1_amd64.deb

Taking a look at a Debian repo maintained within Artifactory's implementation I see relative paths without the ./ prefix

Filename: path/to/filename.deb

And for further cross-check a repository maintained by Ubuntu

Filename: pool/main/a/acct/acct_6.6.4-4build2_amd64.deb

So perhaps the filepath syntax we are using is uncommon.

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

No branches or pull requests

2 participants