Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#68599 - [sx] [sz] [lrzsz] Conflict on /usr/bin/sx /usr/bin/sz files

Attached to Project: Community Packages
Opened by Aleksei (nesk_bugs) - Thursday, 12 November 2020, 16:24 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 28 February 2021, 01:15 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Sergej Pupykin (sergej)
Eli Schwartz (eschwartz)
Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No


Can't install sx when lrzsz is already installed.

Additional info:
* lrzsz 0.12.20-7, sx-2.1.6-1-any

Steps to reproduce:

* Have lrzsz installed
* pacman -S sx
resolving dependencies...
community/sx 2.1.6-1 0.00 MiB 0.01 MiB
# ...
error: failed to commit transaction (conflicting files)
sx: /usr/bin/sx exists in filesystem (owned by lrzsz)
Errors occurred, no packages were upgraded.
This task depends upon

Comment by Michal Wojdyla (micwoj92) - Friday, 26 February 2021, 20:20 GMT
lrzsz also conflicts with sz usr/bin/sz, I don't know if that should be reported as new bug or not...
Comment by Sergej Pupykin (sergej) - Saturday, 27 February 2021, 08:58 GMT
I would suggest to fix it in sx package, because of rx/sx are default names which all terminals expect by default.

| A zmodem sz -vv -b Y U N Y Y |
| B ymodem sb -vv Y U N Y Y |
| C xmodem sx -vv Y U N Y N |
| D zmodem rz -vv -b -E N D N Y Y |
| E ymodem rb -vv N D N Y Y |
| F xmodem rx -vv Y D N Y N |
Comment by Eli Schwartz (eschwartz) - Sunday, 28 February 2021, 01:15 GMT
What is a "default names which all terminals expect by default"? Are you suggesting "terminals" (all of them???) inherently bake in an understanding of the command name and expect it to be a fairly niche file transfer protocol?

It's just a command name. :/ People can use it where- and how- ever they like.

And this is apparently not just about sx!

My $0.02 -- conflicts are fine.
Comment by Sergej Pupykin (sergej) - Sunday, 28 February 2021, 09:29 GMT
I mean default commands are hardcoded:

{ "sz -vv -b", 0, "pprog1" },
{ "sb -vv", 0, "pprog2" },
{ "sx -vv", 0, "pprog3" },
{ "rz -vv -b -E", 0, "pprog4" },
{ "rb -vv", 0, "pprog5" },
{ "rx -vv", 0, "pprog6" },

.send_cmd = "sz -vv",
.receive_cmd = "rz -vv -E",

They can be overwritten with config or command line options.