#30801 closed defect (duplicate)
'port upgrade outdated' fails with Error: Dependency 'p5.12-locale-gettext' not found.
Reported by: | brentk@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.1 |
Keywords: | Cc: | ||
Port: |
Description
I did a port selfupdate
, and then tried the suggested upgrade:
[root@castle ~]# port upgrade outdated ---> p5-locale-gettext is replaced by p5.12-locale-gettext Error: No port p5.12-locale-gettext found.
port installed
listed:
p5-locale-gettext @1.05_5 (active)
So I thought I'd try force uninstalling and re-installing it, but that didn't work out:
[root@castle ~]# port -dc install p5-locale-gettext DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-locale-gettext DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386 DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/perl5-1.0.tcl DEBUG: Re-registering default for configure.universal_args DEBUG: universal_variant is false, so not adding the default universal variant DEBUG: changing euid/egid - current euid: 0 - current egid: 0 DEBUG: egid changed to: 507 DEBUG: euid changed to: 501 DEBUG: Starting logging for p5-locale-gettext ---> Computing dependencies for p5-locale-gettext DEBUG: Searching for dependency: p5.12-locale-gettext DEBUG: Didn't find receipt, going to depspec regex for: p5.12-locale-gettext Error: Dependency 'p5.12-locale-gettext' not found. Error: Status 1 encountered during processing.
I searched through the files in the /opt/local filesystem, and aside from the log files 'p5.12-locale-gettext' only appears in the PortIndex file:
grep 'p5.12-locale-gettext' /opt/local/var/macports/sources/rsync.macports.org/release/ports/PortIndex subports {p5.8-locale-gettext p5.10-locale-gettext p5.12-locale-gettext p5.14-locale-gettext} portdir perl/p5-locale-gettext description {Perl interface to GNU gettext} homepage http://search.cpan.org/dist/gettext/ epoch 0 platforms darwin name p5-locale-gettext depends_lib port:p5.12-locale-gettext replaced_by p5.12-locale-gettext maintainers {l2g openmaintainer} long_description {{Perl interface to GNU gettext}} license {{Artistic GPL}} categories perl version 1.50.0 revision 6
I don't know what to do. Thanks for your advice.
Change History (5)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | gettext removed |
---|
comment:2 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:3 Changed 13 years ago by brentk@…
The solution to this problem (to save the time of people who find this via search) is to re-run port selfupdate
.
comment:4 Changed 13 years ago by kyron@…
I am hitting the same problem and, after calling port selfupdate a few times, and even intalling 2.0.1 through the DMG installer, I still get the same error:
some "proof":
kyron@dyn9031074035 ~/Downloads/IBM/nmon/bin $ sudo port -v selfupdate ---> Updating the ports tree Synchronizing local ports tree from http://www.macports.org/files/ports.tar.gz No updates for http://www.macports.org/files/ports.tar.gz ---> Updating MacPorts base sources using rsync receiving file list ... done sent 36 bytes received 69 bytes 70.00 bytes/sec total size is 3219456 speedup is 30661.49 receiving file list ... done sent 36 bytes received 76 bytes 74.67 bytes/sec total size is 512 speedup is 4.57 MacPorts base version 2.0.1 installed, MacPorts base version 2.0.1 downloaded. ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated kyron@dyn9031074035 ~/Downloads/IBM/nmon/bin $ sudo port 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 To report a bug, see <http://guide.macports.org/#project.tickets>
comment:5 Changed 13 years ago by danielluke (Daniel J. Luke)
Most of these tickets seem to be from people who are using the tarball for their ports tree. Have we verified that the job that generates it is running correctly?
The important missing clue, which turned up in discussion on IRC, was that this was right after selfupdating from a pre-2.0 version. So, duplicate of #30739.