Questions about managing/using repositories in general and about selecting Ubuntu repositories in particular. Most of the latter questions could be added under the "ppa" and "apt-get" tags as well.

learn more… | top users | synonyms (1)

74
votes
5answers
105k views

How can I fix a 404 Error when using a PPA or updating my package lists?

PPA seems to be constantly offline. Whenever I use sudo apt-get update, this error is shown: W: Failed to fetch http://ppa.launchpad.net/ 404 Not Found How do I fix these errors?
125
votes
8answers
48k views

Are PPA's safe to add to my system and what are some “red flags” to watch out for?

I see a lot of interesting programs out there that can only be obtained by adding a "PPA" to the system but, if I'm understanding correctly, we should stay within the official "repositories" for ...
96
votes
8answers
96k views

How can I get apt to use a mirror close to me, or choose a faster mirror?

Downloading from the main Ubuntu archive is slow even when it's not release day, how can I get apt-get to automatically use a mirror that is close to me?
24
votes
2answers
64k views

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

How do you select the fastest mirror from the command line?

I want to update my sources.list file with the fastest server from the command line in a fresh Ubuntu Server install. I know this is trivially easy with the GUI, but there doesn't seem to be a simple ...
25
votes
4answers
16k views

How to set up an APT repository?

I would like to set up an APT repository on a server that will provide a couple of packages. Is there a way to set one up without installing any software on the server? How do the files have to be ...
28
votes
7answers
38k views

How to make my own local repository?

I would like to build my own local repository on my LAN, so that machines on the LAN can update and upgrade from it. I want to download the packages and store them on my local server so that I can ...
42
votes
2answers
58k views

How to install specific Ubuntu packages, with exact version?

I want to setup a new virtual machine with some specified packages (name and version), that are provided. For example apache2 in version 2.2.20-1ubuntu1 with all dependencies. Even if there is a new ...
83
votes
0answers
96k views

How do I remove a PPA added via command-line? [duplicate]

I added a PPA for updating my kernel for ubuntu-12.04. Later, I found that the kernel doesnot exist on the link within PPA. I used this command. sudo add-apt-repository ppa:kernel-ppa/ppa Now if I ...
32
votes
9answers
36k views

How to use a .iso image as a CD-ROM Repository?

I have all images of Debian, Ubuntu and Ubuntustudio as .iso. How can I use them as repository to install my desired packages with sudo apt-get install package-name? I easily mount the .iso file with ...
38
votes
5answers
10k views

apt-get update only for a specific repository

When I add a ppa and I want to install some of its content 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?
13
votes
2answers
444 views

Why doesn't Ubuntu ship an application, or the latest versions of some applications?

What reasons are there for applications in Ubuntu not being the most up-to-date, and why are some applications not available, in its repositories?
2
votes
3answers
7k views

What should I do when the GETDEB repository is down?

I'm trying to install programs/files from the getdeb repo but get a "check your internet connection" error. Programs than I've tried include Qbittorrent and Mozilla-Plugin-VLC. Through the ...
15
votes
3answers
25k views

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 ...
1
vote
0answers
3k views

Update manager generates 404 error while attempting update. Will not update [duplicate]

Possible Duplicate: How can I fix a 404 Error using a PPA? While running update manager in Ubuntu 11.10 Oneric Ocelot I receive this list of errors. > W:Failed to fetch > ...
18
votes
6answers
36k views

apt-get update very slow, stuck at “Waiting for headers”

I have looked at similar questions: Stuck at 0% [waiting for headers] (apt) apt-get update stuck on "Waiting for Headers" However neither one of them answer my problem. I am running ...
21
votes
1answer
6k views

What's the difference between multiverse, universe, restricted and main?

I've been peeking into the ubuntu respository and I see four folders, multiverse, universe, restricted and main. What do they represent?
4
votes
2answers
2k 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 ...
11
votes
2answers
8k views

I can't install libdvdcss - script not finding medibuntu, How to get DVD playback?

I am trying to get these instructions working on 12.04, I know I am connected to the internet but it doesn't seem to work. $ sudo /usr/share/doc/libdvdread4/install-css.sh --2013-10-09 19:18:44-- ...
10
votes
3answers
2k views

Is it possible to mirror the apt repositories?

I am a student at Case Western Reserve University, and the bandwidth from the Ubuntu servers to my location is often horrendously bad (on the order of a few hundred bytes per second). Myself and a few ...
4
votes
2answers
6k views

How to disable a particular PPA?

I want to lock updating from the ppa:ricotz/testing repository. I don't want to purge it. I just want to lock the updates from that repository. How do I do it?
44
votes
9answers
97k views

How to fix missing GPG keys?

I have just installed Ubuntu 12.04 and I added some repo and when apt-get update i got missing gpg key. Following command seems to doesn't work for me: apt-get update 2> /tmp/keymissing; for key ...
9
votes
6answers
26k views

The noip2 (no-ip.com) package was deleted from the repository, now what?

The No-IP websites still provides Ubuntu users with an installation guide that uses Aptitude, but the package noip2 has been deleted from the repository. Is there a way to find out why a given ...
11
votes
1answer
7k views

What does 'Ign' mean when running an apt-get update?

I had a bunch of errors in the output of sudo apt-get update: duplicate entries and 404 not found errors. Figured those out, I hope: I removed PPAs that didn't have any packages associated with ...
5
votes
1answer
219 views

What security policies exist in place for packages and scripts?

I did have used Microsoft Windows since Windows 98 to Windows 7. I have found lots of security vulnerabilities by myself about how viruses, worms, spyware etc. compromises the system. Microsoft ...
5
votes
1answer
881 views

Where can I find a repository for older unsupported releases? [duplicate]

I remember I saw a apt mirror somewhere containing older distributions but I cannot find it anymore. Does anybody know where to find it?
1
vote
1answer
171 views

Are repository lists secure? Is there an HTTPS version?

Are repository updates secure? As a bear of little brain from the developer side, I cannot understand why the repository list is http://security.ubuntu.com and the other http(unsecured) sites listed ...
46
votes
3answers
53k views

How can I get a list of all repositories and PPAs from the command line?

I know how to list all packages installed on my system. But how could I get a list of all repositories and PPA's? I know I can look into /etc/apt/sources.list and /etc/apt/sources.list.d, but I'm ...
17
votes
2answers
20k views

How to make USB drive as local repository

I copied "archives" folder (/var/cache/apt/archives) from another computer which was fully updated and had some packages that i want. Can someone guide me how to add my USB drive in repository list so ...
9
votes
1answer
39k views

How to add ppa repositories? [duplicate]

Possible Duplicate: What are PPAs and how do I use them? I always like to have my programs up to date but in ubuntu software center the software aren't always up to date. I know about ...
18
votes
4answers
7k views

How do I find out which repository a package comes from?

Is there a method or command which can tell from which repository a package is coming from?
14
votes
5answers
3k views

How can I revert back from an upgrade to the Proposed repository?

I mistakenly enabled the Pre-release updates (natty-proposed) repository and then upgraded all packages. How can I undo this? Here are the test results from @enzotib's instructions and the test ...
5
votes
2answers
36k views

“Dependency is not satisfiable” error when trying to install an application

When I try to install glchess in Synaptic I get this error At a certain time I installed the Gnome desktop and a lot of games that came with it and then uninstalled the games. Now I want chess ...
9
votes
3answers
2k views

Which Ubuntu repositories are totally safe and free from malware?

I read in the news about all the malware that is infecting Android OS. The malware is in Google's App Store and people are unknowingly downloading and installing it. As I understand, Ubuntu's Main ...
3
votes
2answers
8k views

How to remove medibuntu repository and packages?

I followed directions to add medibuntu but it has messed up some codecs and dependencies so I can no longer watch videos I have run this command, originated by a forum post: sean@sean-P55-USB3:~$ ...
0
votes
2answers
31k views

E: Some index files failed to download. They have been ignored, or old ones used instead after apt-get update

My /etc/apt/sources.list contained: nazar_art@nazar-desctop:/etc/apt$ cat source.list deb http://security.ubuntu.com/ubuntu precise-security main universe nazar_art@nazar-desctop:/etc/apt$ cat ...
20
votes
1answer
15k views

How can I remove gpg key that I added using apt-key add -?

I don't need the key in my server's keyring anymore. Is it possible to remove it? I added the key using this command: curl http://repo.varnish-cache.org/debian/GPG-key.txt | apt-key add - Thanks ...
19
votes
3answers
3k 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?
19
votes
4answers
2k views

Is there a difference between installing an application via Ubuntu Software Center or a terminal?

I would like to ask a very basic question but I have never thought about it before. Well, when someone installs an application from terminal, he has to add the repository first, right? On the other ...
11
votes
1answer
381 views

Where can I see if the server I update from is up to date?

After talking about this with some people I found out they had newer versions of the software I had but, at that time, I had no updates for my system. A day later those updates did show up and I was ...
6
votes
2answers
3k views

I think a PPA update broke my system. What can I do?

A few weeks ago I installed ppa:ricotz/testing on Ubuntu 11.10. It worked fine then, but since a recent upgrade, trying to launch GTK applications results in lots of cryptic errors. Can I revert all ...
4
votes
3answers
8k views

add repository to ubuntu from terminal with pgp key

How do i add the pgp key from a terminal? i have added the deb http://badgerports.org lucid main to sources.list and when i do a sudo apt-get update i get W: GPG error: http://badgerports.org ...
9
votes
5answers
496 views

What's the difference between a PPA and a repository?

I recently posted an answer where I write add the PPA, but I know realize that I have no idea what the difference between a PPA and a Repository is. So can someone please explain it to me?
6
votes
1answer
3k views

How to install keryx?

How to install keryx in ubuntu 12.04? knowing that keryx1.0 needs python <2.7 and ubuntu 12.04 has python2.7.3 so what could i do either to downgrade python or installing keryx bas some way. Also ...
3
votes
2answers
2k 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?
3
votes
1answer
293 views

How are backports implemented in Ubuntu?

In Do '..-backports' repositories automatically take precedence over the standard repos? in sources.list, the answer says that backports are never automatically used to update a standard ...
1
vote
1answer
2k views

Ubuntu 13.04 all apt-get mirrors down [duplicate]

Apparently I can't get apt-get, as well as the ubuntu software centre, connect to any repository. I also tried to look for a suitable mirror using the ubuntu software centre (software sources->ubuntu ...
1
vote
0answers
187 views

Cannot add repository due to “couldn't connect to host” error [duplicate]

Possible Duplicate: How do I get add-apt-repository to work through a proxy? I am unable to add repositories in my ubuntu 12.04. I am getting an error whenever I try to add ...
1
vote
4answers
2k 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. ...
0
votes
2answers
357 views

Issue adding ppa's

When I run the command sudo add-apt-repository ppa:linrunner/tlp It hangs after it asks for my password for a long time then shows this Cannot add PPA: 'ppa:linrunner/tlp'. Please check that ...