apt-get source broken on karmic

Bug #520975 reported by Julius Schwartzenberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: dpkg

When trying to retrieve the source of a package on karmic with apt-get source, the command breaks with the following messages:

(using libpng as an example it happens with any package)

julius@wijsvinger:/tmp$ apt-get source libpng
Reading package lists... Done
Building dependency tree
Reading state information... Done
Need to get 821kB of source archives.
Get:1 http://nl.archive.ubuntu.com karmic/main libpng 1.2.37-1 (dsc) [1172B]
Get:2 http://nl.archive.ubuntu.com karmic/main libpng 1.2.37-1 (tar) [805kB]
Get:3 http://nl.archive.ubuntu.com karmic/main libpng 1.2.37-1 (diff) [14.9kB]
Fetched 821kB in 1s (693kB/s)
gpgv: Signature made Thu Jun 4 15:42:10 2009 CEST using DSA key ID 73CDA455
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./libpng_1.2.37-1.dsc
dpkg-source: info: extracting libpng in libpng-1.2.37
dpkg-source: info: unpacking libpng_1.2.37.orig.tar.gz
chmod: cannot read directory `/tmp/libpng_1.2.37.orig.tar.gz.tmp-extract.Gj0Er/libpng-1.2.37': Permission denied
dpkg-source: error: chmod -R -- u+r+w+X,g+r-w+X,o+r-w+X /tmp/libpng_1.2.37.orig.tar.gz.tmp-extract.Gj0Er gave error exit status 1
Unpack command 'dpkg-source -x libpng_1.2.37-1.dsc' failed.
Check if the 'dpkg-dev' package is installed.
E: Child process failed

ProblemType: Bug
Architecture: amd64
Date: Fri Feb 12 14:32:02 2010
DistroRelease: Ubuntu 9.10
Package: dpkg 1.15.4ubuntu2
ProcEnviron:
 PATH=(custom, user)
 LANG=nl_NL.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
SourcePackage: dpkg
Uname: Linux 2.6.31-19-generic x86_64
XsessionErrors:
 (polkit-gnome-authentication-agent-1:2654): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (seamonkey-bin:2854): GLib-WARNING **: g_set_prgname() called multiple times
 (firefox:9667): GLib-WARNING **: g_set_prgname() called multiple times
 (firefox:9821): GLib-WARNING **: g_set_prgname() called multiple times

Revision history for this message
Julius Schwartzenberg (jschwart) wrote :
Revision history for this message
nutznboltz (nutznboltz-deactivatedaccount) wrote :

try "sudo aptitude install dpkg-dev"

Revision history for this message
Raphaël Hertzog (hertzog) wrote :

Please what are the file permissions on /tmp/libpng_1.2.37.orig.tar.gz.tmp-extract.Gj0Er/libpng-1.2.37 ?

Paste the output of the commands below:
ls -l /tmp/libpng_1.2.37.orig.tar.gz.tmp-extract.Gj0Er/libpng-1.2.37
umask

I don't think that dpkg is to blame here. It's more likely some invalid permissions via umask or similar.

Changed in dpkg (Ubuntu):
status: New → Incomplete
Revision history for this message
Julius Schwartzenberg (jschwart) wrote :

Of course before running the command, none of the files existed at all. It was not a permission issue, I verified this.
I still have no idea where the problem came from. I haven't seen it anymore since I upgraded.Z

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for dpkg (Ubuntu) because there has been no activity for 60 days.]

Changed in dpkg (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.