LinuxQuestions.org
Review your favorite Linux distribution.
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 08-12-2003, 07:42 AM   #1
pcause
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, 07:59 AM   #2
Noryungi
Member
 
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, 01:21 PM   #3
pcause
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Wel...

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
 
  


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

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

All times are GMT -5. The time now is 12:26 PM.

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