Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If you are trying to do an automated or scripted Slackware 13 install with pkgtool, be aware of the following new problem. The manual page for pkgtool now lists the command options only with 2 dashes, like "--sets", instead of "-sets" as in older versions. (The single-dash options do still work.) But two of the option names were mis-typed in the manual page. (Or perhaps the manual has the intended syntax, and the command itself is wrong.) If you use the options as documented, then pkgtool will loop using 100% CPU time doing nothing, which it does on any incorrect option, e.g "pkgtool --help".
Instead of the documented --ignore_tagfiles use --ignore-tagfiles
Instead of the documented --source_mounted use --source-mounted
(--source_dir, --target_dir, and --source_device are correct as documented.)
pkgtool is a shell script that uses a case...esac statement to process command line parameters inside a while loop
Code:
189: while [ $# -gt 0 ]; do
190: case "$1" in
but there is no *) to catch all unhandled stuff at the end. But with an unknown parameter $# is still !=0, so the while loop simply cannot terminate. I've simply added
Code:
*)
echo "unknown parameter"
exit 1
;;
before the next "esac" and now pkgtool bails out. Perhaps you should file a bug report.
Yes, I should. However, I've looked through www.slackware.com, and all the information files that come with my (paid subscription!) Slackware CD set, etc, and I see no indication that bug reports are welcome. Now, I know that "volkerdi -at- slackware.com" has been used on these forums for that purpose, but it feels wrong to me to use that without some official indication that it is the right thing to do.
Yes, I should. However, I've looked through www.slackware.com, and all the information files that come with my (paid subscription!) Slackware CD set, etc, and I see no indication that bug reports are welcome. Now, I know that "volkerdi -at- slackware.com" has been used on these forums for that purpose, but it feels wrong to me to use that without some official indication that it is the right thing to do.
As you are reluctant to send a mail to security @ slackware.com, I'll do it myself.
Thank you.
Whether it is a manual error or a script bug is up to the Slackware maintainer(s), however in my opinion the manual is correct and the script is wrong. The other options use underscores, not dashes, in both old and new form options. If it is --source_dir, it should be --source_mounted, not --source-mounted. But that isn't how it is coded.
The other part that should be fixed is that if the script is invoked with an unknown argument it should not just loop.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.