apt-ftparchive fails to rename Packages.gz files

Bug #613211 reported by Loïc Minier
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Fix Released
Undecided
Julian Andres Klode

Bug Description

Binary package hint: apt

Hey

This bug just appeared with latest apt:
apt-ftparchive generate apt.conf
 .:E: Problem renaming the file ./Packages.gz.new.ojEiM2 to ./Packages.gz.new - rename (2: No such file or directory)
E: Problem renaming the file ./Packages.new.SK28Xs to ./Packages.new - rename (2: No such file or directory)

E: Sub-process Compress child returned an error code (100)
E: Error processing directory .
Packages done, Starting contents.
Done. 0B in 0 archives. Took 0s

apt.conf has:
Dir {
        ArchiveDir ".";
        CacheDir ".";
};

BinDirectory "." {
        Packages "Packages";
        BinCacheDB "pkgcache.apt";
        FileList "filelist.apt";
};

Thanks,

Revision history for this message
Peter Pearse (peter-pearse) wrote :

apt 0.7.26~exp12ubuntu3 for i386 compiled on Aug 2 2010 23:53:18 fails similarly for me

Changed in apt (Ubuntu):
assignee: nobody → Julian Andres Klode (juliank)
status: New → In Progress
Revision history for this message
Julian Andres Klode (juliank) wrote :

This bug has been fixed in the debian-experimental-ma branch and should be in the next release.

Changed in apt (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apt - 0.7.26~exp12ubuntu4

---------------
apt (0.7.26~exp12ubuntu4) maverick; urgency=low

  [ Julian Andres Klode ]
  * apt-pkg/contrib/fileutl.cc:
    - Add WriteAtomic mode.
    - Revert WriteEmpty to old behavior (LP: #613211)
  * apt-pkg, methods:
    - Convert users of WriteEmpty to WriteAtomic.
  * apt-pkg/depcache.cc:
    - Only try upgrade for Breaks if there is a newer version, otherwise
      handle it as Conflicts (by removing it) (helps for #591882).

  [ Michael Vogt ]
  * debian/control:
    - Add recommends on gnupg to apt, apt-key uses it.
      (changed from debian)
 -- Michael Vogt <email address hidden> Wed, 11 Aug 2010 12:01:30 +0200

Changed in apt (Ubuntu):
status: Fix Committed → Fix Released
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.