LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-19-2008, 06:25 AM   #1
jason.rohde
Member
 
Registered: Aug 2005
Location: Chicago
Distribution: RHEL5,CENTOS
Posts: 62

Rep: Reputation: 15
Don't have privileges to install necessary packages?!!I am root!!!!


I have a fresh install of Fedora 9 since Suse 10.3 didn't want to cooperate. I log in as root and try to install anything (updates, rpms for repo data, anything) and I get the following message; Failed to Install: you do not have the necessary privileges to install local packages.

I am root, what happened to the obey me?? btw I am fairly certain it has nothing to do with SELinux, as I have disabled it in the grub.conf (i think, yeah selinux=0). I am tired and have given up on this until tomorrow night, but if anyone can point me in the right direction or shoot an idea or two my way that would be cool.
Thanks in advance
 
Old 06-19-2008, 06:51 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
what commands are you running? where do these errors appear?
 
Old 06-19-2008, 07:48 AM   #3
jason.rohde
Member
 
Registered: Aug 2005
Location: Chicago
Distribution: RHEL5,CENTOS
Posts: 62

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie View Post
what commands are you running? where do these errors appear?
I am on the train home replying on my blackberry. I will get all my info when I get back to work tonight. Thanks for the help
 
Old 06-19-2008, 07:52 AM   #4
Booboo
LQ Newbie
 
Registered: Apr 2005
Distribution: Fedora
Posts: 22

Rep: Reputation: 0
to install an rpm try this :
press Ctrl+Alt+F1 (a text console) login as root (it's not safe to login as root in graphical mode)
search your rpm package and install it like this : rpm -ivh yourpackagename.rpm for an upgrade instead of -ivh use -Uvh
-i is for install -U is for upgrade vh are progress bar and percentage(not quite necessary)
if you have all the dependencies installed that might be required by yourpackagename.rpm then the package should be installed with no problems otherwise it will not install until dependencies are added

a more simple approach to installing things is yum if you have an internet connection
in the same text console logged in as root type :
yum install yumex -y
this will install a graphical interface for installing programs easy easy and do upgrades to your whole system!
yum upgrade -y looks more easy but you can update the system with yumex to
using yumex you can simply install/uninstall programs just clicking with you mouse
 
Old 06-19-2008, 11:42 PM   #5
jason.rohde
Member
 
Registered: Aug 2005
Location: Chicago
Distribution: RHEL5,CENTOS
Posts: 62

Original Poster
Rep: Reputation: 15
Fingered it out, probably was just to tired to think straight. I made it so that absolutely no one, and I do mean no one, could install anything.

Thanks all who had replied
 
Old 07-28-2008, 05:36 AM   #6
alienclone
LQ Newbie
 
Registered: Jul 2008
Distribution: Ubuntu 9.04 Jaunty Jackalope
Posts: 5

Rep: Reputation: 0
i have the same issue, but not sure how to unset the no install option if that is my problem.


i was searching other forums and came across this http://forums.fedoraforum.org/forum/...local+packages

basicly says create non root account, log in with that non root account, try your installs, enter root account password when asked.

Last edited by alienclone; 07-28-2008 at 06:16 AM. Reason: found solution for my problem
 
Old 07-31-2008, 02:46 AM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
but not sure how to unset the no install option
you DON'T use
Code:
su -
yum install ( some program)
 -- or --
rpm -ivh ( some NON CONFLICTING *.rpm )
see http://www.mjmwired.net/resources/mjm-fedora-f9.html
http://forums.fedoraforum.org/forumdisplay.php?f=61
 
  


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
Ssh root privileges gabsik Linux - Security 1 05-28-2008 10:19 PM
mkdir with root privileges slam Programming 3 09-29-2006 05:22 PM
How to install gaim without root privileges? Sinha Linux - General 3 01-10-2006 09:26 AM
User with root privileges ShakyJake Linux - Newbie 2 06-18-2004 12:12 PM
Xine and root privileges markus1982 Linux - Software 1 08-18-2003 03:23 PM

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

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