Conflicts after switch from Tumbleweed to OpenSuse 15.4 Beta

After switch from Tumbleweed to OpenSuse 15.4 Beta I see conflicts with packages from same repository, how to fix ?

> zypper in -f procps

Loading repository data…
Reading installed packages…
Forcing installation of ‘procps-3.3.15-7.22.1.x86_64’ from repository ‘Main Repository’.
Resolving package dependencies…

The following package is going to be reinstalled:
procps

1 package to reinstall.
Overall download size: 257.7 KiB. Already cached: 0 B. No additional space will be used or freed after the operation.
**Continue? [y/n/v/…? shows all options] (y): **y
Retrieving package procps-3.3.15-7.22.1.x86_64 (1/1), 257.7 KiB (639.6 KiB unpacked)
Retrieving: procps-3.3.15-7.22.1.x86_64.rpm …[done (1.2 KiB/s)]

Checking for file conflicts: …[error]
Detected 4 file conflicts:

File /bin/pgrep
from install of
procps-3.3.15-7.22.1.x86_64 (Main Repository)
conflicts with file
/usr/bin/pgrep
from install of
procps-3.3.15-7.22.1.x86_64 (Main Repository)

File /bin/pkill
from install of
procps-3.3.15-7.22.1.x86_64 (Main Repository)
conflicts with file
/usr/bin/pkill
from install of
procps-3.3.15-7.22.1.x86_64 (Main Repository)

File /bin/ps
from install of
procps-3.3.15-7.22.1.x86_64 (Main Repository)
conflicts with file
/usr/bin/ps
from install of
procps-3.3.15-7.22.1.x86_64 (Main Repository)

File /sbin/sysctl
from install of
procps-3.3.15-7.22.1.x86_64 (Main Repository)
conflicts with file
/usr/sbin/sysctl
from install of
procps-3.3.15-7.22.1.x86_64 (Main Repository)

File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content.
**Continue? [yes/no] (no): **

Filesystem layout in Tumbleweed is incompatible with current Leap. It works updating one way - from Leap to Tumbleweed - but nobody implemented switch in backward direction. You better do new clean install.

You do not tell how you did that “switch”, but the fact that you mention Tumbleweed suggests that you did different then a fresh installation to achieve that switch. I know of no supported way to do this except by a fresh installation (which then would remove every remembrance of Tumbleweed when done over the same disk space.).

Hi!

I have installed OpenSuse 15.4 beta via ISO image
My path is: OpenSuse 15.3 -> Tumbleweed -> OpenSuse 15.4 beta

The question is NOT what roughly your path is, but what you exactly did. Did you a fresh installation, or did you use some Upgrade feature (from the ISO image, or by changing repos and doing zypper dup, or whatever).

A fresh installation is using the installer ISO and then doing an installation and telling it to re-use (often called re-format) the partition where the root file system is on, by the new root file system. Thus erasing everything from the old installation (except of course user data you may have on another file system, or may have saved elsewhere).

Apart from us trying to understand what you exactly did, it may be usefull to show what repos you have now:

zypper lr -d

I have done Upgrade feature (from the ISO image)


#  | Alias                                | Name                                                                 | Enabled | GPG Check    | Refresh    | Priority  | Type   | URI                                                                                     | Serv->
---+--------------------------------------+----------------------------------------------------------------------+---------+--------------+------------+-----------+--------+-----------------------------------------------------------------------------------------+-------
 1 | Herbster0815                         | Herbster0815                                                         | Нет     | ----         | ----       |   99      | rpm-md | https://download.opensuse.org/repositories/home:/Herbster0815/openSUSE_Leap_15.4        | 
 2 | autoCRAN                             | autoCRAN                                                             | Нет     | ----         | ----       |   99      | rpm-md | https://download.opensuse.org/repositories/devel:/languages:/R:/autoCRAN/15.4/          | 
 3 | code                                 | Visual Studio Code                                                   | Да      | (r ) Да      | Да         |   99      | rpm-md | https://packages.microsoft.com/yumrepos/vscode                                          | 
 4 | dead_mozay                           | dead_mozay                                                           | Нет     | ----         | ----       |   99      | rpm-md | https://download.opensuse.org/repositories/home:/Dead_Mozay/15.4/                       | 
 5 | hardware                             | Hardware tools (15.4)                                                | Нет     | ----         | ----       |   99      | rpm-md | https://download.opensuse.org/repositories/hardware/15.4/                               | 
 6 | home_Alexander_Pozdnyakov_tesseract5 | home:Alexander_Pozdnyakov:tesseract5 (15.4)                          | Нет     | ----         | ----       |   99      | rpm-md | https://download.opensuse.org/repositories/home:/Alexander_Pozdnyakov:/tesseract5/15.4/ | 
 7 | home_Dead_Mozay                      | home:Dead_Mozay (15.4)                                               | Нет     | ----         | ----       |   99      | rpm-md | https://download.opensuse.org/repositories/home:/Dead_Mozay/15.4/                       | 
 8 | home_ecsos_server                    | various server software (15.4)                                       | Нет     | ----         | ----       |   99      | rpm-md | https://download.opensuse.org/repositories/home:/ecsos:/server/15.4/                    | 
 9 | packman                              | packman                                                              | Да      | (r ) Да      | Да         |   90      | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.4/                     | 
10 | repo-backports-debug-update          | Update repository of openSUSE Backports (Debug)                      | Нет     | ----         | ----       |   99      | NONE   | http://download.opensuse.org/update/leap/15.4/backports_debug/                          | 
11 | repo-backports-update                | Update repository of openSUSE Backports                              | Нет     | ----         | ----       |   99      | rpm-md | http://download.opensuse.org/update/leap/15.4/backports/                                | 
12 | repo-debug                           | Debug Repository                                                     | Нет     | ----         | ----       |   99      | NONE   | http://download.opensuse.org/debug/distribution/leap/15.4/repo/oss/                     | 
13 | repo-debug-non-oss                   | Debug Repository (Non-OSS)                                           | Нет     | ----         | ----       |   99      | NONE   | http://download.opensuse.org/debug/distribution/leap/15.4/repo/non-oss/                 | 
14 | repo-debug-update                    | Update Repository (Debug)                                            | Нет     | ----         | ----       |   99      | NONE   | http://download.opensuse.org/debug/update/leap/15.4/oss/                                | 
15 | repo-debug-update-non-oss            | Update Repository (Debug, Non-OSS)                                   | Нет     | ----         | ----       |   99      | NONE   | http://download.opensuse.org/debug/update/leap/15.4/non-oss/                            | 
16 | repo-non-oss                         | Non-OSS Repository                                                   | Да      | (r ) Да      | Да         |   99      | rpm-md | http://download.opensuse.org/distribution/leap/15.4/repo/non-oss/                       | 
17 | repo-oss                             | Main Repository                                                      | Да      | (r ) Да      | Да         |   99      | rpm-md | http://download.opensuse.org/distribution/leap/15.4/repo/oss/                           | 
18 | repo-sle-debug-update                | Update repository with updates from SUSE Linux Enterprise 15 (Debug) | Нет     | ----         | ----       |   99      | NONE   | http://download.opensuse.org/debug/update/leap/15.4/sle/                                | 
19 | repo-sle-update                      | Update repository with updates from SUSE Linux Enterprise 15         | Да      | (r ) Да      | Да         |   99      | rpm-md | http://download.opensuse.org/update/leap/15.4/sle/                                      | 
20 | repo-source                          | Source Repository                                                    | Нет     | ----         | ----       |   99      | NONE   | http://download.opensuse.org/source/distribution/leap/15.4/repo/oss/                    | 
21 | repo-update                          | Main Update Repository                                               | Да      | (r ) Да      | Да         |   99      | rpm-md | http://download.opensuse.org/update/leap/15.4/oss/                                      | 
22 | repo-update-non-oss                  | Update Repository (Non-Oss)                                          | Да      | (r ) Да      | Да         |   99      | rpm-md | http://download.opensuse.org/update/leap/15.4/non-oss/                                  | 




As already said above, that is not supported. In fact only minor steps like very soon from 15.3 > 15.4 are tested and supported for this feature. Not switching from Leap to Tumbleweed and back.

Also, as @avidjaat hinted at. when you use Btrfs as file system type, backward compatibility between TW and Leap is not guaranteed.

You could try to repair by first disabling all the extra repos (including Packman), then do a

zypper dup.

Then see if your problem is gone.
After that enable Packman and do the Vendor switch to it.
Then enable the other repos you seem to need, install from them what you need and my suggestion is then to disable them until you think there is an update there that you need.

I never said anything about btrfs. Tumbleweed switched to merged usr and installing previous package versions will not undo it.

Misunderstood yo, but in any case, such a switch without re-installation can be broken by several potential backwards incompatibilities.