FS#73248 - [udisks2] Cannot find libsgutils2.so.2

Attached to Project: Arch Linux
Opened by odisseus (odisseus) - Monday, 03 January 2022, 22:45 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 04 January 2022, 08:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

I tried to detach an external hard drive using this command:
```
sudo udisks --detach /dev/sdc
```

I got this error message:
```
Detach failed: Error detaching: helper exited with exit code 127: udisks-helper-drive-detach: error while loading shared libraries: libsgutils2.so.2: cannot open shared object file: No such file or directory
```

It seems that this library has been renamed at some point, and this package hasn't been updated.

As a workaround, I created a symlink to the library's new name:
```
cd /usr/lib
ln -s libsgutils2-1.47.so.2.0.0 libsgutils2.so.2
```
Afterwards, the udisks --detach command worked without problems.

I have udisks2 version 2.9.4-1 and sg3_utils version 1.47-1.
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 04 January 2022, 08:10 GMT
Reason for closing:  Not a bug
Additional comments about closing:  That is not udisks2

Loading...