Wednesday, 21 November 2007

FreeBSD ports update hidden gem

Ones a while you gets really fed up of something and you struggle trough the source to get some fix, well this is just one of them. Update all packages mark critical by portaudit without getting those blue config screens in which you choose the default options anyway, cause the port maintainer knows his job well!

#fetch latest portsversion
$sudo portsnap fetch
$sudo portsnap update
#update portaudit
$sudo portaudit -F
#update the critical ones :-)
$sudo portupgrade -mBATCH=yes `portaudit -aq`

No comments:

Post a Comment