Re: upgrade a port

From: Robert Huff (roberthuff_at_rcn.com)
Date: 04/23/04

  • Next message: Warren Block: "RE: Specifying sort fields"
    Date: Fri, 23 Apr 2004 17:14:25 -0400
    To: questions@freebsd.org
    
    

    Chiang Seng Chang writes:

    > portupgrade wont work because ver 22 was not installed in the
    > first place.
    >
    > pkg_deinstall ver 21 wont work because there are dependencies.
    >
    > portinstall ver 22 wont work because ver 21 is there.
    >
    > how do i get out of this catch-22 ?

            pkg_delete -f <old pkg>
            pkgdb -F # just to be sure
            portinstall <new pkg>

            (Crude, but effective.)

                                            Robert Huff

    _______________________________________________
    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: Warren Block: "RE: Specifying sort fields"

    Relevant Pages

    • RE: PHP-4.3.9-3 Recompile Fails
      ... php has a varying number of dependencies, from a few to a lot, based on ... you need a lot of 'devel' libraries to compile php from the ... search the rpm database with rpm -qa. ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
      (Fedora)
    • Re: NetworkManager and XFCE for wireless support
      ... I also checked out the WiCD, but some of its dependencies where ... outside of packages for the stable realease and didn't know if there could be any problem in ... someone who knows about wireless can help. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: test for package dependencies without installing
      ... The already installed packages, plus, the packages I want to install. ... test for package dependencies without installing ... I guess a workaround for your script is to parse the ... with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: install "isomaster" from DEbian on Ubuntu
      ... I have some small experience with Ubuntu, ... It is generally a bad idea to mix to Debian variants on the same system, ... falling they fork and require other dependencies & so on. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Iceweasel 3.5
      ... Strange but true. ... experimental repos, grab iceweasel and dependencies from experimental ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)