On Sat, 08 Oct 2011 04:35:11 -0400 Allen <[email protected]> wrote:
[snip] > I noticed a little while ago I had "upgrade_pkg" and since I have 0 > Ports (I don't need to squeeze out extra performance, I'm not running > a Server, so I only compile when I have to, and I like Binaries more > so I generally install my software either with sysinstall, or, > pkg_add -r whateverIWant) and then, get emailed that my software has > a security flaw, and from there it usually went down hill. > > Well, now I have Hardware security in place, and that allowed me to > not worry about it as much, su, I started reading the man page. I saw > that I could do this: > > upgrade_pkg -a > > When I ran this, I noticed it was trying to get to a server about > FreeBSD Release 8, and freebsd-update, uses the right one. > freebsd-update grabs patches no problem, but for software packages it > doesn't touch them, though I DO wish it did.... If I could code in C, > the first thing I would do, would be to build a Package for FreeBSD > that basically was like this: > > fbsdupdate --update --all > > That would download, and install, ALL Security and Bug Fixes, no > matter if it was in the base system, the ports, or whatever. Since > I'm no coder, I can't though. But I did wonder why it wouldn't work. > > I read through the man page, looking to see if it showed a file it > uses to decide where to contact the server, but there isn't one. So > basically, how do you make upgrade_pkg work the way it says in the > man page? > > I basically figured I'd run upgrade_pkg -af and let it update and > reinstall everything, and Hoped that would patch it, but it kept going > for some FreeBSD8-RELEASE server saying it couldn't contact it, and > as I said, freebsd-update works fine, grabbing things from the server > for FreeBSD-RELEASE 8.2 which is what I'm running. I assume you mean "pkg_upgrade" (not "upgrade_pkg")? See the "ENVIRONMENT" section of the man page. All of the pkg_* tools are consistent in how they reference these variables. -- Conrad J. Sabatier [email protected] _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
