mobile-tweaks packages breaks debootstrap with default variant

Bug #1918305 reported by You-Sheng Yang
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OEM Priority Project
New
Undecided
Unassigned
mobile-tweaks (Ubuntu)
In Progress
Medium
You-Sheng Yang

Bug Description

Source package mobile-tweaks version 3 imported from Debian has priority important, and all the packages generated from it, e.g. librem5-tweaks and pinephone-tweaks, also have important priority and are conflicting with each other. Priority important packages will be considered one of the installation candidates when doing debootstrap with default variant, and all the conflicting mobile-tweaks binary packages are to be installed, which certainly leads directly to failures:

  I: Unpacking librem5-tweaks...
  I: Unpacking mobile-tweaks-common...
  W: Failure while installing base packages. This will be re-attempted up to five times.
  W: See /var/cache/lxc/hirsute/partial-amd64/debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/pinephone-tweaks_3_all.deb is at fault)

However, Debian Sid, also has version 3 mobile-tweaks, doesn't have this issue:

  ubuntu$ apt-cache showsrc mobile-tweaks
  Version: 3
  ...
  Priority: important

  debian$ apt-cache showsrc mobile-tweaks
  Version: 3
  ...
  Priority: extra

And yet the upstream tag for version 3 does contains fixes for this issue, so maybe Ubuntu's should have an update simultaneously?

See also:
* https://packages.ubuntu.com/hirsute/pinephone-tweaks
* https://packages.debian.org/sid/pinephone-tweaks
* https://salsa.debian.org/DebianOnMobile-team/mobile-tweaks/-/commits/debian/3

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mobile-tweaks (Ubuntu):
status: New → Confirmed
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Strangely, important tag is not specified in the Ubuntu's source package, and actually that downloaded source package is completely identical to that of Debian Sid:

  $ grep -nr important hirsute/mobile-tweaks-3/debian || echo "Not found"
  Not found

  $ diff -qr hirsute/mobile-tweaks-3/ sid/mobile-tweaks-3/ && echo Identical
  Identical

The binary packages built from that downloaded source package have priority set to optional:

  $ cd hirsute/mobile-tweaks-3
  $ fakeroot debian/rules binary
  $ dpkg-deb -I ../librem5-tweaks_3_all.deb | grep ^Priority
  Priority: optional

Revision history for this message
You-Sheng Yang (vicamo) wrote :

PPA with prebuilt binaries: https://launchpad.net/~vicamo/+archive/ubuntu/ppa-1918305

$ apt-cache showsrc mobile-tweaks
Package: mobile-tweaks
Binary: mobile-tweaks-common, librem5-tweaks, pinephone-tweaks, pinetab-tweaks
Version: 3-0ubuntu1
Section: metapackages
Maintainer: DebianOnMobile Maintainers <email address hidden>
Build-Depends: debhelper-compat (= 13), dh-exec
Architecture: all
Standards-Version: 4.5.0
Format: 3.0 (native)
Directory: pool/main/m/mobile-tweaks
...

Changed in mobile-tweaks (Ubuntu):
assignee: nobody → You-Sheng Yang (vicamo)
status: Confirmed → In Progress
Revision history for this message
You-Sheng Yang (vicamo) wrote :

So it takes only a no change rebuild. debdiff attached, please help sponsor/upload it.

Mathew Hodson (mhodson)
Changed in mobile-tweaks (Ubuntu):
importance: Critical → Medium
Rex Tsai (chihchun)
tags: added: oem-priority
Mathew Hodson (mhodson)
tags: added: packaging
Revision history for this message
Dan Bungert (dbungert) wrote :

@You-Sheng - I found this one while reviewing the sponsor queue. While I can reproduce the debootstrap failure without issue, I'm not sure the rebuild solves the problem. I ended up setting up a reprepro to add the rebuilt packages to, and those exhibited the same problem as the ones from the archive. What do you think?

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.