我的 ghostscript 配置出了点问题,例如,在使用 epstopdf 时出现以下错误
./base/gsicc_manage.c:1088: gsicc_open_search(): Could not find default_gray.icc
| ./base/gsicc_manage.c:1914: gsicc_init_iccmanager(): cannot find default icc profile
./base/gsicc_manage.c:1088: gsicc_open_search(): Could not find default_rgb.icc
| ./base/gsicc_manage.c:1708: gsicc_set_device_profile(): cannot find device profile
**** Unable to open the initial device, quitting.
./base/gsicc_manage.c:1088: gsicc_open_search(): Could not find default_gray.icc
| ./base/gsicc_manage.c:1708: gsicc_set_device_profile(): cannot find device profile
Unrecoverable error: unknownerror in .special_op
./base/gsicc_manage.c:1088: gsicc_open_search(): Could not find default_gray.icc
+ ./base/gsicc_manage.c:2650: gs_setdefaultgrayicc(): cannot find default gray icc profile
Run Code Online (Sandbox Code Playgroud)
我想出了以下解决方法(插入到我的 .bashrc 中)
alias gs='gs -sICCProfilesDir=/usr/share/color/icc/ghostscript/'<br>
alias …Run Code Online (Sandbox Code Playgroud) 我真的很难在 Ubuntu 18 上安装 R。这是我第一次使用操作系统......我尝试在网站上查找其他问题但没有运气,即使在这基本上是我的问题:依赖错误而在 Ubuntu 17.10 中安装 R
无论如何,我尝试运行sudo apt install r-base,响应是:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet …Run Code Online (Sandbox Code Playgroud)