[Bug 241633] Re: dpkg-source errors out when attempting to delete .dpkg-orig files

Launchpad Bug Tracker 241633 at bugs.launchpad.net
Wed May 25 04:18:05 UTC 2011


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

** Changed in: dpkg (Ubuntu)
       Status: Incomplete => Expired

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

Title:
  dpkg-source errors out when attempting to delete .dpkg-orig files

Status in “dpkg” package in Ubuntu:
  Expired

Bug description:
  Binary package hint: dpkg

  Here is example output:

  Copying back the cached apt archive contents
  Copying source file
      -> copying [dbus_1.1.20-1ubuntu3.dsc]
      -> copying [./dbus_1.1.20.orig.tar.gz]
      -> copying [./dbus_1.1.20-1ubuntu3.diff.gz]
  Extracting source
  dpkg-source: warning: extracting unsigned source package (./dbus_1.1.20-1ubuntu3.dsc)
  dpkg-source: extracting dbus in dbus-1.1.20
  dpkg-source: unpacking dbus_1.1.20.orig.tar.gz
  dpkg-source: applying ./dbus_1.1.20-1ubuntu3.diff.gz
  dpkg-source: failure: remove patch backup file dbus-1.1.20/debian/patches/03_fix_inotify.patch.dpkg-orig: No such file or directory
  pbuilder: Failed extracting the source

  
  Here is the relevant slice of code from /usr/bin/dpkg-source:

      for $fn (keys %filepatched) {
          my $ftr = "$newdirectory/" . substr($fn, length($expectprefix) + 1);
          utime($now, $now, $ftr) ||
              syserr(_g("cannot change timestamp for %s"), $ftr);
          $ftr.= ".dpkg-orig";
          unlink($ftr) || syserr(_g("remove patch backup file %s"), $ftr);
      }

  Why it wants to delete a .dpkg-orig file that is not patched during
  the patch process... BEATS ME but I can't build my packages and I
  need, really need, to build those packages to make my system
  functional again.

  Environment particularities: ZFS filesystem.  This should have no
  impact whatsoever.

  rudd-o at karen: ~/Projects/dbus/deb $
  dpkg -l dpkg-dev | cat
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
  |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
  ||/ Nombre                                     Versión                                           Descripción
  +++-==========================================-==================================================-============================================
  ii  dpkg-dev                                   1.14.16.6ubuntu4                                   package building tools for Debian




More information about the foundations-bugs mailing list