Re: Need to build some systems this week. Snapshots?

From: Brett Glass (brett_at_lariat.org)
Date: 08/31/03

  • Next message: Miha Nedok: "Re: spontaneous reboot"
    Date: Sun, 31 Aug 2003 13:44:26 -0600
    To: Colin Percival <colin.percival@wadham.ox.ac.uk>, Colin Percival <colin.percival@wadham.ox.ac.uk>, stable@freebsd.org
    
    

    At 12:37 PM 8/31/2003, Colin Percival wrote:

    > In short, provided that you haven't rebuilt the world locally, if FreeBSD Update reports "No updates available", your system is definitely up to date.

    That's good to know, though it didn't solve the other problems I mentioned.

    Or a couple I just encountered. First, when I built cvsupdate as a port,
    I found that the commands "make clean" and "make distclean" removed the
    detritus left behind by creating cvsupdate itself, but did not nuke the
    junk that was left behind as the system built other ports on which that one
    depended. Going around and deleting everything manually (there was no
    automatic mechanism) was a chore.

    Then came another zinger. One of the people who will be using the system
    wants KDE on it. (Not my choice, since it's GPLed, but he's the client.)
    So, after rebuilding cvsupdate as a port, I went to /stand/sysinstall to
    install KDE.

    Two problems here. First was that KDE was installed as a binary package...
    an OUT-OF-DATE binary package built with the buggy libraries.

    Second, the install failed.

    The reason appears to be a conflict between ports and packages.
    As mentioned above, /stand/sysinstall tried to install KDE as a binary
    package. (Not a bad idea at all in and of itself, but bringing with it
    the aforementioned security risks.) Worse still, when the package system
    tried to install some other packages as dependencies for KDE, it hit a few
    libraries which had been built as ports when I installed cvsup. The
    installation stopped with an error.

    In short, we really have a tangled mess here. Under the current way of doing
    things, you can't remain updated and secure without using ports -- which is bad
    because of the time, effort, and disk demands inherent in rebuilding them.
    What's more, if you do use ports, it messes up your ability to use packages --
    even out of /stand/sysinstall -- and leaves junk behind on your disk.

    Again, what a mess.

    The only way to avoid it, again, is to make binary packages "first class
    citizens." And also to resolve the conflicts between them and the use of
    ports. It's amazing that after installing exactly one port, I couldn't
    install a package from /stand/sysinstall.

    --Brett

    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: Miha Nedok: "Re: spontaneous reboot"

    Relevant Pages

    • Re: package managment
      ... > I'm just getting to know my way round BSD now Ive got my box running and ... and then just ask the package management tool to ... You have ports an packages. ... files that tell FreeBSD what needs done to install a particular software (such ...
      (freebsd-questions)
    • Re: Why Does apt-get Want to Uninstall KDE?
      ... >> Will install all of the KDE core. ... > So does that mean I won't be able to install korganizer then? ... The package entitled "kde" contains no software. ...
      (Debian-User)
    • Re: Base packaging
      ... > generate the package list, then we could make it a lot easier to do ... Anything you can do with ports I hope ... you can convert any makefile to understand ports just by adding PORTNAME ... basically if you do make install with one of these modified Makefiles ...
      (freebsd-current)
    • Re: video players broken
      ... won't install, ... Assuming you have an updated ports collection, ... KDE 3.4.3 and KDE 3.5.0 and some applications which used to be ... If you're using the openssl ports rather than the base-system openssl, ...
      (freebsd-questions)
    • Re: switchdesk question
      ... >> I have sarge installed and had aptitude install both gnome and ... >> kde fan and the utility called 'switchdesk' doesn't seem to be ... >> I tried to do an 'aptitude install switchdesk' and got this error ... >The package doesn't appear to be available in Debian; ...
      (Debian-User)