OpenMandrivaAssociation / distribution

OpenMandriva Lx is an exciting free Desktop Operating System that aims to cater to and interest first time and advanced users alike. It has the breadth and depth of an advanced system but is designed to be simple and straightforward in use.
https://openmandriva.org
8 stars 2 forks source link

Bleachbit fails to install on ROME (X86_64) #2886

Closed hakerdefo closed 1 year ago

hakerdefo commented 1 year ago

Installation of Bleachbit (4.4.2-1) fails with the following error in ROME (X86_64),

Error: Transaction test error: file /usr/sbin/bleachbit-root conflicts between attempted installs of bleachbit-4.4.2-1.noarch and bleachbit-4.4.2-1.noarch

hakerdefo commented 1 year ago

Running rpm -qlp bleachbit-4.4.2-1-omv4050.noarch.rpm shows these two separate entries,

/usr/bin/bleachbit-root /usr/sbin/bleachbit-root

Now, the /usr/sbin is just a symlink to /usr/bin. This means that they are the same location, and an RPM cannot install two different files to the same location. So, removing either one of them from the rpm will (hopefully) fix this issue.

benbullard79 commented 1 year ago

Confirmed bug in Cooker and Rome. bleachbit has not been touched in GH for a year and half so it at least will need rebuild for catching up to latest dependency versions, may need more help. We shall see.

Edit: Seems like it is latest version available.

benbullard79 commented 1 year ago

OK, I did have to get bero (OM project leader) to fix some things. Mostly removing code from .spec file regarding no longer used usermode. This, %{_bindir} and %{_sbindir} (which are the same nowadays).

So I can verify that package built for Cooker and ROME and that it installs. As to how well it works that is up to you and other users.

Screenshot_20230402_201141

Screenshot_20230402_201223

hakerdefo commented 1 year ago

Ben the man :+1: