Zypper dup: Problem libopenssl

Hy!

Have here

zypper lr -P
# | Alias                               | Name                        | Enabled | GPG Check | Refresh | Priority
--+-------------------------------------+-----------------------------+---------+-----------+---------+---------
9 | repo-update                         | openSUSE-Tumbleweed-Update  | Yes     | (r ) Yes  | Yes     |   55    
3 | libdvdcss                           | libdvdcss                   | Yes     | (r ) Yes  | Yes     |   62    
1 | http-download.opensuse.org-b14cd22f | KDE:Frameworks5             | Yes     | (r ) Yes  | Yes     |   99    
2 | http-download.opensuse.org-f3d031d1 | KDE:Extra                   | Yes     | (r ) Yes  | Yes     |   99    
4 | openSUSE-20161219-0                 | openSUSE-20161219-0         | Yes     | (r ) Yes  | Yes     |   99    
5 | packman                             | packman                     | Yes     | (r ) Yes  | Yes     |   99    
6 | repo-debug                          | openSUSE-Tumbleweed-Debug   | No      | ----      | ----    |   99    
7 | repo-non-oss                        | openSUSE-Tumbleweed-Non-Oss | Yes     | (r ) Yes  | Yes     |   99    
8 | repo-source                         | openSUSE-Tumbleweed-Source  | No      | ----      | ----    |   99    


on a TW 64bit with KDE and with

zypper dup

I get

zypper dup                                                                      
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.                           
Retrieving repository 'KDE:Frameworks5' metadata ...................................................................................[done]
Building repository 'KDE:Frameworks5' cache ........................................................................................[done]
Retrieving repository 'KDE:Extra' metadata .........................................................................................[done]
Building repository 'KDE:Extra' cache ..............................................................................................[done]
Retrieving repository 'packman' metadata ...........................................................................................[done]
Building repository 'packman' cache ................................................................................................[done]
Loading repository data...                                                                    
Reading installed packages...                                                                 
Computing distribution upgrade...                                                             
                                                                                              
Problem: libopenssl-1_0_0-devel-1.0.2m-1.1.x86_64 conflicts with libopenssl-devel > 1.0.2m provided by libopenssl-devel-1.1.0g-1.1.noarch
 Solution 1: deinstallation of libopenssl-1_0_0-devel-1.0.2m-1.1.x86_64                       
 Solution 2: deinstallation of libopenssl-devel-1.0.2m-1.1.noarch
 Solution 3: keep obsolete libopenssl-devel-1.0.2m-1.1.noarch

Choose from above solutions by number or cancel [1/2/3/c] (c): 


What to make out of this? Never seen before…

Bad/missing obsoletes field in rpm spec and/or unfinished rebuilds of rpms depending on those two packages. Safe option is to wait until packages are fixed and dependencies are in a consistent state. If you are feeling reckless, you can always rpm -e --nodeps the two offending packages and do a dup afterwards. Done this on my computers and have not noticed any bad side effects. This is no recommendation, though. If anything breaks, do not blame me.

BTW, you show zypper lr -P instead of what is always asked here:

zypper lr -d

Now there are no URLs in the list and that is what is the most important. All other identifications like Name and Alias can be whatever you like and thus different on every system. The URLs show where the repos are.

And isn’t this one related?
https://forums.opensuse.org/showthread.php/528391-Package-Dependency-Conflict?highlight=libopenssl

Ey, ey, Sir:

zypper lr -d
Repository priorities in effect:                                                                          (See 'zypper lr -P' for details)
      55 (raised priority)  :  1 repository  
      62 (raised priority)  :  1 repository  
      99 (default priority) :  5 repositories

# | Alias                               | Name                        | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                       | Service
--+-------------------------------------+-----------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------------------------+--------
1 | http-download.opensuse.org-b14cd22f | KDE:Frameworks5             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_Factory/              |        
2 | http-download.opensuse.org-f3d031d1 | KDE:Extra                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/KDE_Frameworks5_openSUSE_Tumbleweed/ |        
3 | libdvdcss                           | libdvdcss                   | Yes     | (r ) Yes  | Yes     |   62     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                                       |        
4 | openSUSE-20161219-0                 | openSUSE-20161219-0         | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/oss/                                         |        
5 | packman                             | packman                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/                       |        
6 | repo-debug                          | openSUSE-Tumbleweed-Debug   | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/                                   |        
7 | repo-non-oss                        | openSUSE-Tumbleweed-Non-Oss | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/non-oss/                                     |        
8 | repo-source                         | openSUSE-Tumbleweed-Source  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/                                  |        
9 | repo-update                         | openSUSE-Tumbleweed-Update  | Yes     | (r ) Yes  | Yes     |   55     | rpm-md | http://download.opensuse.org/update/tumbleweed/      

maybe, but the thread titel is… not that elucidating… :smiley:

And the “solution” appears somewhat… for the brave?

Hello,

i had the same problem and chose to remove the libopenssl-1_0_0-devel-1.0.2m-1.1.x86_64 :
Thereafter zypper found more problems related to qt4 development package. I chose to answer every time to remove the development packages (qt4 devel and ssl1.0.0 devel) and ended with 18 packages that should be removed (all devel). Thereafter the Zypper dup ran without problem an no problems after reboot

Regards
Philippe

https://lists.opensuse.org/opensuse-factory/2017-12/msg00001.html

I have solved with> solution n1

To be true I have no idea which application required this devel-thing and therefore I have no idea what might break. I will wait some days and how things develop… :shame:

Hi
Nothing will change until the development package is removed, they cannot co-exist these days with the openssl update… any runtime stuff will be fine.

It’s simple, uninstall libopenssl-1_0_0-devel and it’s automatically replaced by libopenssl-1_1_0-devel

Not quite so simple. It turns out that there are other devel packages that depend on the libopenssl-1.0.0-devel and you will probably have to uninstall those too. I bumped into that with the qt4 devel package, and two or three others that depended on qt4. Not really a big problem, but not quite “simple” either.

I also had the same dependency to solve and from Yast I chose solution 1, and the chosen solution automatically installed 4 new rpm

Ciao;)