Questions tagged [software-sources]

Questions about managing software sources/repositories in Ubuntu. This can be done graphically through System Settings > Software Sources or from the command line through APT's CLI tools or editing /etc/apt/sources.list and related files.

699 questions
264
votes
5 answers

How do I enable the "Universe" repository?

How do I get to the Universe Repository in supported versions of Ubuntu?
228
votes
4 answers

How do I restore the default repositories?

There are now errors when updating and I cannot install most software due to a corrupted /etc/apt/sources.list file. Is there a copy I can download to replace it? The file would be for Ubuntu 12.04 (Final Beta) in the United States.
194
votes
25 answers

How to fix "W: Duplicate sources.list entry"?

I keep getting this warning whenever I try to run sudo apt-get update. W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages…
hsinxh
  • 3,190
192
votes
3 answers

How to remove a repository?

Please let me know how to remove certain repositories in Ubuntu 11.04. I am getting the following errors while updating. sudo apt-get update Err http://ppa.launchpad.net natty/main Sources 404 Not Found Err…
samarasa
  • 4,971
153
votes
4 answers

How do I change mirrors in Ubuntu Server from regional to main?

I have a Lucid Server (10.04) set up and I would like to change the mirror from US (or any other country) to the Main Ubuntu Mirror. For example my two first entries in sources.list are: deb http://us.archive.ubuntu.com/ubuntu/ lucid main…
134
votes
6 answers

apt-get update only for a specific repository

When I add a PPA and I want to install some of its content, it is quite annoying to re-update all my apt list using apt-get update. Is it instead possible to only sync the content of a given repository?
Treviño
  • 2,604
93
votes
9 answers

How do I remove a malformed line from my sources.list?

I have unistalled and reinstalled the Ubuntu Software Center as per info I found in a similar thread and I got the same response about line 91 or something like that. I just tried to upload a screen shot but since I'm new it won't allow me to. I…
69
votes
7 answers

A "failed to fetch" error occurs when apt-get update is run. How do I fix this?

Contrary to the note above, I haven't found the answer to my problem. I have read almost a dozen apt-get update questions, most from askubuntu.com, with "failed to fetch" errors and tried the solutions answered there. Unfortunately, none worked. I…
63
votes
3 answers

How do I enable the "multiverse" repository?

I keep seeing places refer to the "multiverse" repository as a place I can get software, how can I enable this repository? Please specify how to do this graphically and via command line.
58
votes
7 answers

How do I enable the "partner" repository?

I keep seeing places refer to the "partner" repository as a place I can get software, how can I enable this repository? Please specify how to do this graphically and via command line.
55
votes
5 answers

What's the best way to re-enable PPAs/repos after an upgrade?

When I upgrade from 11.10 to 12.04, what's the best way to re-enable my PPAs and added repositories?
philipballew
  • 2,469
52
votes
4 answers

Do files at /etc/apt/sources.list.d need to have an extension '.list'?

In /etc/apt/sources.list.d I have several files for custom repositories. All the names of those files end with .list. Is it obligatory that files in that folder should end with that extension? If yes, where is that information written?
51
votes
3 answers

How do I enable the "backports" repository?

How to enable the backports repository so I can get newer versions of software?
51
votes
1 answer

Assign highest priority to my local repository

Summary How can I make apt-get prefer local repository packages instead of downloading again the same package version from official repositories? The local repository is signed and trusted. We've already tried apt preferences priority. Original…
Anwar
  • 77,855
50
votes
2 answers

list.save and list.distUpgrade

This is more of a curiosity question as I try to get a better understanding of apt and package management. I'm seeing that in my /etc/apt/ and /etc/apt/sources.list.d/ folders I have very or sometimes identical files which have the extension of…
1
2 3
46 47