You are not logged in.

#1 2017-12-02 03:39:53

KoolCharisma
Member
From: Glen Burnie, Maryland
Registered: 2017-12-02
Posts: 5

Error cleaning cache "var/cache/pacman/pkg error reading fd 6"

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

#2 2017-12-02 04:06:38

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Error cleaning cache "var/cache/pacman/pkg error reading fd 6"

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?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-12-03 01:47:46

KoolCharisma
Member
From: Glen Burnie, Maryland
Registered: 2017-12-02
Posts: 5

Re: Error cleaning cache "var/cache/pacman/pkg error reading fd 6"

jasonwryan wrote:
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

#4 2017-12-03 01:57:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Error cleaning cache "var/cache/pacman/pkg error reading fd 6"

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 pkg

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2017-12-03 21:49:43

KoolCharisma
Member
From: Glen Burnie, Maryland
Registered: 2017-12-02
Posts: 5

Re: Error cleaning cache "var/cache/pacman/pkg error reading fd 6"

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

#6 2017-12-03 21:55:03

apg
Developer
Registered: 2012-11-10
Posts: 211

Re: Error cleaning cache "var/cache/pacman/pkg error reading fd 6"

Provide pacman's output with --debug.

Offline

Board footer

Powered by FluxBB