On Fri, 18 Jan 2013 05:50:51 +0100, Polytropon <free...@edvax.de> wrote:
"man portmaster"

root@freebsd:/root # portmaster --list-origins > ~/installed-port-list
root@freebsd:/root # portsnap fetch update
root@freebsd:/root # portmaster -ty --clean-distfiles
root@freebsd:/root # portmaster --check-port-dbdir

delete? always y

root@freebsd:/root # portmaster -Faf
root@freebsd:/root # pkg_delete -a
root@freebsd:/root # rm -rf /usr/local/lib/compat/pkg

No backup of files in /usr/local, such as configuration files in /usr/local/etc needed.
Do the following directories have to be "more" empty?

root@freebsd:/root # ls -hAl /usr/local/bin
total 0
root@freebsd:/root # ls -hAl /usr/local/sbin
total 0
root@freebsd:/root # ls -hAl /usr/local/lib
total 12
drwxr-xr-x  4 root  wheel   512B Jan 18 16:17 X11
-r--r--r--  1 root  wheel   2.2k Jan 14 19:30 charset.alias
drwxr-xr-x  2 root  wheel   3.0k Jan 18 16:19 compat
drwxr-xr-x  2 root  wheel   1.0k Jan 18 16:10 dssi
root@freebsd:/root # ls -hAl /usr/local/lib/dssi
total 0
root@freebsd:/root # ls -hAl /usr/local/lib/compat
total 0
root@freebsd:/root # ls -hAl /usr/local/lib/X11
total 4
drwxr-xr-x  2 root  wheel   512B Jan 18 16:14 app-defaults
drwxr-xr-x  4 root  wheel   512B Jan 18 16:14 fonts
root@freebsd:/root # ls -hAl /var/db/pkg
total 9424
-rw-r--r--  1 root  wheel   9.2M Dec 23 22:42 pkgdb.db

root@freebsd:/root # cd /usr/ports/ports-mgmt/portmaster && make deinstall install clean root@freebsd:/usr/ports/ports-mgmt/portmaster # portmaster `cat ~/installed-port-list`

I wonder how to set a variable to automatically "answer" ok.
In this case it might be interesting to check all configurations.

If I finished this step, will then automatically everything be recompiled and reinstalled?

Regards,
Ralf

--
FreeBSD 9.1-RELEASE amd64
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to