[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#796459: apt: "Unable to create caches as file usage is disabled [..]"



Source: apt
Severity: important
Version: 1.1~exp9

In a fresh sid chroot:

$ cat /etc/apt/sources.list
deb http://mirror.dc15.debconf.org/debian sid main
deb-src http://mirror.dc15.debconf.org/debian sid main

$ echo deb http://mirror.dc15.debconf.org/debian experimental main |
sudo tee -a /etc/apt/sources.list
deb http://mirror.dc15.debconf.org/debian experimental main

$ sudo apt-get update
Get:1 http://mirror.dc15.debconf.org sid InRelease [215 kB]
Get:2 http://mirror.dc15.debconf.org experimental InRelease [161 kB]
Get:3 http://mirror.dc15.debconf.org sid/main Sources [10.4 MB]
Get:4 http://mirror.dc15.debconf.org sid/main amd64 Packages [10.1 MB]
Get:5 http://mirror.dc15.debconf.org experimental/main amd64 Packages
[1157 kB]
Fetched 22.0 MB in 4s (4550 kB/s)                      
Reading package lists... Done
W: Size of file
/var/lib/apt/lists/mirror.dc15.debconf.org_debian_dists_sid_main_source_Sources.gz
is not what the server reported 10394726 10402082
W: Size of file
/var/lib/apt/lists/mirror.dc15.debconf.org_debian_dists_sid_main_binary-amd64_Packages.gz
is not what the server reported 10057069 10057260

$ sudo apt-get install -t experimental apt
[..]
Setting up libapt-pkg5.0:amd64 (1.1~exp9) ...
Setting up apt (1.1~exp9) ...
Installing new version of config file /etc/apt/apt.conf.d/01autoremove
...
Installing new version of config file /etc/cron.daily/apt ...
Processing triggers for libc-bin (2.19-19) ...

$ sudo apt-get update
Hit:1 http://mirror.dc15.debconf.org/debian sid InRelease
Hit:2 http://mirror.dc15.debconf.org/debian experimental InRelease
Reading package lists... Error!
E: Unable to create caches as file usage is disabled, but memory not
allowed either!
E: The package lists or status file could not be parsed or opened.

$ echo $?
100

ASame with apt-get install, etc. - ie. my installation is somewhat
hosed.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-


Reply to: