Re: Issue: pkg_add gettext-0.18.2p1
On 07/05/2013 11:14 AM, MK2 wrote: # pkg_add http://ftp.openbsd.org/pub/OpenBSD/5.3/packages/ amd64/gettext-0.18.2p1.tgz Fatal error: Ustar [http://ftp.openbsd.org/pub/OpenBSD/5.3/packages/ amd64/gettext-0.18.2p1.tgz][share/locale/zh_TW/LC_MESSAGES/ gettext-tools.mo]: Premature end of archive Adjusting sha for /usr/local/share/locale/zh_TW/LC_MESSAGES/ gettext-tools.mo from u1Zb6iQbP0lQDC/MvuxOekHKTs470zwHLDJBzvItNjc= to FF9+wEW+LROgonlt3qJWeHT+fvcXX+ehwx+Rc1CBlfA= Fatal error: Installation of gettext-0.18.2p1 failed, partial installation recorded as partial-gettext-0.18.2p1 at /usr/libdata/perl5/OpenBSD/PkgAdd.pm line 808 # pkg_info joe-3.7p1 Joe's Own Editor libiconv-1.14p0 character set conversion library partial-gettext-0.18.2p1 GNU gettext # uname -rsm OpenBSD 5.3 amd64 This is a nice email. A bunch of text with no real purpose. Did you define PKG_CACHE and not make the directory?
Re: Issue: pkg_add gettext-0.18.2p1
On Sat, Jul 06, 2013 at 01:14:01AM +1000, MK2 wrote: # pkg_add http://ftp.openbsd.org/pub/OpenBSD/5.3/packages/ amd64/gettext-0.18.2p1.tgz Fatal error: Ustar [http://ftp.openbsd.org/pub/OpenBSD/5.3/packages/ amd64/gettext-0.18.2p1.tgz][share/locale/zh_TW/LC_MESSAGES/ gettext-tools.mo]: Premature end of archive Adjusting sha for /usr/local/share/locale/zh_TW/LC_MESSAGES/ gettext-tools.mo from u1Zb6iQbP0lQDC/MvuxOekHKTs470zwHLDJBzvItNjc= to FF9+wEW+LROgonlt3qJWeHT+fvcXX+ehwx+Rc1CBlfA= Fatal error: Installation of gettext-0.18.2p1 failed, partial installation recorded as partial-gettext-0.18.2p1 at /usr/libdata/perl5/OpenBSD/PkgAdd.pm line 808 Well, your network connection obviously died near the end of the transfer. (specifically, this is the LAST file in the package) The error message is reasonably clear. This package works for about everybody else... you probably have a fucked up proxy on your http connection or something.
Re: Issue: pkg_add gettext-0.18.2p1
Jean Lucas wrote: On 07/05/2013 11:14 AM, MK2 wrote: # pkg_add http://ftp.openbsd.org/pub/OpenBSD/5.3/packages/ amd64/gettext-0.18.2p1.tgz Fatal error: Ustar [http://ftp.openbsd.org/pub/OpenBSD/5.3/packages/ amd64/gettext-0.18.2p1.tgz][share/locale/zh_TW/LC_MESSAGES/ gettext-tools.mo]: Premature end of archive Adjusting sha for /usr/local/share/locale/zh_TW/LC_MESSAGES/ gettext-tools.mo from u1Zb6iQbP0lQDC/MvuxOekHKTs470zwHLDJBzvItNjc= to FF9+wEW+LROgonlt3qJWeHT+fvcXX+ehwx+Rc1CBlfA= Fatal error: Installation of gettext-0.18.2p1 failed, partial installation recorded as partial-gettext-0.18.2p1 at /usr/libdata/perl5/OpenBSD/PkgAdd.pm line 808 # pkg_info joe-3.7p1 Joe's Own Editor libiconv-1.14p0 character set conversion library partial-gettext-0.18.2p1 GNU gettext # uname -rsm OpenBSD 5.3 amd64 This is a nice email. A bunch of text with no real purpose. Did you define PKG_CACHE and not make the directory? Hi Jean, tried mkdir /root/pkg and prepended env PKG_CACHE=/root/pkg to my pkg_add(above) but same error. Also, I just tried downloading the package with lynx and doing pkg_add on the file name, but also get the error. Regards MK. PS- sorry for the ugly text
Re: Issue: pkg_add gettext-0.18.2p1
Marc Espie wrote: On Sat, Jul 06, 2013 at 01:14:01AM +1000, MK2 wrote: # pkg_add http://ftp.openbsd.org/pub/OpenBSD/5.3/packages/ amd64/gettext-0.18.2p1.tgz Fatal error: Ustar [http://ftp.openbsd.org/pub/OpenBSD/5.3/packages/ amd64/gettext-0.18.2p1.tgz][share/locale/zh_TW/LC_MESSAGES/ gettext-tools.mo]: Premature end of archive Adjusting sha for /usr/local/share/locale/zh_TW/LC_MESSAGES/ gettext-tools.mo from u1Zb6iQbP0lQDC/MvuxOekHKTs470zwHLDJBzvItNjc= to FF9+wEW+LROgonlt3qJWeHT+fvcXX+ehwx+Rc1CBlfA= Fatal error: Installation of gettext-0.18.2p1 failed, partial installation recorded as partial-gettext-0.18.2p1 at /usr/libdata/perl5/OpenBSD/PkgAdd.pm line 808 Well, your network connection obviously died near the end of the transfer. (specifically, this is the LAST file in the package) The error message is reasonably clear. This package works for about everybody else... you probably have a fucked up proxy on your http connection or something. Hi Marc, I just compared the file size on the FTP with the pkg file (downloaded with lynx) and they match. Still get the error with pkg_add file.
Re: Issue: pkg_add gettext-0.18.2p1
On 07/05/2013 12:34 PM, MK2 wrote: Jean Lucas wrote: On 07/05/2013 11:14 AM, MK2 wrote: # pkg_add http://ftp.openbsd.org/pub/OpenBSD/5.3/packages/ amd64/gettext-0.18.2p1.tgz Fatal error: Ustar [http://ftp.openbsd.org/pub/OpenBSD/5.3/packages/ amd64/gettext-0.18.2p1.tgz][share/locale/zh_TW/LC_MESSAGES/ gettext-tools.mo]: Premature end of archive Adjusting sha for /usr/local/share/locale/zh_TW/LC_MESSAGES/ gettext-tools.mo from u1Zb6iQbP0lQDC/MvuxOekHKTs470zwHLDJBzvItNjc= to FF9+wEW+LROgonlt3qJWeHT+fvcXX+ehwx+Rc1CBlfA= Fatal error: Installation of gettext-0.18.2p1 failed, partial installation recorded as partial-gettext-0.18.2p1 at /usr/libdata/perl5/OpenBSD/PkgAdd.pm line 808 # pkg_info joe-3.7p1 Joe's Own Editor libiconv-1.14p0 character set conversion library partial-gettext-0.18.2p1 GNU gettext # uname -rsm OpenBSD 5.3 amd64 This is a nice email. A bunch of text with no real purpose. Did you define PKG_CACHE and not make the directory? Hi Jean, tried mkdir /root/pkg and prepended env PKG_CACHE=/root/pkg to my pkg_add(above) but same error. Also, I just tried downloading the package with lynx and doing pkg_add on the file name, but also get the error. Regards MK. PS- sorry for the ugly text Are you running lynx as root? Bad idea. But if you're not, this is why you can't access the file, or lynx is not even saving it to the root directory. Try using the mirror closest to you for starters. Use a non-privileged user + sudo for pkg_add. Issue `export PKG_CACHE=/home/foo/cache', make this directory, ensure you have permissions for it, then try adding the package again.
Re: Issue: pkg_add gettext-0.18.2p1
MK2 mk2 at freeweb.ozi.nu writes: Hi Marc, I just compared the file size on the FTP with the pkg file (downloaded with lynx) and they match. Still get the error with pkg_add file. Be sure to either unset $PKG_PATH or use pkg_add ./file, otherwise your $PKG_PATH variable will be used.