On Thursday, November 17, 2016 18:11 CET, Andre Ruppert <a...@in-telegence.net> wrote:
> Hello to the list, > > this morning I stumbled about a "pkg_add" problem when running OpenBSD > 6.0 amd64 Release on an actual Virtualbox release. Doesn't matter which > host platform (I tried Mac OS Sierra and Windows 10 and 7). > > Virtualbox settings: > 5GB hardisk > 512 MB RAM > tested two network card settings: virtio-net and Intel 1000 Pro desktop > tested NATed and bridged settings. > > Version: OpenBSD 6.0 (GENERIC) #2148: Tue Jul 26 12:55:20 MDT 2016 > > for example: (used a local mirror) > > # pkg_add wget > quirks-2.241 signed on 2016-07-26T16:56:10Z > wget-1.18:libunistring-0.9.6p0: ok > Fatal error: Ustar > [http://ftp.halifax.rwth-aachen.de/openbsd/6.0/packages/amd64/libidn-1.32p1.t > gz][share/emacs/site-lisp/idna.el]: > Premature end of archive > Adjusting sha for /usr/local/share/emacs/site-lisp/pkg.VkQ6RBfrzy from > DF8Nwh8xhTWpgYsivuBL7K8CMpbPKojbQJsyD0Paplk= to > 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU= > Fatal error: Installation of libidn-1.32p1 failed, partial installation > recorded as partial-libidn-1.32p1 > at /usr/libdata/perl5/OpenBSD/PkgAdd.pm line 817. > > -- doesn't depend on mirror > -- doesn't depend on guest RAM settings > -- doesn't depend on guest network card settings > -- doesn't depend on acceleration settings in Virtualbox (well, I think > so...) > > ...and a little bit strange: > _sometimes_ pkg_add works with small packages: > > > example 2a (same as ex 1): > > # pkg_add ipcalc > quirks-2.241 signed on 2016-07-26T16:56:10Z > Fatal error: Ustar > [http://ftp.halifax.rwth-aachen.de/openbsd/6.0/packages/amd64/ipcalc-1.4p0.tg > z][bin/ipcalc]: > Premature end of archive > Adjusting sha for /usr/local/bin/pkg.F5nNSjqcJf from > Htiq8Hrei0yMn/IWm+Y9dXTq3pZeZyBrbbv98+o9eoA= to > 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU= > Fatal error: Installation of ipcalc-1.4p0 failed, partial installation > recorded as partial-ipcalc-1.4p0 > at /usr/libdata/perl5/OpenBSD/PkgAdd.pm line 817. > I see stuff like this when installing bigger packages i.e. boost, on a slow box (i386 266 MHz/128MB RAM) Manually fetching the packages, and running pkg_add against the downloaded package then always works fine. I was always wondering if there is kind of a timeout in pkg_add or the like, for the case where the file retrieval via http is slow. Sebastian > > example 2b: > > # rm -R /var/db/pk/partial-* > # pkg_add ipcalc > quirks-2.241 signed on 2016-07-26T16:56:10Z > ipcalc-1.4p0: ok > > > > Building packages from ports works fine (apparently) > > > Any hints to look further? > Anyone who had similar problems? > > Every hint is welcome, I'm clueless... ;-) > > best regards > Andre Ruppert > > [demime 1.01d removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]