This appears to me to have regressed in the stable lifetime of 12.04,
and is a build system defect rather than a issue with cloud-init.

Somewhere between release-20120822 and daily 20120831 we lost multiverse
and universe lists in /var/lib/apt/lists.

to demonstrate:
$ mirror_d="/archive/mirrors/uec/"
$ mkdir -p mnt;
$ for a in ${mirror_d}/releases/precise/release-* ${mirror_d}/precise/*; do
  [ -d "$a" ] || continue;
  i=$(echo $a/*-amd64.tar.gz);
  [ -f "$i" ] || continue;
  echo ==== i=$i ====; d=${i%.tar.gz}; d=${d##*/};
  mkdir -p $d;
  ( cd $d && tar -Sxzf $i ) && sudo mount -o loop,ro $d/*.img mnt &&
  ( cd mnt/var/lib/apt/lists && ls || : ) > ${a##*/}.txt &&
  sudo umount mnt;
done
$ ls -l *.txt
-rw-rw-r-- 1 smoser smoser 2503 Sep  5 11:44 20120831.txt
-rw-rw-r-- 1 smoser smoser 2503 Sep  5 11:44 20120903.txt
-rw-rw-r-- 1 smoser smoser 2503 Sep  5 11:45 current.txt
-rw-rw-r-- 1 smoser smoser 3877 Sep  5 11:43 release-20120424.txt
-rw-rw-r-- 1 smoser smoser 3877 Sep  5 11:43 release-20120616.txt
-rw-rw-r-- 1 smoser smoser 3877 Sep  5 11:43 release-20120728.txt
-rw-rw-r-- 1 smoser smoser 3877 Sep  5 11:44 release-20120822.txt

The size drop is then further described by:
--- release-20120822.txt   2012-09-05 11:44:08.194389068 -0400
+++ 20120831.txt  2012-09-05 11:44:18.882485306 -0400
@@ -2,55 +2,37 @@
 archive.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages
 archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Index
 archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en
-archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-amd64_Packages
-archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-i386_Packages
-archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index
-archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Translation-en
+archive.ubuntu.com_ubuntu_dists_precise_main_source_Sources
 archive.ubuntu.com_ubuntu_dists_precise_Release
 archive.ubuntu.com_ubuntu_dists_precise_Release.gpg
 archive.ubuntu.com_ubuntu_dists_precise_restricted_binary-amd64_Packages
 archive.ubuntu.com_ubuntu_dists_precise_restricted_binary-i386_Packages
 archive.ubuntu.com_ubuntu_dists_precise_restricted_i18n_Index
 archive.ubuntu.com_ubuntu_dists_precise_restricted_i18n_Translation-en
-archive.ubuntu.com_ubuntu_dists_precise_universe_binary-amd64_Packages
-archive.ubuntu.com_ubuntu_dists_precise_universe_binary-i386_Packages
-archive.ubuntu.com_ubuntu_dists_precise_universe_i18n_Index
-archive.ubuntu.com_ubuntu_dists_precise_universe_i18n_Translation-en
+archive.ubuntu.com_ubuntu_dists_precise_restricted_source_Sources
 archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-amd64_Packages
 archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-i386_Packages
 archive.ubuntu.com_ubuntu_dists_precise-updates_main_i18n_Index
 archive.ubuntu.com_ubuntu_dists_precise-updates_main_i18n_Translation-en
-archive.ubuntu.com_ubuntu_dists_precise-updates_multiverse_binary-amd64_Packages
-archive.ubuntu.com_ubuntu_dists_precise-updates_multiverse_binary-i386_Packages
-archive.ubuntu.com_ubuntu_dists_precise-updates_multiverse_i18n_Index
-archive.ubuntu.com_ubuntu_dists_precise-updates_multiverse_i18n_Translation-en
+archive.ubuntu.com_ubuntu_dists_precise-updates_main_source_Sources
 archive.ubuntu.com_ubuntu_dists_precise-updates_Release
 archive.ubuntu.com_ubuntu_dists_precise-updates_Release.gpg
 
archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_binary-amd64_Packages
 archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_binary-i386_Packages
 archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_i18n_Index
 archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_i18n_Translation-en
-archive.ubuntu.com_ubuntu_dists_precise-updates_universe_binary-amd64_Packages
-archive.ubuntu.com_ubuntu_dists_precise-updates_universe_binary-i386_Packages
-archive.ubuntu.com_ubuntu_dists_precise-updates_universe_i18n_Index
-archive.ubuntu.com_ubuntu_dists_precise-updates_universe_i18n_Translation-en
+archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_source_Sources
 lock
 partial
 security.ubuntu.com_ubuntu_dists_precise-security_main_binary-amd64_Packages
 security.ubuntu.com_ubuntu_dists_precise-security_main_binary-i386_Packages
 security.ubuntu.com_ubuntu_dists_precise-security_main_i18n_Index
 security.ubuntu.com_ubuntu_dists_precise-security_main_i18n_Translation-en
-security.ubuntu.com_ubuntu_dists_precise-security_multiverse_binary-amd64_Packages
-security.ubuntu.com_ubuntu_dists_precise-security_multiverse_binary-i386_Packages
-security.ubuntu.com_ubuntu_dists_precise-security_multiverse_i18n_Index
-security.ubuntu.com_ubuntu_dists_precise-security_multiverse_i18n_Translation-en
+security.ubuntu.com_ubuntu_dists_precise-security_main_source_Sources
 security.ubuntu.com_ubuntu_dists_precise-security_Release
 security.ubuntu.com_ubuntu_dists_precise-security_Release.gpg
 
security.ubuntu.com_ubuntu_dists_precise-security_restricted_binary-amd64_Packages
 
security.ubuntu.com_ubuntu_dists_precise-security_restricted_binary-i386_Packages
 security.ubuntu.com_ubuntu_dists_precise-security_restricted_i18n_Index
 
security.ubuntu.com_ubuntu_dists_precise-security_restricted_i18n_Translation-en
-security.ubuntu.com_ubuntu_dists_precise-security_universe_binary-amd64_Packages
-security.ubuntu.com_ubuntu_dists_precise-security_universe_binary-i386_Packages
-security.ubuntu.com_ubuntu_dists_precise-security_universe_i18n_Index
-security.ubuntu.com_ubuntu_dists_precise-security_universe_i18n_Translation-en
+security.ubuntu.com_ubuntu_dists_precise-security_restricted_source_Sources


** Changed in: ubuntu
       Status: New => Confirmed

** Changed in: ubuntu
   Importance: Undecided => Critical

** Changed in: ubuntu
     Assignee: (unassigned) => Ben Howard (utlemming)

** Summary changed:

- package lists are broken after first boot
+ cached package lists are missing universe and multiverse

** Summary changed:

- cached package lists are missing universe and multiverse
+ cloud-image package lists in /var/lib/apt/lists are missing universe and 
multiverse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1046115

Title:
  cloud-image package lists in /var/lib/apt/lists are missing universe
  and multiverse

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1046115/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to