darwingports -> macports migration headaches

Bakki Kudva bakki.kudva at gmail.com
Wed Apr 25 15:11:08 PDT 2007


Hi all,

I have been using Darwinports for a year or so now without any
problems. I recently decided I'd have to bite the bullet and upgrade
so I did a

sudo port self update

I tested a couple of

sudo port upgrades which went well and so, emboldened I decided to do a

sudo port upgrade outdated

This didn't go without errors. I am attaching a file of errors mostly
from attempts to install pkg-config.

The first time around checksum fails.
Verifying checksum(s) for pkgconfig
Error: Checksum (md5) mismatch for pkg-config-0.21.tar.gz
etc.

Then it gets really strange when with each attempt at install,
macports seems to append yet another pkgconfig directory to the source
dir to look for the tar.gz file. Starting with
 /opt/local/var/db/dports/distfiles/pkgconfig/pkgconfig/pkg-config-0.21.tar.gz
(which is wrong)

and finally ending up with
Could not open file:
/opt/local/var/db/dports/distfiles/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/p
kgconfig/pkg-config-0.21.tar.gz

Any ideas on what this is?

Also when I try to port uninstall the old ports I still get
dependencies against new ports, which they should have. For example:
sudo port uninstall ruby @1.8.4_2
--->  Unable to uninstall ruby 1.8.4_2, the following ports depend on it:
--->    rb-sqlite3
--->    rb-sqlite3
--->    rb-rubygems

Here one of the rb-sqlite3's is the old one which has been
uninstalled. The rb-rubygems is the new active port which shouldn't
have dependency on the old version of Ruby. Is it safe to use the -f
flag to uninstall an old port? -or- will it remove all dependents even
though they are newer?

I'd appreciate any explanation of what's going on and how I might fix it.

TIA,

bakki
-------------- next part --------------
--->  Attempting to fetch pkg-config-0.21.tar.gz from http://pkgconfig.freedesktop.org/releases/
--->  Verifying checksum(s) for pkgconfig
Error: Checksum (md5) mismatch for pkg-config-0.21.tar.gz
Error: Checksum (sha1) mismatch for pkg-config-0.21.tar.gz
Error: Checksum (rmd160) mismatch for pkg-config-0.21.tar.gz
Error: Target com.apple.checksum returned: Unable to verify file checksums
Error: Unable to upgrade port: 1
......
--->  Cleaning bzip2
--->  Verifying checksum(s) for pkgconfig
Error: Target com.apple.checksum returned: Could not open file: /opt/local/var/db/dports/distfiles/pkgconfig/pkgconfig/pkg-config-0.21.tar.gz
Error: Unable to upgrade port: 1
......
--->  Cleaning cairo
--->  Verifying checksum(s) for pkgconfig
Error: Target com.apple.checksum returned: Could not open file: /opt/local/var/db/dports/distfiles/pkgconfig/pkgconfig/pkgconfig/pkg-config-0.21.tar.gz
Error: Unable to upgrade port: 1
......
--->  Cleaning cairo
--->  Verifying checksum(s) for pkgconfig
Error: Target com.apple.checksum returned: Could not open file: /opt/local/var/db/dports/distfiles/pkgconfig/pkgconfig/pkgconfig/pkg-config-0.21.tar.gz
Error: Unable to upgrade port: 1
.......
--->  Cleaning gtk2
--->  Verifying checksum(s) for pkgconfig
Error: Target com.apple.checksum returned: Could not open file: /opt/local/var/db/dports/distfiles/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkg-config-0.21.tar.gz
Error: Unable to upgrade port: 1
.......
--->  Cleaning ghostscript
--->  Verifying checksum(s) for pkgconfig
Error: Target com.apple.checksum returned: Could not open file: /opt/local/var/db/dports/distfiles/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkg-config-0.21.tar.gz
Error: Unable to upgrade port: 1
......
--->  Cleaning gnome-mime-data
--->  Verifying checksum(s) for pkgconfig
Error: Target com.apple.checksum returned: Could not open file: /opt/local/var/db/dports/distfiles/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkg-config-0.21.tar.gz
Error: Unable to upgrade port: 1
--->  Verifying checksum(s) for pkgconfig
Error: Target com.apple.checksum returned: Could not open file: /opt/local/var/db/dports/distfiles/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkg-config-0.21.tar.gz
Error: Unable to upgrade port: 1
.........
--->  Cleaning gnupg
--->  Verifying checksum(s) for pkgconfig
Error: Target com.apple.checksum returned: Could not open file: /opt/local/var/db/dports/distfiles/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkg-config-0.21.tar.gz
Error: Unable to upgrade port: 1
..........
--->  Cleaning gqview
--->  Verifying checksum(s) for pkgconfig
Error: Target com.apple.checksum returned: Could not open file: /opt/local/var/db/dports/distfiles/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkg-config-0.21.tar.gz
Error: Unable to upgrade port: 1
........
--->  Cleaning gzip
--->  Verifying checksum(s) for pkgconfig
Error: Target com.apple.checksum returned: Could not open file: /opt/local/var/db/dports/distfiles/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkg-config-0.21.tar.gz
Error: Unable to upgrade port: 1
--->  Verifying checksum(s) for pkgconfig
Error: Target com.apple.checksum returned: Could not open file: /opt/local/var/db/dports/distfiles/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkg-config-0.21.tar.gz
Error: Unable to upgrade port: 1
--->  Verifying checksum(s) for pkgconfig
Error: Target com.apple.checksum returned: Could not open file: /opt/local/var/db/dports/distfiles/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkg-config-0.21.tar.gz
Error: Unable to upgrade port: 1
--->  Verifying checksum(s) for pkgconfig
Error: Target com.apple.checksum returned: Could not open file: /opt/local/var/db/dports/distfiles/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkg-config-0.21.tar.gz
Error: Unable to upgrade port: 1
.......
--->  Cleaning libgsf
--->  Verifying checksum(s) for pkgconfig
Error: Target com.apple.checksum returned: Could not open file: /opt/local/var/db/dports/distfiles/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkg-config-0.21.tar.gz
Error: Unable to upgrade port: 1
.......
--->  Cleaning mysql4
--->  Verifying checksum(s) for pkgconfig
Error: Target com.apple.checksum returned: Could not open file: /opt/local/var/db/dports/distfiles/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkg-config-0.21.tar.gz
Error: Unable to upgrade port: 1
--->  Verifying checksum(s) for pkgconfig
Error: Target com.apple.checksum returned: Could not open file: /opt/local/var/db/dports/distfiles/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkg-config-0.21.tar.gz
Error: Unable to upgrade port: 1
--->  Verifying checksum(s) for pkgconfig
Error: Target com.apple.checksum returned: Could not open file: /opt/local/var/db/dports/distfiles/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkg-config-0.21.tar.gz
Error: Unable to upgrade port: 1
--->  Verifying checksum(s) for pkgconfig
Error: Target com.apple.checksum returned: Could not open file: /opt/local/var/db/dports/distfiles/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkgconfig/pkg-config-0.21.tar.gz
Error: Unable to upgrade port: 1
.......


More information about the macports-users mailing list