0

I installed ubuntu last night. And after reading 100s of posts, I still couldn't make my sudo apt-get work at all. I remember, I have to modify the software server somehow. But I can't remember how or where to do it.

Nothing is being installed.

Need help.

8
  • What is it that you're trying to do?
    – Mitch
    May 18 '13 at 5:33
  • @Mitch: sudo apt-get install git
    – xan
    May 18 '13 at 5:36
  • Do sudo apt-get update && sudo apt-get upgrade before installing, and then try to install git. let me know what happens.
    – Mitch
    May 18 '13 at 5:41
  • Show us some console output of the error message, to help figure out what is not working.
    – ortang
    May 18 '13 at 5:51
  • @Mitch: It's still installing the packages. I'll notify you when things get done.
    – xan
    May 18 '13 at 6:04
5

After a fresh install of Ubuntu, launch Terminal by using Ctrl+Alt+T and run:

sudo apt-get update && sudo apt-get upgrade 

Once, this process has been completed, you can install packages using

sudo apt-get install <package_name>
4
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade

That should clear your existing lists and rebuild.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.