Questions tagged [zypper]
18 questions
2
votes
1 answer
zypper: how to list all active package repos?
How can I show all active package repos with zypper?
I need the output for a check script.
I know how to list them all. But I would like to avoid to parse this output with a regex:
foo-work:~ # LANG=C zypper lr
# | Alias …
guettli
- 3,113
- 14
- 59
- 110
1
vote
2 answers
How to install packages from list with zypper?
End state. I want to reformat my / partition, reinstall opensuse tumbleweed, and have the same packages installed then as now.
Problem. I made what appears to be a poor choice, formatting the root filesystem as btrfs. The 20 GB I had for it was…
A. R. Diederich
- 121
- 1
- 5
1
vote
1 answer
install cURL on an Amazon Suse
I'm trying to install cURL on a SuSE Linux Enterprise Server 11 sp3 machine. I'm using this action to do so:
sudo zypper in curl
And I get this error message:
Refreshing service 'susecloud'.
Loading repository data...
Reading installed…
neo
- 23
- 6
1
vote
1 answer
Installing php53-devel on an Amazon Suse
(I hope this is the right place for this type of question)
I'm trying to install cURL on a SuSE Linux Enterprise Server 11 sp3 machine. I'm using this action to do so:
sudo zypper install php53-devel
And I get this error message:
Refreshing…
neo
- 23
- 6
0
votes
1 answer
Saltstack: How to install a new zypper RPM Repo?
How to add a new rpm package repo via saltstack?
I checked the docs, and only see method to list, modify or delete repos:
https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.zypper.html
I would like to do this:
root@server# zypper ar…
guettli
- 3,113
- 14
- 59
- 110
0
votes
1 answer
SUSE SLES 11 Zypper addrepo succeeds; but repo is not added
I am using SUSE SLES 11 = on my server zypper addrepo succceds . however after that when I perform a listing of repositories (using zypper repos -d) I see no repositries were added. This is driving me nuts . Any suggestions ?
zypper addrepo…
Yogesh Devi
- 161
- 4
0
votes
0 answers
Reinstall Zypper 1.5.3 Opensuse 11.4
A colleague of mine unfortunately removed a package with zypper ending up removing zypper from the server.
I am trying to reinstall it via the .rpm package.
I have tried downloading it via wget:
wget…
Niko Zarzani
- 111
- 1
- 4
0
votes
0 answers
Installing packages in SLES 12 SP3
I'm new to Suse and I have no idea how to do anything here. This is something I'm terribly new at and I can't figure out some basic stuff. First off, I'm used to Ubuntu. To install packages in Suse I'm using Zypper. It's fairly easy to do so and…
aborted
- 121
- 1
- 1
- 9
0
votes
2 answers
Set value in /etc/zypp/zypp.conf via salt
I would like to set the following setting in /etc/zypp/zypp.conf via salt:
solver.allowVendorChange = true
How to do this?
There is a module for zypper, but I found no way to update the above…
guettli
- 3,113
- 14
- 59
- 110
0
votes
0 answers
Creating a Skeleton/Template SUSE or SLES Linux Server
Scenario: I have a "template" server with all the services and packages installed which will be replicated on many new servers.
Each newly replicated server will be stood up by installing a specific version of SLES (15 SP4 in this case), then…
Bill-G
- 101
- 1
0
votes
1 answer
Difference between zypper and rpm for installed packages
I'm looking at a reliable way to find how many installed packages I have on my OpenSUSE Leap 15.3 system. I tried:
# number of available packages in the repos
vm-admin:~ # zypper se -s | wc -l
55800
# number of installed packages from the…
dan
- 83
- 7
0
votes
1 answer
GCP Suse Enterprise LInux 15, no default package repository
I created a suse linux enterprise 15 vm in GCP. When I try to install anything it gives the following error.
I searched a lot but couldn't find default package repo for suse.
test-suse:/etc/zypp/repos.d # zypper refresh --services
There are no…
bitkot
- 121
- 4
0
votes
0 answers
Packaging two builds of an application into separate RPMs, hosted in the same Zypper repository
My application is able to run on OperatingSystem 3 and on OperatingSystem 4. OS 4 stopped shipping OpenSSL 1.0 in favour of 1.1 (as should be), while OS 3 is still on OpenSSL 1.0. My application links fine against either, but a build for 3 cannot…
rubdos
- 101
0
votes
1 answer
Apply Security patches using zypper module
Do we have any options to apply security patches only with Zypper ansible module for suse linux server. We don't want to use shell or command module and incorporate the command.
Equivalent command shell: zypper patch --category=security
pugazhendhi
- 17
- 3
0
votes
2 answers
Auto select solution for zypper
I need to automate package installation with zypper that requires selecting a solution. How can this be done in non-interactive mode?
# zypper in /tmp/repos-sles15-sp2-current.x86_64.rpm
Loading repository data...
Reading installed…
Dziki_Jam
- 17
- 5