+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
*nix Thread, Raspberry Pi not able to software install packages in Technical; Originally Posted by Rav-Singh P.S I got "apt-get update" working and is update now, I had to change user to ...
  1. #16

    Join Date
    Apr 2012
    Location
    Birmingham
    Posts
    50
    Thank Post
    16
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by Rav-Singh View Post
    P.S I got "apt-get update" working and is update now, I had to change user to root by using "sudo bash" command.

    Thanks again Mats
    Great Success !!!!

    Ive just installed Chromium !!! After running the "apt-get update" it installed the update with no errors! I then ran "sudo apt-get install chromium" and it to installed effectively !!

    Massive thank you to everyone !

    Cheers Gents!!!

    Rav Singh

  2. #17

    Join Date
    Nov 2010
    Posts
    433
    Thank Post
    58
    Thanked 66 Times in 57 Posts
    Rep Power
    27
    So, a quick explanation of what happened. When you run "apt-get update" as user pi (your normal login user), apt-get can't write the files it needs to write because it's just a normal user.

    When you run "sudo apt-get update", it runs the same program as the super-user aka root, who can write where it wants.

    Normal stuff - use the pi user.

    Admin stuff - sudo.

    When you type "sudo bash", it runs bash - the command line interpreter - as the super user, with its almighty powers.

    HTH,

    Mat

  3. Thanks to mats from:

    Rav-Singh (21st June 2013)

  4. #18

    Join Date
    Apr 2012
    Location
    Birmingham
    Posts
    50
    Thank Post
    16
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by mats View Post
    So, a quick explanation of what happened. When you run "apt-get update" as user pi (your normal login user), apt-get can't write the files it needs to write because it's just a normal user.

    When you run "sudo apt-get update", it runs the same program as the super-user aka root, who can write where it wants.

    Normal stuff - use the pi user.

    Admin stuff - sudo.

    When you type "sudo bash", it runs bash - the command line interpreter - as the super user, with its almighty powers.

    HTH,

    Mat
    Got it ! Thanks again for all your support and advice Mats, it is greatly appreciated!

    Cheers Rav

  5. #19

    Join Date
    Nov 2010
    Posts
    433
    Thank Post
    58
    Thanked 66 Times in 57 Posts
    Rep Power
    27
    No probs. Now go & do something really cool with it!

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 3
    Last Post: 8th September 2006, 07:49 AM
  2. WMI filter to target SMARTboard software install
    By ajbritton in forum Windows
    Replies: 8
    Last Post: 15th August 2006, 08:30 PM
  3. Restrict software installation
    By nuttygeek in forum Windows
    Replies: 27
    Last Post: 13th March 2006, 10:18 PM
  4. Replies: 9
    Last Post: 8th November 2005, 09:45 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •