[Bug 516376] [NEW] apt-src -c upgrade pkgname deletes all files in pwd and puts upgraded pkgname in ..

Karl Hegbloom karl.hegbloom at gmail.com
Wed Feb 3 02:25:57 UTC 2010


Public bug reported:

Binary package hint: apt-src

karlheg at journeyhawk:~/src/Ubuntu/Karmic 18:51:01 % ls
consolekit-0.3.1/                  cscope-dbgsym_15.7a-1.0.1_amd64.ddeb  hal-0.5.13/                     udev_147~-6.1.dsc
consolekit_0.3.1-0ubuntu2.diff.gz  devicekit-disks-007/                  hal_0.5.13-1ubuntu8.diff.gz     udev_147~-6.1.tar.gz
consolekit_0.3.1-0ubuntu2.dsc      devicekit-disks_007-2ubuntu2.diff.gz  hal_0.5.13-1ubuntu8.dsc         wacom-tools-0.8.4.1/
consolekit_0.3.1.orig.tar.gz       devicekit-disks_007-2ubuntu2.dsc      hal_0.5.13.orig.tar.gz          wacom-tools_0.8.4.1-0ubuntu4.diff.gz
cscope-15.7a/                      devicekit-disks_007.orig.tar.gz       policykit-0.9/                  wacom-tools_0.8.4.1-0ubuntu4.dsc
cscope_15.7a-1.0.1_amd64.deb       devicekit-power-011/                  policykit_0.9-4ubuntu1.diff.gz  wacom-tools_0.8.4.1.orig.tar.gz
cscope_15.7a-1.diff.gz             devicekit-power_011-1ubuntu1.diff.gz  policykit_0.9-4ubuntu1.dsc
cscope_15.7a-1.dsc                 devicekit-power_011-1ubuntu1.dsc      policykit_0.9.orig.tar.gz
cscope_15.7a.orig.tar.gz           devicekit-power_011.orig.tar.gz       udev-147~/

karlheg at journeyhawk:~/src/Ubuntu/Karmic 18:51:33 % apt-src -c upgrade
W: cannot read /home/karlheg/src/Ubuntu/Karmic/debian/changelog
I: Upgrading /home/karlheg/src/Ubuntu/Karmic ..
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/AptSrc.pm line 397, <$statuslock> line 8.
W: Old source package dsc cscope_.dsc is gone; cannot generate diff
Reading package lists... Done
Building dependency tree       
Reading state information... Done
NOTICE: 'cscope' packaging is maintained in the 'Git' version control system at:
http://git.distanz.ch/scm/debian/pkg-cscope.git
Need to get 447kB of source archives.
Get:1 http://ubuntu.cs.utah.edu karmic/universe cscope 15.7a-1 (dsc) [1,149B]
Get:2 http://ubuntu.cs.utah.edu karmic/universe cscope 15.7a-1 (tar) [429kB]
Get:3 http://ubuntu.cs.utah.edu karmic/universe cscope 15.7a-1 (diff) [17.0kB]                                                                                             
Fetched 447kB in 12s (37.1kB/s)                                                                                                                                            
gpgv: Signature made Tue 09 Jun 2009 06:03:52 AM MDT using DSA key ID 4B2B2B9E
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./cscope_15.7a-1.dsc
dpkg-source: info: extracting cscope in cscope-15.7a
dpkg-source: info: unpacking cscope_15.7a.orig.tar.gz
dpkg-source: info: applying cscope_15.7a-1.diff.gz
I: Removing local-cscope from /home/karlheg/src/Ubuntu/local-cscope-15.7a ..
I: Successfully upgraded /home/karlheg/src/Ubuntu/cscope-15.7a

karlheg at journeyhawk:~/src/Ubuntu/Karmic 18:51:56 % ls
<No Output>

karlheg at journeyhawk:~/src/Ubuntu/Karmic 18:52:14 % pwd
/home/karlheg/src/Ubuntu/Karmic

karlheg at journeyhawk:~/src/Ubuntu/Karmic 19:03:52 % cd ..
karlheg at journeyhawk:~/src/Ubuntu 19:22:47 % ls
approx-3.3.0/        cscope-15.7a/           cscope_15.7a.orig.tar.gz          doc-central_1.8.2+nmu1.2_all.deb          doc-central_1.8.2+nmu1.tar.gz
approx_3.3.0.dsc     cscope_15.7a-1.diff.gz  doc-central-1.8.2+nmu1/           doc-central-1.8.2+nmu1_cgi_contents.diff  lurker-2.1.ASIDE/
approx_3.3.0.tar.gz  cscope_15.7a-1.dsc      doc-central_1.8.2+nmu1.1_all.deb  doc-central_1.8.2+nmu1.dsc                lurker-dbgsym_2.1-10.01_amd64.ddeb

Notice that the "Karmic" directory has been annihilated. That's really bad. It's all gone now.
(Luckily, I had not actually made any changes to any of it... I'm still just learning how it all fits together.)

ProblemType: Bug
Architecture: amd64
Date: Tue Feb  2 19:12:59 2010
DistroRelease: Ubuntu 9.10
Package: apt-src 0.25.1-0.1
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
SourcePackage: apt-src
Uname: Linux 2.6.31-17-generic x86_64

** Affects: apt-src (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
apt-src -c upgrade pkgname  deletes all files in pwd and puts upgraded pkgname in ..
https://bugs.launchpad.net/bugs/516376
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list