{{tag>howto zypper cheatsheet suse}} ====== Zypper Cheat-Sheet ====== * https://en.opensuse.org/images/1/17/Zypper-cheat-sheet-1.pdf * https://en.opensuse.org/images/3/30/Zypper-cheat-sheet-2.pdf Local copy: * {{ :pages:files:zypper-cheat-sheet-1.pdf |}} * {{ :pages:files:zypper-cheat-sheet-2.pdf |}} ===== List available package versions ===== * https://superuser.com/questions/791907/zypper-how-to-list-different-available-versions-of-a-package zypper search -s chromium S | Name | Type | Version | Arch | Repository ---+---------------------------------+------------+----------------------------+--------+---------------------- | chromium | package | 113.0.5672.126-1.2 | x86_64 | Main Repository (OSS) | chromium-bsu | package | 0.9.16.1-1.21 | x86_64 | Main Repository (OSS) | chromium-ffmpeg-extra | package | 103.0.5060.114-1699.2.pm.3 | x86_64 | Packman | chromium-ffmpeg-extra | srcpackage | 103.0.5060.114-1699.2.pm.3 | noarch | Packman | chromium-ffmpeg-extra | srcpackage | 96.0.4664.110-1.3 | noarch | Packman | chromium-ffmpeg-extra-debuginfo | package | 103.0.5060.114-1699.2.pm.3 | x86_64 | Packman | chromium-plugin-widevinecdm | package | 4.10.2557.0-1.5 | x86_64 | Packman | chromium-plugin-widevinecdm | srcpackage | 4.10.2557.0-1.5 | noarch | Packman | chromium-uget-integrator | package | 1.0.0-2.13 | x86_64 | Main Repository (OSS) i+ | ungoogled-chromium | package | 113.0.5672.126-1.1 | x86_64 | (System Packages) v | ungoogled-chromium | package | 113.0.5672.126-1.2 | x86_64 | Main Repository (OSS) | ungoogled-chromium-chromedriver | package | 113.0.5672.126-1.2 | x86_64 | Main Repository (OSS) ===== reinstall all packages ===== * https://unix.stackexchange.com/questions/299548/how-to-reinstall-all-installed-packages-with-zypper zypper in --no-recommends --download-in-advance -f $(rpm -qa --qf '%{NAME} ') ===== find out which Packages got installed via a specific repository ===== * https://superuser.com/questions/65560/zypper-how-do-i-display-all-packages-from-a-certain-repository zypper ref Retrieving repository 'Applications for education users (openSUSE_Tumbleweed)' metadata ...................................................................................................................[error] Repository 'Applications for education users (openSUSE_Tumbleweed)' is invalid. [Education|https://download.opensuse.org/repositories/Education/openSUSE_Tumbleweed/] Valid metadata not found at specified URL History: - Download (curl) error for 'https://download.opensuse.org/repositories/Education/openSUSE_Tumbleweed/repodata/fb10493ed91b8b6584fffeb6fc845532a38bc819c12d813c31dcf502bb3a339739f871541bd60d5818598dc746fee4a32b6be2be6b09ebac092145ceb0de008b-filelists-ext.xml.gz': Error code: Curl error 47 Error message: Maximum (6) redirects followed - Can't provide ./repodata/fb10493ed91b8b6584fffeb6fc845532a38bc819c12d813c31dcf502bb3a339739f871541bd60d5818598dc746fee4a32b6be2be6b09ebac092145ceb0de008b-filelists-ext.xml.gz Please check if the URIs defined for this repository are pointing to a valid repository. Skipping repository 'Applications for education users (openSUSE_Tumbleweed)' because of the above error. Repository 'Emulators (openSUSE_Tumbleweed)' is up to date. Repository 'Google-Chrome' is up to date. Repository 'VLC' is up to date. Repository 'devel repository for Factory updates (openSUSE_Tumbleweed)' is up to date. Repository 'AnyDesk OpenSUSE - stable' is up to date. Repository 'Main Repository (NON-OSS)' is up to date. Repository 'Main Repository (OSS)' is up to date. Repository 'Main Update Repository' is up to date. Repository 'gitlab.com_paulcarroty_vscodium_repo' is up to date. Repository 'google-chrome' is up to date. Repository 'Graphics Project (openSUSE_Tumbleweed)' is up to date. Retrieving repository 'Hardware tools (openSUSE_Tumbleweed)' metadata .....................................................................................................................................[error] Repository 'Hardware tools (openSUSE_Tumbleweed)' is invalid. [hardware|https://download.opensuse.org/repositories/hardware/openSUSE_Tumbleweed/] Valid metadata not found at specified URL History: - Download (curl) error for 'https://download.opensuse.org/repositories/hardware/openSUSE_Tumbleweed/repodata/8bbc62d6faf4f38b3bf776a62fb7b10e3ac2d3106c941db5998ad01826b5c419bb88b333014d6c852c5aa0c176ac317aee8c2b56cc6806ca8c07b0dcbac56e03-filelists-ext.xml.gz': Error code: Curl error 47 Error message: Maximum (6) redirects followed - Can't provide ./repodata/8bbc62d6faf4f38b3bf776a62fb7b10e3ac2d3106c941db5998ad01826b5c419bb88b333014d6c852c5aa0c176ac317aee8c2b56cc6806ca8c07b0dcbac56e03-filelists-ext.xml.gz Please check if the URIs defined for this repository are pointing to a valid repository. Skipping repository 'Hardware tools (openSUSE_Tumbleweed)' because of the above error. Repository 'hardware:razer (openSUSE_Tumbleweed)' is up to date. Repository 'Packman' is up to date. Repository 'picoscope' is up to date. Repository 'Open H.264 Codec (openSUSE Tumbleweed)' is up to date. Repository 'snappy' is up to date. Repository 'TeamViewer - x86_64' is up to date. Repository 'all the small tools for the shell (openSUSE_Factory)' is up to date. Some of the repositories have not been refreshed because of an error. zypper lr Repository priorities in effect: (See 'zypper lr -P' for details) 90 (raised priority) : 1 repository 99 (default priority) : 19 repositories # | Alias | Name | Enabled | GPG Check | Refresh ---+--------------------------------------+------------------------------------------------------------+---------+-----------+-------- 1 | Education | Applications for education users (openSUSE_Tumbleweed) | Yes | (r ) Yes | No 2 | Emulators | Emulators (openSUSE_Tumbleweed) | Yes | (r ) Yes | No 3 | Google-Chrome | Google-Chrome | Yes | (r ) Yes | No 4 | VLC | VLC | Yes | (r ) Yes | Yes 5 | X11_common_Factory | devel repository for Factory updates (openSUSE_Tumbleweed) | Yes | (r ) Yes | No 6 | anydesk | AnyDesk OpenSUSE - stable | Yes | (r ) Yes | No 7 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes 8 | download.opensuse.org-oss | Main Repository (OSS) | Yes | (r ) Yes | Yes 9 | download.opensuse.org-tumbleweed | Main Update Repository | Yes | (r ) Yes | Yes 10 | gitlab.com_paulcarroty_vscodium_repo | gitlab.com_paulcarroty_vscodium_repo | Yes | (r ) Yes | No 11 | google-chrome | google-chrome | Yes | (r ) Yes | Yes 12 | graphics | Graphics Project (openSUSE_Tumbleweed) | Yes | (r ) Yes | No 13 | hardware | Hardware tools (openSUSE_Tumbleweed) | Yes | (r ) Yes | No 14 | hardware_razer | hardware:razer (openSUSE_Tumbleweed) | Yes | (r ) Yes | No 15 | openSUSE-20230209-0 | openSUSE-20230209-0 | No | ---- | ---- 16 | packman | Packman | Yes | (r ) Yes | Yes 17 | picoscope | picoscope | Yes | (r ) Yes | No 18 | repo-debug | openSUSE-Tumbleweed-Debug | No | ---- | ---- 19 | repo-openh264 | Open H.264 Codec (openSUSE Tumbleweed) | Yes | (r ) Yes | Yes 20 | repo-source | openSUSE-Tumbleweed-Source | No | ---- | ---- 21 | snappy | snappy | Yes | (r ) Yes | Yes 22 | teamviewer | TeamViewer - x86_64 | Yes | (r ) Yes | No 23 | utilities | all the small tools for the shell (openSUSE_Factory) | Yes | (r ) Yes | No # zypper pa -ir zypper pa -ir 1 Loading repository data... Reading installed packages... S | Repository | Name | Version | Arch ---+--------------------------------------------------------+-------------------------+------------------------+------- i+ | Applications for education users (openSUSE_Tumbleweed) | javapackages-filesystem | 6.1.0-145.1 | x86_64 v | Applications for education users (openSUSE_Tumbleweed) | javapackages-filesystem | 6.1.0-145.1 | i586 i+ | Applications for education users (openSUSE_Tumbleweed) | javapackages-tools | 6.1.0-145.1 | x86_64 v | Applications for education users (openSUSE_Tumbleweed) | javapackages-tools | 6.1.0-145.1 | i586 i+ | Applications for education users (openSUSE_Tumbleweed) | libblas3 | 3.9.0-62.7 | x86_64 v | Applications for education users (openSUSE_Tumbleweed) | libblas3 | 3.9.0-62.7 | i586 i+ | Applications for education users (openSUSE_Tumbleweed) | libblas3-32bit | 3.9.0-62.7 | x86_64 i+ | Applications for education users (openSUSE_Tumbleweed) | libbox2d2 | 2.4.1-16.69 | x86_64 v | Applications for education users (openSUSE_Tumbleweed) | libbox2d2 | 2.4.1-16.69 | i586 i+ | Applications for education users (openSUSE_Tumbleweed) | libcblas3 | 3.9.0-62.7 | x86_64 v | Applications for education users (openSUSE_Tumbleweed) | libcblas3 | 3.9.0-62.7 | i586 i+ | Applications for education users (openSUSE_Tumbleweed) | libcblas3-32bit | 3.9.0-62.7 | x86_64 i+ | Applications for education users (openSUSE_Tumbleweed) | libenca0 | 1.19-43.26 | x86_64 v | Applications for education users (openSUSE_Tumbleweed) | libenca0 | 1.19-43.26 | i586 i+ | Applications for education users (openSUSE_Tumbleweed) | libfftw3-3 | 3.3.10-5.38 | x86_64 v | Applications for education users (openSUSE_Tumbleweed) | libfftw3-3 | 3.3.10-5.38 | i586 i+ | Applications for education users (openSUSE_Tumbleweed) | libfftw3_threads3 | 3.3.10-5.38 | x86_64 v | Applications for education users (openSUSE_Tumbleweed) | libfftw3_threads3 | 3.3.10-5.38 | i586 i+ | Applications for education users (openSUSE_Tumbleweed) | libgnustep-base1_29 | 1.29.0-45.20 | x86_64 v | Applications for education users (openSUSE_Tumbleweed) | libgnustep-base1_29 | 1.29.0-45.20 | i586 i+ | Applications for education users (openSUSE_Tumbleweed) | libgtkglext-x11-1_0-0 | 1.2.0git20110529-20.12 | x86_64 v | Applications for education users (openSUSE_Tumbleweed) | libgtkglext-x11-1_0-0 | 1.2.0git20110529-20.12 | i586 i+ | Applications for education users (openSUSE_Tumbleweed) | liblapack3 | 3.9.0-62.7 | x86_64 v | Applications for education users (openSUSE_Tumbleweed) | liblapack3 | 3.9.0-62.7 | i586 i+ | Applications for education users (openSUSE_Tumbleweed) | liblapack3-32bit | 3.9.0-62.7 | x86_64 i+ | Applications for education users (openSUSE_Tumbleweed) | libtbb12 | 2021.9.0-98.1 | x86_64 v | Applications for education users (openSUSE_Tumbleweed) | libtbb12 | 2021.9.0-98.1 | i586 i+ | Applications for education users (openSUSE_Tumbleweed) | python310-numpy | 1.25.1-140.1 | x86_64 v | Applications for education users (openSUSE_Tumbleweed) | python310-numpy | 1.25.1-140.1 | i586 i+ | Applications for education users (openSUSE_Tumbleweed) | python311-numpy | 1.25.1-140.1 | x86_64 v | Applications for education users (openSUSE_Tumbleweed) | python311-numpy | 1.25.1-140.1 | i586 i+ | Applications for education users (openSUSE_Tumbleweed) | scratch | 1.4.0-4.17 | x86_64 v | Applications for education users (openSUSE_Tumbleweed) | scratch | 1.4.0-4.17 | i586 i+ | Applications for education users (openSUSE_Tumbleweed) | squeak-vm | 4.10.2-7.271 | x86_64 v | Applications for education users (openSUSE_Tumbleweed) | squeak-vm | 4.10.2-7.271 | i586 ===== Find Kernel Version for Multikernel Feature ===== zypper search -s kernel-default Repository 'Main Repository (NON-OSS)' ist veraltet. Sie können 'zypper refresh' als root ausführen, um es zu aktualisieren. Repository 'Main Repository (OSS)' ist veraltet. Sie können 'zypper refresh' als root ausführen, um es zu aktualisieren. Repository 'openSUSE-20211005-0' ist veraltet. Sie können 'zypper refresh' als root ausführen, um es zu aktualisieren. Repository 'Packman' ist veraltet. Sie können 'zypper refresh' als root ausführen, um es zu aktualisieren. Repository-Daten werden geladen... Installierte Pakete werden gelesen... S | Name | Type | Version | Arch | Repository ---+-----------------------------+-------+----------------+--------+---------------------- i+ | kernel-default | Paket | 6.4.3-1.1 | x86_64 | (Systempakete) i+ | kernel-default | Paket | 6.0.0-1.2 | x86_64 | (Systempakete) i+ | kernel-default | Paket | 5.19.12-1.1 | x86_64 | (Systempakete) i+ | kernel-default | Paket | 6.4.6-1.1 | x86_64 | Main Repository (OSS) i+ | kernel-default | Paket | 6.4.6-1.1 | x86_64 | openSUSE-20211005-0 | kernel-default-base | Paket | 6.4.6-1.1.28.5 | x86_64 | Main Repository (OSS) | kernel-default-base | Paket | 6.4.6-1.1.28.5 | x86_64 | openSUSE-20211005-0 | kernel-default-base-rebuild | Paket | 6.4.6-1.1.28.5 | x86_64 | Main Repository (OSS) | kernel-default-base-rebuild | Paket | 6.4.6-1.1.28.5 | x86_64 | openSUSE-20211005-0 | kernel-default-devel | Paket | 6.4.6-1.1 | x86_64 | Main Repository (OSS) | kernel-default-devel | Paket | 6.4.6-1.1 | x86_64 | openSUSE-20211005-0 | kernel-default-vdso | Paket | 6.4.6-1.1 | x86_64 | Main Repository (OSS) | kernel-default-vdso | Paket | 6.4.6-1.1 | x86_64 | openSUSE-20211005-0 ---- ~~DISCUSSION~~