如何安装 Lotus 9?

如何安装 Lotus 9?

当我在 Ubuntu 13.04 上安装 notes 9 时,安装并未完成,因为某些依赖包如下所示:

hassan@Hassan-Ubuntu:~/Downloads/IBM Notes 9$ sudo dpkg -i ibm-notes-9.0.i586.deb 
[sudo] password for hassan:
dpkg: regarding ibm-notes-9.0.i586.deb containing ibm-notes, pre-dependency problem:
 ibm-notes pre-depends on libgnomeprint2.2-0
dpkg: error processing ibm-notes-9.0.i586.deb (--install):
 pre-dependency problem - not installing ibm-notes
Errors were encountered while processing:
 ibm-notes-9.0.i586.deb

答案1

我使用 IBM Notes 9 和 9.0.1 的经验是,安装所有必需的依赖项将导致X并导致您的 64 位 Ubuntu 安装大部分无法使用。

原因是 IBM 分发的 deb 包设计用于安装在 32 位系统上仅有的

但是,您可以修复软件包依赖关系,使其正确安装并在 64 位 Ubuntu 上完美运行。这类似于米格尔的方法多于,只是他删除了所有依赖项,同时我会修改它们以兼容 32 位和 64 位 Ubuntu 版本。

依赖项主要是程序动态喜欢的库,因此我在32 位安装了 IBM Notes 的 Ubuntu 12.04:

$ for f in $(find /opt/ibm/ -type f -exec ldd {} \; | grep -v executable | fgrep -v libc.so.6 | sed 's/\([^(]*\)(.*)$/\1/' | grep i386-linux-gnu | awk '{print $3}' | sort | uniq ); do apt-file search $f; done | grep -v dbg | awk '{print $1}' | sort | uniq | sed 's/:$//'

输出结果如下:

libart-2.0-2            libgconf-2-4            libnspr4             libx11-6              zlib1g
libasound2              libgcrypt11             libnspr4-0d          libxau6
libatk1.0-0             libgdk-pixbuf2.0-0      libnss3              libxcb1
libavahi-client3        libglib2.0-0            libnss3-1d           libxcb-render0
libavahi-common3        libgnome2-0             libogg0              libxcb-shm0
libavahi-glib1          libgnomecanvas2-0       liborbit2            libxcomposite1
libbonobo2-0            libgnome-keyring0       libp11-kit0          libxcursor1
libbonoboui2-0          libgnomeui-0            libpam0g             libxdamage1
libc6                   libgnomevfs2-0          libpango1.0-0        libxdmcp6
libcairo2               libgnutls26             libpcre3             libxext6
libcanberra0            libgpg-error0           libpixman-1-0        libxfixes3
libcomerr2              libgssapi-krb5-2        libpng12-0           libxft2
libcups2                libgtk2.0-0             libpopt0             libxi6
libdbus-1-3             libhunspell-1.3-0       libselinux1          libxinerama1
libdbus-glib-1-2        libice6                 libsm6               libxml2
libexpat1               libjpeg62               libstdc++6           libxp6
libffi6                 libk5crypto3            libtasn1-3           libxrandr2
libfontconfig1          libkeyutils1            libtdb1              libxrender1
libfreetype6            libkrb5-3               libuuid1             libxss1
libgail18               libkrb5support0         libvorbis0a          libxt6
libgcc1                 libltdl7                libvorbisfile3       libxtst6

然后我解压了 IBM Notes:

$ tar --extract --file /path/to/NOTES_9.0.1_LINUX_DI_EN_Evaluation.tar --directory ~/Desktop

提取包的内容:

$ mkdir ~/Desktop/repackage
$ cp ~/Desktop/ibm-notes-9.0.1.i586.deb ~/Desktop/repackage/
$ cd ~/Desktop/repackage/
$ dpkg-deb -x ibm-notes-9.0.1.i586.deb common
$ dpkg-deb --control ibm-notes-9.0.1.i586.deb

并编辑 deb 包的控制文件:

$ vi DEBIAN/control

使用上面的列表(加上一些补充)替换默认依赖项。这是修改后的控制文件:

Package: ibm-notes
Version: 9.0.1-20131022.1138
Section: Office
Priority: extra
Architecture: i386
Pre-Depends: gdb:i386 | gdb:amd64, coreutils:i386 | coreutils:amd64, unzip:i386 | unzip:amd64, bash:i386 | bash:amd64, procps:i386 | procps:amd64, grep:i386 | grep:amd64, sed:i386 | sed:amd64, libart-2.0-2:i386, libasound2:i386, libatk1.0-0:i386, libavahi-client3:i386, libavahi-common3:i386, libavahi-glib1:i386, libbonobo2-0:i386, libbonoboui2-0:i386, libc6:i386, libcairo2:i386, libcanberra0:i386, libcomerr2:i386, libcups2:i386, libdbus-1-3:i386, libdbus-glib-1-2:i386, libexpat1:i386, libffi6:i386, libfontconfig1:i386, libfreetype6:i386, libgail18:i386, libgcc1:i386, libgconf-2-4:i386, libgcrypt11:i386, libgdk-pixbuf2.0-0:i386, libglib2.0-0:i386, libgnome2-0:i386, libgnomecanvas2-0:i386, libgnome-keyring0:i386, libgnomeui-0:i386, libgnomevfs2-0:i386, libgnutls26:i386, libgpg-error0:i386, libgssapi-krb5-2:i386, libgtk2.0-0:i386, libhunspell-1.3-0:i386, libice6:i386, libjpeg62:i386, libk5crypto3:i386, libkeyutils1:i386, libkrb5-3:i386, libkrb5support0:i386, libltdl7:i386, libnspr4:i386, libnspr4-0d:i386, libnss3:i386, libnss3-1d:i386, libogg0:i386, liborbit2:i386, libp11-kit0:i386, libpam0g:i386, libpango1.0-0:i386, libpcre3:i386, libpixman-1-0:i386, libpng12-0:i386, libpopt0:i386, libselinux1:i386, libsm6:i386, libstdc++6:i386, libtasn1-3:i386 | libtasn1-4:i386 | libtasn1-5:i386 | libtasn1-6:i386, libtdb1:i386, libuuid1:i386, libvorbis0a:i386, libvorbisfile3:i386, libx11-6:i386, libxau6:i386, libxcb1:i386, libxcb-render0:i386, libxcb-shm0:i386, libxcomposite1:i386, libxcursor1:i386, libxdamage1:i386, libxdmcp6:i386, libxext6:i386, libxfixes3:i386, libxft2:i386, libxi6:i386, libxinerama1:i386, libxml2:i386, libxp6:i386, libxrandr2:i386, libxrender1:i386, libxss1:i386, libxt6:i386, libxtst6:i386, zlib1g:i386, unity-gtk2-module:i386, libcanberra-gtk-module:i386, libxss1:i386, gtk2-engines-murrine:i386, p11-kit-modules:i386, libp11-kit-gnome-keyring:i386, ttf-xfree86-nonfree:i386 | ttf-xfree86-nonfree:amd64
Conflicts: ibm-notes-hotfix, ibm-notes-fixpack (<< 8.5.4), ibm-lotus-activities, ibm-lotus-cae, ibm-cae, ibm-lotus-feedreader, ibm-lotus-sametime, ibm-lotus-symphony, ibm-lotus-notes-fixpack, ibm-lotus-notes-hotfix, ibm-lotus-notes
Replaces: ibm-notes-fixpack, ibm-lotus-activities, ibm-lotus-cae, ibm-cae, ibm-lotus-feedreader, ibm-lotus-sametime, ibm-lotus-symphony, ibm-lotus-notes-fixpack, ibm-lotus-notes-hotfix, ibm-lotus-notes
Installed-Size: 830544
Maintainer: IBM Product <[email protected]>
Description: IBM Notes
 IBM Notes software provides a robust and productive user experience with a single point of access to email, calendars, contacts, activities, instant messaging, feeds, collaboration tools, and business applications. Loaded with new features to help you work smarter, the new user interface presents the tools you need, when and where you need them. Plus, you get quick access to your business information in one integrated view, in the context of the work you're doing. That means you get your job done faster, and easier. You can also install the following optional features once you have installed IBM Notes: IBM Sametime, IBM Connections, IBM Feedreader, IBM OpenSocial.

对上述控制文件的注释:

Pre-Depends节包含在 12.04 上生成的软件包列表,其中包含特定的架构信息,使其与 32 位和 64 位版本兼容。

我还注意到精确的已在 14.04 上libtasn1-3更新为 libtasn1-6,因此我将 1-3 和 1-6 之间的所有版本号添加到控制文件中。一些反复试验表明需要其他软件,例如和 等,我已将其包括在内。我还保留了、等libcanberra, libp11的依赖关系,但接受这两种架构。gdbcoreutils

我将修改后的DEBIAN文件夹复制到common

$ cp -a DEBIAN common

重新创建包:

$ dpkg -b common ibm-notes-9.0.1.i586.deb

安装的依赖项:

$ sudo apt-get install libart-2.0-2:i386 libasound2:i386 libatk1.0-0:i386 libavahi-client3:i386 libavahi-common3:i386 libavahi-glib1:i386 libbonobo2-0:i386 libbonoboui2-0:i386 libc6:i386 libcairo2:i386 libcanberra0:i386 libcomerr2:i386 libcups2:i386 libdbus-1-3:i386 libdbus-glib-1-2:i386 libexpat1:i386 libffi6:i386 libfontconfig1:i386 libfreetype6:i386 libgail18:i386 libgcc1:i386 libgconf-2-4:i386 libgcrypt11:i386 libgdk-pixbuf2.0-0:i386 libglib2.0-0:i386 libgnome2-0:i386 libgnomecanvas2-0:i386 libgnome-keyring0:i386 libgnomeui-0:i386 libgnomevfs2-0:i386 libgnutls26:i386 libgpg-error0:i386 libgssapi-krb5-2:i386 libgtk2.0-0:i386 libhunspell-1.3-0:i386 libice6:i386 libjpeg62:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 libltdl7:i386 libnspr4:i386 libnspr4-0d:i386 libnss3:i386 libnss3-1d:i386 libogg0:i386 liborbit2:i386 libp11-kit0:i386 libpam0g:i386 libpango1.0-0:i386 libpcre3:i386 libpixman-1-0:i386 libpng12-0:i386 libpopt0:i386 libselinux1:i386 libsm6:i386 libstdc++6:i386 libtasn1-6:i386 libtdb1:i386 libuuid1:i386 libvorbis0a:i386 libvorbisfile3:i386 libx11-6:i386 libxau6:i386 libxcb1:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxft2:i386 libxi6:i386 libxinerama1:i386 libxml2:i386 libxp6:i386 libxrandr2:i386 libxrender1:i386 libxss1:i386 libxt6:i386 libxtst6:i386 zlib1g:i386 unity-gtk2-module:i386 libcanberra-gtk-module:i386 libxss1:i386 gtk2-engines-murrine:i386 p11-kit-modules:i386 libp11-kit-gnome-keyring:i386 ttf-xfree86-nonfree
(...)
0 upgraded, 139 newly installed, 0 to remove and 7 not upgraded.
Need to get 19.0 MB of archives.
After this operation, 70.0 MB of additional disk space will be used.

并安装了 IBM Notes:

$ sudo dpkg -i ibm-notes-9.0.1.i586.deb

请注意,在设置过程中,您必须多次启动 Notes。我甚至不得不关闭它一次,因为它在连接到 Domino 服务器时挂起,但它在我的 Trusty Tahr (14.04) 安装中运行顺畅。

答案2

您首先需要依赖文件。

使用

sudo apt-get install ia32-libs libgnomeprint2.2-0:i386 libgnomeprintui2.2-0:i386 libgnomevfs2-bin:i386 libgnome2-0:i386 libgnomeui-0:i386 libjpeg62:i386

然后尝试使用安装

sudo dpkg –force-depends -i ibm-notes-9.0.i586.deb

来源及更多信息可用这里

答案3

我在 ubuntu 上安装 Lotus Notes 9 时也遇到了问题。如果您使用的是 64 位系统,请尝试此方法(基于 usable software 的博客解决方案)。您必须解压 deb 文件,删除依赖项并重新安装。如果您这样做,则无需 --force-depends:

http://myotragusbalearicus.wordpress.com/2013/06/21/install-lotus-notes-9-on-ubuntu-13-04-64-bits/

答案4

将此软件源添加到/etc/apt/sources.list

deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse  

运行此命令安装依赖项:

sudo apt-get -y install libgnomeprint2.2-0:i386 libgnomeprintui2.2-0:i386 libbonobo2-0:i386 libbonoboui2-0:i386 libgconf2-4:i386 libgnome-desktop-2-17:i386 libgnomevfs2-bin:i386 libgnomeui-0:i386 libjpeg62:i386 libpam0g:i386 libxkbfile1:i386 ttf-xfree86-nonfree t1-xfree86-nonfree

sudo dpkg -i ibm-notes-repackage-9.0.i586.deb  

运行命令:

apt-get install -f install  

按以下方式安装其他.deb:

sudo dpkg -i ibm-cae-9.0.i586.deb
sudo dpkg -i ibm-feedreader-9.0.i586.deb
sudo dpkg -i ibm-connections-4.5.0.i586.deb 
sudo dpkg -i ibm-activities-9.0.i586.deb
sudo dpkg -i ibm-opensocial-9.0.i586.deb
sudo dpkg -i ibm-sametime-9.0.i586.deb

相关内容