Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » Installation Support

Post new topic   Reply to topic
htop install
View previous topic :: View next topic  
Author Message
Busta
-{ D.O.N.A.T.O.R. }-


Joined: 13 Aug 2007
Posts: 81

PostPosted: Fri Apr 13, 2012 9:16 pm    Post subject: htop install Reply with quote

Is there a package for htop that will work for 1.6.5 native install version? None of the versions for slackware 13.37 seem to install.
Is there a slapt-get method. slapt-get did not find htop in your repo.
thxs
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Fri Apr 13, 2012 10:08 pm    Post subject: Reply with quote

Have you try that?
http://slackware.mirrors.tds.net/pub/slackware/slackware-current/slackware/ap/htop-1.0-i486-1.txt

It works on SMS-1.6.5.
I'll add it to SMS anyway though, since it's only 60Kb.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Busta
-{ D.O.N.A.T.O.R. }-


Joined: 13 Aug 2007
Posts: 81

PostPosted: Fri Apr 13, 2012 10:20 pm    Post subject: Reply with quote

Still get

Failed to install package : Not a valid Slackware Package Manager file

using webmin install package from uploaded local file
Back to top
View user's profile Send private message
Busta
-{ D.O.N.A.T.O.R. }-


Joined: 13 Aug 2007
Posts: 81

PostPosted: Fri Apr 13, 2012 10:23 pm    Post subject: Reply with quote

It installs correctly using pkgtool from CLI -
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sat Apr 14, 2012 11:34 am    Post subject: Reply with quote

The problem is with webmin, just apply the patch bellow, to install packages through webmin...

Code:
cd /usr/local/webmin
patch -p0 < yourpatch

Code:
--- software/slackware-lib.pl   2011-10-03 04:01:43.000000000 +0300
+++ software/slackware-lib.pl.sms   2012-04-14 12:29:02.000000000 +0300
@@ -203,7 +203,7 @@ sub is_package
 {
 local $count;
 local $qm = quotemeta($_[0]);
-&open_execute_command(TAR, "gunzip -c $qm | tar tf - 2>&1", 1, 1);
+&open_execute_command(TAR, "tar tf $qm 2>&1", 1, 1);
 while(<TAR>) {
        $count++ if (/^[^\/\s]\S+/);
        }
@@ -216,7 +216,7 @@ return $count < 2 ? 0 : 1;
 #  package description
 sub file_packages
 {
-if ($_[0] !~ /^(.*)\/(([^\/]+)(\.tgz|\.tar\.gz))$/) {
+if ($_[0] !~ /^(.*)\/(([^\/]+)(\.tgz|\.txz|\.tar\.gz))$/) {
        return "$_[0] $text{'slack_unknown'}";
        }
 local ($dir, $file, $base) = ($1, $2, $3);


gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » Installation Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional