[MacPorts] #14411: running port upgrade outdated installs the port in the current directory

MacPorts trac at macosforge.org
Wed Feb 20 16:58:38 PST 2008


#14411: running port upgrade outdated installs the port in the current directory
------------------------------+---------------------------------------------
 Reporter:  ram at macports.org  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:  MacPorts base bugs                   
Component:  base              |     Version:  1.6.0                                
 Keywords:                    |  
------------------------------+---------------------------------------------
 I was upgrading outdated ports on my system and I noticed the following
 strange behaviour, if you run "`port upgraded outdated`" in a directory
 that contains a `Portfile` that is not installed, `port upgrade outdated`
 will install that port:

 {{{
 [ram at skymoo ~]$ port installed p7zip
 None of the specified ports are installed.
 [ram at skymoo ~]$ cd `port dir p7zip`
 [ram at skymoo p7zip]$ sudo port upgrade outdated
 --->  Fetching p7zip
 --->  Attempting to fetch p7zip_4.57_src_all.tar.bz2 from
 http://downloads.sourceforge.net/p7zip
 --->  Verifying checksum(s) for p7zip
 --->  Extracting p7zip
 --->  Applying patches to p7zip
 --->  Configuring p7zip
 --->  Building p7zip with target all
 --->  Staging p7zip into destroot
 --->  Installing p7zip 4.57_1
 --->  Activating p7zip 4.57_1
 --->  Cleaning p7zip
 [ram at skymoo p7zip]$
 }}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14411>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list