Re: simple&silly wish to know port dependency.

From: Alex de Kruijff (freebsd_at_akruijff.dds.nl)
Date: 10/31/03

  • Next message: Lowell Gilbert: "Re: kernel "make" error."
    Date: Fri, 31 Oct 2003 14:47:57 +0100
    To: Zhang Weiwu <weiwuzhang@hotmail.com>
    
    

    On Sat, Nov 01, 2003 at 11:45:22AM +0800, Zhang Weiwu wrote:
    > Hello. When I make deinstall a port I often get the message:
    > port xxx depends on this port, but I'll still deinstall it anyway.
    >
    > That's really frustrating. I'd like to be able to know who depends on it
    > before de-installing it. Any suggestions?
    >
    > Look through the handbook I didn't find an answer.

    There is that a port that handels this for you. It called portupgrade
    and is in the sysutils directory. Pkg_deinstall package doesn't
    deinstall a package when its requered by another, however error do take
    place. (All ports become packages afther there compiled.)

    -- 
    Alex
    Articles based on solutions that I use:
    http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
    _______________________________________________
    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: Lowell Gilbert: "Re: kernel "make" error."

    Relevant Pages

    • Re: difference between deinstall and pkg_delete?
      ... pkg_deletewhen you should have used deinstall. ... The port system uses a series of cookie files to keep track of what has ... an Install cookie which leads to a problem when you go through the ...
      (freebsd-questions)
    • RE: deinstall ports
      ... if you make 'deinstall' under a specific port it will only uninstall the ... software package with the dependencies. ... package which had other packages dependent upon it, ...
      (freebsd-stable)
    • Re: BSDStats - What is involved ... ?
      ... I know people lazy enough to deinstall a port if they must ... There are several things I want to work on when I get back onto a 'real network' next week ... ... and someone else suggested adding code similar to postfix's port to have *it* prompt and auto-add the appropriate lines to /etc/periodic.conf ... ... local question default answer ...
      (freebsd-arch)
    • Re: BSDStats - What is involved ... ?
      ... I know people lazy enough to deinstall a port if they must ... There are several things I want to work on when I get back onto a 'real network' next week ... ... Matt @ Dragonfly has asked for some 'network detection' code to be added, to check if there is even a network connected, before he'll add it to there base system ... ... and someone else suggested adding code similar to postfix's port to have *it* prompt and auto-add the appropriate lines to /etc/periodic.conf ... ...
      (freebsd-arch)
    • Re: difference between deinstall and pkg_delete?
      ... pkg_deletewhen you should have used deinstall. ... The port system uses a series of cookie files to keep track of what has ... an Install cookie which leads to a problem when you go through the ...
      (freebsd-questions)