[prev in list] [next in list] [prev in thread] [next in thread] 

List:       macports-users
Subject:    Re: problems with my macport
From:       Rainer Müller <raimue () macports ! org>
Date:       2010-07-27 1:26:51
Message-ID: 4C4E35DB.4080809 () macports ! org
[Download RAW message or body]

On 2010-07-26 19:01 , Zhu Sha Zang wrote:
> I'm trying to upgrade macport, first with
> 
> port -v selfupgrade (succesfull)
> 
> But, when i tried to upgrade with:
> 
> port upgrade outdated receive this error:
> 
> mac:/Users/rodolfo root# port upgrade outdated
> Error: /opt/local/bin/port: port installed failed: bzip2:
> /opt/local/var/macports/receipts/readline/6.0.000_2+darwin/receipt.bz2
> is not a bzip2 file.

Whatever happened here, this receipt is corrupted leaving your registry
in an inconsistent state. This could for example have happened if you
ran out of disk space during activation.

Fixing the registry by hand needs to be done with caution. Here are some
step which should get you going again:

# Manually mark readline as not installed
sudo rm -rf /opt/local/var/macports/receipts/readline/6.0.000_2+darwin
sudo rm -rf /opt/local/var/macports/software/readline/6.0.000_2+darwin
# Install readline again
sudo port install readline       # this will fail due to existing files
sudo port -f activate readline   # force overwriting existing files

HTH,
Rainer
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic