Hi!
A couple of days ago the disk-space ran out on my /var partition so I panicked and deleted some files somewhere in /var/db/portsnap/, and maybe somewhere else, because they took up alot of space, and I just thought that they where some old .tgz files that hadn't been deleted.
But anyway, after that I couldn't update my ports tree because of some error just like in this thread: http://forums.freebsd.org/showthread.php?t=3341
So I did as the guy answered:
And I could update my ports tree just fine.
BUT, now it won't update any ports and it doesn't "remember" any installed ports either...
If i run pkg_info i get:
I'm guessing I deleted some list of the installed ports..
Can I somehow fix this so it will recognize that I have installed the ports and update them?
Or would I have to reinstall FreeBSD to get it to work?
Please help!
A couple of days ago the disk-space ran out on my /var partition so I panicked and deleted some files somewhere in /var/db/portsnap/, and maybe somewhere else, because they took up alot of space, and I just thought that they where some old .tgz files that hadn't been deleted.
But anyway, after that I couldn't update my ports tree because of some error just like in this thread: http://forums.freebsd.org/showthread.php?t=3341
So I did as the guy answered:
Code:
rm /var/db/portsnap/tag
rm -rf /var/db/portsnap/files
rm -rf /usr/ports
portsnap fetch extract
And I could update my ports tree just fine.
BUT, now it won't update any ports and it doesn't "remember" any installed ports either...
If i run pkg_info i get:
Code:
pkg_info: no packages installed
I'm guessing I deleted some list of the installed ports..
Can I somehow fix this so it will recognize that I have installed the ports and update them?
Or would I have to reinstall FreeBSD to get it to work?
Please help!