Find the answer to your Linux question:
Results 1 to 2 of 2
When I try to install something using apt-get I get the following message, "Sorry, user Sparky is not allowed to execute '/usr/bin/apt-get install' as root on mepis1." Any help?...
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    1

    Error

    When I try to install something using apt-get I get the following message, "Sorry, user Sparky is not allowed to execute '/usr/bin/apt-get install' as root on mepis1." Any help?

  2. #2
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,091
    Welcome to the forums, BackBack!

    When you want to install something with apt, you must su (switch user) to root first.

    From the command line, enter:

    Code:
    su
    ...enter the root password when requested.


    Then enter:

    Code:
    apt-get update
    ...this updates your packages list.


    Then try to install your package:

    Code:
    apt-get install package_name

    If it doesn't work, post back with any errors.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

Posting Permissions

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