Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-15-2004, 05:31 PM
|
#1
|
|
Member
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 497
Rep:
|
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.
|
|
|
|
10-15-2004, 05:40 PM
|
#2
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,903
|
What is the version of yours?
Maybe that's the downside of being bleeding
edge :}
Cheers,
Tink
|
|
|
|
10-15-2004, 05:48 PM
|
#3
|
|
Member
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 497
Original Poster
Rep:
|
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.
|
|
|
|
10-15-2004, 08:21 PM
|
#4
|
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
Do you have gpm installed?
|
|
|
|
10-16-2004, 01:58 PM
|
#5
|
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,592
|
Try installing pkgtool from Slack 9.1. That fixed someone else's similar problem.
|
|
|
|
10-19-2004, 07:19 AM
|
#6
|
|
Member
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 497
Original Poster
Rep:
|
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.
|
|
|
|
10-19-2004, 07:39 AM
|
#7
|
|
Member
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 497
Original Poster
Rep:
|
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.
|
|
|
|
10-19-2004, 07:49 AM
|
#8
|
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
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 
|
|
|
|
10-31-2004, 05:11 PM
|
#9
|
|
Member
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 497
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
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 12:44 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|