LinuxQuestions.org
Help answer threads with 0 replies.
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 12-22-2018, 07:38 AM   #16
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242

Quote:
Originally Posted by dugan View Post
It does.

No other person on the entire planet has ever had the problem you're apparently posting about.

I'm serious.



It's empty? Good.

Now, what commands are you actually entering that are crashing?

They're clearly very wrong, because your crash messages don't look familiar to me at all, and I have no idea what you did to get them. You want to get this fixed? Post an answer. You want to stay frustrated and ensure it doesn't get fixed? Well, then you can answer it with DO I LOOK LIKE I KNOW PYTHON? again. Your choice.

(Also: you cropped too much of the crash messages to determine anything at all, and the best information we can really give you at this point is "it works for everyone else").



Uh, that's bad.

Have you tried rebooting? (Seriously answer, in case you just messed up something that would be automatically reset with a reboot).

this is sbotools taking care of the deps and what nots, and I did do the Window fix move and that didn't work,


Code:

PRGNAM=glances
VERSION=${VERSION:-2.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

if [ -z "$ARCH" ]; then
  case "$( uname -m )" in
    i?86) ARCH=i586 ;;
    arm*) ARCH=arm ;;
       *) ARCH=$( uname -m ) ;;
  esac
fi

CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$PRGNAM}
OUTPUT=${OUTPUT:-/tmp}

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
 \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
  -o -perm 511 \) -exec chmod 755 {} \; -o \
 \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
  -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;

python setup.py install --root=$PKG

find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \
  | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

PRGETC=$PKG/etc
PRGUSR=$PKG/usr
PRGSHR=$PKG/usr/share
PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION

# Move and compress man page.
mv $PRGSHR/man $PRGUSR/
gzip -9 $PRGUSR/man/man1/$PRGNAM.1

# Safely install configuration file.
mkdir $PRGETC
mv $PRGSHR/doc/$PRGNAM/$PRGNAM.conf $PRGETC/$PRGNAM.conf.new

# Install documentation.
mkdir -p $PRGDOC
mv $PRGSHR/doc/$PRGNAM/* $PRGDOC/
cat $CWD/$PRGNAM.SlackBuild > $PRGDOC/$PRGNAM.SlackBuild
rm -rf $PRGSHR

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh

cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
 
Old 12-22-2018, 07:42 AM   #17
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by glorsplitz View Post
probably this, works for me on stable, not tried it on current
this only requirement I see on that page is
'This requires: psutil'
https://slackbuilds.org/repository/1...search=glances
Code:
$ sudo sboinstall psutil
psutil (psutil-5.4.8-x86_64-1_SBo) is already installed.
Code:
$ ls /var/log/packages/psutil*
/var/log/packages/psutil-5.4.8-x86_64-1_SBo
sbo link location

https://github.com/nicolargo/glances...s-2.9.1.tar.gz

from the page you gave me

https://nicolargo.github.io/glances/

Code:
$  pip install glances
Traceback (most recent call last):
  File "/usr/bin/pip", line 6, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

----------
$ sudo pip install glances
Traceback (most recent call last):
  File "/usr/bin/pip", line 6, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
Now I am running update on slack --current again..

Last edited by BW-userx; 12-22-2018 at 07:53 AM.
 
Old 12-22-2018, 01:16 PM   #18
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
thanks to another thread for xterm I got ahold of a iso current that ABob makes, used ark untarted it, then went in the parent directory and ran this in the terminal,
Code:
$ while read f ; do  ext=${f##*.} ; if [[ "$ext" = "txz" ]] ; sudo installpkg "$f" ; fi 
done <<<"$(find $(pwd) -type f )"
then I tried installing again, and it worked.
 
Old 12-22-2018, 02:06 PM   #19
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Well I hope you didn't end up with duplicate packages by doing that. Next time you should use upgradepkg --reinstall --install-new instead of installpkg.
 
Old 12-22-2018, 02:24 PM   #20
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by montagdude View Post
Well I hope you didn't end up with duplicate packages by doing that. Next time you should use upgradepkg --reinstall --install-new instead of installpkg.
yeahh I was trying to find that command line googling, but I didn't so remember once i ran something like that and if it was already installed it skipped it, but that could have been third party. I created a boot install stick just in case then I rebooted and it is still running, sooo...

though should it not just install over top of them? current iso just a few days old.

Last edited by BW-userx; 12-22-2018 at 02:47 PM.
 
Old 12-22-2018, 02:52 PM   #21
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by BW-userx View Post
yeahh I was trying to find that command line googling, but I didn't so remember once i ran something like that and if it was already installed it skipped it, but that could have been third party. I created a boot install stick just in case then I rebooted and it is still running, sooo...

though should it not just install over top of them? current iso just a few days old.
The issue would be if you already had some of the same packages installed, but a different version. In that case you would probably just have to removepkg both of them and then install the proper one. I believe that if you do slackpkg update, it will notify you of any such conflicts.
 
Old 12-22-2018, 03:00 PM   #22
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by montagdude View Post
The issue would be if you already had some of the same packages installed, but a different version. In that case you would probably just have to removepkg both of them and then install the proper one. I believe that if you do slackpkg update, it will notify you of any such conflicts.
yeah I ran that already, and just looked in /var/log/packages, and I didn't see anything dupicated

http://bear.alienbase.nl/mirrors/sla...4-current-iso/
updated Sat Dec 22 04:38:27 UTC 2018
so chances are their isn't any conflits in versions.
 
Old 12-22-2018, 05:03 PM   #23
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,312

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
In current, without SBo psutil, SBo glances failed,
Quote:
The 'psutil>=2.0.0' distribution was not found and is required by Glances
I installed SBo psutil, reinstalled SBo glances, glances then worked.
 
Old 12-22-2018, 05:11 PM   #24
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by glorsplitz View Post
In current, without SBo psutil, SBo glances failed,

I installed SBo psutil, reinstalled SBo glances, glances then worked.
Yeah, slackbuilds is
Code:
 $ ls /var/log/packages/psutil*
/var/log/packages/psutil-5.4.8-x86_64-1_SBo
https://slackbuilds.org/repository/14.2/python/psutil/

is was something to do with python on my end, installing packages off the current iso made by ABob fixed it.

Last edited by BW-userx; 12-22-2018 at 05:12 PM.
 
  


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
gDesklets - ImportError: No module named gnome.ui raffi Linux - Software 9 10-20-2005 12:48 PM
Bittorrent. "ImportError: No module named __future__" BashTin Linux - Software 4 09-12-2005 03:07 AM
iPodder: ImportError: No module named wx dr_zayus69 Linux - Software 6 07-06-2005 01:55 AM
ImportError: No module named libglade Kanaflloric Programming 0 08-16-2004 09:58 PM
ImportError: No module named gconf linorg Linux - Software 8 02-02-2004 04:37 PM

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

All times are GMT -5. The time now is 01:39 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