[MacPorts] #19521: python2.6-2.6.2 wrong port upgraded (gperf)

MacPorts noreply at macports.org
Sun May 3 08:42:29 PDT 2009


#19521: python2.6-2.6.2 wrong port upgraded (gperf)
--------------------------------+-------------------------------------------
 Reporter:  paulymer@…          |       Owner:  blb@…           
     Type:  defect              |      Status:  new             
 Priority:  Normal              |   Milestone:                  
Component:  ports               |     Version:  1.7.1           
 Keywords:  upgrade             |        Port:  python26        
--------------------------------+-------------------------------------------

Comment(by paulymer@…):

 I see, that makes sense.  I checked the output and python26 was never
 installed.  Here is the full list of ports that were installed(upgraded);
 I removed extra lines for each port:

 --->  Fetching gperf
 --->  Fetching openssl
 --->  Fetching xorg-xproto
 --->  Fetching xorg-xtrans
 --->  Fetching xorg-xextproto
 --->  Fetching xorg-libX11
 --->  Fetching freetype
 --->  Fetching fontconfig
 --->  Fetching Xft2
 --->  Fetching xorg-libXext
 --->  Fetching readline
 --->  Fetching sqlite3
 --->  Fetching db46
 --->  Attempting to fetch patch.4.6.21.1 from
 http://distfiles.macports.org/db4/4.6.21_5
 --->  Attempting to fetch patch.4.6.21.2 from
 http://distfiles.macports.org/db4/4.6.21_5
 --->  Attempting to fetch patch.4.6.21.3 from
 http://distfiles.macports.org/db4/4.6.21_5
 --->  Attempting to fetch db-4.6.21.tar.gz from
 http://distfiles.macports.org/db4/4.6.21_5
 --->  Fetching bzip2
 $

 I checked a few things:

 $ port outdated
 --- snip ---
 python26                       2.6.1_0 < 2.6.2_2
 --- snip ---

 and, I ran "$ sudo port upgrade python26" again, but nothing happened.
 Then, I tried to clean the port with "$ sudo port clean --all python26" as
 shown in the user manual; seemed to be okay.  Poking around further, I
 tried to uninstall python26 port, so that I could reinstall fresh; here is
 the result:

 $ sudo port uninstall python26
 --->  The following versions of python26 are currently installed:
 --->    python26 @2.6.1_0 (active)
 --->    python26 @2.6.2_2
 Error: port uninstall failed: Registry error: Please specify the full
 version as recorded in the port registry.

 So, it appears that the port has been upgraded to the latest version, but
 that change hasn't been reflected in the port registry?  If this is the
 case, how do I update the registry?  Thanks.

-- 
Ticket URL: <http://trac.macports.org/ticket/19521#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list