How to continue an interrupted installation using MacPorts?

I am new to all things shell / binary and installed Git (I understand that SCM is a good thing from being on SO). However, my internet connection has expired and the installation has stalled.

He interrupted the download of tar.gz, and I don’t know how to resume work where it stopped. Here's the conclusion:

computer:~ Alex$ sudo port install git-core +svn+bash_completion
--->  Computing dependencies for git-core
--->  Verifying checksum(s) for p5-error
Error: Target org.macports.checksum returned: Could not open file: 
/opt/local/var/macports/distfiles/perl5/Error-0.17015.tar.gz
Error: The following dependencies failed to build: p5-error p5-libwww-perl p5-crypt-ssleay
    p5-html-parser p5-html-tagset p5-io-compress p5-compress-raw-bzip2 p5-compress-raw-zlib
    p5-uri p5-svn-simple subversion-perlbindings apr apr-util db46 cyrus-sasl2 gettext neon
    serf subversion p5-term-readkey rsync popt
Error: Status 1 encountered during processing.
computer:~ Alex$ 

So, I tried twice, no luck. I found this file and replaced it with the full file downloaded from the site it refers to, and tried again; bad luck. Can someone tell me how can I resume this process? I'm not quite sure how to tell him the pickup again.

+3
source share
3 answers

Clear the perl5 and p5 ports:

sudo port clean perl5 p5-error

Then

sudo port sync

port .

, git.

, :

sudo port clean all

.

+7

:

`sudo port clean --dist p5-error`

, clean --all , , .

+2

First clean the port

sudo port clean git-core

Then reinstall

0
source

Source: https://habr.com/ru/post/1719906/


All Articles