LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-26-2013, 11:32 AM   #1
wolfslacker
LQ Newbie
 
Registered: Sep 2011
Posts: 18

Rep: Reputation: 0
Slapt-get: no such file error.


Well I have installed Slackware 14.1 32-bit and I'm trying to get slapt-get to install any patches. After I installed slapt-get, I get the following error whenever I do an update.
-su: /usr/sbin/slapt-get: No such file or directory
I did confirm that there exist a file called "slapt-get" at the above location and it is executible. Any help would be appreciated.
 
Old 11-26-2013, 11:59 AM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-14.1 on a Lenovo T61 6457-4XG
Posts: 4,020

Rep: Reputation: 964Reputation: 964Reputation: 964Reputation: 964Reputation: 964Reputation: 964Reputation: 964Reputation: 964
If it's binary, maybe it's a 64 bit executable instead of 32?

Try "file /usr/sbin/slapt-get" to make sure.

PS preferably use slackpkg instead of slapt-get for that purpose.

Last edited by Didier Spaier; 11-26-2013 at 12:01 PM.
 
Old 11-26-2013, 12:36 PM   #3
perbh
Member
 
Registered: May 2008
Location: Republic of Texas
Posts: 226

Rep: Reputation: 37
"No such file or directory" usually means one (or more) missing libraries ...
Try 'readelf -d /usr/sbin/slapt-get' ('readelf' from the 'man' himself)
 
Old 11-26-2013, 12:42 PM   #4
perbh
Member
 
Registered: May 2008
Location: Republic of Texas
Posts: 226

Rep: Reputation: 37
"No such file or directory" usually means one (or more) missing libraries ...
Try 'readelf -d /usr/sbin/slapt-get' ('readelf' from the 'man' himself)
 
Old 11-26-2013, 10:20 PM   #5
wolfslacker
LQ Newbie
 
Registered: Sep 2011
Posts: 18

Original Poster
Rep: Reputation: 0
Unhappy Still not working.

Well I tried the 64-bit and got "cannot execute file" error so I resorted to installing the patches manually. After the patch installs, I can no longer bring up Firefox. It's late now and I've done 4 re-installs. I'll trying debugging tomorrow.
 
Old 11-27-2013, 12:54 AM   #6
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-14.1 on a Lenovo T61 6457-4XG
Posts: 4,020

Rep: Reputation: 964Reputation: 964Reputation: 964Reputation: 964Reputation: 964Reputation: 964Reputation: 964Reputation: 964
Of course 64 bit binaries won't work on a 32 bit Slackware. Why try that?

As perbh pointed out, you could miss some library, either because you didn't install a full Slackware (you should), or you didn't install some dependency of slapt-get.

Also, which patches? I'm not aware of any needed patch.

Which version of slapt-get do you have, where did you get it, how did you install it?

Again, if you want to use Slackware, you'll have to learn how it works and to use (exclusively, at least till you master it) tools included in it. Slapt-get is not among them for a reason.

To begin learning how Slackware works, type "mail" on a terminal as root and read the mail from Patrick Volkerding then visit http://docs.slackware.com.

Or, if for some reason you want to use slapt-get, just install Salix instead of Slackware.

Last edited by Didier Spaier; 11-27-2013 at 12:57 AM.
 
Old 11-27-2013, 10:59 AM   #7
dwblas
Member
 
Registered: Jun 2011
Posts: 52

Rep: Reputation: Disabled
I've been using slapt-get on 14.1 with no problems. First try
upgradepkg --install-new
and if that doesn't help then download the slapt-get txz file and use installpkg to reinstall it.
 
Old 11-28-2013, 01:19 PM   #8
wolfslacker
LQ Newbie
 
Registered: Sep 2011
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks for your help. I forgot about slackpkg which solved everything. Also, re-installing Slackware in the late of night wasn't helpful.
 
  


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
[SOLVED] slapt-get error on first run jeremy-passarelli Slackware 3 05-22-2011 07:40 PM
Post your slapt-getrc for slapt-get/gslapt uppman Slackware 16 05-19-2009 08:03 AM
slapt-get not calling /etc/slapt-getrc halfpower Slackware 1 04-09-2009 03:49 PM
correct rc file for slapt-get jsmarshall85 Slackware 3 07-25-2005 08:09 AM
/etc/slapt-getrc modification fails to influence slapt-get timsch75 Slackware 1 04-07-2004 08:48 AM


All times are GMT -5. The time now is 08:19 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration