You are not logged in.
This question might looks idiotic, now I'd feel worse not understanding it in case it alters this system ![]()
# pacman -Sc complains about the following directories, which should be files if I understand:
# pacman -Sc
Packages to keep:
All locally installed packages
Cache directory: /media/medfiles/src/pkg/
:: Do you want to remove all other packages from cache? [Y/n] y
removing old packages from cache...
error: could not open file /media/medfiles/src/pkg/logs : Error reading fd 6
error: could not open file /media/medfiles/src/pkg/srcpackages : Error reading fd 6
error: could not open file /media/medfiles/src/pkg/packages : Error reading fd 6Similar issue happened to ostroffjh with the answer: try to understand how these files ended up there first.
Looks like these directories were created by installing `keepassx-git`:
drwxr-xr-x 2 kozaki users 4,0K 29 mai 17:30 /media/medfiles/src/pkg/packages/
-rw-r--r-- 1 kozaki users 424K 29 mai 17:30 keepassx-git-2.0.alpha6.r141.gfc43aa1-1-x86_64.pkg.tar.xzsrc/logs and src/srcpackages were empty.
Deleting them then « touch » 'em, pacman -Sc complains about
Missing Meta-Data for the package in /media/medfiles/src/pkg/logsDoes this error alters pacman operations? If so can I cure it please, and what should I have done to avoid it happens?
Last edited by kozaki (2015-06-12 17:50:17)
Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery
) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9
Offline
pacman will not give that error message...
Offline
Hi Allan, I translated the error message to English, maybe that comes from it?
Here's the unmodified error when running `pacman -Sc`:
erreur: l’ouverture du fichier /media/medfiles/src/pkg/logs a échoué : Error reading fd 6
erreur: l’ouverture du fichier /media/medfiles/src/pkg/srcpackages a échoué : Error reading fd 6
erreur: l’ouverture du fichier /media/medfiles/src/pkg/packages a échoué : Error reading fd 6Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery
) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9
Offline
Try running
LANG=Cbefore the command you want to run. This will give you english output.
Last edited by runical (2015-06-12 14:53:22)
Offline
They are directories and should not be there. pacman is trying to open all the files in your package cache and fails. When you delete then touch them, pacman opens the files but finds they are not packages.
My guess is some AUR helper did that. Just delete them.
Offline
this explains the "missing metadata"
Thank you Allan.
@runical that's correct ; /me at the club with the laptop atm.
Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery
) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9
Offline