Re: Cleaning up port dependencies

From: Alexander Portnoy (my-subs_at_mail.ru)
Date: 11/25/04

  • Next message: Alexander Portnoy: "Re: routing in 2 interface"
    Date: Thu, 25 Nov 2004 15:14:57 +0200
    To: freebsd-isp@freebsd.org
    
    

    On Thu, 25 Nov 2004 08:22:56 +0800
    Nick Kraal <nick@arc.net.my> wrote:

    > Dear all,
    >
    > Running 'portupgrade -a' religiously to automatically update all
    > installed installed ports, I have started to notice duplicates in
    > certain installed applications. Most likely due to dependencies.
    >
    > %pkg_info
    > ...
    > ruby-1.6.8.2004.07.28 An object-oriented interpreted scripting language
    > ruby-1.8.2.p2_1 An object-oriented interpreted scripting language
    > tk-8.3.5_5 Graphical toolkit for TCL
    > tk-8.4.7,2 Graphical toolkit for TCL
    > libtool-1.3.5_2 Generic shared library support script (version 1.3)
    > libtool-1.5.10 Generic shared library support script (version 1.5)
    >
    > Is there a way to check on whether dependencies on the earlier version
    > still exist. Or perhaps I have deleted a port that does not need that
    > port version any more. Just some housekeeping here.
    >
    > Thanks in advance,
    > "pkg_info -r <pkg_name>"
    > -nick/

    Try to use "pkg_info -r <pkg_name>" and "pkg_info -R <pkg_name>" to see the dependencies.
    I am not sure that this will work for build dependences like libtool, but this work for regular run
    dependencies:

    $ pkg_info -rR gtk-2.4.13
    Information for gtk-2.4.13:

    Depends on:
    Dependency: expat-1.95.8
    Dependency: freetype2-2.1.7_3
    Dependency: perl-5.8.5
    Dependency: jpeg-6b_3
    Dependency: libiconv-1.9.2_1
    Dependency: png-1.2.7
    Dependency: pkgconfig-0.15.0_1
    Dependency: imake-6.7.0_2
    Dependency: fontconfig-2.2.3,1
    Dependency: gettext-0.13.1_1
    Dependency: libxml2-2.6.16
    Dependency: xorg-libraries-6.7.0_3
    Dependency: tiff-3.7.0_2
    Dependency: xorg-fonts-encodings-6.7.0
    Dependency: bitstream-vera-1.10
    Dependency: glib-2.4.7
    Dependency: shared-mime-info-0.15
    Dependency: xorg-fonts-truetype-6.7.0
    Dependency: libXft-2.1.6
    Dependency: hicolor-icon-theme-0.5
    Dependency: pango-1.6.0
    Dependency: atk-1.8.0
    Required by:
    emelfm2-0.0.9_1
    gconf2-2.8.1
    gftp-2.0.18.r1_1
    gimp-2.0.6_1,1
    gnomevfs2-2.8.3_1
    gqview-1.4.5_1
    gtk-engines2-2.2.0_5
    librsvg2-2.8.1_1
    mozilla-1.7.3_3,2
    openoffice-2.0
    pgadmin3-1.0.2_1
    sylpheed-gtk2-0.9.99.20041024_1
    vim-gtk2-6.3.16
    wxgtk2-common-devel-2.5.2_1
    wxgtk2-contrib-common-devel-2.5.2_1
    wxgtk2-unicode-contrib-devel-2.5.2_1
    wxgtk2-unicode-devel-2.5.2_1
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


  • Next message: Alexander Portnoy: "Re: routing in 2 interface"

    Relevant Pages

    • Re: DPS Initial Ideas
      ... think about making use of the INDEX file. ... The problem is that the master reference for port names and dependency ... very time consuming ...
      (freebsd-hackers)
    • Re: installing mysql-phpmyadmin-apache-php
      ... >>dependency chain by the PHP port you install. ...
      (freebsd-questions)
    • Re: stale dependencies in pkgdb
      ... "stale dependency" was just an error in the package database ... and pkgdb will complain about about a ... replace one port with another that provides the same functionality. ... And now there's a "stale dependency". ...
      (freebsd-questions)
    • Re: pkgdb -F questions
      ... Which is the dependent, foo or bar? ... > port foo depends on port bar, which you do not have installed. ... > haven't upgraded ports correctly in the past, and dependency ... Which is odd - I install new ports in one of three ways: ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Updated perl - broke stuff
      ... >> it is built with the newer dependency. ... > I don't see why any port should be rebuild just because a Port it ... > like perl, ruby and python, and don't affect the vast majority of the ... what dependencies it uses at the time of installation. ...
      (freebsd-questions)