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 offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    17,776
    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 users: read this first
    no private messages requesting computer support - post them on the forums!

Posting Permissions

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