Refering to editing the software sources in Ubuntu. Can be done graphically through System Settings > Software Sources or from the command line using APT.

learn more… | top users | synonyms (1)

143
votes
25answers
235k views

How to fix 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 (/var/lib/apt/lists/archive....
56
votes
4answers
263k views

How do I enable the “Universe” repository?

How do I get to Universe Repository of Ubuntu software as mentioned in Ubuntu 12.04 LTS? I am installing 12.04 Ubuntu. Please help.
22
votes
3answers
25k views

How do I fix this “E:Type '*' is not known on line * in source list …” update error?

Every once in a while I see users having issues to update due to errors like this: E:Type 'ain' is not known on line 1 in source list /etc/apt/sources.list.d/some-ppa.list' with varying types/line ...
3
votes
0answers
2k views

How do I fix “malformed line” errors in sources.list? [duplicate]

Possible Duplicate: How do I remove a malformed line from my sources.list? I had problems with my movie player. The sound was fine but the picture seemed to hesitate or stick or pause every ...
38
votes
3answers
142k views

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.
16
votes
3answers
60k views

How do I enable the “Universe” repository from the command line?

How do you use terminal to enable Universe source? Or any those 4 from Software Sources: Main, Universe, Restricted, Multiverse Main is on by default and Restricted is on if durring Ubuntu ...
9
votes
4answers
88k views

'Some index files failed to download' while updating

When running sudo apt-get update I get these following errors: Err archive.ubuntu.com quantal InRelease Err archive.ubuntu.com quantal-updates InRelease Err archive.ubuntu.com quantal-backports ...
30
votes
8answers
44k views

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.
34
votes
2answers
85k views

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://...
8
votes
2answers
50k views

Can I install Kali tools on Ubuntu?

I want to know if there is any way to install Kali tools like sqlmap, nikto, john, aircrack-ng, ... on Ubuntu 12.04? If yes, then how should I proceed?
8
votes
2answers
7k views

How do I change which mirror I get updates and software from?

How do I select which server Ubuntu will get it's software and updates from? I know how to find the list of mirrors on the web, but not how to use them.
39
votes
3answers
80k views

How to remove a repository? [duplicate]

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 ...
19
votes
2answers
37k views

How do I enable the “backports” repository?

How to enable the backports repository so I can get newer versions of software?
26
votes
1answer
15k views

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 ...
7
votes
0answers
6k views

Duplicate sources.list entry but cannot find the duplicates? [duplicate]

I'm running 12.04 64bit, and every time I update using the command land, I always get W: Duplicate sources.list entry http://gb.archive.ubuntu.com/ubuntu/ precise/restricted amd64 Packages (/var/lib/...
2
votes
0answers
183 views

“Malformed line 6” error in my /etc/apt/sources.list [duplicate]

Possible Duplicate: How do I remove a malformed line from my sources.list? I'm new to Ubuntu so I don't really know much yet. I encountered this problem while on the terminal: E: Malformed ...
15
votes
5answers
227k views

Apt-Get Update: failure to fetch; can't connect to any sources

I realize there are dozens of "apt-get update: failure to fetch" questions (I read through all I could find), but my present circumstance is unique to 12.04 and it affects all sources; not just ...
7
votes
0answers
5k views

Updates don't install because of “untrusted packages” [duplicate]

Possible Duplicate: Update Error : Require Installation Of Untrusted Packages I have "darktable + extras" installed (I added their ppa repository to the sources manually). The extras include a ...
12
votes
5answers
46k views

How to fix “-5 No address associated with hostname error” while updating?

I am getting this error frequently while updating Ubuntu 12.04 LTS. How can I fix it? Log is: Ign http://archive.scrapy.org precise/main Translation-en Fetched 6,620 kB in 1min 21s (81.2 kB/s) W: ...
8
votes
3answers
18k views

How do I restore the sources.list file?

I accidentally removed my /etc/apt/sources.list file. Is it hosted by Canonical somewhere so I can re-add it to the system? It's a bit of an emergency, so I hope someone can provide a quick answer.
8
votes
8answers
14k views

The new software center in Ubuntu 16.04 shows no application data found

This is the error I get when I open the software center. I've tried rebooting and running sudo apt-get update but I see no improvement. It worked earlier but I don't know what went wrong since then. I'...
5
votes
2answers
3k views

How do I find all of my software sources?

Broken software dependencies are often caused by incompatible third party repositories. I am asked to provide a list of software sources (also known as software repositories). How can I quickly get a ...
17
votes
3answers
13k views

How do I add a software source?

Sometimes I see sites offering Ubuntu packages via something like Add this line to your software sources: deb http:// something something How can I add these to my package manager so I can ...
26
votes
3answers
6k views

What is the “proposed” repository?

What exactly does this repository contain and why should a user either stay away from it, or add the repository?
5
votes
2answers
9k views

“Failed to fetch” while updating

I'm trying to update from ubuntu 12.10 lately but I keep getting the "Failed to fetch" error. W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/Release Unable to find ...
10
votes
3answers
9k views

How to set up an apt-cacher server?

I have more than 500 systems running ubuntu 10.04, ubuntu 10.10 and ubuntu 11.04. It is difficult for us to install new packages to these machines from internet, because of the high bandwidth usage. I ...
8
votes
2answers
2k views

Why are my apt-get update fetches so large? [duplicate]

Possible Duplicate: the size of apt-get update lists is too big After clean installing 12.04 (Release Candidate), and accepting all updates and upgrades till today, I find that sudo apt-get ...
10
votes
2answers
21k views

Software Sources not found in Unity Dash Search

After upgrading to 12.04 from 11.10, I am no longer able to find Software Sources in Dash. I have installed software-properties-gtk, and can open via terminal, but cannot get Dash to find it? Is this ...
9
votes
0answers
10k views

How do I remove this duplicate sources.list entry? [duplicate]

Sometimes, when I run sudo apt-get update or install an app sudo apt-get install I get the error below at the bottom in the gnome-terminal and I can't remove it. I searched for it in the ...
13
votes
0answers
125k views

“Unable to locate package” errors for all software [duplicate]

My apt-get doesn't install any programs. I try to install programs with apt-get install but always it shows same error: unable to locate package. For example I try to install the xbmc media center; ...
3
votes
1answer
1k views

How to revert software sources back to default? [duplicate]

Possible Duplicate: How do I fix this “E:Type '*' is not known on line * in source list …” update error? I had a little problem with the sources of my update, I'm ...
15
votes
4answers
168k views

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 ...
17
votes
1answer
44k views

GPG ERROR NO_PUBKEY : WARNING: The following packages cannot be authenticated! [closed]

I have just stared to receive some strange errors regarding GPG keys. Namely I have just added ppa:ubuntu-toolchain-r/test and wanted to update and after that I got this: W: GPG error: http://extras....
18
votes
3answers
33k views

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,...
6
votes
2answers
3k views

How do I enable the source code repositories?

I need to install build-dependencies of something, how do I ensure the source code section of my software sources is enabled?
11
votes
0answers
19k views

How to fix “Duplicate sources.list entry” warning? [duplicate]

Every time I try to do some update (sudo apt-get update) it says: Reading package lists ... ready W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ need /partner amd64 Packages (/...
4
votes
4answers
18k views

How can I get add-apt-repository to work?

Whenever I try to add a repository via the command line, I get the following error message: Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 125, in <module> ...
2
votes
2answers
851 views

sudo apt-get update giving error about duplicate

Getting an error about duplicate sources, how can I get around this?
11
votes
5answers
50k views

Solving the Ubuntu 12.04 Update Error: (-5 - No address associated with hostname)

Problem Description: Each time i try to download the updates for my operating system (Ubuntu 12.04) i get the following list of error messages: W:Failed to fetch http://extras.ubuntu.com/ubuntu/...
17
votes
1answer
7k views

How do I enable the “extras” repository?

I keep reading about an extras repository for Ubuntu with new software that comes out independently of the distro release. How do I enable it?
12
votes
3answers
5k views

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

when I upgrade from 11.10 to 12.04 whats the best way to re-enable my ppa's and added repos?
5
votes
2answers
917 views

apt sources.list disabled on upgrade to 12.04

After a do-release-upgrade, I'm now running ubuntu 12.04 LTS, as indicated below > lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04 LTS Release: ...
4
votes
1answer
9k views

Unmet dependencies in Ubuntu 12.04?

The following packages have unmet dependencies: gstreamer0.10-ffmpeg: Depends: libavcodec-extra-53 (>= 4:0.7-1) but 4:0.7.2.1ubuntu2 is to be installed Depends: ...
2
votes
2answers
2k views

How to get the eglibc source code used by Ubuntu?

How do I get the source code for eglibc in a format that will allow stepping through the source with gdb? I have tried using apt-get source libc6-dev and that works for getting the source code, but ...
4
votes
3answers
26k views

Unable to edit /etc/apt/sources.list file

When I try to edit sources.list file using the command: $:gksu gedit /etc/apt/sources.list It request for administrative password and when I type the password, It says incorrect and try again.What ...
3
votes
2answers
13k views

How to sort lines in a text file from the terminal?

I have to sort the GPA in a file for my class lab. The teacher uses putty, for those of us that chose to use Ubuntu in the class, we have no idea how to do the command for ascending sort and ...
1
vote
4answers
3k views

How to fix GPG error/BADSIG while running apt-get update? [duplicate]

Possible Duplicate: What is the easiest way to resolve apt-get BADSIG GPG errors? Of late, I've been getting this long list of errors every time I run apt-get update from the terminal. These ...
6
votes
2answers
83 views

Is there any limit to the number of PPA's I can add to the system? Why?

I came across a post which suggests: Do Not instruct people to add PPAs unless it is necessary And one of the reason it has mentioned: There is a finite number of PPAs that a user can add. ...
4
votes
1answer
58 views

Does updating applications affect .desktop files?

I was wandering if .desktop files are affected when an application is updated or just the /usr/bin/* files? I'm making an menu with customized categories and it's not gonna work is the categories in ....
2
votes
2answers
462 views

Select mirror during installation from live mode

Without customising the Ubuntu live image, is it possible to select a mirror during installation? If not, what are the options available? I can think of customising the image, or somehow using ...