Opened 12 years ago

Closed 12 years ago

#36358 closed defect (invalid)

Upgrade Outdated Failure

Reported by: bharper@… Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: base Version: 2.1.2
Keywords: Cc:
Port:

Description

I have been trying to update things after using "selfupdate" to move from MacPorts 1.9.2 to the current version of MacPorts (which worked). Running "upgrade outdated" to update various packages doesn't work, but keeps running into the p5.12-locale-gettext and help2man error. I'm working on an Apple Xserve running OS X Server 10.6.8

[var/root] > upgrade outdated
Warning: No port p5.12-locale-gettext found in the index.
--->  Computing dependencies for help2man
Error: Dependency 'p5.12-locale-gettext' not found.
Error: Unable to upgrade port: 1

Thing is, these things exist, just with a different name (shown with the "installed" command): ps5-locale-gettext @1.05_5 and help2man @1.39.3_0

I looked at some of the other tickets about this problem, but some are flagged as "duplicate" and refer to another ticket, but that one has no resolution to the problem. Either something is mal-named or something is broken in a dependency list, which can't be fixed because upgrade doesn't work. Catch-22.

Change History (3)

comment:1 Changed 12 years ago by neverpanic (Clemens Lang)

Component: portsbase
Keywords: p5.12-locale-gettext removed
Owner: changed from macports-tickets@… to cal@…

These ports are generated by a mechanism called "subports" added in 2.0 (I think). Since you do have a version >= 2.0 now, they should work. Your port index might have been generated by an old version without this feature, though. Can you try deleting PortIndex and PortIndex.quick (or moving them aside) in $(port dir help2man)/../../ followed by another selfupdate (which should re-create those files). This might take a while, please be patient. You can see detailed output by providing the -d switch to port.

If that doesn't work, please attach the output of port -d selfupdate and the main.log of the failed build.

Last edited 12 years ago by neverpanic (Clemens Lang) (previous) (diff)

comment:2 Changed 12 years ago by bharper@…

Fixed. Removed the PortIndex and PortIndex.quick files, ran selfupdate} (which went quickly), then ran {{{port upgrade outdated (which did take a little while). No stops, no errors, all is well. I consider this closed.

comment:3 Changed 12 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.