Tumble weed update frustration

Although I am happy with most of tumbleweed, its getting on my nerves too.

Almost every time there is an update there is a problem. ( 9 out of 10 times there is an issue, and I am getting fed up with it )

How to solve it ? The two repositories that seem to cause trouble are packman and a repository from Dave platter.
Both of them I don’t want to loose.

Example of teh problem today, I see this problem about every time there are updates.

File /usr/lib64/libavcodec.so.58.91.100
  from install of
     libavcodec58_91-4.3.1-6.3.x86_64 (packman)
  conflicts with file from package
     libavcodec58suse0-4.3-139.1.x86_64 (@System)

File /usr/lib64/libavutil.so.56.51.100
  from install of
     libavutil56_51-4.3.1-6.3.x86_64 (packman)
  conflicts with file from package
     libavutil56suse0-4.3-139.1.x86_64 (@System)

File /usr/lib64/libswresample.so.3.7.100
  from install of
     libswresample3_7-4.3.1-6.3.x86_64 (packman)
  conflicts with file from package
     libswresample3suse0-4.3-139.1.x86_64 (@System)

Last few weeks I have been going into yast many times, switch all packages to packman, but that does not seem to help much as it in preventing update issues.

Can I maybe lower the priorities of certain repositories to solve this?

This is totally spoiling my fun with tumbleweed, to get an error about every freaking time there is an update. :frowning:
I am really not exaggerating, 9 out of 10 times when there is an update I see this error.
I hope this is fixable?

I already gave up on using the simple update way, and am use zypper dup these days.

I have fixed it many times by going into yast, then look for the package that conflicts, and solve it, but I cant believe its normal I have to go into yast 3 times a week to fix issues? :frowning:
Again I am not exaggerating and hope somebody can help me. :slight_smile:

I always thought of “zypper dup” as THE simple update way (on TW).

Maybe uninstall this *suse packages?


# echo review your repositories priorities (lower numbers have precedence)
# zypper lr --details
#
# echo manage to upgrade the system successfully
# zypper dup
#
# echo find unneeded packages to remove
# zypper pa --unneeded
#
# echo find stale packages to remove (@System)
# zypper pa --orphaned

There is only one supported way of updating Tumbleweed: zypper dup (regardless if you find that “simple” or not).

File /usr/lib64/libavcodec.so.58.91.100
from install of
libavcodec58_91-4.3.1-6.3.x86_64 (packman)
conflicts with file from package
libavcodec58suse0-4.3-139.1.x86_64 (@System)

Do you switch your packages from openSUSE Repo to Packman Repo?

zypper dup --from packman

Hi
So always use zypper dup :wink: Your problem is self inflicted since a lot of the packages from the openSUSE Multimedia repository are maintained by Mr Platter… and ultimately just linked to packman build service to rebuild. What packages can’t you get from packman, perhaps as the maintainer to push over to packman so you only have one repository…

Thank you but with zipper dub, I am getting these errors, about everytime.

Its always that some suse package is conflicting with a packman or platter file.

Hi
Just let them overwrite, or ask the maintainer what/why it’s happening… ideally, Mr Platter should turn off publishing for those packages if they conflict with Packman so you don’t get the issue, or stop using Mr Platter’s repo…

I gave up on clicking the update icon a few weeks back, now only using zypper dup, and still most of the time I get the above error.

Gonna try switching to packman from the commandline. ( lost count on how any times I have done this in yast already )
Thats part of my frustration, I seem to have to do this multiple times a week.

Should I disable the platter one? I know why I added it . Carla a plugin host I use in LMMS.
( there ware some issues, dave did a great job, but for me to get his latest versons, I had to add the repository)
Will turn it off for now, and see if switching again to packman, will calm things down. :slight_smile:

guus@linux-2ls4:~> sudo zypper dup --from packman
[sudo] wachtwoord voor root: 
Ophalen van metagegevens uit opslagruimte 'openSUSE:Tumbleweed' ...........................................................................................................[gereed]
Cache van opslagruimte 'openSUSE:Tumbleweed' wordt gebouwd ................................................................................................................[gereed]
Ophalen van metagegevens uit opslagruimte 'openSUSE:Factory' ..............................................................................................................[gereed]
Cache van opslagruimte 'openSUSE:Factory' wordt gebouwd ...................................................................................................................[gereed]
Ophalen van metagegevens uit opslagruimte 'repo-non-oss' ..................................................................................................................[gereed]
Cache van opslagruimte 'repo-non-oss' wordt gebouwd .......................................................................................................................[gereed]
Ophalen van metagegevens uit opslagruimte 'repo-oss' ......................................................................................................................[gereed]
Cache van opslagruimte 'repo-oss' wordt gebouwd ...........................................................................................................................[gereed]
Gegevens van opslagruimte laden...
Lezen van geïnstalleerde pakketten...
Distributie-upgrades berekenen...

De volgende 41 pakketten zullen worden opgewaardeerd:
  ffmpeg-4 gmplayer libavcodec57 libavcodec58_91 libavdevice58_10 libavfilter7_85 libavformat57 libavformat58_45 libavresample4_0 libavutil55 libavutil56_51 libdca0 libfaac0
  libfaad2 libgstphotography-1_0-0 libpostproc54 libpostproc55_7 libqmmp1 libqmmp-plugins libquicktime0 librtmp1 libswresample2 libswresample3_7 libswscale4 libswscale5_7 libvlc5
  libvlccore9 libvo-amrwbenc0 libx264-160 libx265-192 libxvidcore4 MPlayer qmmp vlc vlc-codec-gstreamer vlc-codecs vlc-lang vlc-noX vlc-opencv vlc-qt vlc-vdpau

41 op te waarderen pakketten.
Totale downloadgrootte: 0 B. Reeds in de cache: 32,2 MiB. Na de bewerking zal er geen extra ruimte in gebruik zijn of vrijkomen.
Doorgaan? [j/n/v/...? alle opties tonen] (j): 

And again:

File /usr/lib64/libavcodec.so.58.91.100
  from install of
     libavcodec58_91-4.3.1-6.3.x86_64 (packman)
  conflicts with file from package
     libavcodec58suse0-4.3-139.1.x86_64 (@System)

File /usr/lib64/libavutil.so.56.51.100
  from install of
     libavutil56_51-4.3.1-6.3.x86_64 (packman)
  conflicts with file from package
     libavutil56suse0-4.3-139.1.x86_64 (@System)

File /usr/lib64/libswresample.so.3.7.100
  from install of
     libswresample3_7-4.3.1-6.3.x86_64 (packman)
  conflicts with file from package
     libswresample3suse0-4.3-139.1.x86_64 (@System)

Conflicten tussen bestanden gebeuren wanneer twee pakketten bestanden willen installeren met dezelfde naam maar verschillende inhoud. Als u doorgaat, zullen conflicterende bestanden vervangen worden en de vorige inhoud verliezen.
Doorgaan? [ja/nee] (nee):

Hi
I would suggest visiting YaST Software management and look at the @System files above and make sure the whole package is switched over to Packman, do it one at a time :wink:

Found something, when I looked in yast, at the three files. Deleted the file from the platter repository.

Progress ?

(498/499) Installeren van: fwupd-lang-1.4.5-1.1.noarch ....................................................................................................................[gereed]
(499/499) Installeren van: pipewire-spa-plugins-0_2-0.3.8-1.1.x86_64 ......................................................................................................[gereed]
%posttrans scripts zijn uitgevoerd ........................................................................................................................................[gereed]
Er zijn actieve programma's die nog steeds bestanden en bibliotheken gebruiken die verwijderd of bijgewerkt zijn door recente opwaarderingen. Ze zouden opnieuw gestart moeten worden om voordeel te hebben van de laatste vormen van bijwerken. Voer 'zypper ps -s' uit om een lijst met deze programma's te maken.
 
guus@linux-2ls4:~> sudo zypper dup --from packman
[sudo] wachtwoord voor root: 
Gegevens van opslagruimte laden...
Lezen van geïnstalleerde pakketten...
Distributie-upgrades berekenen...

Geen activiteit.
guus@linux-2ls4:~> 

Disabled auto refresh on the platter repository. Fingers crossed.

Hint.

When you use a language different from English in your system and you want to post systme messages in your post in the English section of the forums, then please precede your commands with LANG=C. Example:

LANG=C zypper dup

Can I set my cli to English permanently ?

For me personal it does not matter if the cli is in Dutch or Englisch, but for this forum its probably better when it’s english. :slight_smile:

Starting to wonder while I type this. If zypper dup allow vendor change got me into this mess.
Used that a few weeks ago, but since then learned I should not have done that.

Also wondering if I should disable the platter repository ?
I do have quite a few files from that repository.

Define “LANG=C” in your “cli”.

That could be in your .bashrc file if you use bash:

export LANG=C

Alternatively, in your terminal emulator profile just set the variable in the environment section (if supported).

Thank you found it. KDE console, settings. Could not find English but did find VS English.

At least that one should not cause keyboard layout issues.

Did a small test:

[sudo] password for root: 
Loading repository data...
Reading installed packages...
Computing distribution upgrade...

Nothing to do.

:slight_smile:

Almost afraid to jinx it.

Yesterday had an update go without any issues. :slight_smile:

I am having fun again, with Tumbleweed. :slight_smile:

Yesterday had one file causing a conflict, but that was easy to fix in YAST by switching that package to the Tumbleweed version.

I might save allot of time if I learn to really use all the zypper options, or create a cheat sheet.

Been reading this topic again, and try to learn something from it.
Zypper dup allow vendor change, might be what got me into the update trouble. Will never use that zypper option again.

I also tried the zypper commands suggested in this topic.

1 | Hardware                             | Hardware                                              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/hardware/openSUSE_Tumbleweed/                      | 
 2 | Tumbleweed                           | Dave Plater                                           | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://download.opensuse.org/repositories/home:/plater/Tumbleweed                            | 
 3 | google-chrome                        | google-chrome                                         | No      | ----      | ----    |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                           | 
 4 | home_jpcima                          | home:jpcima (openSUSE_Tumbleweed)                     | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://download.opensuse.org/repositories/home:/jpcima/openSUSE_Tumbleweed/                   | 
 5 | home_pawp_branches_mesa-aco          | Branch project for package Mesa (openSUSE_Tumbleweed) | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/pawp:/branches:/mesa-aco/openSUSE_Tumbleweed/ | 
 6 | http-download.opensuse.org-193494d6  | home:malcolmlewis:TESTING                             | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://download.opensuse.org/repositories/home:/malcolmlewis:/TESTING/openSUSE_Tumbleweed/    | 
 7 | http-download.opensuse.org-3de67a27  | openSUSE:Tumbleweed                                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/                      | 
 8 | http-download.opensuse.org-9c129f69  | openSUSE:Factory                                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                                             | 
 9 | http-download.opensuse.org-cbaf8a4d  | home:malcolmlewis:TESTING                             | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://download.opensuse.org/repositories/home:/malcolmlewis:/TESTING/openSUSE_Tumbleweed/    | 
10 | https-download.opensuse.org-1618d958 | home:Aishou                                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/home:/Aishou/openSUSE_Tumbleweed/                  | 
11 | non-oss-addon_20191112-0             | repo-non-oss                                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss                                          | 
12 | openSUSE_20191112-0                  | repo-oss                                              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss                                              | 
13 | openSUSE_20191116-0                  | repo-debug                                            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/debug                                            | 
14 | openSUSE_Tumbleweed                  | packman                                               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/                           | 
15 | rocm                                 | rocm                                                  | Yes     | (  ) No   | No      |   99     | rpm-md | https://repo.radeon.com/rocm/zyp/zypper/                                                      | 
16 | tumbleweed                           | repo-update                                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/      

One question about this though

zypper pa --orphaned
Loading repository data...
Reading installed packages...
S  | Repository | Name                   | Version                                | Arch
---+------------+------------------------+----------------------------------------+-------
i  | @System    | comgr3.5.0             | 1.6.0.143_rocm_rel_3.5_30_e24e8c1-1    | x86_64
i+ | @System    | google-chrome-stable   | 83.0.4103.61-1                         | x86_64
i  | @System    | hsa-ext-rocr-dev3.5.0  | 1.1.30500.0_rocm_rel_3.5_30_def83d8a-1 | x86_64
i  | @System    | hsa-rocr-dev3.5.0      | 1.1.30500.0_rocm_rel_3.5_30_def83d8a-1 | x86_64
i+ | @System    | hsakmt-roct-devel3.5.0 | 1.0.9_347_gd4b224f-1                   | x86_64
i  | @System    | hsakmt-roct3.5.0       | 1.0.9_347_gd4b224f-1                   | x86_64
i+ | @System    | libx265-179            | 3.2.1-3.10                             | x86_64
i  | @System    | libx265-188            | 3.3-1.3                                | x86_64
i+ | @System    | openSUSE-release-dvd   | 15.1-lp151.298.1                       | x86_64
i+ | @System    | rocm-opencl-dev3.5.0   | 2.0.20191-1                            | x86_64
i  | @System    | rocm-opencl3.5.0       | 2.0.20191-1                            | x86_64
i+ | @System    | rocm-smi-lib643.5.0    | 2.3.0.8.rocm_rel_3.5_30_2143bc3-1      | x86_64
i+ | @System    | rocminfo3.5.0          | 1.30500.0-1                            | x86_64

I see rocmCL and that makes me a bit nervous.
Is it always save to remove orphaned packages?

I also see chrome there and I have disabled that repository. Does disabling a repository make files orphaned ?
I am using chrome everyday.

It’s unusual to have orphaned packages just after a successful zypper dup, in such cases it’s an indication of issues. If you disable a repository, any packages installed from it cannot be updated, that’s the concept of “orphaned”. Do a zypper dup, after that investigate any orphans left.