You are not logged in.

#1 2024-01-13 22:03:32

lexiq
Member
Registered: 2024-01-12
Posts: 7

[SOLVED] libtracker-sparql-3.0.so.0: file too short

Hello,

I'm (fairly) new to Arch and this forum, I love it, but I'm still learning. Yesterday morning I updated my computer using the terminal before starting X and my computer ran into some kind of weird glitch with the cpu cores that interrupted the update and it screwed up the file I think its truncated and Firefox and Discord won't start it throws up this error message.


XPCOMGlueLoad error for file /usr/lib/firefox/libmozgtk.so:
/usr/lib/libtracker-sparql-3.0.so.0: file too short
Couldn't load XPCOM.

I have no idea what to do.

Last edited by lexiq (2024-01-14 20:53:26)

Offline

#2 2024-01-13 22:08:28

d.ALT
Member
Registered: 2019-05-10
Posts: 953

Re: [SOLVED] libtracker-sparql-3.0.so.0: file too short

# pacman -Syu tracker3

\\\

P. S.:

lexiq wrote:
 [...] file too short

dafuk it this?! O.o
That's totally new to me


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2024-01-13 22:13:10

lexiq
Member
Registered: 2024-01-12
Posts: 7

Re: [SOLVED] libtracker-sparql-3.0.so.0: file too short

tracker3: /usr/share/locale/is/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/it/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/ja/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/ka/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/kk/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/ko/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/lt/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/lv/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/mk/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/ml/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/ms/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/nb/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/nds/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/ne/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/nl/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/oc/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/pa/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/pl/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/pt/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/pt_BR/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/ro/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/ru/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/sk/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/sl/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/sr/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/sr@latin/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/sv/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/te/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/tg/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/th/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/tr/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/uk/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/vi/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/zh_CN/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/zh_HK/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/locale/zh_TW/LC_MESSAGES/tracker3.mo exists in filesystem
tracker3: /usr/share/man/man1/tracker-xdg-portal-3.1.gz exists in filesystem
tracker3: /usr/share/man/man1/tracker3-endpoint.1.gz exists in filesystem
tracker3: /usr/share/man/man1/tracker3-export.1.gz exists in filesystem
tracker3: /usr/share/man/man1/tracker3-import.1.gz exists in filesystem
tracker3: /usr/share/man/man1/tracker3-sparql.1.gz exists in filesystem
tracker3: /usr/share/man/man1/tracker3-sql.1.gz exists in filesystem
tracker3: /usr/share/tracker3/ontologies/nepomuk/30-nie.description exists in filesystem
tracker3: /usr/share/tracker3/ontologies/nepomuk/30-nie.ontology exists in filesystem
tracker3: /usr/share/tracker3/ontologies/nepomuk/31-nao.description exists in filesystem
tracker3: /usr/share/tracker3/ontologies/nepomuk/31-nao.ontology exists in filesystem
tracker3: /usr/share/tracker3/ontologies/nepomuk/32-nco.description exists in filesystem
tracker3: /usr/share/tracker3/ontologies/nepomuk/32-nco.ontology exists in filesystem
tracker3: /usr/share/tracker3/ontologies/nepomuk/33-nfo.description exists in filesystem
tracker3: /usr/share/tracker3/ontologies/nepomuk/33-nfo.ontology exists in filesystem
tracker3: /usr/share/tracker3/ontologies/nepomuk/38-nmm.description exists in filesystem
tracker3: /usr/share/tracker3/ontologies/nepomuk/38-nmm.ontology exists in filesystem
tracker3: /usr/share/tracker3/ontologies/nepomuk/41-mfo.description exists in filesystem
tracker3: /usr/share/tracker3/ontologies/nepomuk/41-mfo.ontology exists in filesystem
tracker3: /usr/share/tracker3/ontologies/nepomuk/90-tracker.description exists in filesystem
tracker3: /usr/share/tracker3/ontologies/nepomuk/90-tracker.ontology exists in filesystem
tracker3: /usr/share/tracker3/ontologies/nepomuk/92-slo.description exists in filesystem
tracker3: /usr/share/tracker3/ontologies/nepomuk/92-slo.ontology exists in filesystem
tracker3: /usr/share/tracker3/ontologies/nepomuk/93-libosinfo.description exists in filesystem
tracker3: /usr/share/tracker3/ontologies/nepomuk/93-libosinfo.ontology exists in filesystem
tracker3: /usr/share/vala/vapi/tracker-sparql-3.0.deps exists in filesystem
tracker3: /usr/share/vala/vapi/tracker-sparql-3.0.vapi exists in filesystem
Errors occurred, no packages were upgraded.

It throws up this error when I try to update tracker3, more of it shows up but it doesnt fit on my screen O.O.

Offline

#4 2024-01-13 22:21:11

d.ALT
Member
Registered: 2019-05-10
Posts: 953

Re: [SOLVED] libtracker-sparql-3.0.so.0: file too short

# cat /etc/pacman.conf
# pacman -Qs tracker3

<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#5 2024-01-13 22:25:14

lexiq
Member
Registered: 2024-01-12
Posts: 7

Re: [SOLVED] libtracker-sparql-3.0.so.0: file too short

Umm lol, I'm sorry what is cat? Do you need some info from the command to help?

output of "pacman -Qs tracker3"

local/tracker3 3.6.0-3

Last edited by lexiq (2024-01-13 22:27:27)

Offline

#6 2024-01-13 22:28:07

d.ALT
Member
Registered: 2019-05-10
Posts: 953

Re: [SOLVED] libtracker-sparql-3.0.so.0: file too short


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#7 2024-01-13 22:41:59

lexiq
Member
Registered: 2024-01-12
Posts: 7

Re: [SOLVED] libtracker-sparql-3.0.so.0: file too short

SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
local/tracker3 3.6.0-3

Offline

#8 2024-01-13 22:48:08

seth
Member
Registered: 2012-09-03
Posts: 63,333

Re: [SOLVED] libtracker-sparql-3.0.so.0: file too short

The mtree is shredded.

sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files' > /tmp/howbadisit.txt
cat /tmp/howbadisit.txt | curl -F 'file=@-' 0x0.st

https://wiki.archlinux.org/title/Pacman … )%22_error but let's first see how much got broken during that update.

Online

#9 2024-01-13 22:53:43

d.ALT
Member
Registered: 2019-05-10
Posts: 953

Re: [SOLVED] libtracker-sparql-3.0.so.0: file too short

@seth:

seth wrote:

The mtree is shredded

What?


d.ALT wrote:
lexiq wrote:
 [...] file too short

dafuk it this?! O.o

Again... What??


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#10 2024-01-13 23:00:13

seth
Member
Registered: 2012-09-03
Posts: 63,333

Re: [SOLVED] libtracker-sparql-3.0.so.0: file too short

The error is from ld and says hardly more than the library is there but ill-formed. Corrupt. Ends unexpectedly.

man mtree
ls /var/lib/pacman/local/*/mtree | wc -l

Online

#11 2024-01-13 23:10:58

d.ALT
Member
Registered: 2019-05-10
Posts: 953

Re: [SOLVED] libtracker-sparql-3.0.so.0: file too short

<EDIT>
@seth:

$ LC_ALL=C diff -s <( pacman -Qqn | wc -l ) <( ls /var/lib/pacman/local/*/mtree | wc -l )
Files /dev/fd/63 and /dev/fd/62 are identical

Gotcha wink
</EDIT>

$ ls /var/lib/pacman/local/*/mtree | wc -l
1228
seth wrote:

The error is from ld and says hardly more than the library is there but ill-formed. Corrupt. Ends unexpectedly.

Damaged storage and/or filesystem?

Last edited by d.ALT (2024-01-13 23:18:47)


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#12 2024-01-13 23:16:20

seth
Member
Registered: 2012-09-03
Posts: 63,333

Re: [SOLVED] libtracker-sparql-3.0.so.0: file too short

Yes; In this case likely because of the "aborted" update.
The output was to show you where pacman stores the package mtrees, I don't really care how many packages you've installed wink

Online

#13 2024-01-13 23:48:24

lexiq
Member
Registered: 2024-01-12
Posts: 7

Re: [SOLVED] libtracker-sparql-3.0.so.0: file too short

Here the output of the command you sent seth.


sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files' > /tmp/howbadisit.txt
cat /tmp/howbadisit.txt | curl -F 'file=@-' 0x0.st
warning: amd-ucode: /boot/amd-ucode.img (Permissions mismatch)
warning: bluez: /etc/bluetooth (Permissions mismatch)
warning: cups: /etc/cups (GID mismatch)
warning: ghc-libs: /usr/lib/ghc-9.0.2/package.conf.d/package.cache (Modification time mismatch)
warning: ghc-libs: /usr/lib/ghc-9.0.2/package.conf.d/package.cache (Size mismatch)
warning: ghc-libs: /usr/lib/ghc-9.0.2/package.conf.d/package.cache (MD5 checksum mismatch)
warning: ghc-libs: /usr/lib/ghc-9.0.2/package.conf.d/package.cache (SHA256 checksum mismatch)
warning: java-runtime-common: /usr/lib/jvm/default (Symlink path mismatch)
warning: java-runtime-common: /usr/lib/jvm/default (Modification time mismatch)
warning: java-runtime-common: /usr/lib/jvm/default-runtime (Symlink path mismatch)
warning: java-runtime-common: /usr/lib/jvm/default-runtime (Modification time mismatch)
warning: libutempter: /usr/lib/utempter/utempter (GID mismatch)
warning: libutempter: /usr/lib/utempter/utempter (Permissions mismatch)
warning: libvirt: /etc/libvirt/secrets (Permissions mismatch)
warning: materialx: /usr/share/mime/model/materialx.xml (No such file or directory)
warning: nextcloud: /etc/webapps/nextcloud/.htaccess (UID mismatch)
warning: nextcloud: /etc/webapps/nextcloud/.htaccess (GID mismatch)
warning: nextcloud: /etc/webapps/nextcloud/config (UID mismatch)
warning: nextcloud: /etc/webapps/nextcloud/config (GID mismatch)
warning: nextcloud: /etc/webapps/nextcloud/config/.htaccess (UID mismatch)
warning: nextcloud: /etc/webapps/nextcloud/config/.htaccess (GID mismatch)
warning: nextcloud: /etc/webapps/nextcloud/config/CAN_INSTALL (UID mismatch)
warning: nextcloud: /etc/webapps/nextcloud/config/CAN_INSTALL (GID mismatch)
warning: nextcloud: /etc/webapps/nextcloud/config/config.php (UID mismatch)
warning: nextcloud: /etc/webapps/nextcloud/config/config.php (GID mismatch)
warning: nextcloud: /etc/webapps/nextcloud/config/config.sample.php (UID mismatch)
warning: nextcloud: /etc/webapps/nextcloud/config/config.sample.php (GID mismatch)
warning: nextcloud: /var/lib/nextcloud (UID mismatch)
warning: nextcloud: /var/lib/nextcloud (GID mismatch)
warning: nextcloud: /var/lib/nextcloud/apps (UID mismatch)
warning: nextcloud: /var/lib/nextcloud/apps (GID mismatch)
warning: nextcloud: /var/lib/nextcloud/data (UID mismatch)
warning: nextcloud: /var/lib/nextcloud/data (GID mismatch)
warning: nextcloud: /var/log/nextcloud (UID mismatch)
warning: nextcloud: /var/log/nextcloud (GID mismatch)
warning: openssh: /etc/ssh/sshd_config (UID mismatch)
warning: openssh: /etc/ssh/sshd_config (GID mismatch)
error: error while reading file /var/lib/pacman/local/python-pycryptodome-3.20.0-1/mtree: Unrecognized archive format
warning: shadow: /usr/bin/groupmems (GID mismatch)
warning: shadow: /usr/bin/groupmems (Permissions mismatch)
error: error while reading file /var/lib/pacman/local/suitesparse-7.5.0-1/mtree: Unrecognized archive format
warning: systemd: /var/log/journal (GID mismatch)
error: error while reading file /var/lib/pacman/local/tracker3-3.6.0-3/mtree: Unrecognized archive format
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (Modification time mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (Size mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (MD5 checksum mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (SHA256 checksum mismatch)
http://0x0.st/HUb5.txt

Offline

#14 2024-01-14 08:56:46

seth
Member
Registered: 2012-09-03
Posts: 63,333

Re: [SOLVED] libtracker-sparql-3.0.so.0: file too short

error: error while reading file /var/lib/pacman/local/python-pycryptodome-3.20.0-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/suitesparse-7.5.0-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/tracker3-3.6.0-3/mtree: Unrecognized archive format

These packages are fundamentally broken, you'll have to re-install them w/ "--dbonly" first before actually re-installing them to avoid the file conflicts

warning: materialx: /usr/share/mime/model/materialx.xml (No such file or directory)

This file seems missing, unless deliberate (eg. bcause you didn't want that mime entry) you'll have to explcitily re-install materialx to regain it.

The rest looks unsuspicious (locally modified files that are plausibly modified locally)

Online

#15 2024-01-14 19:45:00

lexiq
Member
Registered: 2024-01-12
Posts: 7

Re: [SOLVED] libtracker-sparql-3.0.so.0: file too short

What is "--dbonly" is that used with the install command?

Offline

#16 2024-01-14 20:31:11

lexiq
Member
Registered: 2024-01-12
Posts: 7

Re: [SOLVED] libtracker-sparql-3.0.so.0: file too short

Well I did what you said and it worked! Thank you so much! smile

I love Arch <3

Offline

#17 2024-01-14 20:35:47

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,646

Re: [SOLVED] libtracker-sparql-3.0.so.0: file too short

Please remember to mark your thread [SOLVED] (edit the title of your first post).

Offline

#18 2024-01-14 20:44:29

seth
Member
Registered: 2012-09-03
Posts: 63,333

Re: [SOLVED] libtracker-sparql-3.0.so.0: file too short

pacman -Sh | less

"Yes"

Edit: F5…

Last edited by seth (2024-01-14 20:44:55)

Online

Board footer

Powered by FluxBB