Hilko Bengen
2012-Feb-11 22:27 UTC
[Libguestfs] [PATCH] Eliminate duplicate entries from package list
"apt-cache depends --recurse -i ..." on Ubuntu 12.04 (apt 0.8.16~exp12ubuntu3) outputs duplicate entries which broke the code that checks whether all package files have been successfully downloaded. I am not sure if this is a bug in apt. --- src/febootstrap_debian.ml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/febootstrap_debian.ml b/src/febootstrap_debian.ml index 8d0f75f..d1ee8ab 100644 --- a/src/febootstrap_debian.ml +++ b/src/febootstrap_debian.ml @@ -53,7 +53,7 @@ let rec debian_resolve_dependencies_and_download names if Config.apt_cache_depends_recurse_broken then workaround_broken_apt_cache_depends_recurse (sort_uniq pkgs) else - pkgs in + sort_uniq pkgs in (* Exclude packages matching [--exclude] regexps on the command line. *) let pkgs -- 1.7.9
Richard W.M. Jones
2012-Feb-13 08:43 UTC
[Libguestfs] [PATCH] Eliminate duplicate entries from package list
On Sat, Feb 11, 2012 at 11:27:33PM +0100, Hilko Bengen wrote:> "apt-cache depends --recurse -i ..." on Ubuntu 12.04 (apt > 0.8.16~exp12ubuntu3) outputs duplicate entries which broke the code > that checks whether all package files have been successfully > downloaded. I am not sure if this is a bug in apt. > --- > src/febootstrap_debian.ml | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/febootstrap_debian.ml b/src/febootstrap_debian.ml > index 8d0f75f..d1ee8ab 100644 > --- a/src/febootstrap_debian.ml > +++ b/src/febootstrap_debian.ml > @@ -53,7 +53,7 @@ let rec debian_resolve_dependencies_and_download names > if Config.apt_cache_depends_recurse_broken then > workaround_broken_apt_cache_depends_recurse (sort_uniq pkgs) > else > - pkgs in > + sort_uniq pkgs in > > (* Exclude packages matching [--exclude] regexps on the command line. *) > let pkgs > -- > 1.7.9ACK, in that I cannot see any problem that this could cause. I'm currently downloading Ubuntu 12.04 alpha so I can look at the other problems reported over the weekend. 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
Apparently Analagous Threads
- [PATCH] febootstrap: Use contents of installed Debian packages instead of downloading and unpacking them.
- [PATCH 1/2] use apt-get instead of aptitude
- [PATCH febootstrap] Some cleanups for Debian and Ubuntu
- Fwd: Re: febootstrap in Debian
- builder-debian febootstrap success 6720ad28eddbcd671032c151f7219a35ba615b1b