View previous topic :: View next topic |
Author |
Message |
Busta -{ D.O.N.A.T.O.R. }-
Joined: 13 Aug 2007 Posts: 81
|
Posted: Fri Apr 13, 2012 9:16 pm Post subject: htop install |
|
|
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 |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
|
Back to top |
|
Busta -{ D.O.N.A.T.O.R. }-
Joined: 13 Aug 2007 Posts: 81
|
Posted: Fri Apr 13, 2012 10:20 pm Post subject: |
|
|
Still get
Failed to install package : Not a valid Slackware Package Manager file
using webmin install package from uploaded local file |
|
Back to top |
|
Busta -{ D.O.N.A.T.O.R. }-
Joined: 13 Aug 2007 Posts: 81
|
Posted: Fri Apr 13, 2012 10:23 pm Post subject: |
|
|
It installs correctly using pkgtool from CLI - |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Sat Apr 14, 2012 11:34 am Post subject: |
|
|
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 |
|
|