View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 11 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: pacman -Sc
PostPosted: Fri Aug 10, 2012 1:57 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 892
Location: Lexington, Ky
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


Top
 Profile  
 
 Post subject: Re: pacman -Sc
PostPosted: Fri Aug 10, 2012 3:45 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1995
Location: /dev/null
Nothing to worry about. "data" is not a package at all. Packages end in .pkg.tar.{g,x}z

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject: Re: pacman -Sc
PostPosted: Fri Aug 10, 2012 4:00 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 892
Location: Lexington, Ky
Ok so just say Y to delete it ? and then Yes to "Do you want to remove unused repositories? [Y/n] n"


Top
 Profile  
 
 Post subject: Re: pacman -Sc
PostPosted: Fri Aug 10, 2012 5:57 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1995
Location: /dev/null
Unless I am missing something, yes. That is safe to delete and it is safe to remove unused repos.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject: Re: pacman -Sc
PostPosted: Fri Aug 10, 2012 7:04 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 892
Location: Lexington, Ky
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


Top
 Profile  
 
 Post subject: Re: pacman -Sc
PostPosted: Sat Aug 11, 2012 5:39 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1995
Location: /dev/null
No idea. LinHES has some customized stuff relative to vanilla Arch. You might want to wait for someone else to answer your question.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject: Re: pacman -Sc
PostPosted: Sat Aug 11, 2012 12:42 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 892
Location: Lexington, Ky
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


Top
 Profile  
 
 Post subject: Re: pacman -Sc
PostPosted: Wed Aug 15, 2012 3:36 pm 
Offline
Site Admin
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
it's safe to remove.


Top
 Profile  
 
 Post subject: Re: pacman -Sc
PostPosted: Wed Aug 15, 2012 5:33 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 892
Location: Lexington, Ky
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


Top
 Profile  
 
 Post subject: Re: pacman -Sc
PostPosted: Wed Aug 15, 2012 6:07 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1995
Location: /dev/null
You have none to remove.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject: Re: pacman -Sc
PostPosted: Wed Aug 15, 2012 6:49 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 892
Location: Lexington, Ky
graysky

Ok thanks!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu