FreeBSD port/package updating

Hi there. Every time I install packages I install them via pkg_add. In case that I want to update packages, I'm using:

Code:
portsnap fetch update
portmanager -u

But last time when I wanted to update, update was available for more than 400 packages (on desktop) and I had to be in the front of computer to press TAB and ENTER every time configuration dialog was shown.

Because I'm using binaries and I'm not specifying special configurations during install, is there any way to start update of installed packages with using "default" configurations?

I read manpages but I didn't see it.

Thanks for reply, have a nice day (sorry for my English, it's not my mother tongue).
 
killasmurf86 said:
For packages there are no configurations. I suppose you want to update with ports. In this case [ports]ports-mgmt/portmaster[/ports] is your friend.

for port binary update you can check out ports-mgmt/bxpkg, which is in early stage of development

I think that there is just one way to update packages installed via binary files and it's through ports.. For binary update I can use only bxpkg? Because I've got problem with it - when I run it and I run "Updating manager", I get error

Code:
Error while fetching! Error code: 16 (File unavailble (e.g., file not found, no access)) URL: 
ftp://ftp.is.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/INDEX.bz2.md5

I've searched something about that problem here on FreeBSD forum but there was no reply.

Any idea? Or any other way to update binary packages without updating through ports? Thanks.
 
Binarko said:
Or any other way to update binary packages without updating through ports?
Before updating anything please read /usr/ports/UPDATING. Then read the portmaster(8) manpage, more specifically the --packages and --packages-only options.
 
I'm reading manpage for portmaster but i can't find anything about binary packages. I'm such a newbie and I don't understand everything, can somebody explain me if ( or how ) it's possible to install just binary packages without using ports ? :(
 
Binarko said:
I thank that there is just one way to update packages installed via binary files and it's through ports.. For binary update I can use only bxpkg ? Because I've got problem with it - when I run it and I run "Updating manager", I get error "Error while fetching! Error code: 16 (File unavailble (e.g., file not found, no access)) URL: ftp://ftp.is.freebsd.org/pub/FreeBSD/po ... EX.bz2.md5". I've searched something about that problem here on freebsd forum but there was no reply..

Any idea? Or any other way to update binary packages without updating through ports? Thanks

set
PACKAGESITE environment to your local mirror (latest folder [NOTE: last backslash must be there])

For example I set it to ftp://ftp.linux.edu.lv/mirrors/ftp.freebsd.org/ports/amd64/packages-8-stable/Latest/
then run bxpkg
 
Back
Top