You are not logged in.

#1 2008-01-28 01:26:55

Wilku
Member
Registered: 2007-07-04
Posts: 41

[solved] pacman -Scc not working

Hello, I wanted to commence pacman -Scc today for the first time since I installed Arch, I have over 5,7 gb of packages in my /var/cache/pacman/pkg directory and when I commenced the command it didn't work.

[root@haven etc]# pacman -Scc
Cache directory: /var/cache/pacman/pkg/
Do you want to remove ALL packages from cache? [Y/n] Y
Katalog bazy danych: /var/lib/pacman/
Do you want to remove unused repositories? [Y/n] Y

The packages are still there. I could remove them with  the command 'rm', I think, but supposingly this is a problem with pacman or my pacman,conf file so it is more important to solve those issues. Oh yeah, and my pacman.conf file is the deault generated by the installation of pacman 3.1.0.

Thanx for help.

Last edited by Wilku (2008-01-28 16:25:53)

Offline

#2 2008-01-28 01:28:25

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: [solved] pacman -Scc not working

I wonder if this could be a localization problem.
What if instead of replying Y, you just press enter directly?


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#3 2008-01-28 01:30:14

Wilku
Member
Registered: 2007-07-04
Posts: 41

Re: [solved] pacman -Scc not working

Yeah, it worked, when I just pressed Enter. But why, wasn't it working, when I answered Yes?

Offline

#4 2008-01-28 01:59:08

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: [solved] pacman -Scc not working

Your translation might be outdated, see : http://www.archlinux.org/pipermail/pacm … 10879.html
The following message hasn't been translated : Do you want to remove ALL packages from cache? [Y/n]
But it might be that Yes and no have been translated. So in this case, you need to use the first letter of yes in your language smile

I just checked, and indeed, the pl_PL translation hasn't been done fully :
http://www.archlinux.org/pipermail/pacm … 10925.html

But you can try answering 'T' instead of 'Y'.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#5 2008-01-28 16:25:33

Wilku
Member
Registered: 2007-07-04
Posts: 41

Re: [solved] pacman -Scc not working

Thanx for your help. It answers all of my questions. I guess the problem is solved

Offline

Board footer

Powered by FluxBB