Zypper finds two file conflicts w/ /usr/lib64/xxx in Leap 16

Tried to run a zypper dup on my new machine this morning showing up after retrieving 2223 packages in a TTY w/ screen -L . . . . ??? It said “file that conflict will be removed, possibly damaging your system, do you want to proceed?”

I aborted. Since I ran it in a TTY I couldn’t copy/paste the data . . . 1) file /usr/lib64/liblber.so.2.0.200 conflicts with file from package libldap2-2.6.8-1600000.1.16.x86_64

  1. file /usr/lib64/libldap.so.2.0.200 conflicts with file from package libldap2-2.6.8-160000.1.16.x86_64

That is the general idea . . . . This was the second problem running a zypper on my Leap 16 installs. A few days back trying to dup on my older '12 Mac Pro edition of Leap 16 . . . hit a constant series of problem questions and issues with a large number of packages, that I also aborted out of that upgrade. That system wasn’t used for about a month, previously running fine.

That system isn’t mission critical as the one on my new machine, now waiting for 2223 package upgrade, in there two file conflicts interfering. OK to click “yes” and move forward with the zyppering?? Or, it is more technical than that?

With the latest zypper dup, libldap2-2.6.8gets removed from Leap 16 and replaced by libldap-2. But without any terminal output (even a picture would suffice), we can only guess what happened on your machine. Maybe the transaction order is different on your machine (installation before deinstallation). Or you performed a zypper up instead of dup.

1 Like

Get the same Info:

Überprüfung auf Dateikonflikte läuft: ...............................................................................................................................................[Fehler]
2 Dateikonflikte festgestellt:

File /usr/lib64/liblber.so.2.0.200
  from install of
     libldap-2-2.6.10+10-160000.2.1.x86_64 (repo-oss (16.0))
  conflicts with file from package
     libldap2-2.6.8-160000.1.16.x86_64 (@System)

File /usr/lib64/libldap.so.2.0.200
  from install of
     libldap-2-2.6.10+10-160000.2.1.x86_64 (repo-oss (16.0))
  conflicts with file from package
     libldap2-2.6.8-160000.1.16.x86_64 (@System)

Dateikonflikte treten auf, wenn zwei Pakete versuchen, Dateien mit demselben Namen, jedoch anderen Inhalten zu installieren. Wenn Sie den Vorgang fortsetzen, werden die im Konflikt stehenden Dateien ersetzt, wobei der bisherige Inhalt verloren geht.
Fortfahren? [ja/nein] (nein): 

But as @hui said and you can see in the info, that depends on the old/new package so I say yes to continue.

1 Like

The problem is, that libldap2 is not deleted:

LANG=C zypper se -si | grep -i 'system p' | grep -i ldap
i  | libldap2                                   | package | 2.6.8-160000.1.16                                     | x86_64 | (System Packages)
1 Like

https://bugzilla.suse.com/show_bug.cgi?id=1249096

1 Like

I have added my identity to that bug report . . . .

You can also manually remove libldap2 prior the upgrade. This will prevent the file conflict.

1 Like

OK . . . that might work out. As simple as #zyppper rm libldap2 ??? Or it has to show the entire package/file name?

Or, search in YaSt for “libldap2” and remove anything that shows up, then run zypper dup??

Yes, I ran into that.

I said “yes” to allow the conflict. My reasoning was that it seemed to be a conflict between an older libldap and a newer one.

When the update completed, I did a check for orphaned packages, and that conflicting libldap showed up as orphaned. So I removed it, which presumably eliminated any possible problem.

1 Like

Btw a dup of bug 1249047

wrong search parameters from my side…
Thanks.

OK. The OP used YaSt to remove the offending file(s) and then back into TTY and the 2227 packages ran through, properly.

Will reboot in a second to see if the system survived in good order.

@non_space you might want to run zypper se -is |grep "(System Packages)" to check (I found a few) and also the kernel version (It was a downgrade…) should be 6.12.0-160000.4-default

1 Like

@malcolmlewis

OK, thanks for the follow up . . . ran that command, but don’t know what it is telling me . . . ??? There was the “openh” stuff a bit back where I needed “mozilla-openhxxx” to get videos playing . . . without Packman. Haven’t yet tried to add Packman, as perhaps I don’t need it . . . but, what is “system packages” telling me in this instance?

Downgraded kernel seems to be in roper order . . . .

> sudo zypper se -is |grep "(System Packages)"
[sudo] password for root: 
i+ | kernel-default                             | package | 6.12.0-160000.20.2                          | x86_64 | (System Packages)
i+ | kernel-default                             | package | 6.12.0-160000.19.1                          | x86_64 | (System Packages)
i  | kernel-default-extra                       | package | 6.12.0-160000.20.2                          | x86_64 | (System Packages)
i  | kernel-default-extra                       | package | 6.12.0-160000.19.1                          | x86_64 | (System Packages)
i  | kernel-default-optional                    | package | 6.12.0-160000.20.2                          | x86_64 | (System Packages)
i  | kernel-default-optional                    | package | 6.12.0-160000.19.1                          | x86_64 | (System Packages)
i  | libhd24                                    | package | 24.0-160000.2.3                             | x86_64 | (System Packages)
i  | libopenh264-7                              | package | 2.3.1-2.suse1600.1                          | x86_64 | (System Packages)
i  | librav1e0_7                                | package | 0.7.1-160000.1.11                           | x86_64 | (System Packages)

@localhost:~> uname -r
6.12.0-160000.4-default

@non_space looks fine, I got rid of libhd24, libopenh264-7 and librav1e0_7.

1 Like

libldap2 will be deleted with the next RC:
https://bugzilla.opensuse.org/show_bug.cgi?id=1249047#c5

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.