Slashdot Mirror


Summary of Changes to NetBSD's Packages Collection

Dan writes "NetBSD's Alistair Crooks indicates in his December 2002 report that there are 3402 packages in the NetBSD Packages Collection, up from 3327 the previous month, a rise of 75. The Package of the Month award goes to pkgsrc/pkgtools/pkgdepgraph, nominated by Andrew Brown - you'll need graphviz to look at the dependency graph that it produces, but the output is quite fascinating."

33 comments

  1. pkgsrc on linux by noselasd · · Score: 2

    the pkgsrc is supposed to be portable, anyone have any experience on usng it on a Linux distro ?

    1. Re:pkgsrc on linux by jschauma · · Score: 4, Informative

      Yes, it works beautifully. There have even been reports of a Linux installation that is _entirely_ managed by pkgsrc (that is, including the base system, glibc, kernel etc.). Certainly beats rpm, apt and the like.

      Furthermore, pkgsrc also works under Darwin, FreeBSD, IRIX, OpenBSD and Solaris. See http://www.netbsd.org/Documentation/software/packa ges.html#bootstrap for details.

      --

      -- "Tradition is the illusion of permanence."
    2. Re:pkgsrc on linux by Bishop · · Score: 1

      Cool.

      Do you have any documentation of a strict pkgsrc Linux install?

      I was looking to use Open Packages, but that project seems to have stalled. I will give this a try instead. Thank you for the pointer.

    3. Re:pkgsrc on linux by jschauma · · Score: 2, Informative

      Search the NetBSD mailinglists for ``linux pkgsrc'' (Google powered NetBSD searches are here). One helpful message should be this one.

      --

      -- "Tradition is the illusion of permanence."
    4. Re:pkgsrc on linux by alan_d_post · · Score: 1

      Even more fun would be a pkgsrc-ized *NetBSD* system! Death to the monolithic base system! That is one thing, at least, that Red Hat got right.

    5. Re:pkgsrc on linux by Anonymous Coward · · Score: 0

      In fact there is the syspkg effort which goes away from the monolithic *.tgz installs and instead manages system packages (i.e. all the base system, what now is installed via *.tgz sets) in the style of syspkg, including possibilities to partially upgrade, deinstall etc. those packages. IIRC at current the dependancies are not gotten right, and I assume that in the light of the nathanw-sa merge the nbsd developers really had better things to do than grooming that :) I don't exactly remember how to get a syspkg'ized base system, but if you build from source, you can make register or something like that in usr/src/distrib/syspkg/sets which will register the installed system in DESTDIR into I think var/db/syspkg (but as I said, I don't think the dependancies are gotten right atm!) and you can use that to remove stuff you don't need from the base system (like e.g. isdn stuff etc.). I succeussfully used this to do an install of a base system including gcc and a tclsh (yes yes, flame me for it not being perl :) and manpages etc. without stuff I did not need onto my 70 MB HD of my 486/4MB laptop. Hope that brought some light at least into that dark corner.

    6. Re:pkgsrc on linux by alan_d_post · · Score: 1

      That's all well and good -- but why a separate package system? Why not make the packages /var/db/pkg packages?

    7. Re:pkgsrc on linux by Anonymous Coward · · Score: 0

      It is NO different package system, it uses all the tools you are used to. It just stores system packages in another hierarchy, that's all.

      You can use pkg_add, pkg_delete et al. just like you would for pkgsrc packages.

    8. Re:pkgsrc on linux by alan_d_post · · Score: 1

      Neat! Thanks for the pointers. I guess there is intelligent life on Slashdot after all!

  2. Size by 0x0d0a · · Score: 1

    the output is quite fascinating.

    The output is quite *large*. I saw a full dependency graph of the (smaller) set of RH packages once, and that isn't as many packages by a long shot. Ick.

    There was some program (forget the name, and isn't free) that lets you examine large graphs, hundreds of thousands of nodes, and get useful information from them...you can view all nodes/edges N hopes away from a given node, and things like that.

    I don't think there's a free equivalent, though.

  3. 5 comments? by Dr.+Photo · · Score: 4, Interesting
    Hmm... this story's been up for 3 hours, and has garnered a total of 5 comments.

    I think NetBSD wins the award for "Most Underrated Operating System"....

    IMHO it's really worth a try, and it's a shame that it's gone so largely unrecognized, at least here in the States. I for one, have fallen in love with the clean and elegant design, and with the general philosophy that keeps it that way. This plucky little OS deserves to win.

    So, get the spare parts out of the closet, cobble together a working system, and set up a webserver or something, dag-nabbit! :)

    1. Re:5 comments? by LizardKing · · Score: 4, Informative

      I have to second this recommendation to try out NetBSD. I've used various Linux distros and all three of the free BSD's on a regular basis, but keep on coming back to NetBSD. It just exudes quality, and even a cretin like me can understand large chunks of the codebase.

      The package system is brilliant, and has really come into its own now that broadband Internet is affordable. I can do a CVS update of my pkgsrc tree once in a while, and then just update the handfull of apps I need. In the process, any underlying libraries also get updated. Debian users get all smug about the apt* suite of tools, but frankly they leave me underwhelmed in comparison to NetBSD.

      Finally, the mailing lists are well organised with a list for each port and others for key features of the system. The subscribers are friendly, informed and rarely descend into the sad bickering that's all too frequent in the Linux world.

      Chris

    2. Re:5 comments? by JohnFluxx · · Score: 1

      May I ask.. does netbsd come with everything like kde3 etc?
      Also how would you rate all the gnu-tool equivalents? I mean, don't they have their own version of things like even "ls" ?

    3. Re:5 comments? by Dr.+Photo · · Score: 3, Informative
      May I ask.. does netbsd come with everything like kde3 etc?

      Yes. It's in the package tree. When you first install, you have the base system by default; then you decide which packages you wish to install (available both as binaries via pkg_add, or as source via the pkgsrc tree [downloadable via ftp or CVS]).

      Also, the GNU tools are available, and in most cases enabled by default in the base system. And the rest are available as packages (frankly I would have gone insane if I didn't have my bash :-)

      And yes, they have their own version of 'ls', though I don't see any reason why you couldn't replace it, if you really wanted to.

    4. Re:5 comments? by Anonymous Coward · · Score: 0
      I mean, don't they have their own version of things like even "ls" ?
      NetBSD's utilities such as ls(1) comply with the appropriate standards such as POSIX.
    5. Re:5 comments? by Anonymous Coward · · Score: 0

      But how will you live without ls --color???!??!?!?!?

      It is the only way I can face reality!

    6. Re:5 comments? by Anonymous Coward · · Score: 0

      The designers don't make it easy. I've had plenty of Linux experience and currently run Slack (ftp, sshd gateway, NFS), FreeBSD (NFS and halflife server) and Gentoo (desktop and laptop.) NetBSD's installation routines suceeded where FreeBSD's threw a kernel panic, but at the end of it left me staring a vi setup. I have no desire to learn vi just to install an OS. It would take so little effort to make NetBSD more accessible.

  4. which file system... by zogger · · Score: 2

    ...which file system on install do you recommend, and why? And try 1.6 stable first, or a newer release?

    1. Re:which file system... by LizardKing · · Score: 4, Informative

      The 1.6.1 release will be out shortly, in a matter of a few weeks judging by credible reports. I would strongly suggest you go with that release for a first taste of NetBSD. The "stable" CVS branch is akin to Debian testing, and is the branch from which 1.6.1 will be cut. With the release so close it's not really worth rolling your own, although pre-compiled binaries are available on ftp://releng.netbsd.org/pub/NetBSD-daily/.

      The equivalent of Debian unstable is known as "current" in NetBSD land. It is the cutting edge CVS branch, and contains notable new features like scheduler activations (the cool threading support just merged from another branch), and major SMP changes. Given the scale of these changes, installing current is definitely not a good introduction to NetBSD. I'm running 1.6 on the machine that I'm typing this, and 1.6M (the official version of current as we speak) on another machine. The 1.6M machine has been very stable for me, but there are a few quirks with things like Mozilla.

      Chris

    2. Re:which file system... by Dr.+Photo · · Score: 2, Informative
      Well, I'm running with the default "FFS" filesystem, and I have no complaints. :)

      I'm running 1.6 stable with all the patches, but I suggest NetBSD-1.6-release, which is basically the formal 1.6-stable release, but with all the patches already applied for you. The link I gave you is for the most recent daily snapshot, which is probably what you'll want.

  5. Protocol by Anonymous Coward · · Score: 0


    --

    1. Switch to windows
    2. ????
    3. Profit!!

  6. MOD PARENT UP! by Anonymous Coward · · Score: 0

    This is the funniest post I have seen this month! I guess it's insulting to the hard working nigerian scam artists to compare them with someone like Bush, but that's no reason to mod it as troll.

  7. Was that an additional 75 users? by Anonymous Coward · · Score: 0

    Bringing the grand total to 76.

    And who said that *BSD was dying.

    1. Re:Was that an additional 75 users? by Anonymous Coward · · Score: 0

      No, it was an additional 75 packages. Try reading the original message.

  8. Re:Confidential by Anonymous Coward · · Score: 0

    EXCELLENT!

    Thanks for posting this highly entertaining silliness!

  9. Jerk City is better by Anonymous Coward · · Score: 0
  10. Re:pkg'ized base system by msw2 · · Score: 1

    One more note on this, you actually can't use pkg_*
    tools *exactly* like you would for packages, you will have to set PKG_DB_DIR (I think) by hand to /var/db/syspkg when you use it. But the plan (as far as I understand it) is to remove the need to that, too; if I'm not mistaken, the first pkg'ized netbsd should be 2.something (former 1.7 ? the next major thing :) At current it's mostly usable only for micro update when you know what you're doing (tm) as the dependancies are somewhat ... weak. But still, nothing holds you back from testing some... especially if you have more than one system you can easily build on one, and install, for example, comp-gcc-1-6-M (or something like that - the release version including all minor stuff goes into the package name) on other machines if you know that you will want a new gcc on other machines but not all other stuff from the comp.tgz set.
    Again, it's not in the release yet, it's not (yet) advocated, I think there's a reason for it :) Not holding ME back at least from sniffing into it (and I enjoy(ed) the tour).