LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-07-2009, 08:40 AM   #1
Ziuccio
LQ Newbie
 
Registered: Apr 2009
Posts: 6

Rep: Reputation: 0
strace on yum


hi all
i have a problem to solve:
i have to use yum in simple user because we have to use it in grid.
now i have my yum.conf and yum repo in local user folder, in the yum.conf i inserted new command:
installroot for new rpmdb path
errorlevel and debuglevel for major information
reposdir for take repo in local folder

i'll run command:
yum localinstall my package -c /home/casual/yum.conf and return only this:

COMMAND: yum localinstall my package -c /home/casual/yum.conf

installroot: /home/casual/test-dir
Ext-Command:

My package

You need to be root to perform this command

i tried to do lsof, but no file open
i tried to do strace yum localinstall my package -c /home/casual/yum.conf
i used grep for select only open and remove all "No such file or directory"
i expect some permission denied, but, no permission denied, no error or warning ar present in this file, i have only open on python libraries: /usr/lib/python and all access is in readonly mode
and /usr/share/yum-cli all access in readonly mode

anyone have any idea for help me?
thx at all
 
Old 05-08-2009, 02:26 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
what Operating System are you using ??
that would help .
if fedora see:
http://docs.fedoraproject.org/yum/en/
or
http://fedorasolved.org/post-install...al-mirror-list
 
Old 05-11-2009, 08:22 AM   #3
Ziuccio
LQ Newbie
 
Registered: Apr 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by John VV View Post
what Operating System are you using ??
that would help .
if fedora see:
http://docs.fedoraproject.org/yum/en/
or
http://fedorasolved.org/post-install...al-mirror-list
sorry, forgot enviroment :P

i work on scientific linux 5.2
 
Old 05-11-2009, 12:08 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you will still need to be root to install rpm's
you could rebuild them to install in /home/username

rut you will need to be root to do that
 
Old 05-12-2009, 06:40 AM   #5
Ziuccio
LQ Newbie
 
Registered: Apr 2009
Posts: 6

Original Poster
Rep: Reputation: 0
i don't understand why i have to rebuild rpm...
the command insallroot create new rpmdb, and for do this i don't need root privilege.
in alternative i can use the command initdb of rpm for create new rpmdb and dbpath for locate it.

i can rebuild rpm, but, i don't understand why in strace haven't permission denied or error
 
  


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
strace palisetty_suman Linux - Newbie 2 07-01-2012 08:24 AM
strace app RajRed Linux - Software 1 12-03-2005 12:39 AM
Usage of strace mdb84 Linux - Software 1 03-25-2005 02:13 AM
Make and strace Clementine Linux - Newbie 0 02-16-2005 07:51 PM
strace useradd phoenix_fei Programming 1 11-29-2004 10:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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