LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 11-26-2016, 12:39 AM   #1
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.1 and Slackware Arm
Posts: 478

Rep: Reputation: 41
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?
 
Old 11-26-2016, 02:04 AM   #2
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 480
Blog Entries: 13

Rep: Reputation: 43
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.

Last edited by louigi600; 11-26-2016 at 02:06 AM. Reason: remove some of the typos
 
Old 11-26-2016, 04:36 AM   #3
af7567
Member
 
Registered: Nov 2012
Posts: 204

Rep: Reputation: 67
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
 
3 members found this post helpful.
Old 11-26-2016, 06:02 AM   #4
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 480
Blog Entries: 13

Rep: Reputation: 43
Quote:
Originally Posted by af7567 View Post
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.

Last edited by louigi600; 11-26-2016 at 06:04 AM.
 
1 members found this post helpful.
Old 11-26-2016, 08:55 PM   #5
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.1 and Slackware Arm
Posts: 478

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by af7567 View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Latest slackpkg update omits libXfont2 jkh2cpu Slackware - Installation 9 11-24-2016 09:02 AM
[SOLVED] slackpkg upgrade-all fails when /var/log is mounted as tmpfs flokofcgulls Slackware 8 06-01-2013 10:12 AM
[SOLVED] Run level 4 configuration fails after slackpkg upgrade-all ethereal1m Slackware 11 04-26-2010 08:00 AM
error when using slackpkg to upgrade-all vdemuth Slackware 4 04-28-2009 06:02 PM
Slackpkg fails on upgrade-all albhaf Slackware 1 12-02-2006 11:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 09:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration