Bug#874669: apt-file reports empty cache; 'apt update' does not fill the cache
On Fri, Sep 08, 2017 at 04:11:41PM +0200, Marko von Oppen wrote: > Package: apt-file > Version: 3.1.4 > Severity: important > > Dear Maintainer, > > The cache is reported empty and the suggested way to fill the cache does not > work anymore: > > Sample: > $ apt-file search test > E: The cache is empty. You need to run "apt update" first. > > $ apt update > Reading package lists... Done > W: chmod 0700 of directory /var/lib/apt/lists/partial failed - > SetupAPTPartialDirectory (1: Operation not permitted) > E: Could not open lock file /var/lib/apt/lists/lock - open (13: > Permission denied) > E: Unable to lock directory /var/lib/apt/lists/ > W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches > (13: Permission denied) > W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - > RemoveCaches (13: Permission denied) > > $ sudo apt update > Hit:1 [snip] ./ InRelease > Hit:2 [snip] ascii InRelease > Hit:3 [snip] ascii-updates InRelease > Hit:5 [snip] ascii-backports InRelease > Hit:4 [snip] ascii-security InRelease > Reading package lists... Done > Building dependency tree > Reading state information... Done > All packages are up to date. well, do you ship content files? -- Debian Developer - deb.li/jak | jak-linux.org - free software dev | Ubuntu Core Developer | When replying, only quote what is necessary, and write each reply directly below the part(s) it pertains to ('inline'). Thank you.
Bug#874669: apt-file reports empty cache; 'apt update' does not fill the cache
Package: apt-file Version: 3.1.4 Severity: important Dear Maintainer, The cache is reported empty and the suggested way to fill the cache does not work anymore: Sample: $ apt-file search test E: The cache is empty. You need to run "apt update" first. $ apt update Reading package lists... Done W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted) E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock directory /var/lib/apt/lists/ W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied) W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied) $ sudo apt update Hit:1 [snip] ./ InRelease Hit:2 [snip] ascii InRelease Hit:3 [snip] ascii-updates InRelease Hit:5 [snip] ascii-backports InRelease Hit:4 [snip] ascii-security InRelease Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. $ apt-file search test E: The cache is empty. You need to run "apt update" first. It is intented that 'apt-file update' can only be run as root? BR Marko *** End of the template - remove these template lines *** -- System Information: Distributor ID: Devuan Description:Devuan GNU/Linux testing/unstable Release:testing/unstable Codename: n/a Architecture: x86_64 Kernel: Linux 4.11.0-0.bpo.1-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages apt-file depends on: ii apt 1.4.7 ii libapt-pkg-perl 0.1.32 ii liblist-moreutils-perl 0.416-1+b1 ii libregexp-assemble-perl 0.36-1 ii perl 5.24.1-3+deb9u1 apt-file recommends no packages. apt-file suggests no packages. -- no debconf information