I had the same issue when trying to download the binary packages for a
raspi device:

$ uname -m
x86_64
$ pull-lp-debs --arch arm64 linux-buildinfo-6.8.0-1004-raspi
Source package lookup failed, trying lookup of binary package 
linux-buildinfo-6.8.0-1004-raspi
The binary package 'linux-buildinfo-6.8.0-1004-raspi' does not exist in the 
Ubuntu primary archive for architecture amd64 in any release for pockets 
Release, Security, Updates, Proposed with status in Pending, Published
The source package 'linux-buildinfo-6.8.0-1004-raspi' does not exist in the 
Ubuntu primary archive in any release for pockets Release, Security, Updates, 
Proposed with status in Pending, Published

The issue seems to be that the `arch` parameter is not being parsed to
the `getBinaryPackage()` function:

$ pull-lp-debs -a arm64 linux-buildinfo-6.8.0-1004-raspi
Source package lookup failed, trying lookup of binary package 
linux-buildinfo-6.8.0-1004-raspi
The archtag used in getBinaryPackage() is: None
The binary package 'linux-buildinfo-6.8.0-1004-raspi' does not exist in the 
Ubuntu primary archive for architecture amd64 in any release for pockets 
Release, Security, Updates, Proposed with status in Pending, Published
The source package 'linux-buildinfo-6.8.0-1004-raspi' does not exist in the 
Ubuntu primary archive in any release for pockets Release, Security, Updates, 
Proposed with status in Pending, Published

After parsing the args to the `getBinaryPackage()` function, the issue
is solved:

$ pull-lp-debs -a arm64 linux-buildinfo-6.8.0-1004-raspi
Source package lookup failed, trying lookup of binary package 
linux-buildinfo-6.8.0-1004-raspi
The archtag used in getBinaryPackage() is: arm64
Using source package 'linux-raspi' for binary package 
'linux-buildinfo-6.8.0-1004-raspi'
Found linux-raspi 6.8.0-1004.4 in oracular
Downloading linux-raspi_6.8.0-1004.4.dsc from ports.ubuntu.com (0.004 MiB)
[=====================================================>]100%
Public key not found, could not verify signature

NOTICE: 'linux-buildinfo-6.8.0-1004-raspi' packaging is maintained in the 'Git' 
version control system at:
 git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-raspi/+git/noble

Please use:
 $ git clone 
git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-raspi/+git/noble
to retrieve the latest (possibly unreleased) updates to the package.

Pulling only binary package 'linux-buildinfo-6.8.0-1004-raspi'
Use package name 'linux-raspi' to pull all binary packages
Please wait, this may take some time...
The archtag used in getBinaryPackage() is: arm64
Using existing file linux-buildinfo-6.8.0-1004-raspi_6.8.0-1004.4_arm64.deb

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2081861

Title:
  pull-lp-debs fails to download single binary package for foreign
  architecture

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/2081861/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to