LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 08-21-2014, 08:47 PM   #1
offplanet
Member
 
Registered: Oct 2009
Location: california
Distribution: slackware, android
Posts: 41

Rep: Reputation: 0
pkgtool hangs


script -c 'pkgtool --sets a#ap#d#f#k#kde#l#n#t#tcl#x#xap#xce#y# --source_dir /media/TOSHIBAEXT/slackware/slackware64-curent/slackware64/ --target-dir /ubuntu --tagfile tagfile' install-slackware-2014-08-21.18:27.log the above command hangs my cpu at 50% and does nothing. It does not populate mounted partition /upuntu. It produces no output in the install log. tagfile is a tree that contains a directory for each disk set that contains a copy of the default tagfile. suggestions please.
 
Old 08-21-2014, 10:10 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
you try reinstalling pkgtool because pkgtool is a noarch program it is just scripts. So what was your goal is here ?
 
Old 08-21-2014, 10:29 PM   #3
offplanet
Member
 
Registered: Oct 2009
Location: california
Distribution: slackware, android
Posts: 41

Original Poster
Rep: Reputation: 0
Drakeo, my goal is to automate a clean slackware installation in an empty partition. I was able to reduce the cpu time to less than 10% by putting a # in front of the first --sets argument. It still hangs tho. checking the remaining arguments.
 
Old 08-21-2014, 11:07 PM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
you know that pretty simple actually. I set up some scripts for my friend to actually install slackware while running puppy linux ok want a script how i do it.
i do a
Code:
    #!/bin/sh
    cd /mnt/sdb2/Slackware/slackware64-14.1/slackware64 # set to your partition 
    for dir in a ap d e f k kde l n t tcl x xap xfce y ; do
      ( cd $dir ; installpkg -root /mnt/sdb2 *.t?z )
    done
if you do not want a full install pick out some
here this says you have sdb2 set up to be installed on my first script actually mirrored the repo to sdb2.
you need to set up a boot loader. before and then go to telinit 1 run pktools and create a password etc.

Last edited by Drakeo; 08-21-2014 at 11:08 PM.
 
Old 08-21-2014, 11:27 PM   #5
offplanet
Member
 
Registered: Oct 2009
Location: california
Distribution: slackware, android
Posts: 41

Original Poster
Rep: Reputation: 0
pkgtool runs!

Watch your hyphens and underbars in the arguments. The first # symbol in front of the disk sets must be there and quotes. Also the source-dir path was missing an extra r. Below is the command that runs:
Code:
script -c 'pkgtool --sets "#a#ap#d#f#k#kde#l#n#t#tcl#x#xap#xfce#y#" --source-mounted --source_dir /media/TOSHIBAEXT/slackware/slackware64-current/slackware64/ --target_dir /ubuntu --tagfile tagfile' install-slackware-$(date +%F.%H-%M).log
Now I am working to see why it is ignoring the tag files.

Last edited by offplanet; 08-22-2014 at 12:40 AM. Reason: fix the command line, readability
 
Old 08-21-2014, 11:32 PM   #6
offplanet
Member
 
Registered: Oct 2009
Location: california
Distribution: slackware, android
Posts: 41

Original Poster
Rep: Reputation: 0
thanks

I copied your script Drakeo. Thanks. Where can I go to learn how to make my posts readable?
 
Old 08-22-2014, 06:30 AM   #7
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Originally Posted by offplanet View Post
I copied your script Drakeo. Thanks. Where can I go to learn how to make my posts readable?
I really do not understand the question. that script is just a little bit of a modification of the upgrade text from slackware.
Quote:
Where can I go to learn how to make my posts readable?
please elaborate a little more.
 
Old 08-22-2014, 08:40 AM   #8
offplanet
Member
 
Registered: Oct 2009
Location: california
Distribution: slackware, android
Posts: 41

Original Poster
Rep: Reputation: 0
I wanted to make my LQ posts look better. (text formating)

Quote:
Originally Posted by offplanet View Post
I copied your script Drakeo. Thanks. Where can I go to learn how to make my posts readable?

The LQ reply tool was removing my double quotes and substituting text.
And I did not understand why.

Text formatting LQ reply and figuring out PKGTOOL are 2 different problems. The BB CODE TAGS helped but I need to learn more about LQ reply formatting.
 
Old 08-22-2014, 10:07 AM   #9
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 528

Rep: Reputation: 273Reputation: 273Reputation: 273
Quote:
Originally Posted by offplanet View Post
The BB CODE TAGS helped but I need to learn more about LQ reply formatting.
@offplanet You mention BB Codes. Have you seen these pages?

General

BBCodes

Smilies


I've not had trouble with double quotes. Perhaps if you elaborate someone can offer a suggestion.

EDIT: You can select the version of the editor (simple, WYSIWYG) you use by configuring you LQ account options.

Last edited by TracyTiger; 08-22-2014 at 10:12 AM.
 
Old 08-23-2014, 06:20 PM   #10
offplanet
Member
 
Registered: Oct 2009
Location: california
Distribution: slackware, android
Posts: 41

Original Poster
Rep: Reputation: 0
details on formating issues

In my code section I used double quotes after the --sets text. The editor removed the quotes and put amp;stuffhere;amp; in its place. This was during the preview process. I went back and edited it to put the double quotes back before I submitted. This time it stayed there. I don't know why. The sections on bbcodes smiles and general did not talk about the tag I saw in Drakeo's post to force a new line. I even used it. But now the tag does not show up and I don't remember the exact syntax. It had angle brackets, a slash and a b. All of this is a side issue. I need to get back to figuring out why my tag files are not being used. Today hopefully. Thanks to all who offered help.

Last edited by offplanet; 09-05-2014 at 04:10 PM. Reason: correction: stayed
 
Old 08-24-2014, 07:01 AM   #11
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
durring your post you will see the go advance at the bottom this will allow you to use the code # insert. and many other things.
 
  


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 - where is it dannemil Slackware 6 11-30-2007 07:51 AM
pkgtool does nothing?! alienDog Slackware 8 10-31-2004 05:11 PM
Pkgtool Corallis Slackware 6 09-01-2004 11:49 PM
using pkgtool ivans Slackware 2 05-28-2003 09:37 PM
pkgtool ktindle Slackware 4 12-15-2002 04:14 AM

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

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