Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

It seems i can't install it even though the port djvu2pdf can be found using port search djvu:

$ sudo port install djvu2pdf
Warning: No port pkgconfig found in the index.
Warning: No port m4 found in the index.
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
Error: Unable to execute port: upgrade ghostscript failed
To report a bug, see <http://guide.macports.org/#project.tickets>

[Edit]

Strangely, after doing a

$ sudo port sync

everything went back to normal.

share|improve this question
    
Have you tried sudo port selfupdate? –  Daniel Beck Oct 13 '11 at 17:17
    
I did a sudo port sync and it then worked. Thanks! –  Computist Oct 13 '11 at 18:36
add comment

1 Answer

up vote 1 down vote accepted

I had a similar issue with other package managers before.

Make sure you're up to date with the package information and the package manager itself. Use sudo port selfupdate to do this for MacPorts.

If you only want to update the package information, use sudo port sync.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.