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)

198
votes
8answers
92k 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 ...
149
votes
7answers
173k 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?
149
votes
5answers
230k 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?
102
votes
3answers
125k 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 ...
91
votes
12answers
184k 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 ...
90
votes
8answers
128k 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 ...
90
votes
6answers
115k views

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

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 ...
85
votes
7answers
21k 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.?
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 ...
57
votes
3answers
164k 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 ...
56
votes
9answers
96k 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 ...
49
votes
1answer
40k 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 ...
49
votes
1answer
117k 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 ...
39
votes
5answers
34k 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 ...
38
votes
5answers
23k 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?
37
votes
3answers
77k 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 ...
36
votes
10answers
68k 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 ...
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?
25
votes
6answers
2k 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 ...
25
votes
1answer
22k 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 ...
24
votes
2answers
56k 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 ...
22
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 ...
21
votes
5answers
4k 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 ...
20
votes
3answers
19k views

Where are the logs for apt-get?

Request I would like to know where I can find the logs for the following package managers. Package managers Synaptic Package Manager Ubuntu Software Center Terminal logs for apt-get and The ...
20
votes
3answers
7k 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.
19
votes
4answers
10k 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?
19
votes
2answers
3k 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?
19
votes
3answers
36k 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 ...
18
votes
5answers
2k views

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

I recently posted an answer where I wrote add the PPA. But I now realize, that I have no idea what the difference between a PPA and a Repository is. So can someone please explain it to me?
18
votes
3answers
32k 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 ...
16
votes
4answers
33k 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 ...
15
votes
1answer
2k views

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

What will this repository hold? What is policy for it?
14
votes
1answer
474 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 ...
13
votes
6answers
32k 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 ...
13
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 ...
12
votes
3answers
2k 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
3answers
19k views

Can't add repo keys

I'm tring to add a keys (on Kubuntu 12.04) sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys SOMEKEY and I constantly get gpg: requesting key 8AC93F7A from hkp server ...
12
votes
2answers
584 views

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

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?
11
votes
7answers
15k 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, ...
11
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?
11
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 ...
11
votes
2answers
14k 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-- ...
11
votes
5answers
9k 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 ...
10
votes
3answers
3k 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 ...
10
votes
3answers
4k 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
3k 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 ...
9
votes
2answers
4k views

How do I keep Geany's versions updated after installing it in my system?

When will Geany 0.21 be in the repos, instead of Geany 0.20? Whose responsibility is it, Ubuntu or Geany? I wasn't sure of where I could get packages information, so I just used Ask Ubuntu.
9
votes
2answers
4k views

Assign higher priority to PPA

I'm trying to figure out how to assign higher priority to one PPA over another PPA. I had a look on bunch of the answers on this forum but none of them solves my problem. We have two PPA sources on ...
9
votes
1answer
4k views

Are there alternative repositories to ports.ubuntu.com for ARM?

I'm using on a Samsung chromebook (with an ARM chip). ports.ubuntu.com is a fairly slow mirror for me. Are there other mirrors that carry the ARM packages? ...
9
votes
2answers
8k views

list all the ppa repositories added to my system

How can I list all the ppa repositories added to my system and save it to a .txt file, so that I don't want to spend my time in searching for ppa's for fresh installations and i can just select a ppa ...