LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-21-2011, 11:27 PM   #1
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Rep: Reputation: 40
Exclamation Dreamlinux - Root says 'superuser required' while installing FROM root


Sorry for being a contributor to the forums so much as far as questions go, But I'm trying to get a hold of this thing ... Takes alot of learning , but I enjoy the interaction with the system... anyways

I am trying to install google chrome on my computer, it is in a .deb package and I am using dreamlinux. Earlier today I installed a .cbr/.cbz file reader from root, that was also a .deb and it worked just fine. now I go to install google chrome and it says (Blue is my command, and red is the system response):

root@root:~$ dpkg -i /home/root/Desktop/google-chrome-stable_current_i386.deb
dpkg: requested operation requires superuser privilege
root@root:~$ |


I checked under my USER GROUPS and Root is still set as root, and I haven't been using it unless I need to install with it to other directories, Should I be using another command to install? or is it a problem that may affect other aspects of my system? ... My biggest concern is not getting google in, I can wait for that ... I just wanna know why ROOT is under the impression it's not a superuser.
 
Old 04-21-2011, 11:44 PM   #2
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 50
Did you su to root before trying to install the .deb package? I've never used dreamlinux but if it is a debian breed then you will need to su to root first. If it is a Ubuntu breed then prefix your command with sudo ie. sudo dpkg install "package name" then you will be prompted for a passwd.
 
Old 04-21-2011, 11:47 PM   #3
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by mrrangerman View Post
Did you su to root before trying to install the .deb package? I've never used dreamlinux but if it is a debian breed then you will need to su to root first. If it is a Ubuntu breed then prefix your command with sudo ie. sudo dpkg install "package name" then you will be prompted for a passwd.
Dreamlinux is debian based, and do I need to use sudo if I am logged into root? it is my system and I am only user ... But I use a seperate account for everyday activity, and only use root when doing system wide installs, or when it says I must be superuser. I'll give that a shot and come back and let mark as solved if it works ... Thanks for helping
 
Old 04-21-2011, 11:54 PM   #4
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Original Poster
Rep: Reputation: 40
root@root:~# su dpkg /home/root/Desktop/google-chrome-stable_current_i386.deb install
root@root:~# su root
root@root:~# dpkg -i /home/root/Desktop/google-chrome-stable_current_i386.deb
(Reading database ... 82221 files and directories currently installed.)
Preparing to replace google-chrome-stable 10.0.648.205-r81283 (using .../google-chrome-stable_current_i386.deb) ...
Unpacking replacement google-chrome-stable ...

As you can see results where good, Didn't even thing about using su, even though I knew it existed! Thank you for pointing out the obvious lol I appreciate it.

Still doesn't answer why it told me I wasn't superuser, But it works and that's good enough. if anyone wonders in here to a solved thread, and has an answer I'd appreciate it.

Last edited by Hevithan; 04-21-2011 at 11:58 PM. Reason: forgot a line
 
  


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
[SOLVED] superuser vs root clarification? S1NN3R Slackware 4 10-25-2009 05:08 PM
Is there any difference between root and superuser bt198629 Fedora 1 05-21-2006 03:48 AM
superuser/root zao Linux - General 3 05-02-2006 03:02 AM
How to create a superuser other than root WindowsBurner Linux - General 21 01-02-2006 08:34 PM
How to Autologin as a root(Superuser) m.harshavardhan Linux - Software 26 11-14-2005 04:27 AM


All times are GMT -5. The time now is 07:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration