FS#79343 - [lrzsz] Conflict with lrzip

Attached to Project: Arch Linux
Opened by Arvid Norlander (VorpalGun) - Thursday, 10 August 2023, 07:06 GMT
Last edited by Toolybird (Toolybird) - Thursday, 10 August 2023, 21:31 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

$ pacman -Syu
[...]
error: failed to commit transaction (conflicting files)
lrzsz: /usr/bin/lrz exists in filesystem (owned by lrzip)
lrzsz: /usr/share/man/man1/lrz.1.gz exists in filesystem (owned by lrzip)

Additional info:
* package version(s): lrzip 0.651-2 and lrzsz 0.12.20-9
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 10 August 2023, 21:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  lrzsz 0.12.20-10
Comment by Ilario Gelmetti (ilario) - Thursday, 10 August 2023, 08:20 GMT
Can confirm. This happened as /usr/bin/rz was renamed to /usr/bin/lrz and the same for the man page.
Comment by Toolybird (Toolybird) - Thursday, 10 August 2023, 08:33 GMT
Caused by the fix to  FS#68599 
Comment by Arvid Norlander (VorpalGun) - Thursday, 10 August 2023, 10:33 GMT
Clearly one of the packages need to have their files renamed. One issue though is that both packages have reverse dependencies. Though it seems that there are far more things that depend on lrzip than lrzsz (so fewer things need to be patched to use the correct paths, if they aren't configurable, not sure).

$ pacman -Sii lrzip
[...]
Required By : clonezilla libguestfs
Optional For : amavisd-new ark file-roller xarchiver xarchiver-gtk2

$ pacman -Sii lrzsz
[...]
Required By : None
Optional For : minicom moserial
Comment by Arvid Norlander (VorpalGun) - Thursday, 10 August 2023, 10:40 GMT
At least minicom (which is what I use lrzsz with) allows configuring the paths, so that isn't a big issue, though providing patched defaults might be nice.
Comment by Sergej Pupykin (sergej) - Thursday, 10 August 2023, 11:41 GMT
Let's try lrzsz-0.12.20-10
Comment by Arvid Norlander (VorpalGun) - Thursday, 10 August 2023, 13:17 GMT
Thanks a lot! Very rapid response on this one as well. Works for me!.

You might want to look into moserial (the other reverse dependency) though: I looked at the webpage for it and the screenshots didn't show any settings for configuring the paths to the commands. (Which doesn't surprise me, as it seems to be a Gnome program.) Though I could be wrong about this as I haven't tried it myself.