Questions tagged [zypper]

19 questions
2
votes
2 answers

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,591
  • 17
  • 72
  • 123
1
vote
3 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
1
vote
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
  • 131
  • 5
1
vote
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
  • 47
  • 8
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,591
  • 17
  • 72
  • 123
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
  • 1
  • 6
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,591
  • 17
  • 72
  • 123
0
votes
0 answers

SLES 12 SP1 expired letsencrypt X3 root ca certificate

I'm working with SLES 12 SP1. When running zypper addrepo https://download.opensuse.org/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo I get the following error Download (curl) error for…
user1247196
  • 41
  • 1
  • 3
0
votes
1 answer

php command not found after PHP8 install on OpenSUSE Leap 15.4

I have upgraded my OpenSUSE Leap from 15.3 to 15.4. I then want to upgrade PHP from version 7 to version 8. Before upgrade, PHP version is: server:~ # php -v PHP 7.4.33 (cli) (built: Nov 3 2022 12:00:00) ( NTS ) Copyright (c) The PHP Group Zend…
wiltomap
  • 75
  • 10
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
  • 1
  • 7
1
2