You are not logged in.

#1 2017-08-12 20:21:11

Anoian
Member
Registered: 2017-07-13
Posts: 3

libgtk-x11-2.0.so.0 0 bytes big

I have a problem, im trying to run an npm script that needs /usr/lib/libgtk-x11-2.0.so.0 , but its 0 bytes big and so i get the error "file too short", does anyone know how i get this to work again?

Im running Gnome and i have installed all updates except one but thats related to my mouse and the bluetooth connector for it, so it should be unrelated.

Thank you very much smile

Offline

#2 2017-08-12 20:27:51

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: libgtk-x11-2.0.so.0 0 bytes big


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-08-12 20:32:33

Anoian
Member
Registered: 2017-07-13
Posts: 3

Re: libgtk-x11-2.0.so.0 0 bytes big

Thank you very much, i have run pacman -Syu already, which that suggests i should do to fix this, but that didnt help.

Offline

#4 2017-08-12 20:41:21

Anoian
Member
Registered: 2017-07-13
Posts: 3

Re: libgtk-x11-2.0.so.0 0 bytes big

The script im running was also just installed, so i dont think i have to rebuild it, which is the other thing it suggested, are you 100% certain that it is the issue of a partial upgrade? Could it also be a problem of electron? (The script im trying to run)

Offline

#5 2017-08-12 21:07:32

loqs
Member
Registered: 2014-03-06
Posts: 19,114

Re: libgtk-x11-2.0.so.0 0 bytes big

What is the output of the following

$ pacman -Qkk gtk2
$ pacman -Qi gtk2

Offline

#6 2017-08-12 21:08:28

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: libgtk-x11-2.0.so.0 0 bytes big

┌─[Shiv ~]
└─╼ pacman -Fs libgtk-x11-2.0.so.0                                                                                                                            
extra/gtk2 2.24.31-1
    usr/lib/libgtk-x11-2.0.so.0

Use pacman -Qkk to check the state of gtk2, and reinstall it if necessary.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2017-08-13 04:54:48

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: libgtk-x11-2.0.so.0 0 bytes big

The partial update is most likely unrelated, yes, but it still probably isn't a good idea.

Regardless, zero-byte files are not a good thing, and imply that at some point your computer crashed during a pacman update and corrupted all the packages you were installing at that time.
You will need to check all your packages, via either pacman -Qkk or via paccheck (from pacutils) to figure out which packages are borked, then reinstall them.
Chances are it was more than one package.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB