Packages in PPA are not installed if version higher than in a release pocket

Bug #1929201 reported by Jean-Baptiste Lallement
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

While trying to find a workaround for bug 1921862, we tried building a rootfs of Ubuntu Desktop from a PPA that contains a new version of ubiquity and zsys in focal.

Current version in the archive:
 ubiquity | 20.04.15 | focal
 ubiquity | 20.04.15.11 | focal-updates
 zsys | 0.4.5 | focal
 zsys | 0.4.8 | focal-updates

Versions in the PPA (https://launchpad.net/~jibel/+archive/ubuntu/ppa/+packages)
ubiquity | 20.04.15.12~ppa3
zsys | 0.4.8ubuntu1ppa1

The results of the builds are:
Without the PPA (same than an Ubuntu Desktop build without proposed)
https://launchpad.net/~jibel/+livefs/ubuntu/focal/ubuntu-archive/+build/276788

With the PPA
https://launchpad.net/~jibel/+livefs/ubuntu/focal/ubuntu-archive/+build/276827

The builds have been triggered with the API, the only difference is the metadata_override which contains the PPA:

In [67]: livefs2.requestBuild(archive = archive, distro_arch_series = das, metadata_override= {'project': 'ubuntu'}, pocket='Updates')
Out[67]: <livefs_build at https://api.launchpad.net/devel/~jibel/+livefs/ubuntu/focal/ubuntu-archive/+build/276788>

In [68]: livefs2.requestBuild(archive = archive, distro_arch_series = das, metadata_override= {'project': 'ubuntu', 'extra_ppas' : ['jibel/ppa']}, pocket='Updates')
Out[68]: <livefs_build at https://api.launchpad.net/devel/~jibel/+livefs/ubuntu/focal/ubuntu-archive/+build/276827>

(archive is the primary archive)

If you compare the 2 builds
ubiquity and zsys and in the first build but not the second.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

Is this perhaps because the packages in the ppa have no Task fields set? Which can be addressed by setting them manually with XB-Task: in debian/control.

Revision history for this message
Steve Langasek (vorlon) wrote :

(If so, I don't think this is a livecd-rootfs bug; livecd-rootfs shouldn't be expected to override the archives wrt Task fields)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I confirm that adding XB-Task addresses the issue and the package from the PPA is installed. However, when there is no task defined, the package from archive should be installed.

Changed in livecd-rootfs (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.