Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 6th May 2009, 06:29 PM
fella Offline
Registered User
 
Join Date: Apr 2009
Posts: 7
Hi,

my conclusion is that yum launched by simple user is simply not permitted custom in the code, please demonstrate that I'm wrong:

I create a yum.conf and yum.repos.d in simple user local area, I create the log and cache file as yum.conf requires in simple user local area. I build an adhoc rpm that want to be installed in a simple user owned path. I fill the yum.conf with the new repo, cache and log dir.

I launch yum in the following way:

1747[fella@lapfella:~/rpm]$ yum localinstall fake-1.1.0-1.noarch.rpm --installroot /home/fella/test_install_dir/ --noplugins -c /home/fella/yum.conf -e 10 -d 10 -v
Config time: 0.022
Yum Version: 3.2.21
COMMAND: yum localinstall fake-1.1.0-1.noarch.rpm --installroot /home/fella/test_install_dir/ --noplugins -c /home/fella/yum.conf -e 10 -d 10 -v
Installroot: /home/fella/test_install_dir/
Ext Commands:

fake-1.1.0-1.noarch.rpm
You need to be root to perform this command.
1749[fella@lapfella:~/rpm]$
---------------------------------------------------------------------

The /home/fella/yum.conf:

1750[fella@lapfella:~]$ cat yum.conf
[main]
cachedir=/home/fella/rpm/
debuglevel=10
errorlevel=10
logfile=/home/fella/rpm/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
reposdir=/home/fella/yum.repo.d

The install root I specified was fullfill of the new rpm db and related files, the new repos are accessed.

The strace of the command doesn't contain "Permission denied" or errors or warnings related to file owned by root.

strace yum localinstall superb-sim-1.1.0-1.noarch.rpm --installroot /home/fella/test_install_dir/ --noplugins -c /home/fella/yum.conf -e 10 -d 10 -v > ~/bbbd 2>&1

I try to write the .rpmmacros file containing the installroot
It is not clear the right use of --installroot and I don't find any full explanation of the use of it: al lthe cache and a new rpmdb is created at that path?

Thanks, fella
Reply With Quote
Reply

Tags
choose, howto, make, rpmdb, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: Make DVD playback work with libdvdcss Otto42 Guides & Solutions (No Questions) 17 17th December 2011 11:22 AM
help, howto make yum update faster? icedar Using Fedora 8 10th March 2010 08:36 AM
Howto make a simple Avi File play mkFedoraBetter Installation and Live Media 14 22nd September 2009 12:38 PM
howto make thunderbird access yahoo mail box ? icedar Using Fedora 1 10th September 2006 04:48 PM
howto make a vnc viewer only machine sunset Using Fedora 2 24th March 2006 01:10 AM


Current GMT-time: 12:22 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat