![无法在 Solaris 上安装 CVS 客户端](https://linux22.com/image/1531941/%E6%97%A0%E6%B3%95%E5%9C%A8%20Solaris%20%E4%B8%8A%E5%AE%89%E8%A3%85%20CVS%20%E5%AE%A2%E6%88%B7%E7%AB%AF.png)
尝试安装 CVS 时,出现以下错误:
bash-3.2$ ls
cvs-1.12.13-sol10-x86-local cvs-1.12.13-sol10-x86-local.gz local.cshrc local.login local.profile
bash-3.2$ pfexec /usr/sbin/pkgadd –d /dev2/home/ashish cvs-1.12.13-sol10-x86-local.gz
pkgadd: ERROR: no packages were found in /var/spool/pkg
bash-3.2$ pfexec /usr/sbin/pkgadd –d /dev2/home/ashish/cvs-1.12.13-sol10-x86-local.gz
pkgadd: ERROR: no packages were found in /var/spool/pkg
bash-3.2$ pfexec /usr/sbin/pkgadd –d /dev2/home/ashish
pkgadd: ERROR: no packages were found in /var/spool/pkg
请建议可能缺少什么,我还能做什么/尝试什么?
答案1
据我所知,pkgadd 无法处理 gzip 版本。解压后,检查它是否真的是带有文件 cvs-1.12.13-sol10-x86-local 的数据流包,或者 pkgchk cvs-1.12.13-sol10-x86-local。然后尝试 /usr/sbin/pkgadd –d cvs-1.12.13-sol10-x86-local
...好吧,考虑更新到 Solaris 11 并安装 developer/versioning/cvs ;)