Hi,
I upgraded from version 14.0 p6 to 14.1 release. Currently I can still browse the internet, work with the machine, do pings to Freebsd.org. No problem with network connections or my data.
But I cannot upgrade any packages anymore:
In the end of the man portmaster manual, the following is mentioned:
Using portmaster to do a complete reinstallation of all ports:
1. portmaster --list-origins > ~/installed-port-list
2. Update the ports tree
3. portmaster -ty --clean-distfiles
4. portmaster -Faf
5. pkg delete -afy
6. rm -rf /usr/local/lib/compat/pkg
7. Back up any files in /usr/local you wish to save,
such as configuration files in /usr/local/etc
8. Manually check /usr/local and /var/db/pkg
to make sure that they are really empty
9. Install ports-mgmt/pkg and then ports-mgmt/portmaster.
Remove both from ~/installed-port-list.
10. portmaster --no-confirm `cat ~/installed-port-list`
Would it be wise to do the following steps:
1. pkg delete -afy
2. rm -rf /usr/local/lib/compat/pkg
3. empty /usr/local
4. Empty /var/db/pkg
Now install all ports you want again manually.
Here and there I can find other threads with people having the same issue in the past. I wonder:
1. Is there a way to tackle this directly?
2. If not, would you advise to clean the packages and re-initiate the package management and how?
Thanks in advance.
I upgraded from version 14.0 p6 to 14.1 release. Currently I can still browse the internet, work with the machine, do pings to Freebsd.org. No problem with network connections or my data.
But I cannot upgrade any packages anymore:
Code:
root@vm1:~ # pkg upgrade
Updating FreeBSD repository catalogue...
pkg: Repository FreeBSD has a wrong packagesite, need to re-create database
pkg: An error occured while fetching package
pkg: An error occured while fetching package
repository FreeBSD has no meta file, using default settings
pkg: An error occured while fetching package
pkg: An error occured while fetching package
pkg: An error occured while fetching package
pkg: An error occured while fetching package
Unable to update repository FreeBSD
Error updating repositories!
root@vm1:~ #
In the end of the man portmaster manual, the following is mentioned:
Using portmaster to do a complete reinstallation of all ports:
1. portmaster --list-origins > ~/installed-port-list
2. Update the ports tree
3. portmaster -ty --clean-distfiles
4. portmaster -Faf
5. pkg delete -afy
6. rm -rf /usr/local/lib/compat/pkg
7. Back up any files in /usr/local you wish to save,
such as configuration files in /usr/local/etc
8. Manually check /usr/local and /var/db/pkg
to make sure that they are really empty
9. Install ports-mgmt/pkg and then ports-mgmt/portmaster.
Remove both from ~/installed-port-list.
10. portmaster --no-confirm `cat ~/installed-port-list`
Would it be wise to do the following steps:
1. pkg delete -afy
2. rm -rf /usr/local/lib/compat/pkg
3. empty /usr/local
4. Empty /var/db/pkg
Now install all ports you want again manually.
Here and there I can find other threads with people having the same issue in the past. I wonder:
1. Is there a way to tackle this directly?
2. If not, would you advise to clean the packages and re-initiate the package management and how?
Thanks in advance.