Uppgrading emulators/linux_base-f8

Scot Hetzel swhetzel at gmail.com
Sun Oct 5 11:42:01 UTC 2008


On 10/5/08, Leslie Jensen <leslie at 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


More information about the freebsd-ports mailing list