Re: Reparing FreeBSD ports tree.

From: Peter Harmsen (pharmsen_at_horizon.nl)
Date: 01/25/05

  • Next message: milan nankov: "USB Keyboard Problem"
    Date: Tue, 25 Jan 2005 13:19:24 +0100
    To: freebsd-questions@freebsd.org
    
    

    Try pkgdb -F

    greetz,

     Peter

    On Tue, 25 Jan 2005 09:58:39 +0100
    Christian Tischler <mail@myunix.net> wrote:

    > Hi everyone.
    > My primary question is how to repair a broken ports tree. I did a
    > portupgrade to CVS FreeBSD 4.9 RELEASE, and now my ports tree ist all
    > screwed up. There are tons of wrong/failed/whatever dependencies and
    > some ports wont work.
    > How can I repair this problem without an complete reinstall of the
    > system? I have a lot of services running for my local net and a huge
    > amount of configurations.
    > For exsample when I do /usr/ports/make index I get:
    > ----------
    > # make index
    > Generating INDEX - please wait..apsfilter-7.2.5_5:
    > "/usr/ports/print/acroread5" non-existent -- dependency list incomplete
    > ===> print/apsfilter failed
    > *** Error code 1
    > 1 error
    > --------
    > The second question is who to reinstall e.g. apache without uninstalling
    > all the stuff that depends on it? e.g. When I did the portupgrade I
    > obviously did something wrong, and now the xml module is missing, which
    > is needed by some of my web aps.
    >
    > I would be very glad if someone could point me out the nessesary steps
    > to clear this mess.
    >
    > I really thought about an complete reinstallation of the system, but
    > everytime I install a new system I rn into dependency problems with the
    > ports collection, as one app requires a version of an tool, but another
    > dependence stops me from reinstalling the newer version. Is there an
    > general guideline to prevent this?
    >
    > thx a lot in advance
    >
    > Christian
    > _______________________________________________
    > freebsd-questions@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: milan nankov: "USB Keyboard Problem"

    Relevant Pages

    • Reparing FreeBSD ports tree.
      ... My primary question is how to repair a broken ports tree. ... The second question is who to reinstall e.g. apache without uninstalling ... When I did the portupgrade I ...
      (freebsd-questions)
    • Re: updating question (fwd)
      ... Seems less of a pain to reinstall. ... > For 3rd party software, install from the ports tree, ... > then use portupgrade to keep up ...
      (freebsd-newbies)
    • Newbie Ports Question..
      ... synced the ports tree, now when I run 'portupgrade -a' it wants to ... reinstall every package on the the system. ...
      (comp.unix.bsd.freebsd.misc)
    • RE: Evolution-data-server compiling errors.
      ... It's great that you're keeping the ports tree up to date. ... running a portupgrade regularly? ... This will output a package and its version number. ... please be aware there was a large log file here. ...
      (freebsd-questions)
    • Advice about cvsup ports-all upgrading
      ... I'd like to have an advice about how to behave in case I want to upgrade ... expecially if I use to cvsup all my ports tree. ... So if I portupgrade -r a it would try to upgrade the dependency first, ... make PREFIX=/usr/home/example/local install ...
      (comp.unix.bsd.freebsd.misc)