Find the answer to your Linux question:
Results 1 to 3 of 3
Hi - I'm a few days new to Linux so sorry if I quickly become a nag. I'm trying to install Python and a LaTeX editor and can't really get ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2011
    Posts
    3

    Installation Troubles


    Hi - I'm a few days new to Linux so sorry if I quickly become a nag. I'm trying to install Python and a LaTeX editor and can't really get either to work out. For texlive, I used 'sudo apt-get texlive-full', which didn't generate any errors, but I now can't seem to open the application. For Python, I used
    'sudo apt-get update
    sudo apt-get install python2.6' which generated the error "Unable to lock directory /var/cache/apt/archives." I tried to remove a lock file that I read about on another post and open up SPM, but the error persisted. Any solutions (or kludgey quickfixes) would be greatly appreciated. Thanks!

  2. #2
    Linux User TaZMAniac's Avatar
    Join Date
    Jan 2009
    Posts
    269
    Hi,

    Let's try to clean up your apt-get cache.

    Run this command;
    sudo apt-get aptitude clean
    Then run;
    sudo apt-get update

    Now open the Synaptic package manager, do a search for the programs your interested in and install them that way.

  3. #3
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Ubuntu isn't going to use aptitude.

    Instead, do
    Code:
    sudo apt-get clean
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

Posting Permissions

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