LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dreamlinux - Root says 'superuser required' while installing FROM root (https://www.linuxquestions.org/questions/linux-newbie-8/dreamlinux-root-says-superuser-required-while-installing-from-root-876431/)

Hevithan 04-21-2011 10:27 PM

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 :study:, 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.

mrrangerman 04-21-2011 10:44 PM

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.

Hevithan 04-21-2011 10:47 PM

Quote:

Originally Posted by mrrangerman (Post 4332203)
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

Hevithan 04-21-2011 10:54 PM

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.


All times are GMT -5. The time now is 05:06 PM.