Public bug reported:

sbuild supports the --extra-package argument to setup a local apt archive with 
local debs.
When building against a stonking-proposed unshare chroot, dependencies are 
resolved with priority to the archive even though the local extra package would 
be of higher version.

I only noticed this issue with when using the -proposed pocket, so I
suspect there's some pinning set up that makes my local package lower in
priority.

I managed to workaround the issue by pinning my package:
  --chroot-setup-commands="printf 'Package: gir-rust-code-generator\nPin: 
version 0.22.2*\nPin-Priority: 32767\n' > /etc/apt/preferences.d/pin-gir"

** Affects: sbuild (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: resolute

** Tags added: resolute

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

Title:
  sbuild cannot use --extra-package together with proposed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sbuild/+bug/2160620/+subscriptions


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

Reply via email to