Hi. I am an absolute beginner to GNU/Linux world. I just installed Manjaro Linux. I want to immigrate from windows 10 to Manjaro and one important thing that I need is MS-Office. (The open-source office suits are not good for my use.) I encountered an error while installing ms-office-online:
# pamac install ms-office-online
Warning: ms-office-online is only available from AUR
Preparing...
Cloning ms-office-online build files...
Running as unit: run-u823.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 2.985s
Running as unit: run-u824.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 10ms
Checking ms-office-online dependencies...
Cloning jade-application-kit build files...
Running as unit: run-u826.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 769ms
Running as unit: run-u827.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 12ms
Checking jade-application-kit dependencies...
Resolving dependencies...
Checking inter-conflicts...
To build (2):
jade-application-kit 3.5.6-1 AUR
ms-office-online 2:2.1.1-1 AUR
Edit build files : [e]
Apply transaction ? [e/y/N] y
Building jade-application-kit...
Running as unit: run-u829.service
Press ^] three times within 1s to disconnect TTY.
==> Making package: jade-application-kit 3.5.6-1 (Sun 21 Mar 2021 03:19:01 PM +0330)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found v3.5.6.tar.gz
==> Validating source files with sha512sums...
v3.5.6.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
Finished with result: exit-code
Main processes terminated with: code=exited/status=1
Service runtime: 1.048s
Error: Failed to build jade-application-kit
To deal with this error, you have to build the package jade-application-kit from the AUR first and during the installation edit the PLGBUILD file replacing this line:
After the package has been installed, proceed with the installation of ms-office-online from the AUR.
Another option would be to install jade-application-kit by hand as mentioned in the Manjaro Wiki:
Right after you have changed directory to the cloned folder and before using the command makepkg -s, run updpkgsums in the same directory containing the PKGBUILD file.
(The AUR page of jade-application-kit can be found here.)
After that you can install the package ms-office-online from the AUR.
I can reproduce this issue. Apparently, the PKGBUILD file of the said package has some errors, which I would recommend to report to the AUR maintainer.
Workaround:
First, download a snapshot of jade-application-kit from this page (the option is on the right side of the page under Package Actions).
Extract the contents of the compressed file and copy the files PKGBUILD and import_fix.patch in a new directory (for example you can create a directory called builds).
Navigate in the new directory containing the two files you copied and replace the content of the PKGBUILD file with this:
# Maintainer: Yigit Dallilar <yigit.dallilar@gmail.com>
# Prev. Maintainer: Prasad Kumar
# Author: Vitor Lopes <vmnlop@gmail.com>
pkgname=jade-application-kit
pkgver=3.5.6
pkgrel=1
pkgdesc="Build desktop applications using web technologies on Linux, with Python, JavaScript, HTML5, and CSS3 and webkit."
arch=('any')
url="https://github.com/codesardine/Jade-Application-Kit"
license=('GPL3')
optdepends=()
provides=('jade-application-kit')
conflicts=('jade-application-kit-git')
depends=('python' 'python-gobject' 'webkit2gtk' 'pyside2' 'python-pyqtwebengine')
makedepends=('python-setuptools')
source=("https://github.com/codesardine/Jade-Application-Kit/archive/v${pkgver}.tar.gz")
sha512sums=('5d1e65763371fe61e56eded78092f94737381a4707edac8b87003264c236b88ebc1db159c00e639ef8686e15489977b1fd3dfdbd00c53934aa1b4a38f9ad9454')
prepare() {
cd "${srcdir}"/jak-${pkgver}
#patch --strip=1 < ../import_fix.patch
}
build() {
cd "${srcdir}"/jak-${pkgver}
python setup.py build
}
package() {
cd "${srcdir}"/jak-${pkgver}
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
Open a terminal window, cd in the new directory and run makepkg -si. This command will build and install the package in your system.
After the installation of jade-application-kit is completed, try building the package ms-office-online from the AUR using Pamac (or any AUR helper), or using the same method described above.