I'm not familiar with python apt, so i'm aware this is heavy handed, but I did:
  strace -o out python -c "import apt; print 
apt.Cache()['upstart'].candidate.origins"

I see a long series of stat calls like:
stat64("/var/lib/apt/lists/us-east-1.ec2.archive.ubuntu.com_ubuntu_dists_lucid_Release.gpg",
 0xbff9faec) = -1 ENOENT (No such file or directory)

Those files dont exist.  However, what *does* exist is:
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_lucid_Release.gpg

The reason is that the install was done using 'archive.ubuntu.com', but
on first boot the mirror in /etc/apt/sources.list is modified to use us-
east-1.ec2.archive.ubuntu.com .  No subsequent 'apt-get update' has been
done.

-- 
apport reports 'not a genuine Ubuntu package' on fresh installation without apt 
cache
https://bugs.launchpad.net/bugs/513061
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to