search for: zypper

Displaying 20 results from an estimated 150 matches for "zypper".

2015 Oct 02
1
[PATCH] customize: remove zypper's gpg keys auto-import
.../customize/customize_run.ml b/customize/customize_run.ml index ad0ab7f..6cb2328 100644 --- a/customize/customize_run.ml +++ b/customize/customize_run.ml @@ -116,7 +116,7 @@ exec >>%s 2>&1 | "yum" -> sprintf "yum -y install %s" quoted_args | "zypper" -> - sprintf "zypper -n --gpg-auto-import-keys in -l %s" quoted_args + sprintf "zypper -n in -l %s" quoted_args | "unknown" -> error (f_"--install is not supported for this guest operating system") | pm -> @@ -143,7 +...
2013 Jul 11
4
Problem with supermin & zypper
...packaging format then you may need to port supermin. If you are expecting that supermin should work on this system or distro then it may be that the package detection code is not working. make[2]: *** [stamp-supermin] Error 1* Now, I installed supermin from git. During configuration it discovered zypper: *checking for zypper... zypper checking for yum... no checking for rpm... rpm checking for yumdownloader... no checking for aptitude... no checking for apt-cache... apt-cache checking for dpkg... no checking if apt-cache depends --recurse is broken... yes checking for pacman... no* I have the fo...
2010 Apr 14
7
SuSE and zypper
Hi, I found the zypper provider mentioned on this list in another thread, but it failes with the flowing error : Package[kvm]/ensure: change from 0.11.0-4.5.2 to true failed: Could not update: undefined method `zypper'' for #<Puppet::Type::Package::ProviderZypper:0x7fd1acf9e360> at Is the latest provider...
2012 Nov 29
1
febootstrap and zypper
...s > > unprivileged user in the buildsystem. Creating a loop file requires > > root, which is cumbersome in the openSuSE buildservice. > > BTW, febootstrap (which is what we use) runs unprivileged and should > be able to process SuSE rpms. However it does require yum, not > zypper, but that's probably easy to fix if zypper has a way to take a > list of package names and resolve all the dependencies without needing > root and without needing to install any packages. I just looked at this. Does febootstrap do some sort of unrpm? Does it call %pre/%post install scri...
2018 Aug 23
3
[PATCH] Fix error with --uninstall option on SUSE
The `-l` option for some `zypper` subcommands is short for `--auto-agree-with-licenses` and not available on the `zypper rm` command. --- customize/customize_run.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/customize/customize_run.ml b/customize/customize_run.ml index f92e9a199..3eacdaca0 100644 --- a/c...
2013 Jun 11
3
Re: [PATCH] Mask some package names if appliance is build for SUSE
On Tue, Jun 11, Richard W.M. Jones wrote: > But supermin is supposed to ignore packages that don't exist in the > distro. This is a bug in supermin or the zypp plugin for supermin. It looks like zypper has no "ignore unknown packages/provides" flag. zypper .. install $pkg is called with an unknown package then zypper will just abort because it expects valid input. Maybe there should be some code which iterates over "names" and lets zypper check for every single pkg and drop...
2015 Sep 29
0
[PATCH v2 2/2] customize: get zypper to eat licenses and gpg keys
.../customize/customize_run.ml b/customize/customize_run.ml index 9d97522..ad0ab7f 100644 --- a/customize/customize_run.ml +++ b/customize/customize_run.ml @@ -116,7 +116,7 @@ exec >>%s 2>&1 | "yum" -> sprintf "yum -y install %s" quoted_args | "zypper" -> - sprintf "zypper -n in %s" quoted_args + sprintf "zypper -n --gpg-auto-import-keys in -l %s" quoted_args | "unknown" -> error (f_"--install is not supported for this guest operating system") | pm -> @@ -143,7 +143...
2016 Sep 05
2
[supermin][PATCH] Fix rpm/zypper detection on openSUSE Tumbleweed
Fix supermins rpm/zypper detection on openSUSE Tumbleweed Newer version of openSUSE does not use /etc/SuSE-release anymore. Search for the new /etc/SUSE-brand in addition. --- diff --git a/src/rpm.ml b/src/rpm.ml index a5dc67a..400efbd 100644 --- a/src/rpm.ml +++ b/src/rpm.ml @@ -39,7 +39,10 @@ let fedora_detect () =  let...
2013 Jul 11
0
Re: Problem with supermin & zypper
On Thu, Jul 11, 2013 at 10:50:01AM +0300, Or Goshen wrote: > Now, I installed supermin from git. During configuration it discovered > zypper: > > *checking for zypper... zypper > checking for yum... no > checking for rpm... rpm > checking for yumdownloader... no > checking for aptitude... no > checking for apt-cache... apt-cache > checking for dpkg... no > checking if apt-cache depends --recurse is broken......
2013 Apr 11
2
[PATCH] handle --use-installed in zypp driver
An attempt to use installed files in zypp driver. Add also a comment about the theory of operation. Enable set -x in shell only in verbose mode. This adds a dependency to xmlstarlet, which is required to parse zypper output. Signed-off-by: Olaf Hering <olaf at aepfle.de> --- src/supermin_zypp_rpm.ml | 93 +++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 80 insertions(+), 13 deletions(-) diff --git a/src/supermin_zypp_rpm.ml b/src/supermin_zypp_rpm.ml index 2089837..720f50a 100644 --- a/...
2013 May 30
2
Usage of 'no' as external helper
.... Wouldnt it be more logical to use the basename instead of 'no' so that at runtime one has the chance to install the required packages and in addition get an obvious error message in verbose mode what external helper is actually missing? In my package I force a few things like 'export ZYPPER=zypper' to avoid the unneeded BuildRequires: zypper. But doing that for every binary that maybe called is cumbersome. I think its best to rely on PATH to let libguestfs and supermin packages find their external helpers at runtime. And one who has a need to actually hardcode absolute paths to e...
2015 Sep 29
4
[PATCH v2 1/2] builder: add opensuse images sources
--- builder/Makefile.am | 3 ++- builder/opensuse.conf.in | 3 +++ builder/opensuse.gpg | 21 +++++++++++++++++++++ configure.ac | 1 + 4 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 builder/opensuse.conf.in create mode 100644 builder/opensuse.gpg diff --git a/builder/Makefile.am b/builder/Makefile.am index 4bed54c..e8f8dfb 100644 ---
2011 Mar 26
2
bug in xen 4.1 install on suse 11.4 (xencommons)
List, here''s how I got 4.1 up on suse 11.4 There is a small bug with the xencommons init script preventing xenstored from starting. Add this repo for 4.1 RPM''s ------------- zypper ar http://download.opensuse.org/repositories/Virtualization/openSUSE_11.4 Virt zypper ref zypper in xen-4.1.0_01-106.1 Fix the xen inits  (observe the order here) ------------ chkconfig -s xen-watchdog off chkconfig -s xendomains off chkconfig -s xend off chkconfig -s xencommons off chkconfig -...
2016 May 24
3
[PATCH 1/3] inspect: recognize the Void Linux distribution
Since Void Linux provides only an /etc/os-release with no VERSION_ID field, then special-case it to avoid that the os-release parsing ignore it. This provides basic distro identification, and icon. --- generator/actions.ml | 4 ++++ inspector/virt-inspector.rng | 1 + src/guestfs-internal.h | 1 + src/inspect-fs-unix.c | 14 ++++++++++++-- src/inspect-fs.c |
2016 Sep 05
0
Re: [supermin][PATCH] Fix rpm/zypper detection on openSUSE Tumbleweed
Hi Felix, On Monday, 5 September 2016 11:25:58 CEST Felix Schnizlein wrote: > Fix supermins rpm/zypper detection on openSUSE Tumbleweed > > Newer version of openSUSE does not use /etc/SuSE-release anymore. > Search for the new /etc/SUSE-brand in addition. > --- See the series I posted few days ago about this: https://www.redhat.com/archives/libguestfs/2016-August/msg00223.html (two pat...
2009 Jun 16
3
Puppet on SLES
...p using this solution. I''m wondering if anyone has any experiences (good or bad) they''d be willing to share specific to using Puppet with SLES (9 and 10). What experiences have you had with package management tools? Would it be worth the effort to install the same tool (yum, zypper, rug, etc.) on every host, or just use whatever is included with the O/S? My plan is to use two virtualized sles 10 servers to host services as listed below. Do you see anything wrong with the following design? mgt01: -puppetmasterd/mongrel behind Apache2 -svn repository hosted here -CruiseCon...
2013 Apr 11
1
[PATCH] always work with empty --root in zypp driver
The current mode of operation in the zypp driver is to download all packages into a temporary pkg-cache-dir. Installed packages in the root filesystem are ignored, otherwise zypper would download only a subset of packages, and it would not provide a list of all required dependencies. Remove the getuid check to force an empty root directory and use the configured system repositories. This works for root and non-root users. Signed-off-by: Olaf Hering <olaf at aepfle.de&gt...
2013 Apr 09
2
[PATCH 1/2] add run_shell helper
The new run_shell helper is a copy of run_python, and will be used by upcoming changes. Signed-off-by: Olaf Hering <olaf at aepfle.de> --- src/supermin_utils.ml | 9 +++++++++ src/supermin_utils.mli | 5 +++++ 2 files changed, 14 insertions(+) diff --git a/src/supermin_utils.ml b/src/supermin_utils.ml index f98e09a..cb8a27e 100644 --- a/src/supermin_utils.ml +++ b/src/supermin_utils.ml
2013 Jun 04
2
[PATCH / RFC] Handle --packager-config in zypp_rpm
This is an attempt to handle a different --reposd-dir in the zypp_rpm driver. Up to now the system repositories in /etc/zypp/repos.d were used. To specify a different set of repositories for zypp a parser for a simple zypper.conf is added in this patch. It just looks for reposdir= in section main, like this: [main] reposdir=/path/to/other/repofiles If the config file provided via "--packager-config my_zypp.conf" is valid the other directory is passed to zypper, otherwise the system repos.d is used like it...
2016 May 04
1
Re: [PATCH 2/2] customize: Improve the error messages when package manager is unknown or unsupported.
...ackage_management root with > | "apk" -> > @@ -116,10 +116,11 @@ exec >>%s 2>&1 > | "urpmi" -> sprintf "urpmi %s" quoted_args > | "yum" -> sprintf "yum -y install %s" quoted_args > | "zypper" -> sprintf "zypper -n in -l %s" quoted_args > + > | "unknown" -> > - error (f_"--install is not supported for this guest operating system") > + error_unknown_package_manager (s_"--install") > | pm -> > -...