LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   After slackpkg upgrade-all startx fails with libXfont2.so.2 error (https://www.linuxquestions.org/questions/slackware-arm-108/after-slackpkg-upgrade-all-startx-fails-with-libxfont2-so-2-error-4175594247/)

slackist 11-25-2016 11:39 PM

After slackpkg upgrade-all startx fails with libXfont2.so.2 error
 
RPI3, Slackware ARM current.

After a couple, maybe 3-4 weeks I did the slackpkg update and then slackpkg upgrade-all and there was a fair amount of stuff but no errors or anything.

After logging in as regular user and typing startx I get:
Code:

/usr/libexec/Xorg: error while loading shared libraries: libXfont2.so.2: Cannot open shared object file: No such file or directory
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

I've checked and the file doesn't exist anywhere on the system and Google isn't being much help.

I can ssh -Y in and get a firefox or thunar window but startx is dead. I tried a reinstall of all the xfce packages and also tried startx as root with the same (non-) results

What have I borked this time?

louigi600 11-26-2016 01:04 AM

I'm not sure how an upgrade-all did this .... maybe Stuart knows why.
This sort of thing happens when you do version upgrade without first doing install-new .... but this is not your case.

It looks like you're missing libXfont2-2.0.1-arm-1

If it's a Slackware package that should contain your missing lib/dependency (and in this case there's no doubt that is should be) you can proceed to download MANIFEST.bz2 from http://slackware.uk/slackwarearm/sla...ent/slackware/ (or whatever is the appropriate URL fro your version for any readers doing similar on different versions). Then use /usr/bin/less to search in MANIFEST.bz2 (without decompressing it as long as bzip2 is installed on your system) for the package that might contain what you're missing.

af7567 11-26-2016 03:36 AM

When using current, packages could always be added and removed. So before doing upgrade all do
Code:

# slackpkg install-new
First. the libxfont package was added about a week ago

louigi600 11-26-2016 05:02 AM

Quote:

Originally Posted by af7567 (Post 5634649)
When using current, packages could always be added and removed. So before doing upgrade all do
Code:

# slackpkg install-new
First. the libxfont package was added about a week ago

libXfont2 was added recently alongside libXfont which is still there ... that explains why the plain upgrade-all missed it.

slackist 11-26-2016 07:55 PM

Quote:

Originally Posted by af7567 (Post 5634649)
When using current, packages could always be added and removed. So before doing upgrade all do
Code:

# slackpkg install-new
First. the libxfont package was added about a week ago

Many thanks, that solved it.

I've never used -current before and I never paid much attention to the install-new switch, my bad for not RTFM.


All times are GMT -5. The time now is 10:00 PM.