Re: NetBSD/alpha on qemu-system-alpha

Remy van Elst <[email protected]> Thu, 19 Aug 2021 09:24:56 +0200
Newsgroups gmane.os.netbsd.ports.alpha
Message-ID <[email protected]>
Op 19-08-2021 om 08:16 schreef Darren Goossens:
> I may well be wrong, but ... I suspect the pkgin error is actually the
> result of an incomplete package database bz2 file on the server. I
> suggest you download the pkg_summary.bz2 manually from the server and
> check its integrity. Or even just click around the repo and compare
> the size of pkg_summary.bz2 for a few different architectures -- you
> may find yours is far too small to be realistic.
> 
> I had this problem when trying to update the ARM port on an RPi. After
> another update occurred, the file was ok again.
> 
> -------------
> Brittle Gum Editing
> [email protected]
> darrengoossens.wordpress.com/brittle-gum-editing/
> 
> On Thu, 19 Aug 2021 at 15:33, Remy van Elst <[email protected]> wrote:
>>
>> Hi All,
>>
>> Since there is so much exciting development on the QEMU side and since
>> astr0baby's twitter is overflowing with NetBSD on all kinds of
>> architectures at the moment, I thought, lets do a write up / guide on
>> NetBSD for Alpha on QEMU. It is linked here:
>>
>>
>> https://raymii.org/s/articles/NetBSD_on_QEMU_Alpha.html
>>
>>
>> Compliments for how great it works, I think its awesome! I have a few
>> questions though:
>>
>>
>> - pkgin fails to update with an error (pkgin: Short read of pkg_summary:
>> truncated bzip2 input), which, as far as I can find out (port-sparc
>> list), is not something I can fix, but has to be "regenerated"? I'm now
>> using pkg_add and source compilation via pkgsrc, which works fine as well.
>>
>> - Why do I need to provide the kernel to QEMU as (two, one for install,
>> one after) a seperate file? The kernel is installed on disk after
>> installation right?
>>
>> - What is the purpose of the two different kernel files? astr0baby just
>> said, use them, but not why.
>>
>> - How do I handle updates for the kernel (in regards to the seperate
>> qemu file)?
>>
>> - Installing any package that depends on GTK (like xfce4-wm or netsurf)
>> takes long to install. xfce4-wm has been going for 18 hours now, either
>> updating the gtk icon cache or some other post install process. Can I
>> speed this up?
>>
>>
>> Cheers and thanks again for the hard work!
>>
>> Remy
>>
>>

I can download and extract the file by hand with Ark, it starts at

PKGNAME=0verkill-0.16nb1

Ends at:

PKGNAME=p5-MooX-Options-4.103nb5

The last package on the web index is zziplib-0.13.72nb1.tgz, so the file 
might be incomplete. 		

The tgz version of the summary is larger and ends with:

DESCRIPTION=https://github.com/gdraheim/zziplib


Which seems to be complete. I cannot force pkgin to use the .tgz file 
instead of the bz2 file, or at least, I couldn't figure out how...

When is the bz2 file updates?