Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

access denied in terminal


  • Please log in to reply
8 replies to this topic

#1 thekanclub

thekanclub

  • Members
  • 18 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Heaven
  • Local time:07:09 PM

Posted 08 November 2008 - 03:44 AM

hi
can anyone help me in fixing this problem, i am a newbie

this is the message i am getting whenever installs any package

rajneesh@rajneesh-desktop:~$ apt-get install exaile
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
rajneesh@rajneesh-desktop:~$

i believe there is no root access for this user account and i dont have any other user account, can anyone help me to make this user account as root account

thanks in advance
i forgot to mention i am using xubuntu 8.04

Edited by thekanclub, 08 November 2008 - 03:47 AM.

Thanks & Regards,
blissful chap


---------------------------------------------------------------------------------
most of the things we desire are expensive, but the truth is :
the things that really make us happy are free:
Love
joy
laughter
and of course Linux....lol
---------------------------------------------------------------------------------


BC AdBot (Login to Remove)

 


#2 BlackSpyder

BlackSpyder

    Bleeping Big Rig


  • BC Advisor
  • 2,443 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Huddleston, VA USA (Home Sweet Home)
  • Local time:08:39 AM

Posted 08 November 2008 - 04:58 PM

in K/X/Ubuntu you must use the command "sudo" first to do anything that requires su permissions (su=root). There is no root account unlike most other Linux based OS's. It's like Admin or Owner in windows.

example of sudo:
rajneesh@rajneesh-desktop:~$ sudo apt-get install exaile


BTW Exaile is awesome IMO

Edited by BlackSpyder, 08 November 2008 - 05:00 PM.

Posted Image




#3 xXAlphaXx

xXAlphaXx

  • Members
  • 854 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carlona
  • Local time:09:39 AM

Posted 09 November 2008 - 01:38 PM

Yeah, following up on what BlackSpyder said. Make sure you switch accounts to your root account. If I remember correctly its just "su" in the terminal and will ask for the root account's password. Then you can use sudo apt-get install exaile
If I am helping you and I do not respond within 24 hours, please send me a PM. :)

#4 BlackSpyder

BlackSpyder

    Bleeping Big Rig


  • BC Advisor
  • 2,443 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Huddleston, VA USA (Home Sweet Home)
  • Local time:08:39 AM

Posted 09 November 2008 - 04:00 PM

Yeah, following up on what BlackSpyder said. Make sure you switch accounts to your root account. If I remember correctly its just "su" in the terminal and will ask for the root account's password. Then you can use sudo apt-get install exaile

"sudo" is a temporary su login for one command entry only. So loging in as "su" would be defeating the purpose of using "sudo". Ubuntu uses "sudo" as a security feature to prevent hacking and viruses which are easier to get when logged in as "su". It's uncommon but possible.

Posted Image




#5 thekanclub

thekanclub
  • Topic Starter

  • Members
  • 18 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Heaven
  • Local time:07:09 PM

Posted 10 November 2008 - 02:19 AM

thanks a lot guys right now i am in office so as soon as i reach home i will let you know whether i can make it.
counting a couple of hours to reach home :thumbsup:

Edited by thekanclub, 10 November 2008 - 03:36 AM.

Thanks & Regards,
blissful chap


---------------------------------------------------------------------------------
most of the things we desire are expensive, but the truth is :
the things that really make us happy are free:
Love
joy
laughter
and of course Linux....lol
---------------------------------------------------------------------------------


#6 thekanclub

thekanclub
  • Topic Starter

  • Members
  • 18 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Heaven
  • Local time:07:09 PM

Posted 10 November 2008 - 07:36 AM

wow! excellent, it worked, thanks a million.... you guys are genius...ha ha

also i have one more doubt how to mount windows partition ? please advice
Thanks & Regards,
blissful chap


---------------------------------------------------------------------------------
most of the things we desire are expensive, but the truth is :
the things that really make us happy are free:
Love
joy
laughter
and of course Linux....lol
---------------------------------------------------------------------------------


#7 DaffyKantReed

DaffyKantReed

  • Members
  • 190 posts
  • OFFLINE
  •  
  • Location:Vancouver, BC
  • Local time:05:39 AM

Posted 10 November 2008 - 02:25 PM

also i have one more doubt how to mount windows partition ? please advice



The following thread may be of help to you.

http://ubuntuforums.org/showthread.php?t=916006

#8 thekanclub

thekanclub
  • Topic Starter

  • Members
  • 18 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Heaven
  • Local time:07:09 PM

Posted 11 November 2008 - 05:21 AM

:flowers: wow! great daffy it worked like a charm.!!!

thanks a million :thumbsup:
Thanks & Regards,
blissful chap


---------------------------------------------------------------------------------
most of the things we desire are expensive, but the truth is :
the things that really make us happy are free:
Love
joy
laughter
and of course Linux....lol
---------------------------------------------------------------------------------


#9 DaffyKantReed

DaffyKantReed

  • Members
  • 190 posts
  • OFFLINE
  •  
  • Location:Vancouver, BC
  • Local time:05:39 AM

Posted 23 November 2008 - 12:29 PM

:thumbsup: wow! great daffy it worked like a charm.!!!


Glad to hear it worked for you.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users