LinHES Forums http://forums.linhes.org/ |
|
pacman -Sc http://forums.linhes.org/viewtopic.php?f=5&t=22693 |
Page 1 of 1 |
Author: | tscholl [ Fri Aug 10, 2012 1:57 pm ] |
Post subject: | pacman -Sc |
I wanted to free up some additional space by removing old packages from cache. It came back with an error that didn't sound good so I said N (was that the right answer?) Also answered N the next msg as well. Code: [root@mythtv mythtv]# pacman -Sc Cache directory: /data/var/cache/pacman/pkg/ Packages to keep: All locally installed packages Do you want to remove all other packages from cache? [Y/n] Y removing old packages from cache... error: error while reading package /data/var/cache/pacman/pkg/data: Unrecognized archive format File /data/var/cache/pacman/pkg/data does not seem to be a valid package, remove it? [Y/n] n Database directory: /var/lib/pacman/ Do you want to remove unused repositories? [Y/n] n Now I am wondering what's wrong with "/data/var/cache/pacman/pkg/data" and how do I fix it? I am thinking I should have answered Y to the second question. Can someone shed some light on what needs to be done and the correct responses. Thanks, TIm |
Author: | graysky [ Fri Aug 10, 2012 3:45 pm ] |
Post subject: | Re: pacman -Sc |
Nothing to worry about. "data" is not a package at all. Packages end in .pkg.tar.{g,x}z |
Author: | tscholl [ Fri Aug 10, 2012 4:00 pm ] |
Post subject: | Re: pacman -Sc |
Ok so just say Y to delete it ? and then Yes to "Do you want to remove unused repositories? [Y/n] n" |
Author: | graysky [ Fri Aug 10, 2012 5:57 pm ] |
Post subject: | Re: pacman -Sc |
Unless I am missing something, yes. That is safe to delete and it is safe to remove unused repos. |
Author: | tscholl [ Fri Aug 10, 2012 7:04 pm ] |
Post subject: | Re: pacman -Sc |
Ok. I did answer yes to remove data but when I went to look it's still there. After some more investigation here is whats there. Code: /data/var/cache/pacman/pkg/data/srv/httpd/htdocs/mythweb all the way down to /data/var/cache/pacman/pkg/data/srv/httpd/htdocs/mythweb/classes and below with all the files It looks like the compete contents of /data/srv/httpd/htdocs/mythweb have know idea how that got there, but am thinking that I should delete the whole tree. Any thoughts? Tim |
Author: | graysky [ Sat Aug 11, 2012 5:39 am ] |
Post subject: | Re: pacman -Sc |
No idea. LinHES has some customized stuff relative to vanilla Arch. You might want to wait for someone else to answer your question. |
Author: | tscholl [ Sat Aug 11, 2012 12:42 pm ] |
Post subject: | Re: pacman -Sc |
I have noticed if log out and then ssh back in again and then run pacman -Sc again I get the same error about the data dir. Hopefully one of the admins can tell me if it's safe to remove the files in sub-directory /data/var/cache/pacman/pkg/data and below. Tim |
Author: | jams [ Wed Aug 15, 2012 3:36 pm ] |
Post subject: | Re: pacman -Sc |
it's safe to remove. |
Author: | tscholl [ Wed Aug 15, 2012 5:33 pm ] |
Post subject: | Re: pacman -Sc |
Jams, Thanks for the update. I deleted the data subdir and I answered Y to Do you want to remove all other packages from cache? [Y/n] Y and N to Do you want to remove unused repositories? [Y/n] n Should I have said Yes to that one as well? Tks |
Author: | graysky [ Wed Aug 15, 2012 6:07 pm ] |
Post subject: | Re: pacman -Sc |
You have none to remove. |
Author: | tscholl [ Wed Aug 15, 2012 6:49 pm ] |
Post subject: | Re: pacman -Sc |
graysky Ok thanks! |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |