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.


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]

Reply via email to