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)

58
votes
5answers
60k views

How can I fix a 404 Error when updating packages?

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?
116
votes
18answers
80k views

How can I install software or packages without Internet (offline)?

I have a friend who has got a computer that is not connected to the Internet. Is there any way to install software offline easily?
104
votes
8answers
35k 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 ...
54
votes
7answers
9k views

Why don't the Ubuntu repositories have the latest versions of software?

Why are packages in the official Ubuntu repositories older than the latest (upstream) versions from Debian Sid, PPAs, the authors, etc.?
82
votes
7answers
72k 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?
17
votes
2answers
42k 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 ...
37
votes
5answers
46k 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 ...
24
votes
4answers
12k 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 ...
84
votes
5answers
93k 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 ...
17
votes
7answers
24k 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 ...
13
votes
2answers
426 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 ...
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 > ...
30
votes
2answers
38k 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 ...
25
votes
5answers
7k 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?
12
votes
4answers
16k 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 ...
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 ...
30
votes
8answers
29k 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 ...
19
votes
1answer
5k 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?
14
votes
4answers
23k 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 ...
10
votes
2answers
5k 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
4k 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?
5
votes
1answer
576 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?
4
votes
1answer
205 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 ...
31
votes
8answers
74k 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 ...
14
votes
2answers
16k 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 ...
15
votes
4answers
5k 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?
5
votes
2answers
28k 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 ...
1
vote
1answer
103 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 ...
38
votes
3answers
38k 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
1answer
10k 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 ...
6
votes
5answers
21k 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 ...
18
votes
4answers
1k 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 ...
10
votes
1answer
342 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 ...
9
votes
5answers
300 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?
7
votes
1answer
4k 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 ...
3
votes
2answers
6k 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:~$ ...
3
votes
2answers
1k 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?
1
vote
0answers
185 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. ...
8
votes
2answers
13k 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 ...
8
votes
1answer
2k views

What does Ign mean in update manager?

When I run update from the terminal, I get the following list where many repositories are shown with "Ign". Does it mean the update manager will always ignore updates from those repositories? Apart ...
2
votes
1answer
314 views

Apt-get dist-upgrade wants to destroy my Ubuntu 12.04 LTS

This morning I have issued a command I use fairly often: apt-get dist-upgrade Usually it finds little to do, some times it will replace the kernel and headers. With my great surprise today it ...
2
votes
1answer
1k views

Ubuntu Extras keyring error [duplicate]

Recently I got lots of GPG errors and tried the following methods at various stages: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3E5C1192 sudo apt-get install -reinstall ...
1
vote
2answers
547 views

How do I install the latest version of EMACS and pick the appropriate UI?

I'm running the latest Kubuntu (12.04 beta 2) and I would like to run the latest emacs (currently v24). The repos are one version behind. What's the best way to install v24 or later (and avoid future ...
0
votes
2answers
15k 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 ...
0
votes
1answer
228 views

gerrit push not working

I tried executing the command git push gerrit HEAD: refs/for/BR_PS_1109 It gave the response: fatal: remote part of refspec is not a valid name in HEAD: Git remote version is also fine, as evident ...