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)

124
votes
8answers
45k 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 ...
93
votes
8answers
90k 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?
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 ...
49
votes
6answers
59k 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 ...
43
votes
3answers
50k 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 ...
39
votes
9answers
92k 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 ...
39
votes
2answers
53k 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 ...
37
votes
5answers
9k 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?
31
votes
8answers
34k 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 ...
25
votes
7answers
34k 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 ...
25
votes
4answers
15k 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 ...
23
votes
5answers
1k views

Is there an “unofficial” software center with all the PPAs?

Many questions are answered simply with add this repository and install. I understand that Ubuntu developers cannot quickly verify all packages and make them available in official repositories. But ...
21
votes
2answers
57k 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 ...
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?
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
1answer
13k 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 ...
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 ...
18
votes
4answers
33k 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 ...
18
votes
2answers
2k views

What is the structure of an Ubuntu repository?

How are the files in an Ubuntu repository organized? What are the important files in a repository? What happens when a repository becomes inconsistent, broken or is being synced?
17
votes
4answers
7k views

How can I backup my Repositories?

I want to backup all the repositories I added to the Ubuntu Software Center, but apparently sources.list contains only the ones which belong to Canonical. So where do I find the other ones?
17
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?
17
votes
3answers
4k views

What is the size of Ubuntu repository?

I would like to know the total size of Ubuntu repository with individual repository-component (Main, Universe, Multiverse, Restricted) sizes for: 32-bit platform. 64-bit platform.
17
votes
2answers
19k 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
3answers
23k 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 ...
15
votes
4answers
31k views

How do I install Handbrake?

I've added the ppa here https://edge.launchpad.net/~stebbins/+archive/handbrake-releases When I run sudo apt-get update, the software sources aren't found. I figured maybe they hadn't updated their ...
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 ...
14
votes
1answer
1k views

What is http://extras.ubuntu.com/ repository for?

What will this repository hold? What is policy for it?
13
votes
2answers
441 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?
12
votes
3answers
906 views

Are ubuntu packages (deb-files) only md5sum secured?

Introductory Background to the question below### (so the question is more usable to more people) Inside of an Ubuntu/debian-style package (*.deb file) there is a file named /DEBIAN/md5sums which has ...
12
votes
1answer
12k views

Why am I getting “Command 'deb' not found”?

I have come across several installation instructions that include the command deb. But it appears that this command is not available on my installation. Where can I get this command? Is there a ...
12
votes
2answers
2k views

Is Apt-get Update Lag Related to Google Chrome?

I have Google Chrome installed from the Google Chrome repository. When I run sudo apt-get update, I notice that getting headers relating to Google Chrome takes more time than is needed to get all the ...
11
votes
1answer
373 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 ...
10
votes
3answers
3k views

is it possible to use Debian repositories in Ubuntu?

Since Ubuntu is a Debian derivative I thought maybe it's possible
10
votes
3answers
16k 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 ...
10
votes
2answers
3k views

Why are downloads from Canonical Partners repository so slow?

If I need Sun Java, Adobe Flash Plugin or anything else that comes from Canonical Partners the package downloads are painfully slow even small sized packages like the Flash plugin, to speed things up ...
10
votes
2answers
7k 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 ...
10
votes
4answers
5k views

Create deb repository with several versions of the same package

I want to create my own deb repository to store some packages. I've tried reprepro and it works fine, except for one fundamental feature. Reprepro can't store several versions of the same package in ...
9
votes
6answers
25k 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 ...
9
votes
5answers
448 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?
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 ...
9
votes
1answer
6k 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 ...
8
votes
3answers
786 views

Is there a way to check if a program is available in the repository by commandline?

When i find a interesting program i want to test and install in ubuntu i first check if it's available in the repository. For that i use the software center. But does a possibility exist to check it ...
8
votes
2answers
28k views

What to do when can't update anymore with apt-get?

I'm using Ubuntu 9.04 as multipurpose server, so no GUI here. I haven't used it for a while and now when trying to install or update packages with apt-get it throws errors. An excerpt of the error ...
8
votes
1answer
33k 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 ...
8
votes
1answer
457 views

Does Ubuntu import the Universe repository from Debian?

Does Ubuntu import the Universe repository from Debian?
8
votes
3answers
2k 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?
8
votes
1answer
10k views

Is there an actively maintained Truecrypt repository

The last time I installed Truecrypt (on Debian) I built the package myself. I'm now on Ubuntu 11.04 and I'd rather not do that again. The only download they have on their site is a tarball, but I ...
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 ...
7
votes
7answers
9k views

Saving deb files from repositories to a custom location for installing offline [duplicate]

Possible Duplicate: How can I install software offline? I want to download and save some deb files, and preferably their dependencies, of certain apps, from the repositories (apt-get, ...