Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 2008 06:42:00 -0500
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        "Leslie Jensen" <leslie@eskk.nu>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Uppgrading emulators/linux_base-f8
Message-ID:  <790a9fff0810050442i489157bar5714de2d4febd120@mail.gmail.com>
In-Reply-To: <48E89200.8040208@eskk.nu>
References:  <48E89200.8040208@eskk.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/5/08, Leslie Jensen <leslie@eskk.nu> wrote:
>
>  When trying to upgrade emulators/linux_base-f8
>
>  It ends up in a loop where it tries to fetch the files it needs.
>
>   Attempting to fetch from
>
>  But I get this
>   File unavailable (e.g., file not found, no access)
>
I have found that if there is a corrupt file in
/usr/ports/distfiles/rpm/i386/fedora/8/, it will cause fetch to try
and reuse the corrupted file to complete the download.

This is caused by bsd.port.mk is defining FETCH_ARGS=-ApRr when trying
to redownload the corrupted files when using  'make checksum'.

To get around this problem, I had to do the following:

cd /usr/ports/emulators/linux_base-f8
make checksum

This will list the failed files as {MD5,SHA256} Checksum mismatch <filename>.

Note: Kill the 'make checksum' when it starts fetching files

I then removed all these mismatch files from
/usr/ports/distfiles/rpm/i386/fedora/8.  After running 'make checksum'
a second time, it succeeded in downloading all the missing files.

Now I could use portmaster to upgrade emulators/linux_base-f8.

Scot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0810050442i489157bar5714de2d4febd120>