Find the answer to your Linux question:
Results 1 to 2 of 2

Thread: Error

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #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
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    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

Posting Permissions

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