ros-infrastructure / buildfarm

Build scripts and notes for catkin debian build pipeline.
6 stars 15 forks source link

apt-get errors occurring occasionally #124

Closed tfoote closed 11 years ago

tfoote commented 11 years ago

It is odd that it's doing anything in var as it supposed to be using the alternate conf. Probably a bug to file upstream? Needs more investigation.

+ sudo apt-get update -c /home/rosbuild/hudson/workspace/ros-groovy-rxbag_binarydeb_precise_i386/apt.conf -o Apt::Architecture=i386
Get:1 http://50.28.27.175 precise Release.gpg [198 B]
Get:2 http://50.28.27.175 precise Release [3,784 B]
Ign http://50.28.27.175 precise Release
Ign http://50.28.27.175 precise/main Sources/DiffIndex
Ign http://50.28.27.175 precise/main i386 Packages/DiffIndex
Ign http://50.28.27.175 precise/main TranslationIndex
Hit http://50.28.27.175 precise/main Sources
Get:3 http://50.28.27.175 precise/main i386 Packages [232 kB]
Ign http://50.28.27.175 precise/main Translation-en_US
Ign http://50.28.27.175 precise/main Translation-en
Get:4 http://us.archive.ubuntu.com precise Release.gpg [198 B]
Get:5 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://us.archive.ubuntu.com precise Release
Ign http://us.archive.ubuntu.com precise Release
Hit http://us.archive.ubuntu.com precise-updates Release
Ign http://us.archive.ubuntu.com precise-updates Release
Ign http://us.archive.ubuntu.com precise/main Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise/restricted Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise/universe Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise/multiverse Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise/main i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise/restricted i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise/universe i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise/multiverse i386 Packages/DiffIndex
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Ign http://us.archive.ubuntu.com precise-updates/main Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise-updates/restricted Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise-updates/universe Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise-updates/multiverse Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise-updates/main i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise-updates/restricted i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise-updates/universe i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages/DiffIndex
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Hit http://us.archive.ubuntu.com precise-updates/main Sources
Hit http://us.archive.ubuntu.com precise-updates/restricted Sources
Hit http://us.archive.ubuntu.com precise-updates/universe Sources
Hit http://us.archive.ubuntu.com precise-updates/multiverse Sources
Hit http://us.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Fetched 236 kB in 1s (129 kB/s)
Reading package lists...
W: GPG error: http://50.28.27.175 precise Release: No keyring installed in /var/cache/pbuilder-precise-i386/apt-conf-6/etc/apt/trusted.gpg.d/.
W: GPG error: http://us.archive.ubuntu.com precise Release: No keyring installed in /var/cache/pbuilder-precise-i386/apt-conf-6/etc/apt/trusted.gpg.d/.
W: GPG error: http://us.archive.ubuntu.com precise-updates Release: No keyring installed in /var/cache/pbuilder-precise-i386/apt-conf-6/etc/apt/trusted.gpg.d/.
W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages (/var/cache/pbuilder-precise-i386/apt-conf-6/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages)
W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ precise/restricted i386 Packages (/var/cache/pbuilder-precise-i386/apt-conf-6/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages (/var/cache/pbuilder-precise-i386/apt-conf-6/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ precise/multiverse i386 Packages (/var/cache/pbuilder-precise-i386/apt-conf-6/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages (/var/cache/pbuilder-precise-i386/apt-conf-6/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-i386_Packages)
W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ precise-updates/restricted i386 Packages (/var/cache/pbuilder-precise-i386/apt-conf-6/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe i386 Packages (/var/cache/pbuilder-precise-i386/apt-conf-6/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise-updates_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ precise-updates/multiverse i386 Packages (/var/cache/pbuilder-precise-i386/apt-conf-6/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise-updates_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://50.28.27.175/repos/building/ precise/main i386 Packages (/var/cache/pbuilder-precise-i386/apt-conf-6/var/lib/apt/lists/50.28.27.175_repos_building_dists_precise_main_binary-i386_Packages)
E: Problem renaming the file /var/cache/apt/srcpkgcache.bin.5dee1n to /var/cache/apt/srcpkgcache.bin - rename (2: No such file or directory)
E: Problem renaming the file /var/cache/apt/pkgcache.bin.8lRf4g to /var/cache/apt/pkgcache.bin - rename (2: No such file or directory)
E: The package lists or status file could not be parsed or opened.
Build step 'Execute shell' marked build as failure
Build step 'Groovy Postbuild' marked build as failure
Build step 'Groovy Postbuild' marked build as failure
Description set: 
Sending e-mails to: ros-buildfarm-release@googlegroups.com dthomas@osrfoundation.org
Finished: FAILURE
tfoote commented 11 years ago

I've seen several instances of this today, on just packages which email me.

tfoote commented 11 years ago

I found a reference here: https://bugs.launchpad.net/landscape-client/+bug/1091137

tfoote commented 11 years ago

Another bit of feedback is here: http://ubuntu.5.x6.nabble.com/Can-t-do-an-update-with-sudo-apt-get-update-amp-sudo-apt-get-upgrade-pasting-output-in-this-message-td5006163.html

Something else has the package database open. Likely some sort of automated update checker. Either wait for it to run, or examine the output of ps aux to find it, and then kill -9 it.

tfoote commented 11 years ago

Another related bug here: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1111186

tfoote commented 11 years ago

The Apt options seem to override the dpkg ones.

tfoote commented 11 years ago

fixed in pull request above