Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-12-2003, 08:42 AM   #1
LQ Newbie
Registered: Jul 2003
Posts: 4

Rep: Reputation: 0
Installpkg and different roots

I used installpkg and specified a different filesystem as the root. It seems that the other pkg stuff does not take the --root option. I looked at the pkgtool script and it takes an option for targetdir, which seems the same thing, but if you specify it pkgtool does nothing except appear to hang.

How can I get the other pkg type tools to recognize and work with the alternate root?
Old 08-12-2003, 08:59 AM   #2
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware, OpenBSD
Posts: 305

Rep: Reputation: 53
Hmmm... First of all, I don't think there is an "alternate" root. There is only "/"... ?

If you'd like to use "installpkg" with the "targetdir" option, you may need to create "targetdir" first...

Furthermore, there is usually no reason to mess up with "installpkg", since its default choices are pretty good.

If you really, really, really need to install xyz in a very specific directory, your best bet is to download the source code, "configure" it with the directory you want and do a make/make install. This should install xyz in the directory you want.

Sorry if this is not the answer you want, but your question is a little bit confusing for me...
Old 08-12-2003, 02:21 PM   #3
LQ Newbie
Registered: Jul 2003
Posts: 4

Original Poster
Rep: Reputation: 0

First, installpkg has a -root option that lets you install a package to somehting like /p2 or whatever. The problem I had was that my inital root was too small and I wanted to install more stuff, so I used this.

It seems most stuff doesn't install well unless it is installed in "/", which sucks. But, now that I have installed stuff in /p2, I want to uninstall some stuff. The other tools don't seem to have complimentary options to -root


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
Two roots? revenge80200 Yoper 0 01-29-2005 06:55 PM
The different type of roots Gins Linux - General 1 12-19-2004 01:57 PM
Is MS WINDOWS has roots on UNIX deepclutch General 5 11-24-2004 02:15 PM
roots password expired. wlfdgcrkz Linux - Software 2 06-19-2003 07:50 AM
changing roots passwd dj_relentless Linux From Scratch 1 02-01-2002 07:58 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration