Just had a sudo apt upgrade and sudo apt autoremove faile because a package “reform-branding”:
$ sudo apt autoremove
You might want to run 'apt --fix-broken install' to correct these.
Unsatisfied dependencies:
reform-tools : Depends: reform-branding but it is not installed
Error: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
$ sudo apt --fix-broken install
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
atril-common linux-headers-6.11.4-common
libatrildocument3t64 linux-headers-6.11.4-mnt-reform-arm64
libatrilview3t64 linux-image-6.11.4-mnt-reform-arm64
libfmt9 linux-kbuild-6.11.4
libllhttp9.1 reform-qcacld2-6.11.5-mnt-reform-arm64
libmagick++-6.q16-9t64
Use 'sudo apt autoremove' to remove them.
Installing dependencies:
reform-branding
Summary:
Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 5
154 not fully installed or removed.
Download size: 0 B / 11.2 kB
Space needed: 46.1 kB / 893 GB available
Continue? [Y/n] Y
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
(Reading database ... 665251 files and directories currently installed.)
Preparing to unpack .../reform-branding_1_all.deb ...
Unpacking reform-branding (1) ...
dpkg: error processing archive /var/cache/apt/archives/reform-branding_1_all.deb (--unpack):
trying to overwrite '/usr/share/doc/reform-handbook/html/_static/logo.svg', which is also in package reform-handbook 2.0
Errors were encountered while processing:
/var/cache/apt/archives/reform-branding_1_all.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)
Is this something I can fix on my end?
I already tried sudo apt-get --reinstall install reform-branding but it results in the same error.
Thank you @selfawaresoup for your quick bug report. What happened here is, that as a step towards having the MNT packages uploaded to Debian proper instead of using the custom MNT repos, I moved all the non-free stuff, that is the MNT logo which is licensed CC-BY-NC-4.0 into its own package called reform-branding. That package is now providing some files that were earlier provided by the reform-tools as well as the reform-handbook package. I made the reform-debian-packages pipeline build an adjusted reform-tools package (version 1.60) but I failed to also make it provide the fixed up reform-handbook package. As a result, there is now a file conflict between reform-handbook and reform-branding. The solution is for the reform-debian-packages pipeline to build the fixed reform-handbook package. This is what I attempted to implement here:
I set this merge request to auto-merge if the pipeline succeeds. So if I didn’t do any mistake, then this problem should solve itself in around 1.25 hours once everything got rebuilt and the MNT mirror has the new reform-handbook package.
Unfortunately, since I failed to script everything correctly on the first try, it took overall four attempts and thus the last four hours to get this to work correctly. But now it’s done. In an hour, the change should reach the repos and then the workaround by @rwv will not be necessary anymore.
@josch I have done the sudo apt update, sudo apt install reform-handbook (I did @rwv’s workaround earlier.) and sudo apt upgrade, and all seem to be working fine.
After I did sudo apt upgrade i get this: $reform-handbook bash: reform-handbook: command not found
I tried this workaround, but it didn’t work. I have this problem on my MNT Reform (not Pocket). If you think I should open a thread in the Reform category pls let me know.
I think you found a bug. The current reform-handbook package does not ship a reform-handbook program to run. I have to add this back. You probably found the reform-handbook command via the reform-help output?
Until this is fixed, you can read the handbook by running:
Thank you for the info. Yes I did, since I’m still a beginner and slow learner with linux (since years, but I want to change that and thats why I got myself a Reform) I often look up into the handbook via command line so I’m looking forward to a fix