17
votes
Accepted
Why do I get "Warning: Repository 'oss_update' appears to be outdated. Consider using a different mirror or server."?
I found the answer from https://www.reddit.com/r/bashonubuntuonwindows/comments/8fcbs5/update_of_opensuse_on_wsl_error/ : you need to change the repository URIs from HTTP to HTTPS. I just did that and ...
10
votes
Accepted
zypper search output what does i+ mean?
The zypper man page answers your question:
i+ installed by user request
i installed automatically (by the resolver, see section Automatically installed packages)
7
votes
Accepted
How do I disable zypper's certificate check?
You have to add the option ssl_verify=no to the baseurl parameter.
So if you do not want to check the URL of the offical sources you can use:
# WARNING: Use this option only if you know what you do
...
6
votes
Accepted
Java 8 JDK install on OpenSUSE - Update Alternatives
The process of executing this install is easier than most think and surprisingly there is not much good or direct info out there on how to do this. The above answer is correct, but has some elements ...
6
votes
How do I find a package that provides a given file in OpenSuSE?
Even later to the party than @Vicente Bolea, but I have found a solution by checking the documentation of zypper se, which was suggested by @SailorCire:
zypper search --file-list <filename>
or ...
5
votes
How to use zypper in bash scripts for someone coming from apt-get?
That is a sample
zypper --non-interactive --quiet addrepo --refresh -p 90 http://packman.inode.at/suse/openSUSE_Leap_15.0/ 'packman'
zypper --gpg-auto-import-keys refresh
zypper --non-interactive ...
5
votes
How to reinstall all installed packages with zypper
I would add --no-recommends as option, to not install additional packages.
zypper in --no-recommends -f $(rpm -qa --qf '%{NAME} ')
also consider --download-in-advance , to avoid missing availability ...
4
votes
Accepted
Why do I get "Protocol http not supported or disabled in libcurl"?
I found Thread: zypper https urls: Protocol "http" not supported or disabled in libcurl, which contains a link to Thread: Cached files in /home/~/.cache/kioexec/krun/####_# ? How to avoid?
Following ...
4
votes
Accepted
What are the relationships between package commands?
rpm --query --recommends MozillaFirefox
lists the packages which the MozillaFirefox package recommends (I’ll explain that further down). As with most things interpreted by a computer, the output is to ...
4
votes
Why do I get "Warning: Repository 'oss_update' appears to be outdated. Consider using a different mirror or server."?
For Leap 15.0 remove (suse/ from distribution link):
sudo zypper rr oss
sudo zypper rr oss_update
sudo zypper ar https://download.opensuse.org/distribution/leap/15.0/repo/oss/ oss
sudo zypper ar ...
4
votes
openSUSE - Repository 'XY' is invalid - change repository to load from internet instead from medium
If one repository points to a disk/url that does not exist anymore, simply remove or disable that repository:
disable:
zypper mr -d openSUSE-Leap-15.0-1
remove:
zypper rr openSUSE-Leap-15.0-1
for ...
3
votes
Accepted
How do I install 32 bit package in a 64 bit SUSE machine using zypper?
If you have a repository enabled that contains 32-Bit packages you would be able to install them. Regarding firefox you have to download the 32-Bit package from the mozilla website as openSUSE is 64-...
3
votes
Disable Language Packages in Zypper
Find all the language packages:
rpmorphan -guess-custom "-lang$"
Delete them:
rpmorphan -guess-custom "-lang$" | xargs zypper rm
Add a lock to all packakes ending on -lang (prevents them from being ...
3
votes
How can I list all files which have been installed by an ZYpp/Zypper package?
As I cannot add comments, I'll add another answer and try to summarize it up properly, because the answers are nearly complete but scattered.
With zypper alone it is not possible, but as the package ...
3
votes
Tips for making software updates automatic in OpenSuse (zypper)
In case anyone comes by here still looking for a "more integrated" solution several years later, you can currently do this in a terminal:
sudo zypper install yast2-online-update-configuration
sudo ...
3
votes
Using zypper, how can I remove all packages installed from a specific repository?
You can use a combination of zypper search, awk and xargs to remove all packages from a repository. For example:
zypper se --repo openSUSE-Tumbleweed-Debug --installed | awk '/^i(\+|\s)/ {print $3}' |...
3
votes
Accepted
Zypper packages status flag explanation
The i+ stands for user installed packages while i means it was installed automatically (for example as a dependency of a other package).
I think this is also mentioned in the zypper manual.
To ...
3
votes
How to remove unneeded rpm packages in openSUSE?
as an addition to the answer by Chris:
check the lists in
zypper packages --installed-only --suggested
and
zypper packages --installed-only --recommended
most likely there is some stuff pulled-in ...
2
votes
How to use zypper in bash scripts for someone coming from apt-get?
This worked for me (checked on SLES12SP3):
zypper --non-interactive --quiet ar -C http://myrepo myrepo
zypper --gpg-auto-import-keys ref
Note -C/--no-check for zypper ar.
Now you can install ...
2
votes
How can I download a rpm to a local repository?
Control where to download the rpm package and not download other recommended packages:
zypper --pkg-cache-dir /tmp install --force --download-only --no-recommends 'qemu=4.2.1-lp152.9.6.1'
2
votes
How can I list all files which have been installed by an ZYpp/Zypper package?
Late answer, but one other option is if you happen to be using openSUSE, there is a tab that shows the files installed by a package in the Yast2 Software Manager.
You can sort of get (some of) the ...
2
votes
Mark RPM as Automatically or Manually Installed
If you're looking for similar option as with apt-mark, pattern here is little different.
To mark a package as automatically installed, add it to /var/lib/zypp/AutoInstalled.
To mark it as manually ...
2
votes
Mark RPM as Automatically or Manually Installed
I would hazard to guess that the repository mappings are handled by zypper, just as yum does, rather than by rpm. Additionally, the question that you linked in your own question shows that yumdb is ...
2
votes
zypper can't access repositories in opensuse leap 42.3
The download server was very recently hit with a catastrophic hardware failure, try again in a few hours or tomorrow.
If you ever have doubts you can check https://status.opensuse.org/
2
votes
Accepted
Piping output of zypper ps -sss into systemctl restart
1) How can I pipe values into systemctl?
You can't, systemctl restart takes the unit names as arguments, not from standard input. There's nothing wrong with that, since you have convenient ways to ...
2
votes
Accepted
yast2 crashed at the moment of loading the install software module
I had a similar problem
Run command: /sbin/yast2 sw_single &
terminate called after throwing an instance of 'YUIPluginException'
what(): Couldn't load plug-in qt
/sbin/yast2: line 448: ...
2
votes
Accepted
zypper install specific major version without specifying the minor version
Better
At first I experimented with SailorCire's answer here and came up with an improved version:
zypper search -t package -x -s PACKAGE | grep " MIN_NUM" | cut -d '|' -f 4 | tr -d '[:space:...
2
votes
Accepted
What is meant by "Lock packages" and when exactly it is used
Maybe an example is the easiest way to explain:
we use cloud-init to deploy new instances within a private cloud. And for our environment we have to rely on a configuration which has been broken a ...
2
votes
How to remove unneeded rpm packages in openSUSE?
zypper doesn't seem to have an exact match, but:
To remove a package with its (unneeded) dependencies:
zypper rm --clean-deps <package>
To find packages that are probably not needed anymore:
...
2
votes
Accepted
How to install git on SLES 12?
As you've indicated that what I mentioned in my comment worked after you tried it, I'm going to post it as an answer:
zypper install git
git is available in the SLES repos as it is in the repos for ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
zypper × 121opensuse × 67
suse × 33
rpm × 21
package-management × 20
sles × 17
repository × 12
linux × 9
yum × 5
upgrade × 5
yast × 5
apt × 4
software-installation × 4
curl × 4
dependencies × 4
bash × 2
pipe × 2
root × 2
git × 2
gcc × 2
chrome × 2
libraries × 2
certificates × 2
patch × 2
jdk × 2