Package: apt-file
Version: 2.0.8.2
 
I'm running Debian Etch. I have observed the following behaviour,
identical on two Etch boxes (one running 2.6.18.3, the other running
2.6.20):
 
1.      "apt-get install apt-file" completes successfully, but "apt-file
search foo" returns no results because "apt-file update" has not been
run (already reported as bug #408309). 
2.      "apt-file update" gives the error "E: Can't write in
/var/cache/apt/apt-file: No such file or directory" - sure enough,
/var/cache/apt/apt-file does not exist. 
3.      After manually creating the directory and ensuring that it is
writable by users who will use apt-file, the update works and apt-file
then works normally. (I have verified that apt-file exits with an error
when invoked by a user who does not have write privileges to that
directory.)
 
I suggest that creation of /var/cache/apt/apt-file, with appropriate
permissions, is done as part of the installation of the apt-file
package. 
 
Regards,
 
Chris Carr

This e-mail may contain information which is confidential, legally privileged 
and/or copyright protected. This e-mail is intended for the addressee only. If 
you receive this in error, please contact the sender and delete the material 
from your computer


Reply via email to