Questions tagged [zypper]
Questions about zypper, the command-line interface of the ZYpp package manager.
117
questions
0
votes
0
answers
27
views
Install additional Python on OpenSUSE (without breaking existing Pythons)
Situation
Our company has an internal Server
OpenSUSE Leap 15.5
Python 3.6(.15)
Python 2.7(.18)
see details for more information
Task
As Python 3.6 is already EOL we want to install a newer Python (...
0
votes
1
answer
16
views
Inverse dependencies or, why a package was automatically installed?
On SUSE Tumbleweed, just updated (2023-08-20) and I have seen in the log a package that for sure I've never manually installed
...
(343/370) Installing: trainwreck-5.109.0-1.1.x86_64 .......... [done]
...
0
votes
0
answers
36
views
SUSE zypper update then patch?
I have a SUSE SL15 SP2 system that needs patching / updating. I am not sure of the differences between updating the OS and patching the OS.
The way I have read it, updating - updates any rpms ...
0
votes
1
answer
57
views
I uninstalled zypper in openSuse Tumbleweed by accident, how do I get it back?
I thought I'd do some cleaning up, so I ran:
zypper packages --orphaned | awk -F'|' 'NR==0 || NR==1 || NR==2 || NR==3 || NR==4 {next} {print $3}' \
| grep -v Name | sudo xargs zypper remove --...
0
votes
0
answers
69
views
Why does an upgrade from OpenSuSE Leap 15.4 to 15.5 lead to a downgrade of PostgreSQL, vim, and some other packages?
When upgrading my homelab from OpenSuSE Leap 15.4 (x86_64) to 15.5 by using zypper --releasever=15.4 dup --download-in-heaps, I am told to confirm a downgrade a bunch of packages, most (but not all) ...
0
votes
0
answers
63
views
Specify a latest patch date for zypper
My requirement with zypper would be to have all systems running the same patch levels, even if patched on various days and not simultaneously.
Let's assume I want to apply all patches up to the 1 of ...
0
votes
1
answer
316
views
zypper (and yast) no longer working after upgrade from openSUSE 15.3 to 15.4
I upgraded a laptop from openSUSE 15.3 to 15.4 today. During the process, there were many prompts related to requirements that could not be provided.
After running the upgrade process, fixing a number ...
1
vote
1
answer
142
views
Zypper | Quietly install Solution 1 for glib2-devel package
I want to install the package glib2-devel inside a sles15 SP4 docker container via some setup script.
The script is failing due to zypper install -y glib2-devel is not getting installed quietly. Here ...
0
votes
1
answer
757
views
How to do an in-place upgrade to the latest openSUSE Leap release
A major advantage of doing an in-place upgrade compared to doing
a clean install,
is that all accounts, configurations, and installed programs are kept
intact.
Using Windows Subsystem for Linux (WSL),
...
1
vote
1
answer
121
views
How to set zypper to detailed mode by default?
It is equal to type "d" here:
1 new package to install.
Overall download size: 1.0 MiB. Already cached: 0 B. After the operation, additional 6.7 MiB will be used.
Continue? [y/n/v/...? shows ...
0
votes
1
answer
35
views
Display package info of all available packages across all repos in OpenSuse
I am a beginner to zypper and I am trying to display the package info of all available packages in OpenSuse across all repos.
zypper info #Or
zypper info * # doesn't seem to work
needs a package as ...
0
votes
1
answer
39
views
Need help determining what causes Zypper --no-color option to be ignored
When I issue zypper --no-color update -y I can still see ANSI codes. Here is a sample of the log:
Retrieving package glibc-extra-2.31-150300.41.1.x86_64 ...
0
votes
1
answer
738
views
Llist installed packages with their repository name, version, and architecture using zypper
zypper se -i shows installed packages, but unlike zypper pa the repo, arch, and version information is missing. Is there a command option that shows these bits?
0
votes
1
answer
145
views
How to solve error "Retrieving package sensors failed to mount" to succeed installation of sensors package by zypper?
I have a server, i need to check server temperature ,so simply i decided to use sensors package, using zypper to install it. So
First I used
zypper install sensors command by root user, The result ...
2
votes
1
answer
420
views
Expect script does continue after putting a value
I wrote the following expect script:
#!/usr/bin/expect -f
set timeout 10
spawn zypper in --no-recommends pdns
expect {
-re {^.* Solution (\d): (?:break pdns)} {
set solution "$expect_out(1,...
0
votes
1
answer
2k
views
RPM for suse linux named libatomic1
my os info is; NAME="SLES" VERSION="15-SP3" VERSION_ID="15.3"
PRETTY_NAME="SUSE Linux Enterprise Server 15 SP3" ID="sles"
ID_LIKE="suse" ...
1
vote
2
answers
659
views
SUSE 12 zypper can't install unsigned package non interactively
I have a problem with SUSE 12 zypper.
I need to install an unsigned package with zypper in non-interactive mode from script. Unfortunately, zypper version is 1.13 and there is no option for flag --...
2
votes
2
answers
8k
views
Install apt-get on openSUSE
On my system, openSUSE (15.1) is installed, as is zypper packet manager, which I'm not used to. Specifically, I think it lacks a huge amount of software, that I would like to use. I did already manage ...
0
votes
0
answers
247
views
How to install the wash command in SUSE?
I'm trying to install the wash command in my Singularity definition file. The singularity definition file uses SUSE12 and I can use the zypper command to install stuff. I tried:
zypper search -s wash
...
1
vote
2
answers
943
views
Remove a RPM file without touching any of the files
I just installed a totally wrongly packaged RPM on my openSUSE distribution (the packager added / and /usr/* as a file of the package, so I can't uninstall it without wiping the entire root FS)
How ...
0
votes
1
answer
2k
views
How to install git on SLES 12?
This is similar to the question about http not supported, but I was not able to apply the solutions suggested there to my situation.
I've done
zypper addrepo https://download.opensuse.org/repositories/...
1
vote
1
answer
1k
views
Unable to run `zypper refresh` on SLES 12.5
I am trying to install docker on SLES 12.5. I tried to follow the instructions on this SO answer.
Initial Attempt
# zypper addrepo https://download.opensuse.org/repositories/Virtualization:containers/...
0
votes
2
answers
174
views
What is the use for this file pk_backend_zypp under /var/log and can I truncate it on OpenSuse Linux 13.2 (Harlequin)
I am running opensuse 13.2 and I have this file pk_backend_zypp under the /var/log directory which keeps growing.
What could be the use of this file and can I truncate (zerorize) it without causing ...
1
vote
1
answer
564
views
libzypp, YaST, Zypper, PackageKit and Gnome Software Center - What is that mess all about?
I would like the help of someone with more experience to understand the differences and how those 5 things are connected: libzypp, YaST, Zypper, PackageKit and Gnome Software Center.
Here is my take ...
1
vote
1
answer
830
views
Install Headless Chrome in Suse
I am trying to install a headless Chrome browser. My current OS is SUSE Linux Enterprise Server 12 (x86_64).
I am following this guide: https://www.simplified.guide/google-chrome/install-on-suse
But ...
1
vote
1
answer
651
views
how to prevent zypper from install libreoffice on opensuse tumbleweed upgrade
I wanted to update the system with zypper dup command but Each time the command is executed, the zypper tries to install libreoffice* and some other apps, although I have already deleted that ...
3
votes
1
answer
9k
views
How do I disable zypper's certificate check?
I'm using SLES 2015 behind a firewall. All of my outgoing communications go over a proxy; specifically, zypper tries to use the proxy when I write, say,
zypper search-packages foo
but the proxy ...
3
votes
3
answers
9k
views
How to remove unneeded rpm packages in openSUSE?
Is there any alternatives for yum autoremove in rpm or zypper? (openSUSE doesnt have yum)
I need it because zypper installs recommended packages by default and often doesnt clean them automatically
0
votes
2
answers
4k
views
openSUSE - Repository 'XY' is invalid - change repository to load from internet instead from medium
I try to install some PHP modules:
zypper install php7.0-gd php7.0-mcrypt php7.0-curl php7.0-intl php7.0-xsl php7.0-mbstring php7.0-openssl php7.0-zip php7.0-soap
Output:
Failed to mount cd:///?...
0
votes
1
answer
558
views
Zypper packages status flag explanation
As I am working on automating the patch process on a Suse machines. I would like to get a clearer image on the packages status lifecycle.
First of all, I am trying to list the available patches and ...
1
vote
2
answers
1k
views
What is meant by "Lock packages" and when exactly it is used
I moved to openSUSE recently. In their cheat sheet, there is a section called "Lock packages". Can someone explain for me what they are and when they're used?
for example: lock all packages ...
7
votes
1
answer
6k
views
zypper search output what does i+ mean?
I'm struggling to understand what does the '+' symbol mean in the zypper output search.
I have some packages that in the S field have I, others I+.
What is this + ?
For some reason my system hasn't ...
0
votes
1
answer
1k
views
Error "libpthread.so.0()(64bit) is needed by code-1.33.1-xyz": Couldn't install VS Code in OpenSuse Tumbleweed
I have OpenSuse Tumbledweed Desktop Environment. OS details are below -
rajkumar@localhost:~> cat /etc/os-release
NAME="openSUSE Tumbleweed"
# VERSION="20190426"
ID="opensuse-tumbleweed"
...
0
votes
1
answer
1k
views
Zypper completely not working
I've experienced a sudden error when trying to run zypper by any form:
zypper: symbol lookup error: /usr/lib64/libzypp.so.908: undefined symbol: gzdopen
Not very sure how to fix that, since the ...
2
votes
1
answer
250
views
What are the relationships between package commands?
RPM based package managers support subcommands such as requires, recommends, conflicts, obsoletes, suggests and supplements.
In reading the rpm man pages and dependencies documentation, it isn't ...
3
votes
1
answer
642
views
Piping output of zypper ps -sss into systemctl restart
I do not want to restart the server after a zypper up. Instead I want to restart all services using deleted files as shown by zypper ps -sss.
I thought I could do something like zypper ps -sss | tr '\...
1
vote
1
answer
2k
views
How do I install 32 bit package in a 64 bit SUSE machine using zypper?
If I have to install a package( 64-bit ) I use -
zypper install -y MozillaFirefox which is same as zypper install -y MozillaFirefox.x86_64 for a 64 bit machine.
If I use zypper install -y ...
1
vote
1
answer
111
views
Is there a way to get package checksum using `zypper`?
How to get the checksum of the package when using zypper. I tried even the --xmlout option of zypper as
zypper --xmlout --no-refresh install -D -y --no-recommends MozillaFirefox.
Is there a way to ...
0
votes
1
answer
334
views
Unable to upgrade openSUSE Leap 42.2 to 42.3
I'm trying to upgrade from openSUSE Leap 42.2 to 42.3 using:
:~> cd /etc/zypp/repos.d
:~> sed -i 's/42.2/42.3/' *
:~> zypper refresh
:~> zypper dup
:~> reboot
After rebooting I get messages such ...
0
votes
1
answer
234
views
Are there any tools to monitor network requests at very low-level?
I would like to monitor the web/ftp requests made by Zypper when we install a package. But none of the suggested network monitoring tools seem to identify the requests made by Zypper.
So far, I've ...
0
votes
1
answer
1k
views
How does Zypper find the required packages in the repository?
When we use zypper install <package_name>, zypper installs the package along with its dependencies.
What exactly is happening in the background?
Are there any ways to obtain the URL of a ...
0
votes
1
answer
727
views
Zypper: Check last "zypper up" command time
There is a script that checks whether packages up-to-date or not via a zypper up.
In this situation, team "A" creates the servers: they do zypper up, ok.
Another team validates the servers: they ...
18
votes
2
answers
16k
views
Why do I get "Warning: Repository 'oss_update' appears to be outdated. Consider using a different mirror or server."?
On WSL, I executed sudo zypper update, but I got this error message.
Loading repository data...
Warning: Repository 'oss_update' appears to be outdated. Consider using a different mirror or ...
2
votes
1
answer
2k
views
zypper exit code 106 - how to fix? [closed]
On a SLES11.4 server wanted to install a package:
SLES11SERVER:~ # zypper in -f telnet
Retrieving repository 'foobar_common' metadata [\]
File 'repomd.xml' from repository 'foobar_common' is ...
1
vote
1
answer
389
views
Launching zypper command with root privilege
I want to initiate zypper command without the entry of sudo.
For example,
zypper update
I attempt to change the permission bit of the zypper file located at /usr/bin folder. I assume that with allow ...
0
votes
1
answer
3k
views
Target initialization failed. Failed to cache rpm database (1)
I am running an openSUSE leap 42.2 64 bit os on my laptop. I was trying to install some packages including nautilus-dropbox, so I added the packman repo.
After zypper update, there were some packages ...
3
votes
2
answers
14k
views
Why do I get "Protocol http not supported or disabled in libcurl"?
I am trying to add a repository to my OpenSUSE Leap 42.3 (running on WSL) with the following command.
sudo zypper addrepo https://download.opensuse.org/repositories/devel:languages:php/...
4
votes
2
answers
891
views
Mark RPM as Automatically or Manually Installed
A question exists regarding how to mark an RPM as automatically installed, but that question concerns Fedora.
I am using zypper on OpenSUSE as an end-user and would like to know how to mark a package ...
0
votes
1
answer
2k
views
zypper can't access repositories in opensuse leap 42.3
It shows the following error when trying to update or refresh using zypper, but I can access these links from Google Chrome.
Timeout exceeded when accessing 'http://download.opensuse.org/debug/...
1
vote
1
answer
7k
views
How to fix broken Zypper after change SUSE Tumbleweed to Leap
I have changed my distribution from Tumleweed to Leap 43 by changing list of repositories to:
# zypper lr
Repository priorities are without effect. All enabled repositories share the same priority.
...