Results 1 to 8 of 8

Thread: cannot run LibreOffice on Kali Linux

  1. #1
    Join Date
    2018-Dec
    Posts
    5

    cannot run LibreOffice on Kali Linux

    I have installed Kali Linux 2018.4 on my physical machine. I installed LibreOffice via the following link:
    https://libre-software.net/how-to-in...tu-linux-mint/

    But I get the following error while I want to run the libreoffice:

    Dec 12 14:59:56 mysystem kernel: [ 4923.116769] traps: soffice.bin[5526] trap invalid opcode ip:7f0ba807008a sp:7f0ba0c8e670 error:0 in DynamicKernel.so[7f0ba8070000+1000]

    I also upgraded the version to 2019.1, and purged the libreoffice and all its related files and then reinstalled it but nothing's changed.
    The strange thing is that I installed Kali 2018.4 on a virtual machine and installed LibreOffice as the above link said, and it is working properly!
    Any help is appreciated.

  2. #2
    Join Date
    2016-Dec
    Posts
    428
    Why not use the libreoffice from the repositories? 6.1.3 is available there and it runs just fine.

  3. #3
    Join Date
    2018-Dec
    Posts
    5
    I also used the official repository from Kali website:
    https://www.kali.org/news/kali-linux-2018-4-release/

    `deb http://http.kali.org/kali kali-rolling main non-free contrib`

    but I get the same error!

  4. #4
    Join Date
    2018-Dec
    Posts
    5
    The Kali version is now 2019.1. I cannot find any specific repository for this release!!
    Is there any specific repository for this release or I should use the 2018.4 ones?

  5. #5
    Join Date
    2016-Dec
    Posts
    428
    I installed libreoffice on kali (up to date) without adding any repositories. There was no issue whatsoever.

    apt install libreoffice

  6. #6
    Join Date
    2018-Dec
    Posts
    5
    I installed libreoffice on kali (up to date) as you said with official repository, But when I run soffice I get the following error:

    `
    Dec 16 10:09:19 samatoos kernel: [ 2169.731040] kauditd_printk_skb: 99 callbacks suppressed
    Dec 16 10:09:19 samatoos kernel: [ 2169.731041] audit: type=1400 audit(1544942359.633:1037): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/somaye/.cache/mesa_shader_cache/index" pid=8053 comm="soffice.bin" requested_mask="wrc" denied_mask="wrc" fsuid=1000 ouid=1000
    Dec 16 10:09:19 samatoos kernel: [ 2169.775594] audit: type=1400 audit(1544942359.681:1038): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/etc/dconf/profile/user" pid=8052 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
    Dec 16 10:09:19 samatoos kernel: [ 2169.775762] audit: type=1400 audit(1544942359.681:1039): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/etc/dconf/db/local" pid=8052 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
    Dec 16 10:09:19 samatoos kernel: [ 2169.917080] audit: type=1400 audit(1544942359.821:1040): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/etc/OpenCL/vendors/pocl.icd" pid=8052 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
    Dec 16 10:09:19 samatoos kernel: [ 2169.970321] audit: type=1400 audit(1544942359.873:1041): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/sys/devices/system/node/node0/meminfo" pid=8052 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
    Dec 16 10:09:19 samatoos kernel: [ 2169.988573] audit: type=1400 audit(1544942359.893:1042): apparmor="ALLOWED" operation="mknod" profile="libreoffice-soffice" name="/home/somaye/.cache/pocl/kcache/tempfile-f5-6d-3d-a3-47" pid=8052 comm="soffice.bin" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
    Dec 16 10:09:19 samatoos kernel: [ 2169.988816] audit: type=1400 audit(1544942359.893:1043): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/somaye/.cache/pocl/kcache/tempfile-f5-6d-3d-a3-47" pid=8052 comm="soffice.bin" requested_mask="wrc" denied_mask="wrc" fsuid=1000 ouid=1000
    Dec 16 10:09:19 samatoos kernel: [ 2169.989368] audit: type=1400 audit(1544942359.893:1044): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/proc/8052/cgroup" pid=8052 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
    Dec 16 10:09:19 samatoos kernel: [ 2169.989512] audit: type=1400 audit(1544942359.893:1045): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/sys/fs/cgroup/cpuset/cpuset.cpus" pid=8052 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
    Dec 16 10:09:19 samatoos kernel: [ 2169.989635] audit: type=1400 audit(1544942359.893:1046): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/sys/fs/cgroup/cpuset/cpuset.mems" pid=8052 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0`

    and when I run libreoffice I get the following errors:
    `
    Dec 16 10:11:31 samatoos dbus-daemon[6856]: [session uid=1000 pid=6856] Activating service name='org.gnome.ControlCenter.SearchProvider' requested by ':1.17' (uid=1000 pid=6941 comm="/usr/bin/gnome-shell ")
    Dec 16 10:11:31 samatoos dbus-daemon[6856]: [session uid=1000 pid=6856] Activating service name='org.gnome.Contacts.SearchProvider' requested by ':1.17' (uid=1000 pid=6941 comm="/usr/bin/gnome-shell ")
    Dec 16 10:11:31 samatoos dbus-daemon[6856]: [session uid=1000 pid=6856] Activating service name='org.gnome.Nautilus' requested by ':1.17' (uid=1000 pid=6941 comm="/usr/bin/gnome-shell ")
    Dec 16 10:11:31 samatoos dbus-daemon[6856]: [session uid=1000 pid=6856] Activating service name='org.gnome.Calculator.SearchProvider' requested by ':1.17' (uid=1000 pid=6941 comm="/usr/bin/gnome-shell ")
    Dec 16 10:11:31 samatoos dbus-daemon[6856]: [session uid=1000 pid=6856] Activating service name='org.gnome.Characters.BackgroundService' requested by ':1.17' (uid=1000 pid=6941 comm="/usr/bin/gnome-shell ")
    Dec 16 10:11:31 samatoos dbus-daemon[6856]: [session uid=1000 pid=6856] Successfully activated service 'org.gnome.Calculator.SearchProvider'
    Dec 16 10:11:31 samatoos dbus-daemon[6856]: [session uid=1000 pid=6856] Successfully activated service 'org.gnome.ControlCenter.SearchProvider'
    Dec 16 10:11:31 samatoos dbus-daemon[6856]: [session uid=1000 pid=6856] Activating via systemd: service name='org.freedesktop.Tracker1' unit='tracker-store.service' requested by ':1.99' (uid=1000 pid=8489 comm="/usr/bin/nautilus --gapplication-service ")
    Dec 16 10:11:31 samatoos systemd[6829]: Starting Tracker metadata database store and lookup manager...
    Dec 16 10:11:31 samatoos dbus-daemon[6856]: [session uid=1000 pid=6856] Successfully activated service 'org.freedesktop.Tracker1'
    Dec 16 10:11:31 samatoos systemd[6829]: Started Tracker metadata database store and lookup manager.
    Dec 16 10:11:31 samatoos org.gnome.Chara[8488]: Some code accessed the property 'SearchProvider' on the module 'searchProvider'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
    Dec 16 10:11:31 samatoos dbus-daemon[6856]: [session uid=1000 pid=6856] Successfully activated service 'org.gnome.Characters.BackgroundService'
    Dec 16 10:11:31 samatoos dbus-daemon[6856]: [session uid=1000 pid=6856] Successfully activated service 'org.gnome.Contacts.SearchProvider'
    Dec 16 10:11:32 samatoos tracker-store[8509]: Cannot initialize database: error in view fts_view: no such table: main.nie:InformationElement_nie:keyword_TEMP (strerror of errno (not necessarily related): No such file or directory)
    Dec 16 10:11:32 samatoos systemd[6829]: tracker-store.service: Main process exited, code=exited, status=1/FAILURE
    Dec 16 10:11:32 samatoos systemd[6829]: tracker-store.service: Failed with result 'exit-code'.
    Dec 16 10:11:32 samatoos nautilus[8489]: Error on getting connection: Failed to load SPARQL backend: GDBus.Errorrg.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
    Dec 16 10:11:32 samatoos dbus-daemon[6856]: [session uid=1000 pid=6856] Activating via systemd: service name='org.freedesktop.Tracker1' unit='tracker-store.service' requested by ':1.99' (uid=1000 pid=8489 comm="/usr/bin/nautilus --gapplication-service ")
    Dec 16 10:11:32 samatoos systemd[6829]: tracker-store.service: Service RestartSec=100ms expired, scheduling restart.
    Dec 16 10:11:32 samatoos systemd[6829]: tracker-store.service: Scheduled restart job, restart counter is at 1.
    Dec 16 10:11:32 samatoos systemd[6829]: Stopped Tracker metadata database store and lookup manager.
    Dec 16 10:11:32 samatoos systemd[6829]: Starting Tracker metadata database store and lookup manager...
    Dec 16 10:11:32 samatoos dbus-daemon[6856]: [session uid=1000 pid=6856] Successfully activated service 'org.freedesktop.Tracker1'
    Dec 16 10:11:32 samatoos systemd[6829]: Started Tracker metadata database store and lookup manager.
    Dec 16 10:11:33 samatoos tracker-store[8541]: Cannot initialize database: error in view fts_view: no such table: main.nie:InformationElement_nie:keyword_TEMP (strerror of errno (not necessarily related): No such file or directory)
    Dec 16 10:11:33 samatoos systemd[6829]: tracker-store.service: Main process exited, code=exited, status=1/FAILURE
    Dec 16 10:11:33 samatoos systemd[6829]: tracker-store.service: Failed with result 'exit-code'.
    Dec 16 10:11:33 samatoos dbus-daemon[6856]: [session uid=1000 pid=6856] Successfully activated service 'org.gnome.Nautilus'
    Dec 16 10:11:33 samatoos nautilus[8489]: g_dbus_connection_signal_unsubscribe: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
    Dec 16 10:11:33 samatoos nautilus[8489]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    Dec 16 10:11:33 samatoos nautilus[8489]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    Dec 16 10:11:33 samatoos dbus-daemon[6856]: [session uid=1000 pid=6856] Activating via systemd: service name='org.freedesktop.Tracker1' unit='tracker-store.service' requested by ':1.99' (uid=1000 pid=8489 comm="/usr/bin/nautilus --gapplication-service ")
    Dec 16 10:11:33 samatoos systemd[6829]: tracker-store.service: Service RestartSec=100ms expired, scheduling restart.
    Dec 16 10:11:33 samatoos systemd[6829]: tracker-store.service: Scheduled restart job, restart counter is at 2.
    Dec 16 10:11:33 samatoos systemd[6829]: Stopped Tracker metadata database store and lookup manager.
    Dec 16 10:11:33 samatoos systemd[6829]: Starting Tracker metadata database store and lookup manager...
    Dec 16 10:11:33 samatoos dbus-daemon[6856]: [session uid=1000 pid=6856] Successfully activated service 'org.freedesktop.Tracker1'
    Dec 16 10:11:33 samatoos systemd[6829]: Started Tracker metadata database store and lookup manager.
    Dec 16 10:11:34 samatoos kernel: [ 2304.395964] kauditd_printk_skb: 99 callbacks suppressed
    Dec 16 10:11:34 samatoos kernel: [ 2304.395965] audit: type=1400 audit(1544942494.302:1144): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/somaye/.cache/mesa_shader_cache/index" pid=8572 comm="soffice.bin" requested_mask="wrc" denied_mask="wrc" fsuid=1000 ouid=1000
    Dec 16 10:11:34 samatoos kernel: [ 2304.456622] audit: type=1400 audit(1544942494.362:1145): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/etc/dconf/profile/user" pid=8571 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
    Dec 16 10:11:34 samatoos kernel: [ 2304.456883] audit: type=1400 audit(1544942494.362:1146): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/etc/dconf/db/local" pid=8571 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
    Dec 16 10:11:34 samatoos kernel: [ 2304.678274] audit: type=1400 audit(1544942494.582:1147): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/etc/OpenCL/vendors/pocl.icd" pid=8571 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
    Dec 16 10:11:34 samatoos kernel: [ 2304.772831] audit: type=1400 audit(1544942494.678:1148): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/sys/devices/system/node/node0/meminfo" pid=8571 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
    Dec 16 10:11:34 samatoos tracker-store[8548]: Cannot initialize database: error in view fts_view: no such table: main.nie:InformationElement_nie:keyword_TEMP (strerror of errno (not necessarily related): No such file or directory)
    Dec 16 10:11:34 samatoos systemd[6829]: tracker-store.service: Main process exited, code=exited, status=1/FAILURE
    Dec 16 10:11:34 samatoos systemd[6829]: tracker-store.service: Failed with result 'exit-code'.
    Dec 16 10:11:34 samatoos nautilus[8489]: Could not establish a connection to Tracker: Failed to load SPARQL backend: GDBus.Errorrg.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
    Dec 16 10:11:34 samatoos kernel: [ 2304.792891] audit: type=1400 audit(1544942494.698:1149): apparmor="ALLOWED" operation="mknod" profile="libreoffice-soffice" name="/home/somaye/.cache/pocl/kcache/tempfile-65-fb-a0-f6-a0" pid=8571 comm="soffice.bin" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
    Dec 16 10:11:34 samatoos kernel: [ 2304.793100] audit: type=1400 audit(1544942494.698:1150): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/somaye/.cache/pocl/kcache/tempfile-65-fb-a0-f6-a0" pid=8571 comm="soffice.bin" requested_mask="wrc" denied_mask="wrc" fsuid=1000 ouid=1000
    Dec 16 10:11:34 samatoos kernel: [ 2304.793670] audit: type=1400 audit(1544942494.698:1151): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/proc/8571/cgroup" pid=8571 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
    Dec 16 10:11:34 samatoos kernel: [ 2304.793819] audit: type=1400 audit(1544942494.698:1152): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/sys/fs/cgroup/cpuset/cpuset.cpus" pid=8571 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
    Dec 16 10:11:34 samatoos kernel: [ 2304.793948] audit: type=1400 audit(1544942494.698:1153): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/sys/fs/cgroup/cpuset/cpuset.mems" pid=8571 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
    Dec 16 10:11:34 samatoos dbus-daemon[6856]: [session uid=1000 pid=6856] Activating via systemd: service name='org.freedesktop.Tracker1' unit='tracker-store.service' requested by ':1.99' (uid=1000 pid=8489 comm="/usr/bin/nautilus --gapplication-service ")
    Dec 16 10:11:34 samatoos systemd[6829]: tracker-store.service: Service RestartSec=100ms expired, scheduling restart.
    Dec 16 10:11:34 samatoos systemd[6829]: tracker-store.service: Scheduled restart job, restart counter is at 3.
    Dec 16 10:11:34 samatoos systemd[6829]: Stopped Tracker metadata database store and lookup manager.
    Dec 16 10:11:34 samatoos systemd[6829]: Starting Tracker metadata database store and lookup manager...
    Dec 16 10:11:34 samatoos dbus-daemon[6856]: [session uid=1000 pid=6856] Successfully activated service 'org.freedesktop.Tracker1'
    Dec 16 10:11:34 samatoos systemd[6829]: Started Tracker metadata database store and lookup manager.
    Dec 16 10:11:35 samatoos tracker-store[8582]: Cannot initialize database: error in view fts_view: no such table: main.nie:InformationElement_nie:keyword_TEMP (strerror of errno (not necessarily related): No such file or directory)
    Dec 16 10:11:35 samatoos systemd[6829]: tracker-store.service: Main process exited, code=exited, status=1/FAILURE
    Dec 16 10:11:35 samatoos systemd[6829]: tracker-store.service: Failed with result 'exit-code'.
    Dec 16 10:11:35 samatoos nautilus[8489]: Could not establish a connection to Tracker: Failed to load SPARQL backend: GDBus.Errorrg.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
    Dec 16 10:11:35 samatoos nautilus[8489]: Unable to get contents of the bookmarks file: Error opening file /home/somaye/.gtk-bookmarks: No such file or directory
    Dec 16 10:11:35 samatoos systemd[6829]: tracker-store.service: Service RestartSec=100ms expired, scheduling restart.
    Dec 16 10:11:35 samatoos systemd[6829]: tracker-store.service: Scheduled restart job, restart counter is at 4.
    Dec 16 10:11:35 samatoos systemd[6829]: Stopped Tracker metadata database store and lookup manager.
    Dec 16 10:11:35 samatoos systemd[6829]: Starting Tracker metadata database store and lookup manager...
    Dec 16 10:11:35 samatoos systemd[6829]: Started Tracker metadata database store and lookup manager.
    Dec 16 10:11:36 samatoos tracker-store[8589]: Cannot initialize database: error in view fts_view: no such table: main.nie:InformationElement_nie:keyword_TEMP (strerror of errno (not necessarily related): No such file or directory)
    Dec 16 10:11:36 samatoos systemd[6829]: tracker-store.service: Main process exited, code=exited, status=1/FAILURE
    Dec 16 10:11:36 samatoos systemd[6829]: tracker-store.service: Failed with result 'exit-code'.
    Dec 16 10:11:36 samatoos systemd[6829]: tracker-store.service: Service RestartSec=100ms expired, scheduling restart.
    Dec 16 10:11:36 samatoos systemd[6829]: tracker-store.service: Scheduled restart job, restart counter is at 5.
    Dec 16 10:11:36 samatoos systemd[6829]: Stopped Tracker metadata database store and lookup manager.
    Dec 16 10:11:36 samatoos systemd[6829]: tracker-store.service: Start request repeated too quickly.
    Dec 16 10:11:36 samatoos systemd[6829]: tracker-store.service: Failed with result 'exit-code'.
    Dec 16 10:11:36 samatoos systemd[6829]: Failed to start Tracker metadata database store and lookup manager.​'

    I get the above errors even if I launch the libreoffice from application launcher. I also launched libreoffice with a non root user, but the same errors.

    Do you install Kali on a physical machine or VPS?
    I installed Kali on a VirtualBox VM and then installed libreoffice and everything went well. But I have this issue on my physical machine.

  7. #7
    Join Date
    2016-Dec
    Posts
    428
    Have you looked up any of those messages in google?

    Have you reinstalled Kali on your physical machine since adding repos might have messed up the system or added stuff.
    AppArmor might be in complain mode, no biggie on that side. You can check status with apparmor_status command. For the others, you'll have to look up yourself. And ONLY if you don't find any explanation, ask specifically about individual messages.

  8. #8
    Join Date
    2018-Dec
    Posts
    5
    Yeah, I googled about the errors, but none of them solved the problem.
    I finally installed OpenOffice and it is working properly!
    Thanks.

Similar Threads

  1. Broken installation- unmet dependency of package libreoffice
    By mithz in forum TroubleShooting Archive
    Replies: 4
    Last Post: 2017-12-18, 04:02

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •