Dependencies after port tree update
Ralf Mardorf
ralf.mardorf at alice-dsl.net
Fri Jan 18 15:37:57 UTC 2013
On Fri, 18 Jan 2013 05:50:51 +0100, Polytropon <freebsd at edvax.de> wrote:
> "man portmaster"
root at freebsd:/root # portmaster --list-origins > ~/installed-port-list
root at freebsd:/root # portsnap fetch update
root at freebsd:/root # portmaster -ty --clean-distfiles
root at freebsd:/root # portmaster --check-port-dbdir
delete? always y
root at freebsd:/root # portmaster -Faf
root at freebsd:/root # pkg_delete -a
root at 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 at freebsd:/root # ls -hAl /usr/local/bin
total 0
root at freebsd:/root # ls -hAl /usr/local/sbin
total 0
root at 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 at freebsd:/root # ls -hAl /usr/local/lib/dssi
total 0
root at freebsd:/root # ls -hAl /usr/local/lib/compat
total 0
root at 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 at freebsd:/root # ls -hAl /var/db/pkg
total 9424
-rw-r--r-- 1 root wheel 9.2M Dec 23 22:42 pkgdb.db
root at freebsd:/root # cd /usr/ports/ports-mgmt/portmaster && make deinstall
install clean
root at 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
More information about the freebsd-questions
mailing list