1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

upgrading installed Package to Port

Discussion in 'Installation and Maintenance of Ports or Packages' started by v_mallikarjun, Dec 15, 2011.

  1. v_mallikarjun

    v_mallikarjun New Member

    Messages:
    8
    Thanks Received:
    0
    I have few newbie questions. I searched all over the place but just couldn't find the right answer.
    1) I have installed few packages and all others in ports.
    How can I see which all I have installed as packages and ports?

    2) Since I was in a hurry to build fully working system, I just had to install few packages. But I want all to be in ports, how can upgrade all packages to ports? I just don't want packages.

    Can some on point me to some existing answers, or help me solve these. I greatly appreciate.

    --
    Thanks in advance.
     
  2. DutchDaemon

    DutchDaemon Administrator Staff Member Administrator Moderator

    Messages:
    10,766
    Thanks Received:
    1,872
    Once they're installed, there is no visible or factual difference between packages and ports. You can just continue using ports only, and upgrade when there are newer versions. Sooner or later everything that was once installed using a package will be replaced by a newer version using a port.
     
    v_mallikarjun thanks for this.
  3. v_mallikarjun

    v_mallikarjun New Member

    Messages:
    8
    Thanks Received:
    0
    Thanks for the quick answer. Should I consider some way of upgrading? like uninstall existing package. or just portupgrade -a will do?
     
  4. jb_fvwm2

    jb_fvwm2 Active Member

    Messages:
    1,630
    Thanks Received:
    162
    Code:
    portmaster -d -B -P -i audio/yell sysutils/lookat /var/db/pkg/bash-... 
    is one way. Sometimes more effort is necc...
    Code:
     cd /usr/ports/lang/perl5.14
    pkg_delete -f /var/db/pkg/perl-5.12 && make install 
    Lots of variations, actually; you may discover more on your own as the years progress.
     
  5. wblock@

    wblock@ Administrator Staff Member Administrator Moderator Developer

    Messages:
    11,712
    Thanks Received:
    2,271
  6. v_mallikarjun

    v_mallikarjun New Member

    Messages:
    8
    Thanks Received:
    0
    @jb_fvwm2: I will make a note of it.
    @wblock: thanks for the link.