Bug#796459: marked as done (apt: "Unable to create caches as file usage is disabled [..]" )
Your message dated Sat, 22 Aug 2015 01:13:15 +0100
with message-id <1440202395.3271615.362760097.491D7F3A@webmail.messagingengine.com>
and subject line Re: Bug#796459: apt: "Unable to create caches as file usage is disabled [..]"
has caused the Debian Bug report #796459,
regarding apt: "Unable to create caches as file usage is disabled [..]"
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
796459: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796459
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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
`-
--- End Message ---
--- Begin Message ---
Hi David,
> > 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
>
> (These warnings are… strange. Didn't you wonder about them?)
I did, but I was silently blaming them on some potential mirror hackery
being done here at DebConf..
> The bugscript would have asked you for your configuration, so I am going
> to do it now instead: "apt-config dump".
Well, a quick glance at this revealed that it was Docker messing around
with the APT configuration, namely setting
``Dir::Cache::{pkgcache,srcpkgcache} "";``
If you're curious, here is the quasi-official (I believe) Docker image's
/etc/apt/apt.conf.d:
https://gist.github.com/6459e3e6eeeec10db8c7
https://gist.github.com/41894af78eaf99194087
https://gist.github.com/fa0c2c9968858fd1660b
https://gist.github.com/313ae6bdca14f0bf79d5 <-- !!!
https://gist.github.com/87ef621440087a85b332
https://gist.github.com/615274e96c92fb3463ec
I'm closing this bug, but I guess whoever is in charge of those images
should be pinged to be aware of this..
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
--- End Message ---
Reply to: