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 10-15-2004, 05:31 PM   #1
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 46
pkgtool does nothing?!


Just noticed that Slackware's pkgtool has stopped working. Installpkg, Removepkg and others work just fine, but whenever I try to do anything through pkgtool it just exits and displays the prompt.

This is what it says when run with -x:

+ SOURCE_DIR=/var/log/mount
+ ASK=tagfiles
+ '[' -L /bin/chmod -a -L /bin/chown ']'
+ TARGET_DIR=/
+ TMP=/var/log/setup/tmp
+ '[' '!' -d /var/log/setup/tmp ']'
+ ADM_DIR=//var/log
+ LOG=/var/log/setup/tmp/PKGTOOL.REMOVED
+ '[' 0 -gt 0 ']'
+ CMD_START=true
+ rm -f '/var/log/setup/tmp/SeT*'
+ '[' 0 ']'
+ dialog --title 'Slackware Package Tool (pkgtool version 10.0)' --menu '\nWelcome to the Slackware package tool.\n\nWhich option would you like?\n' 17 75 7 Current 'Install packages from the current directory' Other 'Install packages from some other directory' Floppy 'Install packages from floppy disks' Remove 'Remove packages that are currently installed' View 'View the list of files contained in a package' Setup 'Choose Slackware installation scripts to run again' Exit 'Exit Pkgtool'
+ '[' '!' 0 = 0 ']'
++ cat /var/log/setup/tmp/reply
+ REPLY='*** debug [lib/liblow.c(204)]:
VC: 0
*** info [lib/liblow.c(321)]:
/dev/gpmctl: No such file or directory
*** err [lib/liblow.c(328)]:
/dev/gpmctl: No such file or directory
*** err [lib/liblow.c(372)]:
Oh, oh, it'\''s an error! possibly I die!
View'
+ rm -f /var/log/setup/tmp/reply
+ '[' '*** debug [lib/liblow.c(204)]:
VC: 0
*** info [lib/liblow.c(321)]:
/dev/gpmctl: No such file or directory
*** err [lib/liblow.c(328)]:
/dev/gpmctl: No such file or directory
*** err [lib/liblow.c(372)]:
Oh, oh, it'\''s an error! possibly I die!
View' = Exit ']'
+ '[' '*** debug [lib/liblow.c(204)]:
VC: 0
*** info [lib/liblow.c(321)]:
/dev/gpmctl: No such file or directory
*** err [lib/liblow.c(328)]:
/dev/gpmctl: No such file or directory
*** err [lib/liblow.c(372)]:
Oh, oh, it'\''s an error! possibly I die!
View' = Setup ']'
+ '[' '*** debug [lib/liblow.c(204)]:
VC: 0
*** info [lib/liblow.c(321)]:
/dev/gpmctl: No such file or directory
*** err [lib/liblow.c(328)]:
/dev/gpmctl: No such file or directory
*** err [lib/liblow.c(372)]:
Oh, oh, it'\''s an error! possibly I die!
View' = View ']'
+ '[' '*** debug [lib/liblow.c(204)]:
VC: 0
*** info [lib/liblow.c(321)]:
/dev/gpmctl: No such file or directory
*** err [lib/liblow.c(328)]:
/dev/gpmctl: No such file or directory
*** err [lib/liblow.c(372)]:
Oh, oh, it'\''s an error! possibly I die!
View' = Remove ']'
+ '[' '*** debug [lib/liblow.c(204)]:
VC: 0
*** info [lib/liblow.c(321)]:
/dev/gpmctl: No such file or directory
*** err [lib/liblow.c(328)]:
/dev/gpmctl: No such file or directory
*** err [lib/liblow.c(372)]:
Oh, oh, it'\''s an error! possibly I die!
View' = Floppy ']'
+ '[' '*** debug [lib/liblow.c(204)]:
VC: 0
*** info [lib/liblow.c(321)]:
/dev/gpmctl: No such file or directory
*** err [lib/liblow.c(328)]:
/dev/gpmctl: No such file or directory
*** err [lib/liblow.c(372)]:
Oh, oh, it'\''s an error! possibly I die!
View' = Other ']'
+ SOURCE_MOUNTED=always
+ SOURCE_DIR=/root
+ DISK_SETS=disk
+ chmod 755 /
+ chmod 1777 //tmp
+ break
+ '[' disk = disk ']'
+ ASK=always
+ '[' disk = disk ']'
+ install_disk single_disk
+ mount_the_source single_disk
+ '[' always = always ']'
+ '[' '!' -d /root ']'
+ return 0
+ '[' 0 = 1 ']'
+ CURRENT_DISK_NAME=single_disk
+ PACKAGE_DIR=/root
+ '[' always = always -a '!' disk = disk ']'
+ '[' '!' -d /root ']'
+ ls '/root/*.tgz'
+ return 1
+ ASK=always
+ '[' disk = disk -o true = true ']'
+ '[' -r /var/log/setup/tmp/tagfile ']'
+ dialog --clear
+ chmod 755 / //var //usr
+ chmod 1777 //tmp

At first I thougt it's the missing gpmctl, which seems to appear in /dev when gpm is started, but even with gpmctl present pkgtool doesn't work any better (though it does not display the error message about it). Maybe the problem is with /lib/liblow.c, but what would .c file be doing in /lib in the first place??? I'm completely confused.

Last edited by alienDog; 10-15-2004 at 05:44 PM.
 
Old 10-15-2004, 05:40 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,988
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
What is the version of yours?

Maybe that's the downside of being bleeding
edge :}


Cheers,
Tink
 
Old 10-15-2004, 05:48 PM   #3
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Original Poster
Rep: Reputation: 46
Whoops, I edited the original post since I didn't expect the answer to be quite this quick... Well, the problem remains anyway. The version of pkgtools package is pkgtools-10.0.0-i486-2.
 
Old 10-15-2004, 08:21 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Do you have gpm installed?
 
Old 10-16-2004, 01:58 PM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,768

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Try installing pkgtool from Slack 9.1. That fixed someone else's similar problem.
 
Old 10-19-2004, 07:19 AM   #6
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Original Poster
Rep: Reputation: 46
Ok, I tried using pkgtools 9.1 but the result is the same. Still not working. I also get similar errors from netconfig and other programs that use the dialog utility, so the problem is probably with dialog. I do have gpm installed but I don't usually run it. Starting gpm makes no difference when it comes to this problem.
 
Old 10-19-2004, 07:39 AM   #7
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Original Poster
Rep: Reputation: 46
Some more digging revealed that liblow.c error is related to gpm version 1.20 (which is the one I had installed). I used to need gpm's repeaters when I had an external mouse with wheel and an internal touchpad without wheel. Using gpm repeaters and configuring X to use /dev/gpmdata enabled me to switch mouses without needing to restart X. At the moment I have only the internal touchpad, so I have no need for this kind of tricks right now. Downgrade to gpm 1.19 fixed the problem for me for now.

Funny thing is that the error appears with scripts using dialog even if the gpm is not running. Also interestingly the problem with dialog has appeared quite recently and I've been using gpm 1.20 for as long as I can remember... Well... who knows what in the end causes these things to happen but I sure hope that they fix gpm 1.20 soon.

Last edited by alienDog; 10-19-2004 at 07:40 AM.
 
Old 10-19-2004, 07:49 AM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Nice to see you got it fixed, you may try also re running the gpm configuration script (it's on pkgtool -> Setup). Maybe the scripts are reading the gpm configuration (and not checking that gpm is not running) and saw a mouse there
 
Old 10-31-2004, 05:11 PM   #9
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Original Poster
Rep: Reputation: 46
Hmm... I don't think that would have helped. To my understanding mouseconfig edits /etc/rc.d/rc.gpm which in my system is my own because I used to do "tricks" with it. In my system mouse configuration is elsewere and there is no way that it could have been found by any script. /etc/rc.gpm is still my own (even though I downgraded my gpm) and, as I said, everything works now.
 
  


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
pkgtool fails ionmich Slackware 3 11-10-2004 07:08 PM
Pkgtool Corallis Slackware 6 09-01-2004 11:49 PM
pkgtool sio Linux - General 0 07-30-2003 12:47 PM
using pkgtool ivans Slackware 2 05-28-2003 09:37 PM
pkgtool ktindle Slackware 4 12-15-2002 04:14 AM


All times are GMT -5. The time now is 01:37 PM.

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