Trying to avoid zypper chaos - what do we do next?

Hello:

I am running on a Leap 16.0 system.

For my 16 software repositories, %zypper lr shows:

#  | Alias                       | Name                      | Enabled | GPG Check | Refresh
---+-----------------------------+---------------------------+---------+-----------+--------
 1 | KDE_Extra                   | KDE_Extra                 | Yes     | (r ) Yes  | Yes
 2 | brave_browser               | Brave Browser             | Yes     | (r ) Yes  | Yes
 3 | code                        | Visual Studio Code        | Yes     | (r ) Yes  | Yes
 4 | google-chrome               | google-chrome             | Yes     | (r ) Yes  | Yes
 5 | home_maxiotis               | home_maxiotis             | Yes     | (r ) Yes  | Yes
 6 | lynis                       | CISOfy Lynis repository   | Yes     | (r ) Yes  | Yes
 7 | openSUSE:repo-non-oss       | repo-non-oss (16.0)       | No      | ----      | ----
 8 | openSUSE:repo-non-oss-debug | repo-non-oss-debug (16.0) | No      | ----      | ----
 9 | openSUSE:repo-openh264      | repo-openh264 (16.0)      | Yes     | (r ) Yes  | Yes
10 | openSUSE:repo-oss           | repo-oss (16.0)           | Yes     | (r ) Yes  | Yes
11 | openSUSE:repo-oss-debug     | repo-oss-debug (16.0)     | No      | ----      | ----
12 | openSUSE:repo-oss-source    | repo-oss-source (16.0)    | No      | ----      | ----
13 | opera                       | opera                     | Yes     | (r ) Yes  | Yes
14 | packman                     | packman                   | Yes     | (r ) Yes  | Yes
15 | science-rocm                | science-rocm              | Yes     | (r ) Yes  | No
16 | server_database             | Databases (16.0)          | Yes     | (r ) Yes  | Yes

When I run:

   %sudo zypper update

The response comes back:

  The following 7 package updates will NOT be installed:

  libavcodec61 libavfilter10 libavformat61 libavutil59 libpostproc58 libswresample5 libswscale8

I attempt to remove these 7 packages and then use zypper to reinstall so as to remove this list

For the first package: libavcodec61

I get the following response upon trying to remove libavcodec61:

owner@localhost:~> zypper rm libavcodec61

Reading installed packages...
Resolving package dependencies...

The following 237 packages are going to be REMOVED:
  DVDStyler DVDStyler-lang akonadi-calendar-tools akonadi-calendar-tools-lang akonadi-import-wizard akonadi-import-wizard-lang akonadi-plugin-calendar
  akonadi-plugin-contacts akonadi-search akonadi-search-lang akregator akregator-lang ark ark-lang baloo-widgets chromium chromium-plugin-widevinecdm clipgrab
  discover6 discover6-backend-flatpak discover6-backend-fwupd discover6-backend-packagekit discover6-notifier dolphin dolphin-part dolphin-part-lang
  dolphin-zsh-completion drkonqi6 ffmpegthumbs ffmpegthumbs-kf5 filelight filelight-lang frameworkintegration-plugin gegl gegl-0_4 gegl-0_4-lang gegl-devel gimp
  gimp-devel gimp-lang gimp-plugin-aa gimp-plugin-python3 gstreamer-plugins-libav gwenview inkscape-extensions-gimp k3b k3b-devel k3b-lang kaccounts-providers
  kaccounts-providers-lang kalendarac kate kate-lang kate-plugins kbibtex kbibtex-lang kdeconnect-kde kdeconnect-kde-lang kdeconnect-kde-zsh-completion
  kdepim-addons kdepim-addons-lang kdepim-runtime kdeplasma6-addons kdialog kdialog-lang kf6-baloo-file kf6-baloo-imports kf6-baloo-kioslaves
  kf6-frameworkintegration-plugin kf6-kfilemetadata kf6-ktexteditor kf6-prison-imports kf6-purpose khelpcenter kinfocenter6 kio-extras kio-extras5 kio-extras5-lang
  kirigami-addons6 kmines kmines-lang kmousetool kmousetool-lang kompare kompare-lang konsole konsole-part konsole-part-lang konsole-zsh-completion kontact
  kontact-lang konversation konversation-lang kpipewire6-imports krusader krusader-lang ktextaddons ktnef kwave kwave-lang kwin6 kwin6-x11 libKF6Baloo6
  libKF6Baloo6-lang libKF6FileMetaData3 libKF6Prison6 libKF6Purpose6 libKF6PurposeWidgets6 libKF6TextAddons1 libKF6TextEditor6 libKF6TextWidgets6
  libKPim6AddressbookImportExport6 libKPim6AkonadiCalendar6 libKPim6AkonadiContactCore6 libKPim6AkonadiContactWidgets6 libKPim6CalendarSupport6 libKPim6EventViews6
  libKPim6IdentityManagementWidgets6 libKPim6ImportWizard6 libKPim6IncidenceEditor6 libKPim6MailCommon6 libKPim6MailImporter6 libKPim6MailImporterAkonadi6
  libKPim6PimCommon6 libKPim6PimCommonAkonadi6 libKPim6TextEdit6 libKPipeWireRecord6 libKSaneWidgets6 libQt6HunspellInputMethod6 libQt6Multimedia6
  libQt6MultimediaQuick6 libQt6MultimediaWidgets6 libQt6Quick3DSpatialAudio6 libQt6SpatialAudio6 libQt6TextToSpeech6 libQt6VirtualKeyboard6 libQt6WebEngineCore6
  libQt6WebEngineQuick6 libQt6WebEngineWidgets6 libastro1 libavcodec61 libavfilter10 libavformat61 libgegl-0_4-0 libgimp-3_0-0 libgimpui-3_0-0 libheif-ffmpeg
  libkerfuffle25 libksieve6 libmarblewidget-qt6-28 libopencv_superres410 libopencv_videoio410 libopencv_videostab410 libqt5-qtwebengine libreoffice libreoffice-base
  libreoffice-calc libreoffice-calc-extensions libreoffice-draw libreoffice-filters-optional libreoffice-impress libreoffice-l10n-en libreoffice-mailmerge
  libreoffice-math libreoffice-pyuno libreoffice-qt5 libreoffice-qt6 libreoffice-sdk libreoffice-writer libreoffice-writer-extensions libwxsvg3 marble marble-data
  marble-doc marble-kde marble-lang mbox-importer mbox-importer-lang messagelib messagelib-lang okular okular-lang opencv opencv-devel opensuse-welcome
  opensuse-welcome-lang phonon-vlc-lang phonon-vlc-qt5 phonon-vlc-qt6 pim-data-exporter pim-data-exporter-lang plasma6-branding-openSUSE plasma6-browser-integration
  plasma6-desktop plasma6-desktop-emojier plasma6-integration-plugin plasma6-kimpanel-ibus plasma6-nm plasma6-nm-openconnect plasma6-nm-openvpn plasma6-nm-pptp
  plasma6-pa plasma6-print-manager plasma6-sddm-theme-openSUSE plasma6-session plasma6-session-x11 plasma6-systemmonitor plasma6-theme-openSUSE plasma6-workspace
  plasma6-workspace-libs powerdevil6 python313-opencv python313-qtwebengine-qt5 qt6-multimedia qt6-multimedia-imports qt6-texttospeech qt6-virtualkeyboard
  qt6-virtualkeyboard-imports qt6-webengine qt6-webengine-imports sddm-branding-openSUSE sddm-qt6-branding-openSUSE signon-plugin-oauth2 signon-ui skanlite
  skanlite-lang spectacle spectacle-lang typelib-1_0-Gegl-0_4 unoconv vlc vlc-devel wireshark-ui-qt wxsvg xdg-desktop-portal-kde6 xyscan xyscan-doc

237 packages to remove.

Package install size change:
              |         0 B    required by packages that will be installed
   -1.89 GiB  |  -   1.89 GiB  released by packages that will be removed

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): n

I obviously chose NO, don’t delete 237 packages including the desktop and windows manager, (sddm) which will totally cripple Leap 16.0 graphics mode.

So how can we safely move forward here if the gui components to Plasma 6 desktop get scrubbed? Do we come up in a CLI environment and try to do this?

We can use the list of scrubbed packages to create the list of packages to re-install and try to run this for all 7 packages listed above. Maybe that might work?

How can we avoid this potentially risky operation so as to remove the 7 files listed above and avoid reinstalling hundreds or low thousands of packages?

My goal is to clean up this “zypper up” command.

I could carefully store a predetermined list of pkgs that will be clobbered for each step, so we could do the reinstall. However this assumes that we won’t have interplay and side effects from each cycle and further compound the chaos. I am very concerned about this.

Any ideas on how to move forward safely?

  • Randall

That’s a fairly normal message. There’s nothing to be concerned about.

The message is just telling you that there are alternatives for these packages with higher version numbers, but they are in a different repo with a different vendor-id, so they won’t be installed (due to vendor-stickiness). That’s usually a good and correct decision by “zypper”. The message is merely informing you of this decision.

There’s already a bug report, and a fix coming.

1 Like

It might have helped to give a link to the bug report.

Yes, for me, “myrlyn” does show 7 available updates. But “zypper” says they are not really available, and there is nothing to do.

1 Like

Thanks.

Now that the bug report mentions it, yes the Discover Notifier did tell me that there were updates, but “zypper lu” did not find any to apply.

I rebooted for entirely unrelated reasons, and since that reboot I have not seen anything from Discover Notifier.

If you hit the “Package Update” or the “Dist Upgrade” button, those will probably show a sad face emoji, indicating that they cannot be cleanly applied. Trying to set their status to “Update” will show you a dependency conflict with details.

Myrlyn’s “Update” tab shows all packages that have a newer version available. At that point, it doesn’t know yet if they can all be updated without any dependency problem; that is what those two buttons “Package Update” or “Dist-Upgrade” do. That’s what the text next to the buttons explain to avoid confusion.

2 Likes