Hello,
I’m relatively new to openSUSE and I was wondering if there is a way to make zypper show the package details (–details) by default whenever ‘zypper install’, ‘zypper dup’, etc. is run? Like maybe a config file setting? I’ve searched all over but haven’t found anything.
What “package details” are you referring to ? Something like Description, Tech Data, Dependencies, Versions …or maybe like Pkg name, Summary, Version, Size?
… or something else ??
Details showing, the package version or current to updated version and repository.
For example, using --details:
sudo zypper install --details lftp
[sudo] password for root:
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following NEW package is going to be installed:
lftp 4.9.2-2.9 x86_64 Main Repository (OSS) openSUSE
1 new package to install.
Overall download size: 865.1 KiB. Already cached: 0 B. After the operation, additional 2.8 MiB will be used.
Continue? [y/n/v/...? shows all options] (y):
type or paste code here
Whereas, without details:
sudo zypper install lftp
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following NEW package is going to be installed:
lftp
1 new package to install.
Overall download size: 865.1 KiB. Already cached: 0 B. After the operation, additional 2.8 MiB will be used.
Continue? [y/n/v/...? shows all options] (y):
type or paste code here
1 Like
So what I’m looking for is if there is a config file setting for zypper that will make showing details the default behavior and not have to include --details everytime it’s run?
Hello:
You have the info, example:
HPOMEN:~ # zypper if vlc
Loading repository data…
Reading installed packages…
Information for package vlc:
Repository : Packman Repository
Name : vlc
Version : 3.0.18-150400.2.6.pm.1
Arch : x86_64
Vendor : http://packman.links2linux.de
Installed Size : 1.7 MiB
Installed : Yes
Status : up-to-date
Source package : vlc-3.0.18-150400.2.6.pm.1.src
Upstream URL : http://www.videolan.org
Summary : Graphical media player
Description :
VLC media player is a multimedia player for many
audio and video files and formats (such as MPEG, DivX, mp3, ogg, …)
as well as DVDs, VCDs, and various streaming protocols.
It can also be used as a server to stream in unicast or multicast
in IPv4 or IPv6 on a high-bandwidth network.
Note that the actual support is provided through ffmpeg and gstreamer
libraries, which may not have all codecs enabled that were just named.
see more at :SDB:Zypper manual - openSUSE Wiki
greetings
# zypper -v in lftp
Verbosity: 2
Non-option program arguments: 'lftp'
Initializing Target
Checking whether to refresh metadata for NonOSS
Checking whether to refresh metadata for OSS
Checking whether to refresh metadata for Update
Checking whether to refresh metadata for UpdateBP
Checking whether to refresh metadata for UpdateNonOSS
Checking whether to refresh metadata for UpdateSLE
Loading repository data...
Reading installed packages...
Selecting 'lftp-4.9.2-150400.1.8.x86_64' from repository 'OSS' for installation.
Resolving package dependencies...
Force resolution: No
The following NEW package is going to be installed:
lftp 4.9.2-150400.1.8
1 new package to install.
Overall download size: 815.2 KiB. Already cached: 0 B. After the operation, additional 2.9 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): n
WFM.
I have a bunch of other shortcuts:
# ls -1 /usr/local/bin/zyp*
/usr/local/bin/zypink
/usr/local/bin/zypse
/usr/local/bin/zypsei
/usr/local/bin/zypsek
/usr/local/bin/zypseo
/usr/local/bin/zypstart
/usr/local/bin/zypu
ink: install latest kernel
…se: search for package(s)
…sei: search for installed package(s)
…sek: search for available kernels
…seo: search for installed old package(s)
…start: install latest package management packages
…u: list unneeded packages
1 Like
Thanks everyone, but based on the responses, it doesn’t sound like what I’m asking for is possible?