LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-10-2004, 12:06 PM   #1
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
checkinstall problem


i just noticed that the packages created during checkinstall
consist of only the doinst.sh and slack-desc files...

the packages do get installed and are listed in pkgtool
but the files are not uninstalled when removing the package
 
Old 11-10-2004, 02:12 PM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Try to upgrade your checkinstall version from the official slackware package, I had this problem and
the upgrade did fix it.
 
Old 11-10-2004, 03:33 PM   #3
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Original Poster
Rep: Reputation: 31
thanks

i was current with my version
but i went ahead and uninstalled, redownloaded and reinstalled it

seems to be working again
(i can only wonder how many apps i installed
that won't uninstall correctly until i recompile them
and run checkinstall again)
 
Old 11-10-2004, 09:24 PM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
checkinstall doesn't create perfect packages. After installing a package with it you should 'explodepkg' it. You'll find that it doesn't create a proper slack-desc file. These should have exactly 11 lines beginning with the exact same name as the first part of the pkg name. If this is not so then the npackage will not be uninstalled by pkgtool. Just open up slack-desc and correct it. Then delete the original .tgz you just exploded and create the new one. Do installpkg on it and then go in to /var/log/packages and delete the file for the original pkg cretaed by checkinstall (if the name has changed -i.e. if there are two files there for the same pkg.
Same problem sometimes with poorly made pkgs from linuxpackages.net.
If already installed just look at the file for the pkg in /var/log/packages and see if it has anything in the 'Description' section. If not, it's a faulty package and should be fixed as above.
 
Old 11-11-2004, 05:38 PM   #5
PDock
Member
 
Registered: Aug 2004
Distribution: Slack10 & curr. tried numerous
Posts: 189

Rep: Reputation: 37
This might be of help in your build script:

CWD=`pwd`

# Household chores for each build script
if [ -f /$CWD/slack-desc ]; then
cat $CWD/slack-desc | sed -e '/^#/ d' -e '/^$/ d' -e '/handy-ruler/ d' \
| cut -d: -f2 | cut -c2- > description-pak
elif [ -f /$CWD/description-pak ]; then
cat $CWD/description-pak > description-pak
fi
if [ -f /$CWD/install-pak ]; then
cat $CWD/install-pak > install-pak
fi
mkdir doc-pak
 
  


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
checkinstall problem ingerul Linux - Software 5 11-01-2004 02:44 AM
Checkinstall in 5.1.1 Kroenecker Linux From Scratch 5 07-13-2004 11:37 AM
checkinstall... marsques Linux - Software 3 05-25-2004 12:56 PM
Using 'checkinstall' gonzalo76 Slackware 20 05-20-2004 06:09 PM
Checkinstall ... durden2.0 Linux - Software 1 07-02-2003 02:01 PM

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

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