[Libguestfs] [PATCH 1/2] use apt-get instead of aptitude

Richard W.M. Jones rjones at redhat.com
Fri Jun 17 13:19:36 UTC 2011


On Fri, Jun 17, 2011 at 01:02:21PM +0200, Hilko Bengen wrote:
> * Hilko Bengen:
> 
> > I believe that aptitude does not have the --print-uris option, so one
> > would still need to use apt-get for that.
> >
> > I'll test some more tonight and prepare another patch.
> 
> My idea was to use 
> 
>     apt-get -qq --print-uris --reinstall install $PACKAGES
> 
> to get the information, but this didn't work because it will not list
> information for the files that are already present in the repository.
> :-(

How long will it take for apt-get download to be widely available?

Can we check for it and use it conditionally?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the Libguestfs mailing list