Skip to main content

Questions tagged [zypper]

Questions about zypper, the command-line interface of the ZYpp package manager.

Filter by
Sorted by
Tagged with
1 vote
1 answer
44 views

zypper - is there an option like --allowerasing for yum?

I am asking to install a package B that is replacing (and conflicting with) another package A. In order to do it without user input, in yum I use --allowerasing. Is there an option like that for ...
eftshift0's user avatar
  • 605
0 votes
0 answers
25 views

mdadm won't update or install after file conflict: "Unpacking of archive failed on file /usr/sbin/mdadm;65da9dab", "no such file or directory "

I'm trying to update my system with zypper dup but mdadm specifically is having trouble. I'm on openSUSE Tumbleweed and running this in fish, if that matters. I also do not have any form of RAID set ...
corviraptor's user avatar
0 votes
1 answer
30 views

Libsoup error encountered when updating openSUSE using zypper

I'm using openSUSE Leap 15.5 and zypper version 1.14.68 Upon startup, the system will attempt to run the updater, which fails. In order to get a more detailed error, I updated manually using: sudo ...
Alex's user avatar
  • 103
0 votes
1 answer
165 views

The command "zypper --non-interactive --force-resolution update" fails with error: Unknown option '--force-resolution'

As per the zypper manual https://en.opensuse.org/SDB:Zypper_manual_%28plain%29, the parameter "--force-resolution" is present in the zypper update command but when I am trying to use this ...
Gaurav Ramrakhyani's user avatar
0 votes
0 answers
1k views

Zypper: System management is locked

I am having trouble updating a SLES 12.5 server. Zypper is not working supposedly due to another zypper process already running: # zypper lu System management is locked by the application with pid ...
gdelfino's user avatar
  • 113
0 votes
1 answer
3k 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 (...
hardmooth's user avatar
  • 101
0 votes
1 answer
35 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] ...
gboffi's user avatar
  • 1,454
0 votes
0 answers
105 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 ...
AndyM's user avatar
  • 524
0 votes
1 answer
314 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 --...
Didier A.'s user avatar
  • 101
0 votes
1 answer
879 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 ...
Tsundoku's user avatar
  • 828
1 vote
1 answer
272 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 ...
Abhishek Dasgupta's user avatar
0 votes
1 answer
1k 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), ...
Henke - Нава́льный П с м's user avatar
1 vote
1 answer
246 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 ...
Maxim's user avatar
  • 143
0 votes
1 answer
47 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 ...
PHV's user avatar
  • 23
0 votes
1 answer
63 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 ...
user547936's user avatar
0 votes
1 answer
1k 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?
user547462's user avatar
0 votes
1 answer
210 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 ...
setare's user avatar
  • 1
2 votes
1 answer
688 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,...
gecko's user avatar
  • 148
0 votes
1 answer
3k 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" ...
aqbMh's user avatar
  • 3
1 vote
2 answers
1k 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 --...
Evgeniy  Zinchenko's user avatar
2 votes
2 answers
12k 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 ...
i_want_more_edits's user avatar
0 votes
0 answers
301 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 ...
vesii's user avatar
  • 203
1 vote
2 answers
1k 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 ...
Nicolas Formichella's user avatar
0 votes
1 answer
3k 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/...
Giulio's user avatar
  • 125
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/...
Pedro A's user avatar
  • 145
0 votes
2 answers
198 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 ...
Kalema Edgar's user avatar
1 vote
2 answers
730 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 ...
mrbear's user avatar
  • 33
1 vote
1 answer
964 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 ...
Averroes's user avatar
  • 111
1 vote
1 answer
788 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 ...
newvertex's user avatar
3 votes
1 answer
12k 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 ...
einpoklum's user avatar
  • 9,643
3 votes
3 answers
13k 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
PHPoenX's user avatar
  • 426
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:///?...
Black's user avatar
  • 2,098
0 votes
1 answer
708 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 ...
Aminovic's user avatar
  • 187
1 vote
2 answers
2k 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 ...
Aminovic's user avatar
  • 187
7 votes
1 answer
7k 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 ...
Saturnu's user avatar
  • 185
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" ...
Rajkumar Natarajan's user avatar
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 ...
stonebird's user avatar
2 votes
1 answer
271 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 ...
Motivated's user avatar
  • 309
3 votes
1 answer
810 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 '\...
Arigion's user avatar
  • 152
1 vote
1 answer
3k 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 ...
Arun Prakash's user avatar
1 vote
1 answer
155 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 ...
Arun Prakash's user avatar
0 votes
1 answer
345 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 ...
raydona's user avatar
0 votes
1 answer
280 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 ...
Subramanian Sridharan's user avatar
0 votes
1 answer
2k 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 ...
Subramanian Sridharan's user avatar
0 votes
1 answer
909 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 ...
JoeP87's user avatar
  • 51
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 ...
apaderno's user avatar
  • 825
2 votes
1 answer
3k 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 ...
Peter's user avatar
  • 521
1 vote
1 answer
480 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 ...
vincent pham's user avatar
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 ...
Hipparkhos's user avatar
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/...
apaderno's user avatar
  • 825