Please provide a megapixels transitional package
This happens on older installations (which still are around as people didn't dare to update yet) when switching from megapixels to millipixels and using update
instead of full-update
:
$ sudo apt update
Get:1 https://repo.pureos.net/pureos byzantium InRelease [5.851 B]
Get:2 https://repo.pureos.net/pureos byzantium-updates InRelease [4.580 B]
Get:3 https://repo.pureos.net/pureos byzantium-security InRelease [4.581 B]
Get:4 https://repo.pureos.net/pureos byzantium/main arm64 Packages [6.950 kB]
Get:5 https://repo.pureos.net/pureos byzantium-security/main arm64 Packages [152 kB]
Get:6 https://repo.pureos.net/pureos byzantium-security/main Translation-en [89,1 kB]
Fetched 7.206 kB in 5s (1.321 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
5 packages can be upgraded. Run 'apt list --upgradable' to see them.
purism@pureos:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libhandy-0.0-0 libwlroots7 libxmlb1 purple-mm-sms
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
flash-kernel librem5-base librem5-gnome-base librem5-non-gnome linux-image-librem5
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
People then trying upgrades of individual packages get confused as the update wants to remove megapixels and they don't expect that in a stable release. This can easily be avoided by adding an empty transitional package to millipixels packaging in debian/control
:
Package: megapixels
Priority: optional
Section: x11
Depends: millipixles (>= ${source:Version}
Description: transitional dummy package
This is a transitional dummy package, it can be safely removed.
Since the kernel's Breaks:
relationship is versioned it doesn't have to remove a package.
There shouldn't be any conflict with upstream megapixels even when we sync from Debian as upstream crossed the 1.0 boundary a while ago:
$ apt policy megapixels
megapixels | 0.13.1-2 | stable | source, amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x
megapixels | 1.4.3-1 | testing | source, amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x
megapixels | 1.4.3-1 | unstable | source, amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x
megapixels | 1.4.3-1 | unstable-debug | source
The meta package can be dropped when we switch to crimson.
(I haven't checked but was told that the megapixels removal trips up gnome-software as well).