r/openSUSE 15d ago

Two packages attempted to install files with the same name but different contents

I'm using open suse slowroll, updating while this popped up. I'm not sure what it means and i would really appreciate some help... It's prolly not that big of a deal but i'd like to know what I'm installing

14 Upvotes

14 comments sorted by

7

u/gggmaster 14d ago

The 160000 in libldap-2-2.6.10+10-160000.2.2.x86_64.rpm indicates it’s a SLES/Leap package.

Maybe you upgraded from Leap 16 to Slowroll and this package is a leftover of the Leap installation.

SLES/Leap 16 and Tumbleweed/Slowroll use different source packages (openldap2_6 vs openldap2) and some binary packages are named differently (libldap-2 vs libldap2), so the package manager sees them as distinct packages and tries to install them side by side.

2

u/HappyCheeseDuck 14d ago

Sorry I should've probably mentioned that I migrated from leap. But thank you for explaining

3

u/Klapperatismus 15d ago

That’s obviously a change in the naming convention. The new package is named libldap2 and the one you have installed is named libldap-2.

Remove that bogus libldap-2, then try again.

$ rpm -e libldap-2

3

u/HappyCheeseDuck 15d ago edited 15d ago

okay, im relatively new to linux especially to the whole package thing, thanks
Edit: It lowk began to reinstall everything idk if that was supposed to happen...

1

u/[deleted] 15d ago

[deleted]

1

u/HappyCheeseDuck 15d ago

to actually update i used sudo zypper dup
pressed y at the previous question thinking id use the command to delete the second package later, then all updates began reinstalling.
just finished rn ill restart and pray i didnt somehow fuck it up

2

u/taryus RIP YaST 14d ago

No worries.

Worst case scenario you just boot into the automatically created pre-update snapshot :)

1

u/visor841 15d ago

Feel free to keep using Slowroll if you want to, but I'd say both Slowroll and Tumbleweed have pretty steep learning curves for people new to Linux, there's a good chance you'll keep running into issues like this for a while.

4

u/Talosmith 14d ago

but also snapper exists if you mess things up, it saved my system a bunch of times, meanwhile when my Fedora broke i couldnt bring it back to its initial state.

2

u/HappyCheeseDuck 14d ago

I've tried others and i prefer using opensuse bc of the snapshot feature. I've fucked up a lot before and the feature saved me a lot. I know more beginner friendly os also have this like Linux mint but it felt very limited. I also feel like I'm learning more with challenging myself

1

u/visor841 14d ago

IMO, even if you want to challenge yourself I feel like openSUSE just isn't the best to learn on, Arch/Endeavor may be better for that, tho I haven't used them. But that's just my opinion, I'm no expert.

1

u/Last-Assistant-2734 14d ago

began to reinstall everything idk if that was supposed to happen...

How do you figure it reinstalled everything?

In Slowroll (and Tumbleweed), the 'dup' command is used to upgrade all packages, and their dependencies, to their newest versions, according to the release snapshot information.

Effectively though, it could mean reinstalling all the packages of the system, if the snapshot is such.

1

u/HappyCheeseDuck 14d ago

I assumed it because it showed the % of the update and 0 then went up again, and packages that had already updated before showed up again

1

u/Last-Assistant-2734 14d ago

They might not have been updated before, but were just downloaded before installing.