LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
Member
 
Registered: Sep 2011
Distribution: openSUSE 15
Posts: 31

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
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
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: 393

Rep: Reputation: 81
"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: 393

Rep: Reputation: 81
"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
Member
 
Registered: Sep 2011
Distribution: openSUSE 15
Posts: 31

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
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
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: 87

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
Member
 
Registered: Sep 2011
Distribution: openSUSE 15
Posts: 31

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



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

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

All times are GMT -5. The time now is 08:44 PM.

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