why does zypper marks a package "obsolete" even with higher version number ...
at the bottom, why does zypper marks a package "obsolete" even with higher version number ... true: "epson-inkjet-printer-escpr-1.8.0-1.x86_64¨ is installed manually (downloaded package) how does zypper deal with package version numbers?? verwijs-leap:~ # zypper dup Repository 'Insync Fedora 27' is up to date. Retrieving repository '.NET/Mono based Software (openSUSE_Tumbleweed)' metadata ...................................[done] Building repository '.NET/Mono based Software (openSUSE_Tumbleweed)' cache ........................................[done] Repository 'MySQL 8.0 Community Server' is up to date. Repository 'MySQL 8.0 Community Server Debug' is up to date. Repository 'MySQL Connectors Community' is up to date. Repository 'MySQL Connectors Community Debug' is up to date. Repository 'MySQL Tools Community' is up to date. Repository 'MySQL Tools Community Debug' is up to date. Repository 'MySQL Tools Community preview' is up to date. Retrieving repository 'The Mono Project (openSUSE_Factory)' metadata ..............................................[done] Building repository 'The Mono Project (openSUSE_Factory)' cache ...................................................[done] Repository 'nVidia Graphics Drivers Tumbleweed' is up to date. Repository 'MariaDB 11.2 (sles 12)' is up to date. Repository 'MariaDB 11.2 (sles 15)' is up to date. Repository 'openSUSE-Leap-15.6-1' is up to date. Repository 'repo-non-oss (15.6)' is up to date. Repository 'repo-openh264 (15.6)' is up to date. Repository 'repo-oss (15.6)' is up to date. Repository 'update-backports (15.6)' is up to date. Repository 'update-backports-debug (15.6)' is up to date. Repository 'update-non-oss (15.6)' is up to date. Repository 'update-oss (15.6)' is up to date. Repository 'update-sle (15.6)' is up to date. Repository 'update-sle-debug (15.6)' is up to date. Repository 'packages-microsoft-com-prod' is up to date. Repository 'Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports' is up to date. Repository 'Update repository of openSUSE Backports' is up to date. Repository 'Update repository with debuginfo for updates from SUSE Linux Enterprise 15' is up to date. Repository 'Update repository with updates from SUSE Linux Enterprise 15' is up to date. All repositories have been refreshed. Refreshing service 'openSUSE'. Loading repository data... Warning: Repository 'update-backports (15.6)' metadata expired since 2023-09-29 11:08:32 CEST. Warning: Repository 'update-backports-debug (15.6)' metadata expired since 2023-09-29 11:08:33 CEST. Warning: Repository 'update-non-oss (15.6)' metadata expired since 2023-09-21 14:47:58 CEST. Warning: Repository 'Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports' metadata expired since 2023-09-29 11:08:33 CEST. Warning: Repository 'Update repository of openSUSE Backports' metadata expired since 2023-09-29 11:08:32 CEST. Warning:Repository metadata expired: Check if 'autorefresh' is turned on (zypper lr), otherwise manualy refresh the repository (zypper ref). If this does not solve the issue, it could be that you are using a broken mirror or the server has actually discontinued to support the repository. 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... Problem: problem with the installed epson-inkjet-printer-escpr-1.8.0-1.x86_64 Solution 1: install epson-inkjet-printer-escpr-1.7.22-bp156.2.2.x86_64 from vendor openSUSE replacing epson-inkjet-printer-escpr-1.8.0-1.x86_64 from vendor Seiko Epson Corporation Solution 2: keep obsolete epson-inkjet-printer-escpr-1.8.0-1.x86_64 Choose from above solutions by number or cancel [1/2/c/d/?] (c):
On Tue, Oct 03, 2023 at 09:33:58AM +0200, André Verwijs wrote:
at the bottom, why does zypper marks a package "obsolete" even with higher version number ... true: "epson-inkjet-printer-escpr-1.8.0-1.x86_64¨ is installed manually (downloaded package) how does zypper deal with package version numbers??
If it's not available in a repository it's obsolete with the 'distribution upgrade' logic. dup is supposed to align with the distribution, not necessarily to bring the latest numerical version. Also note: package versions are not always monotonic, and this is a mechanism that deals with version jumps in Tumbleweed. Thanks Michal
On Tue, Oct 3, 2023 at 3:34 AM André Verwijs <dutchgigalo@gmail.com> wrote:
at the bottom, why does zypper marks a package "obsolete" even with higher version number ... true: "epson-inkjet-printer-escpr-1.8.0-1.x86_64¨ is installed manually (downloaded package) how does zypper deal with package version numbers??
verwijs-leap:~ # zypper dup
Repository 'Insync Fedora 27' is up to date. Retrieving repository '.NET/Mono based Software (openSUSE_Tumbleweed)' metadata ...................................[done] Building repository '.NET/Mono based Software (openSUSE_Tumbleweed)' cache ........................................[done] Repository 'MySQL 8.0 Community Server' is up to date. Repository 'MySQL 8.0 Community Server Debug' is up to date. Repository 'MySQL Connectors Community' is up to date. Repository 'MySQL Connectors Community Debug' is up to date. Repository 'MySQL Tools Community' is up to date. Repository 'MySQL Tools Community Debug' is up to date. Repository 'MySQL Tools Community preview' is up to date. Retrieving repository 'The Mono Project (openSUSE_Factory)' metadata ..............................................[done] Building repository 'The Mono Project (openSUSE_Factory)' cache ...................................................[done] Repository 'nVidia Graphics Drivers Tumbleweed' is up to date. Repository 'MariaDB 11.2 (sles 12)' is up to date. Repository 'MariaDB 11.2 (sles 15)' is up to date. Repository 'openSUSE-Leap-15.6-1' is up to date. Repository 'repo-non-oss (15.6)' is up to date. Repository 'repo-openh264 (15.6)' is up to date. Repository 'repo-oss (15.6)' is up to date. Repository 'update-backports (15.6)' is up to date. Repository 'update-backports-debug (15.6)' is up to date. Repository 'update-non-oss (15.6)' is up to date. Repository 'update-oss (15.6)' is up to date. Repository 'update-sle (15.6)' is up to date. Repository 'update-sle-debug (15.6)' is up to date. Repository 'packages-microsoft-com-prod' is up to date. Repository 'Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports' is up to date. Repository 'Update repository of openSUSE Backports' is up to date. Repository 'Update repository with debuginfo for updates from SUSE Linux Enterprise 15' is up to date. Repository 'Update repository with updates from SUSE Linux Enterprise 15' is up to date. All repositories have been refreshed. Refreshing service 'openSUSE'. Loading repository data... Warning: Repository 'update-backports (15.6)' metadata expired since 2023-09-29 11:08:32 CEST. Warning: Repository 'update-backports-debug (15.6)' metadata expired since 2023-09-29 11:08:33 CEST. Warning: Repository 'update-non-oss (15.6)' metadata expired since 2023-09-21 14:47:58 CEST. Warning: Repository 'Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports' metadata expired since 2023-09-29 11:08:33 CEST. Warning: Repository 'Update repository of openSUSE Backports' metadata expired since 2023-09-29 11:08:32 CEST.
Warning: Repository metadata expired: Check if 'autorefresh' is turned on (zypper lr), otherwise manualy refresh the repository (zypper ref). If this does not solve the issue, it could be that you are using a broken mirror or the server has actually discontinued to support the repository.
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...
Problem: problem with the installed epson-inkjet-printer-escpr-1.8.0-1.x86_64 Solution 1: install epson-inkjet-printer-escpr-1.7.22-bp156.2.2.x86_64 from vendor openSUSE replacing epson-inkjet-printer-escpr-1.8.0-1.x86_64 from vendor Seiko Epson Corporation Solution 2: keep obsolete epson-inkjet-printer-escpr-1.8.0-1.x86_64
Choose from above solutions by number or cancel [1/2/c/d/?] (c):
Obsolete, in this case, refers to a package that does not exist in any of your repositories. Zypper makes the assumption it existed in a repo at one point and was removed, thus considering it obsolete. (It should probably use another word for this, but ehh...) -- 真実はいつも一つ!/ Always, there's only one truth!
participants (4)
-
Andre Verwijs
-
André Verwijs
-
Michal Suchánek
-
Neal Gompa