On Thursday, 12 December 2019 16:26:26 CET Andrea Bolognani wrote: > On Thu, 2019-12-12 at 16:05 +0100, Pino Toscano wrote: > > On Thursday, 12 December 2019 15:31:04 CET Andrea Bolognani wrote: > > > + augeas-lenses: > > > + default: augeas > > > + deb: augeas-lenses > > > + OpenSUSE: augeas-lenses > > > > Why is this needed? The lenses must be already a dependency of the > > augeas shared library, or at least of the tools. > > Not on openSUSE, apparently: > > $ docker run --rm -it opensuse/leap:15.1 > edb149088975:/ # zypper install augeas > Building repository 'Non-OSS Repository' cache ...................... > Building repository 'Main Repository' cache ......................... > Building repository 'Main Update Repository' cache .................. > Building repository 'Update Repository (Non-Oss)' cache ............. > Loading repository data... > Reading installed packages... > Resolving package dependencies... > > The following NEW package is going to be installed: > augeas > > 1 new package to install. > Overall download size: 130.1 KiB. Already cached: 0 B. After the operation, additional 205.1 KiB will be used. > Continue? [y/n/v/...? shows all options] (y): y > Retrieving package augeas-1.10.1-lp151.2.3.x86_64 (1/1), 130.1 KiB (205.1 KiB unpacked) > Retrieving: augeas-1.10.1-lp151.2.3.x86_64.rpm ...................... > > Checking for file conflicts: ........................................ > (1/1) Installing: augeas-1.10.1-lp151.2.3.x86_64 .................... > edb149088975:/ # rpm -qa | grep augeas-lenses > edb149088975:/ # ls /usr/share/augeas/lenses > ls: cannot access '/usr/share/augeas/lenses': No such file or directory > edb149088975:/ # Sigh... OTOH, in the mapping file I see: augeas: default: augeas deb: augeas-tools This means that most probably there are different packages installed depending on the distro: - on Debian-based distros you get the command line tools - on some distros (mostly RPM-based) you get only the shared library - on some other distros (FreeBSD, and Linux distros not handled yet) you may get either everything, or the command line tools OTOH², looking at the spec [1] makes me sad, as nothing really depends on augeas-lenses, neither the shared library package nor the tools package :-( This is totally nonsense, you install augeas in openSUSE and it is broken by default if you have recommends disabled... So my suggestion is to limit the manual lenses installation only on openSUSE, as any other distro is already doing a sane job in this case. [1] https://build.opensuse.org/package/view_file/openSUSE:Factory/augeas/augeas.spec -- Pino Toscano
Attachment:
signature.asc
Description: This is a digitally signed message part.
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list