LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-25-2016, 11:39 PM   #1
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Rep: Reputation: 44
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, 01:04 AM   #2
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 635
Blog Entries: 20

Rep: Reputation: 81
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 01:06 AM. Reason: remove some of the typos
 
1 members found this post helpful.
Old 11-26-2016, 03:36 AM   #3
af7567
Member
 
Registered: Nov 2012
Posts: 293

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

Rep: Reputation: 81
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 05:04 AM.
 
1 members found this post helpful.
Old 11-26-2016, 07:55 PM   #5
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Original Poster
Rep: Reputation: 44
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.
 
1 members found this post helpful.
  


Reply



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 08:02 AM
[SOLVED] slackpkg upgrade-all fails when /var/log is mounted as tmpfs flokofcgulls Slackware 8 06-01-2013 09:12 AM
[SOLVED] Run level 4 configuration fails after slackpkg upgrade-all ethereal1m Slackware 11 04-26-2010 07:00 AM
error when using slackpkg to upgrade-all vdemuth Slackware 4 04-28-2009 05:02 PM
Slackpkg fails on upgrade-all albhaf Slackware 1 12-02-2006 10:22 AM

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

All times are GMT -5. The time now is 08:32 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
Open Source Consulting | Domain Registration