[Bug 250909] Re: Apt-get does not support packages of 2.5 gig...

Landon Thomas lthomas at cs.umn.edu
Fri Oct 11 21:47:21 UTC 2013


I'm seeing the bug in Ubuntu 12.04 both with apt-get and on the repo end
with apt-ftparchive:

me at server:/$ sudo apt-ftparchive --contents=false generate /path/to/local/config/apt-ftparchive-precise.conf
 /path/to/local/repo/: 18 files 19.8 MB 0s
 /path/to/local/repo/:
E: Unable to seek ahead 3747275956
E: Errors apply to file '/path/to/local/repo/pool/local/m/matlab/matlab2013a_8.1.0.604_amd64.deb'
 17 files 3,758 MB 0s
 /path/to/local/repo/:
E: Unable to seek ahead 3747275956
E: Errors apply to file '/path/to/local/repo/pool/local/m/matlab/matlab2013a_8.1.0.604_amd64.deb'
 17 files 3,758 MB 0s
 /path/to/local/repo/: 18 files 16.5 MB 0s
 /path/to/local/repo/: 16 files 4,244 kB 0s
 /path/to/local/repo/: 16 files 4,244 kB 0s
me at server:/$ apt-ftparchive -v
apt 0.8.16~exp12ubuntu10.15 for amd64 compiled on Oct  3 2013 15:14:39

My apt-ftparchive-precise.conf

Default {
        Packages::Compress ".";
        Contents::Compress ".";
}

Dir {
	ArchiveDir "/path/to/local/repo/";
	OverrideDir "/path/to/local/indices";
	CacheDir "/path/to/local/cache/";
};

TreeDefault {
	Directory "/path/to/local/repo/";
	SrcDirectory "/path/to/local/repo";
	Packages "../repo-output/dists/$(DIST)/$(SECTION)/binary-$(ARCH)/Packages";
	Sources "../repo-output/dists/$(DIST)/$(SECTION)/source/Packages";
	FileList "/path/to/local/flist/$(DIST)-$(ARCH)-$(SECTION).flist.inc";
	BinCacheDB "cache-$(ARCH)-$(DIST)-$(SECTION).db";
};

Tree "precise" {
	Sections "main";
	Architectures "i386 amd64";
	SrcOverride "override.precise.$(SECTION).src";
	BinOverride "override.precise.$(SECTION)";
	ExtraOverride "override.precise.extra.$(SECTION)";
};

Tree "precise-updates" {
	Sections "main";
	Architectures "i386 amd64";
	SrcOverride "override.precise-updates.$(SECTION).src";
	BinOverride "override.precise-updates.$(SECTION)";
	ExtraOverride "override.precise-updates.extra.$(SECTION)";
};

Tree "precise-local" {
	Sections "main";
	Architectures "i386 amd64";
	SrcOverride "override.precise-local.$(SECTION).src";
	BinOverride "override.precise-local.$(SECTION)";
	ExtraOverride "override.precise-local.extra.$(SECTION)";
-----

Strangely, the same apt-ftparchive command on my old repo server running
Ubuntu 8.04 has no error with the same 3.7 GB MATLAB package:

me at old-server:/$ sudo apt-ftparchive --contents=false generate /path/to/local/config/apt-ftparchive-precise.conf
 /path/to/local/repo/: 18 files 19.8MB 0s
 /path/to/local/repo/: 17 files 3758MB 0s
 /path/to/local/repo/: 17 files 3758MB 0s
 /path/to/local/repo/: 18 files 16.5MB 0s
 /path/to/local/repo/: 16 files 4244kB 0s
 /path/to/local/repo/: 16 files 4244kB 0s
me at old-server:/$ apt-ftparchive -v
apt 0.7.9ubuntu17.6 for amd64 compiled on Jun 15 2012 15:12:30

I've checked the source from Yaroslav Leonov's and Michael Vogt's
patches above, and they're incorporated into 12.04's
apt-0.8.16~exp12ubuntu10.15 source.

-- 
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/250909

Title:
  Apt-get does not support packages of 2.5 gig...

Status in “apt” package in Ubuntu:
  Fix Released
Status in “dpkg” package in Ubuntu:
  Invalid
Status in “apt” source package in Lucid:
  Triaged
Status in “dpkg” source package in Lucid:
  Invalid

Bug description:
  This might be a little unusual but I created a 2.5 gig debian package
  that I've put on my apt server...

  When I do an apt-get install It fails when checking the size of the
  file and it outputs it as an exponential value.

  Since 2gig is the maximum for 32 bits I assume that this could be the
  problem...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/250909/+subscriptions



More information about the foundations-bugs mailing list