> Hi all, > > After install an OpenBSD 6.1, I am trying to install some packages, > for example python-2.7. When I launch the following command: > > pkg_add -v python-2.7 > > ... returns the following errors: > > http://ftp.openbsd.org/pub/OpenBSD/6.1/packages/amd64/: Read short > file. > http://ftp.openbsd.org/pub/OpenBSD/6.1/packages/amd64/python-2.7.tgz: > ftp: Error retrieving file: 404 Not Found > signify: gzheader truncated > Can't find python-2.7 > Extracted 11548847 from 11550420 > > What does these errors mean?? My PKG_PATH variable is > "PKG_PATH=http://ftp.openbsd.org/pub/OpenBSD/6.1/packages/amd64"
It means, that the package you try to install does not exist. Run pkg_info -Q python See FAQ https://www.openbsd.org/faq/faq15.html#PkgFind you see something like (in my case it is already installed) ... python-2.7.13p0 (installed) ... You can also check the list of packages at http://ftp.openbsd.org/pub/OpenBSD/6.1/packages/amd64/index.txt So, try pkg_add -v python-2.7.13p0 or, check the -z switch of pkg_add (man pkg_add) pkg_add -v -z python-2.7.13