Empty Dir::Cache::pkgcache setting not handled correctly: E: Could not open file - open (2: No such file or directory)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
synaptic (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I am getting the following error dialog when starting "sudo synaptic", at the end of the "Reading package lists" process:
E: Could not open file - open (2: No such file or directory)
E: _cache->open() failed, please report.
Using "sudo aptitude" does not produce an error.
This is caused by the following settings in /etc/apt/
Dir:
Dir:
I am using these settings, because I do not want apt to cache files on disk, which are already cached by the local Squid instance.
According to the apt documentation, the cache can be disabled by setting it to a blank value.
Synaptic only chokes on the 'Dir::Cache:
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: synaptic 0.80.2
ProcVersionSign
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
Date: Wed Oct 23 11:10:28 2013
InstallationDate: Installed on 2012-05-28 (512 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MarkForUpload: True
SourcePackage: synaptic
UpgradeStatus: Upgraded to saucy on 2013-10-08 (14 days ago)
Status changed to 'Confirmed' because the bug affects multiple users.