Check that you have less files in /var/lib/apt/lists than ulimit -n has a value. You probably have too many repositories or too low a ulimit. Otherwise, open a new bug with ubuntu-bug/apport.
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1089070 Title: Could not open file /var/lib/apt/lists/archive.ubuntu .com_ubuntu_dists_quantal_main_binary-amd64_Packages - open (24: Too many open files) Status in apt package in Ubuntu: Fix Released Status in apt package in Debian: Fix Released Bug description: Apt fails if more than 40 keyrings are in use. Old description: "sudo apt-get build-dep" fails every single time with a big list of errors like the one below: E: Could not open file /var/lib/apt/lists/archive.ubuntu .com_ubuntu_dists_quantal_main_binary-amd64_Packages - open (24: Too many open files) ProblemType: Bug DistroRelease: Ubuntu 12.10 Package: apt 0.9.7.5ubuntu5.1 ProcVersionSignature: Ubuntu 3.5.0-20.31-generic 3.5.7.1 Uname: Linux 3.5.0-20-generic x86_64 ApportVersion: 2.6.1-0ubuntu9 Architecture: amd64 Date: Tue Dec 11 20:58:30 2012 InstallationDate: Installed on 2012-09-14 (88 days ago) InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120914) MarkForUpload: True SourcePackage: apt UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1089070/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

