当我尝试 pkg_add screen 或任何其他 pkg 时,我看到:
ftp://ftp3.usa.openbsd.org/pub/OpenBSD/4.8/packages/i386/screen-4.0.3p1.tgz: unsigned package (signify(1) doesn't see old-style signatures)
ftp://ftp3.usa.openbsd.org/pub/OpenBSD/4.8/packages/i386/screen-4.0.3p1.tgz: unsigned package (signify(1) doesn't see old-style signatures)
ftp://ftp3.usa.openbsd.org/pub/OpenBSD/4.8/packages/i386/screen-4.0.3p1.tgz: unsigned package (signify(1) doesn't see old-style signatures)
ftp://ftp3.usa.openbsd.org/pub/OpenBSD/4.8/packages/i386/screen-4.0.3p1.tgz: unsigned package (signify(1) doesn't see old-style signatures)
ftp: local: -: Broken pipe
421 Service not available, remote server has closed connection.
Can't locate object method "errsay" via package "OpenBSD::PackageRepository::FTP" at /usr/libdata/perl5/OpenBSD/PackageRepository.pm line 845.
/etc/pkg.conf 包含:installpath = http://ftp5.usa.openbsd.org/pub/OpenBSD/%c/packages/%a/
答案1
可能你已经PKG_PATH
在某处定义了。请以 root 身份尝试此操作:
unset PKG_PATH; pkg_add screen