-
-
Notifications
You must be signed in to change notification settings - Fork 377
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
-filter-with-deps flag isn't including dependencies #1385
Comments
to reproduce:
|
aptly actually does not consider dependencies at all, bcs the Architectures for the mirror are not set, somehow. Even if the mirror is created with -architectures=amd4
|
Here is the culprit: https://github.com/aptly-dev/aptly/blob/master/deb/remote.go#L108 as this is a 'flat' repo, the architectures are ignored even if however, without architectures, there is no dependency filtering, as it loops over the architectures. why would flat repos not have architectures ? |
the fix has been merged to master, please try latest CI build ! |
That fixed it, thank you! |
Detailed Description
I am trying to create a mirror from a portion of the repository found at https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/. This repo contains many releases of NVIDIA's CUDA toolkit, which are large in size. I'm trying to create a mirror of just the latest release.
There is a single package,
cuda-12-6
, that can be used as a top-level installation target; it depends on the other packages in the repo that actually contain the functionality. The output ofdpkg -I
for this package is:I tried to use this meta-package to create a mirror containing this package only and all of its dependencies. However, when I do so,
aptly
only downloads the meta-package and does not download the dependencies. Here's what I got:As you can see, the filter only passed the single package I specified and not its dependencies.
Context
This seems to be a bug in the handling of the
-filter-with-deps
flag.Your Environment
I am using Ubuntu 22.04, with
aptly
installed from the nightly repo:The text was updated successfully, but these errors were encountered: