View Single Post
  #1   (View Single Post)  
Old 24th October 2017
hanzer's Avatar
hanzer hanzer is offline
Real Name: Adam Jensen
just passing through
 
Join Date: Oct 2013
Location: EST USA
Posts: 314
Default R install problem on 6.2-Release

Hi,
I attempted to install R in a typical way:

$ doas pkg_add R

but it looks like there was maybe transport error?
Code:
...[snip]...
R-3.4.1p0:tk-8.5.19p0: ok                                                       
R-3.4.1p0:zip-3.0p0: ok                                        
R-3.4.1p0:gtar-1.29: ok                                               
Fatal error: Ustar [https://ftp.openbsd.org/pub/OpenBSD/6.2/packages/amd64/R-3.4.1p0.tgz][lib/R/
library/survival/data/Rdata.rdb]: Premature end of archive                           
Adjusting sha for /usr/local/lib/R/library/survival/data/pkg.Ay9UsKonjG from qYKF5zC3LVKeQzgymjp
SPRQ60znAHu+MVlUgrNh1lFI= to 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=            
Look in /usr/local/share/doc/pkg-readmes for extra documentation.
So, in hope of cleaning things up, I try:

$ doas pkg_delete R
$ doas pkg_add R
$ pkg_check -vvv
Code:
Packing-list sanity: ok
Direct dependencies: ok
Reverse dependencies: ok
Files from packages: ok
--- .libs-partial-R-3.4.1p0 -------------------
lib should exist
lib is not a directory
lib/R should exist
lib/R is not a directory
lib/R/lib should exist
lib/R/lib is not a directory
lib/R/lib/libR.so.33.0 should exist
lib/R/lib/libR.so.33.0 is not a file
can't read lib/R/lib/libR.so.33.0
lib/R/lib/libRblas.so.33.0 should exist
lib/R/lib/libRblas.so.33.0 is not a file
can't read lib/R/lib/libRblas.so.33.0
lib/R/lib/libRlapack.so.33.0 should exist
lib/R/lib/libRlapack.so.33.0 is not a file
can't read lib/R/lib/libRlapack.so.33.0
--- dbus-daemon-launch-helper-1.10.22p0 -------------------
can't read /usr/local/libexec/dbus-daemon-launch-helper
I thought about manually deleting the R package file so another attempt at pkg_install would retry the download but, and this is really goofy, I don't know where the packages are saved in the filesystem.

Any ideas about how to proceed?
Reply With Quote