when I do "pkg_add -r somepackage" the program gets the package from "ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.3-release/Latest/" so it "just works".
however when I do "pkg_upgrade -a" I get fetch: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-release/INDEX: File unavailable (e.g., file not found, no access) how do I fix this? [annoyed] why doesn't this "just work"?; surely it's a bug when it doesn't. This is on a freshly installed 8.3 machine. I have done "man pkg_upgrade" and "man uma" and it refers to PACKAGESITE but doesn't actually tell you how to fix the thing. [/annoyed] thanks, Philip On 09/05/2012 07:43, Uffe Jakobsen wrote: > > > On 2012-04-30 12:20, Philip wrote: >> >> The problem is that the freebsd install isn't well patched because I >> just can't get along with the package management as well as debian apt. >> > > Can you be more specific as to what problems you have with FreeBSD package > management - maybe we > could help you ? an example would be fine. > > I agree that the current FreeBSD package management lacks features and/or > works differently than > you'd expect when used to the linux ones. > > But until the "pkgng" package management is ready I've found a simple > workaround that in my opinion > makes the current FreeBSD package management usable. > > 0) become root > > 1) Add the the "bsdadminscripts" package to your insstallation: > > pkg_add -r bsdadminscripts > > 2) make sure that you have a /usr/ports directory: > > mkdir -p /usr/ports > > 3) run "pkg_upgrade -a" to refresh all you currrently installed packages to > the latest versions. > > 4) run "pkg_upgrade some_pkg_name" to refresh just the one package and its > dependencies. > > > HINT: -n option is a dry-run flag - shows what would have been done if > command was issued without > the -n option > > HINT: -v option is a verbose flag - shows more detailed output. > > Hope that helps. > > /Uffe > > > _______________________________________________ Soekris-tech mailing list [email protected] http://lists.soekris.com/mailman/listinfo/soekris-tech
