我无法在 Ubuntu 18.04 上安装 Rainlendar 2,我找到了适用于 16.04 的解决方案(无法为 Ubuntu 16.04 LTS(32 位和 64 位)安装 Rainlendar2),然后照做,似乎有效,但安装后,我的 Show Apps 中没有 Rainlendar,所以我不知道出了什么问题。当我发出时sudo dpkg -i rainlendar2-pro_2.12.2.b138-1_amd64.deb
,我得到了这个:
Selecting previously unselected package rainlendar2-pro.
(Reading database ... 190677 files and directories currently installed.)
Preparing to unpack rainlendar2-pro_2.12.2.b138-1_amd64.deb ...
Unpacking rainlendar2-pro (2.12.2.b138-1) ...
dpkg: dependency problems prevent configuration of rainlendar2-pro:
rainlendar2-pro depends on libpng12-0; however:
Package libpng12-0 is not installed.
rainlendar2-pro depends on tofrodos; however:
Package tofrodos is not installed.
rainlendar2-pro depends on libjpeg62; however:
Package libjpeg62 is not installed.
rainlendar2-pro depends on libwebkitgtk-1.0-0; however:
Package libwebkitgtk-1.0-0 is not installed.
dpkg: error processing package rainlendar2-pro (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-11ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
rainlendar2-pro
我在终端发出这个命令后得到了这个sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
rainlendar2-pro
0 upgraded, 0 newly installed, 1 to remove and 35 not upgraded.
1 not fully installed or removed.
After this operation, 20.5 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 191316 files and directories currently installed.)
Removing rainlendar2-pro (2.12.2.b138-1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1) ...
我做错了什么?执行完最后一条命令后,它只是删除了 Rainlendar,并没有像原始帖子中所述那样安装依赖项?TIA
答案1
您应该使用 安装 Rainlendar Pro 的 deb 包apt-get install
,它将满足所有依赖项:
cd ~/Downloads
wget http://www.rainlendar.net/download/rainlendar2-pro_2.14.2.b157-1_amd64.deb
$ sudo apt-get install ./rainlendar2-pro_2.14.2.b157-1_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'rainlendar2-pro' instead of './rainlendar2-pro_2.14.2.b157-1_amd64.deb'
The following packages were automatically installed and are no longer required:
linux-headers-4.15.0-30 linux-headers-4.15.0-30-generic linux-image-4.15.0-30-generic linux-modules-4.15.0-30-generic
linux-modules-extra-4.15.0-30-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libjavascriptcoregtk-1.0-0 libpango1.0-0 libpangox-1.0-0 libwebkitgtk-1.0-0
The following NEW packages will be installed:
libjavascriptcoregtk-1.0-0 libpango1.0-0 libpangox-1.0-0 libwebkitgtk-1.0-0 rainlendar2-pro
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 9 916 kB/31,1 MB of archives.
After this operation, 63,3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
...
$ rainlendar2
我在我的 Ubuntu 18.04 LTS 上测试了它的安装。
结果,您将在桌面顶部拥有日历、待办事项和任务小部件/小工具/屏幕小部件。
如果你想安装 Rainlendar Lite 版本,那么使用
cd ~/Downloads
wget http://www.rainlendar.net/download/rainlendar2-lite_2.14.2.b157-1_amd64.deb
sudo apt-get install ./rainlendar2-lite_2.14.2.b157-1_amd64.deb
我在带有 GNOME sHell 的默认 Ubuntu 18.04.1 LTS 上对其进行了测试,它将小部件放置到桌面,但没有在托盘中显示图标: