Public bug reported:

Binary package hint: apt-utils

Running on Edgy. apt-ftparchive -v gives "apt 0.6.45ubuntu14 for linux
i386 compiled on Sep 27 2006 23:43:42"

I'm running the following command: "apt-ftparchive generate apt-
ftparchive.conf". The "Packages" file that's generated by this contains
incorrect file sizes for the .debs it finds. This results in a "size
mismatch" error whenever I try to install anything from my repository.
The dpkg-scanpackages (1.13.22) command gives the correct file sizes.

My apt-ftparchive.conf file is as follows:
-----------------------------------------------------------------------
Dir {
  ArchiveDir ".";
  CacheDir ".";
};

Default {
  Packages::Compress ". gzip bzip2";
  Sources::Compress "gzip bzip2";
  Contents::Compress "gzip bzip2";
};

BinDirectory "dists/current/main/binary-i386" {
  Packages "dists/current/main/binary-i386/Packages";
  Contents "dists/current/Contents-i386";
  SrcPackages "dists/current/main/source/Sources";
};

Tree "dists/current" {
  Sections "main";
  Architectures "i386";
};

Default {
  Packages {
    Extensions ".deb";
  };
};
-----------------------------------------------------------------------

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
apt-ftparchive includes incorrect file sizes in Packages file
https://launchpad.net/bugs/82505

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to