[Libguestfs] febootstrap and zypper

Richard W.M. Jones rjones at redhat.com
Fri Nov 30 09:45:39 UTC 2012


On Thu, Nov 29, 2012 at 10:24:54PM +0100, Olaf Hering wrote:
> On Thu, Nov 29, Richard W.M. Jones wrote:
> 
> > On Thu, Nov 29, 2012 at 09:02:34PM +0000, Richard W.M. Jones wrote:
> > > > zypper \
> > > >         --verbose \
> > > >         --verbose \
> > > >         --gpg-auto-import-keys \
> > > >         --root /dev/shm/${LOGNAME} \
> > > >         --reposd-dir /etc/zypp/repos.d \
> > > >         --pkg-cache-dir /dev/shm/${LOGNAME}--pkg-cache-dir \
> > > >         --non-interactive \
> > > >         install \
> > > >         --auto-agree-with-licenses \
> > > >         --no-recommends \
> > > >         --download-only \
> > > >         kernel-default
> > 
> > By the way, does this download everything (even, for example,
> > packages which are already installed at the latest version)?
> 
> It will download kernel-default from the configured repos in
> /etc/zypp/repos.d into --pkg-cache-dir. Installed packaged will not be
> considered.

I was reading the last sentence again this morning.  Did I
misunderstand it?  Does this zypper command not consider installed
packages and download all of them regardless of what is installed on
the host?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




More information about the Libguestfs mailing list