For a month or two, zypper
has been requesting that I downgrade a lot of packages. The amount increases with each new update.
PS /home/rokejulianlockhart> script -a -c "pwsh -c `"su -c 'zypper refresh && zypper dup --allow-vendor-change --no-allow-downgrade && zypper verify && flatpak update -y && flatpak -vvv remove --unused -y && snap refresh'`""
Script started, output log file is 'typescript'.
Password:
Repository 'KDE:Unstable:Applications' is up to date.
Repository 'KDE:Unstable:Extra' is up to date.
Repository 'KDE:Unstable:Frameworks' is up to date.
Repository 'KDE:Unstable:Qt' is up to date.
Repository 'Copr repo for caprine owned by dusansimic' is up to date.
Repository 'dmafanasyev' is up to date.
Repository 'Main Repository (NON-OSS)' is up to date.
Repository 'Main Repository (DEBUG)' is up to date.
Repository 'Main Repository (Sources)' is up to date.
Repository 'Main Repository (OSS)' is up to date.
Repository 'Main Update Repository' is up to date.
Repository 'google-chrome-unstable' is up to date.
Repository 'Packman Repository' is up to date.
Repository 'libdvdcss repository' is up to date.
Retrieving repository 'home:ecsos' metadata .........................................................................................................................................................................................................................................................................[done]
Building repository 'home:ecsos' cache ..............................................................................................................................................................................................................................................................................[done]
Repository 'openSUSE:Tumbleweed' is up to date.
Repository 'microsoft-edge-dev' is up to date.
Repository 'openSUSE-20230123-0' is up to date.
Repository 'packages-microsoft-com-prod' is up to date.
Repository 'Packman' is up to date.
Repository 'repo-openh264' is up to date.
Repository 'snappy' is up to date.
Repository 'TeamViewer - x86_64' is up to date.
Retrieving repository 'vscode' metadata .............................................................................................................................................................................................................................................................................[done]
Building repository 'vscode' cache ..................................................................................................................................................................................................................................................................................[done]
All repositories have been refreshed.
Loading repository data...
Reading installed packages...
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.
Computing distribution upgrade...
49 Problems:
Problem: problem with the installed libKasten4-0.26.60git396~eb176bb-ku.134.1.x86_64
Problem: problem with the installed libOkteta3-0.26.60git396~eb176bb-ku.134.1.x86_64
Problem: problem with the installed libkasten-lang-0.26.60git396~eb176bb-ku.134.1.noarch
Problem: problem with the installed libokteta-lang-0.26.60git396~eb176bb-ku.134.1.noarch
Problem: problem with the installed okteta-data-0.26.60git396~eb176bb-ku.134.1.noarch
Problem: problem with the installed smb4k-3.1.40git258~9d9d284-ku.7.24.x86_64
Problem: problem with the installed smb4k-doc-3.1.40git258~9d9d284-ku.7.24.x86_64
Problem: problem with the installed libphonon4qt5-4.11.60git86~1f7eb4d-ku.128.2.x86_64
Problem: problem with the installed phonon4qt5-lang-4.11.60git86~1f7eb4d-ku.128.2.noarch
Problem: problem with the installed phononsettings-4.11.60git86~1f7eb4d-ku.128.2.x86_64
Problem: problem with the installed phononsettings-lang-4.11.60git86~1f7eb4d-ku.128.2.noarch
Problem: problem with the installed kalendar-debuginfo-23.07.70git.20230706T023231~5811879-ku.89.1.x86_64
Problem: problem with the installed kalendar-debugsource-23.07.70git.20230706T023231~5811879-ku.89.1.x86_64
Problem: problem with the installed akonadi-server-sqlite-23.07.70git.20230704T023946~0876737-ku.49.1.x86_64
Problem: problem with the installed ghc-array-0.5.4.0-4.1.x86_64
Problem: problem with the installed ghc-binary-0.8.9.1-4.1.x86_64
Problem: problem with the installed ghc-containers-0.6.7-4.1.x86_64
Problem: problem with the installed ghc-deepseq-1.4.8.0-4.1.x86_64
Problem: problem with the installed ghc-directory-1.3.7.1-4.1.x86_64
Problem: problem with the installed ghc-exceptions-0.10.5-4.1.x86_64
Problem: problem with the installed ghc-filepath-1.4.2.2-4.1.x86_64
Problem: problem with the installed ghc-mtl-2.2.2-4.1.x86_64
Problem: problem with the installed ghc-parsec-3.1.16.1-4.1.x86_64
Problem: problem with the installed ghc-pretty-1.1.3.6-4.1.x86_64
Problem: problem with the installed ghc-stm-2.5.1.0-4.1.x86_64
Problem: problem with the installed ghc-template-haskell-2.19.0.0-4.1.x86_64
Problem: problem with the installed ghc-text-2.0.2-4.1.x86_64
Problem: problem with the installed ghc-time-1.12.2-4.1.x86_64
Problem: problem with the installed ghc-transformers-0.5.6.2-4.1.x86_64
Problem: problem with the installed ghc-unix-2.7.3-4.1.x86_64
Problem: problem with the installed libdigikamcore8_1_0-8.1.40git6~e9b48e7dd-ku.76.1.x86_64
Problem: problem with the installed libopencore-amrnb0-0.1.6-1699.1.pm.9.x86_64
Problem: problem with the installed libopencore-amrwb0-0.1.6-1699.1.pm.9.x86_64
Problem: problem with the installed libplacebo264-5.264.1-1.3.x86_64
Problem: problem with the installed libre2-10-20230301-53.3.x86_64
Problem: problem with the installed python310-SecretStorage-3.3.3-53.3.noarch
Problem: problem with the installed python310-gssapi-1.8.2-31.12.x86_64
Problem: problem with the installed python310-idna-3.4-34.2.noarch
Problem: problem with the installed python310-pyasn1-0.5.0-3.6.noarch
Problem: problem with the installed python310-pyasn1-modules-0.3.0-3.4.noarch
Problem: problem with the installed python311-SecretStorage-3.3.3-53.3.noarch
Problem: problem with the installed python311-grpcio-status-1.56.0-7.1.x86_64
Problem: problem with the installed python311-gssapi-1.8.2-31.12.x86_64
Problem: problem with the installed python311-idna-3.4-34.2.noarch
Problem: problem with the installed python311-pyasn1-0.5.0-3.6.noarch
Problem: problem with the installed python311-pyasn1-modules-0.3.0-3.4.noarch
Problem: problem with the installed qemu-ipxe-1.0.0+-2.1.noarch
Problem: problem with the installed qemu-seabios-1.16.2_3_gd478f380-2.1.noarch
Problem: problem with the installed qemu-vgabios-1.16.2_3_gd478f380-2.1.noarch
Problem: problem with the installed libKasten4-0.26.60git396~eb176bb-ku.134.1.x86_64
Solution 1: downgrade of libKasten4-0.26.60git396~eb176bb-ku.134.1.x86_64 to libKasten4-0.26.60git377~e9f5faa-ku.143.1.x86_64
Solution 2: keep obsolete libKasten4-0.26.60git396~eb176bb-ku.134.1.x86_64
Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c/d/?] (c): ^CScript done.
I’ve begun to suspect that it’s not actually asking to downgrade, just switch repositories (although the current package versions do appear higher than its desired replacements’).
Unfortunately, because zypper
(at least to my knowledge) doesn’t explain its rationale for its decisions, I’d like to ask for advice. My repository list is below
Enabled
PS /home/rokejulianlockhart> zypper lr -E # https://serverfault.com/a/964566/524922
Repository priorities in effect: (See 'zypper lr -P' for details)
75 (raised priority) : 4 repositories
90 (raised priority) : 1 repository
99 (default priority) : 19 repositories
# | Alias | Name | Enabled | GPG Check | Refresh
---+---------------------------------------------------+-------------------------------------------+---------+-----------+--------
1 | KDE:Unstable:Applications | KDE:Unstable:Applications | Yes | (r ) Yes | Yes
2 | KDE:Unstable:Extra | KDE:Unstable:Extra | Yes | (r ) Yes | Yes
3 | KDE:Unstable:Frameworks | KDE:Unstable:Frameworks | Yes | (r ) Yes | Yes
4 | KDE:Unstable:Qt | KDE:Unstable:Qt | Yes | (r ) Yes | Yes
5 | copr:copr.fedorainfracloud.org:dusansimic:caprine | Copr repo for caprine owned by dusansimic | Yes | ( p) Yes | No
6 | dmafanasyev | dmafanasyev | Yes | (r ) Yes | Yes
7 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes
8 | download.opensuse.org-oss | Main Repository (DEBUG) | Yes | (r ) Yes | Yes
9 | download.opensuse.org-oss_1 | Main Repository (Sources) | Yes | (r ) Yes | Yes
10 | download.opensuse.org-oss_2 | Main Repository (OSS) | Yes | (r ) Yes | Yes
11 | download.opensuse.org-tumbleweed | Main Update Repository | Yes | (r ) Yes | Yes
12 | google-chrome-unstable | google-chrome-unstable | Yes | (r ) Yes | Yes
13 | http-ftp.gwdg.de-8f6332fc | Packman Repository | Yes | (r ) Yes | Yes
14 | http-opensuse-guide.org-6989dbd1 | libdvdcss repository | Yes | (r ) Yes | Yes
15 | https-download.opensuse.org-5d3011fc | home:ecsos | Yes | (r ) Yes | Yes
16 | https-download.opensuse.org-901dda24 | openSUSE:Tumbleweed | Yes | (r ) Yes | Yes
17 | microsoft-edge-dev | microsoft-edge-dev | Yes | (r ) Yes | Yes
18 | openSUSE-20230123-0 | openSUSE-20230123-0 | Yes | (r ) Yes | Yes
19 | packages-microsoft-com-prod | packages-microsoft-com-prod | Yes | (r ) Yes | No
20 | packman | Packman | Yes | (r ) Yes | Yes
21 | repo-openh264 | repo-openh264 | Yes | (r ) Yes | No
22 | snappy | snappy | Yes | (r ) Yes | Yes
23 | teamviewer | TeamViewer - x86_64 | Yes | (r ) Yes | No
24 | vscode | vscode | Yes | (r ) Yes | No
Added
PS /home/rokejulianlockhart> zypper lr # https://serverfault.com/a/964566/524922
Repository priorities in effect: (See 'zypper lr -P' for details)
75 (raised priority) : 4 repositories
90 (raised priority) : 1 repository
99 (default priority) : 19 repositories
# | Alias | Name | Enabled | GPG Check | Refresh
---+---------------------------------------------------+-------------------------------------------+---------+-----------+--------
1 | KDE:Unstable:Applications | KDE:Unstable:Applications | Yes | (r ) Yes | Yes
2 | KDE:Unstable:Extra | KDE:Unstable:Extra | Yes | (r ) Yes | Yes
3 | KDE:Unstable:Frameworks | KDE:Unstable:Frameworks | Yes | (r ) Yes | Yes
4 | KDE:Unstable:Qt | KDE:Unstable:Qt | Yes | (r ) Yes | Yes
5 | copr:copr.fedorainfracloud.org:dusansimic:caprine | Copr repo for caprine owned by dusansimic | Yes | ( p) Yes | No
6 | dmafanasyev | dmafanasyev | Yes | (r ) Yes | Yes
7 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes
8 | download.opensuse.org-oss | Main Repository (DEBUG) | Yes | (r ) Yes | Yes
9 | download.opensuse.org-oss_1 | Main Repository (Sources) | Yes | (r ) Yes | Yes
10 | download.opensuse.org-oss_2 | Main Repository (OSS) | Yes | (r ) Yes | Yes
11 | download.opensuse.org-tumbleweed | Main Update Repository | Yes | (r ) Yes | Yes
12 | google-chrome-unstable | google-chrome-unstable | Yes | (r ) Yes | Yes
13 | http-ftp.gwdg.de-8f6332fc | Packman Repository | Yes | (r ) Yes | Yes
14 | http-opensuse-guide.org-6989dbd1 | libdvdcss repository | Yes | (r ) Yes | Yes
15 | https-download.opensuse.org-5d3011fc | home:ecsos | Yes | (r ) Yes | Yes
16 | https-download.opensuse.org-901dda24 | openSUSE:Tumbleweed | Yes | (r ) Yes | Yes
17 | microsoft-edge-dev | microsoft-edge-dev | Yes | (r ) Yes | Yes
18 | openSUSE-20230123-0 | openSUSE-20230123-0 | Yes | (r ) Yes | Yes
19 | packages-microsoft-com-prod | packages-microsoft-com-prod | Yes | (r ) Yes | No
20 | packman | Packman | Yes | (r ) Yes | Yes
21 | repo-openh264 | repo-openh264 | Yes | (r ) Yes | No
22 | snappy | snappy | Yes | (r ) Yes | Yes
23 | teamviewer | TeamViewer - x86_64 | Yes | (r ) Yes | No
24 | vscode | vscode | Yes | (r ) Yes | No
PS /home/rokejulianlockhart>
(24 repositories in total in each instance) and the current command I use to update is
#!/usr/bin/env -S pwsh
script -a -c "pwsh -c `"su -c 'zypper refresh && zypper dup --allow-vendor-change --no-allow-downgrade && zypper verify && flatpak update -y && flatpak -vvv remove --unused -y && snap refresh' && systemctl poweroff`""; systemctl poweroff
Yes, I’m aware of the potential instability caused by --allow-vendor-change
. This was definitely caused by it, but I want to be competent enough at using zypper
that it’s not an issue anymore, so I’d rather you just provide your opinion on the question if you want to answer, although I’ll appreciate anything about this too if you want to mention it.
If I could, I’d probably just use a --keep-obsoletes
option until I can be bothered to research it, but luckily
has no responses, so I’ll have to do this the correct way.