You are not logged in.
Every time I run "pacman -Sc" or "pacaur -Sc", I get the following errror:
"var/cache/pacman/pkg error reading fd 6"
I'm fairly sure it's a permissions issue, but why is pacman unable to manage a cache that it created? I attempted to change the permissions using chown and chmod commands, but it doesn't fit the problem to give my user access to the file.
What am I missing?
Thanks.
Offline
I attempted to change the permissions using chown and chmod commands, but it doesn't fit the problem to give my user access to the file.
What, exactly, did you do? What are the perms on the directory now?
Offline
KoolCharisma wrote:I attempted to change the permissions using chown and chmod commands, but it doesn't fit the problem to give my user access to the file.
What, exactly, did you do? What are the perms on the directory now?
The last modification I tried (out of several) left:
[kool@anonymous ~]$ ls -l /var/cache/pacman/
total 12
drwxrwxr-x 3 root wheel 12288 Dec 2 20:40 pkg
The group wheel includes my user "kool".
Is there a "pacman" user I need to add?
Offline
Stop digging; it isn't helping:
┌─[Shiv ~]
└─╼ ls -l /var/cache/pacman
total 184K
drwxr-xr-x 2 root root 180K Dec 3 13:52 pkgOffline
Changed permissions and ownership back to default so they mirror your files.
Still getting the error:
""[kool@anonymous pacman]$ pwd
/var/cache/pacman
[kool@anonymous pacman]$ ls -l
total 16
drwxr-xr-x 3 root root 16384 Dec 3 16:46 pkg
[kool@anonymous pacman]$ pacaur -Sc
Packages to keep:
All current sync database packages
Cache directory: /var/cache/pacman/pkg/
:: Do you want to remove all other packages from cache? [Y/n] y
removing old packages from cache...
error: could not open file /var/cache/pacman/pkg/ : Error reading fd 6""
Offline
Provide pacman's output with --debug.
Offline