pull-pkg fails to download mixed-component packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Reproducer:
$ pull-pkg -p bin --distro ubuntu libstrongswan-
Source package lookup failed, trying lookup of binary package libstrongswan-
Using source package 'strongswan' for binary package 'libstrongswan-
Found strongswan 5.9.1-1ubuntu2 in impish
Pulling only binary package 'libstrongswan-
Use package name 'strongswan' to pull all binary packages
File libstrongswan-
Download Error: Could not download http://
It fails because the download URL is wrong: it tries to download from main, while the package is in universe. However the same command works fine with other packages in universe:
$ pull-pkg -p bin --distro ubuntu an
Found an 1.2-6build3 in impish
Using existing file an_1.2-
This may be happening because src:strongswan has some bin packages in main and others in universe:
$ rmadison -a amd64 -s impish -S strongswan | cut -d'|' -f1,3
charon-cmd | impish/universe
charon-systemd | impish/universe
libcharon-
libcharon-
libstrongswan | impish
libstrongswan-
libstrongswan-
strongswan | impish
strongswan-charon | impish
strongswan-
strongswan-nm | impish/universe
strongswan-pki | impish/universe
strongswan-
strongswan-starter | impish
strongswan-swanctl | impish/universe
This may confuse pull-pkg. I didn't try with pull-lp-debs, but I'd expect it to behave identically, as it's just a convenience script around pull-pkg.
I think this should fix it /git.launchpad. net/ubuntu- dev-tools/ commit/ ?id=6ca12331d68 63d96370fee847e 295d74b8d1da8b
https:/