Tag Info

Hot answers tagged

47

Debian Wheezy and earlier: The program add-apt-repository is available in Debian. It's in the python-software-properties package: sudo apt-get install python-software-properties It was added to that package in version 0.75. The current version in Debian Stable ('squeeze") is 0.60, so it doesn't have it. The version currently in Debian Testing ...


32

I would assume most distros accept individual private donations (they may also accept free hosting). However, that is probably not the bulk of their financing in most cases. Note that some of the major distros may have some paid staff, and possibly also office space, the cost of which likely exceeds that of hosting the repos1. This should not be taken to ...


26

Usually each Linux distro has a few central servers were they put directly all the packages. But there exists mirrors arround the world that have copies of these packages. These mirrors comunicate directly with the central servers looking for updates periodically. Normally there is a delay in the release of an update between this central servers and the ...


16

On AskUbuntu there is this question which may of help The repositories for EOL Ubuntu releases are archived, so http://archive.ubuntu.com/ubuntu/dists/ was moved to http://old-releases.ubuntu.com/ubuntu/dists/ (raring-updates is here) - basically all you should need to do is replace archive.ubuntu.com & security.ubuntu.com in the software sources ...


13

Debian has a distribution channel that provides security updates only so that administrators can choose to run a stable system with only the absolute minimum of changes. Additionally, this distribution channel is kept somewhat separate from the normal channel: all security updates are fed directly from security.debian.org, whereas it is recommended to use ...


12

deb lines are relative to binary packages, that you can install with apt. deb-src lines are relative to source packages (as downloaded by apt-get source $package) and next compiled. Source packages are needed only if you want to compile some package yourself, or inspect the source code for a bug. Ordinary users don't need to include such repositories.


11

Package sources are listed in /etc/apt/sources.list and /etc/apt/sources.list.d/*.list. Usually you would list official sources in the main file /etc/apt/sources.list and add third-party repositories in /etc/apt/sources.list.d/indicative_name.list. If you installed from CD-ROM, there'll be a line with deb cdrom:[some name]/ stable main Remove it or ...


10

Debian packages are checksummed, and the checksums are signed by a key in the Debian keyring. The apt package manager ensures that the downloaded package has the correct checksum and that the checksum file was signed correctly.


10

Apache 2.4 on CentOS: Step 1: cd /etc/yum.repos.d/ wget http://repos.fedorapeople.org/repos/jkaluza/httpd24/epel-httpd24.repo Step 2: yum install httpd24.x86_64 Step 3: $ /opt/rh/httpd24/root/usr/sbin/httpd -version Server version: Apache/2.4.6 (Red Hat) Server built: Sep 25 2013 05:25:46 NOTE: config files are in: /opt/rh/httpd24/root/etc/httpd ...


9

You can use repotrack instead like this: repotrack -a x86_64 -p /repos/Packages [packages] Unfortunately there is a bug with the -a flag (arch). It will download i686 and x86_64. Here's how to fix it: if opts.arch: #archlist = [] #archlist.extend(rpmUtils.arch.getArchList(opts.arch)) archlist = opts.arch.split(',') # Change to this else: ...


7

This isn't a direct answer to your question, but there are several things you can do to mitigate against this risk. The simplest one is to check your downloaded packages against the checksums from a different mirror than you downloaded from. When my package manager (poldek) downloads a package, I have it set to keep a copy of the downloaded rpm in a cache ...


7

RPM file is not repository. It is type of package that is used in CentOS (and Red Hat and some other distributions). Repository is place that packages are kept and can be downloaded and installed by package manager in your distribution. Another package format is DEB. It is used by Debian, Ubuntu and their derivatives. There are also other formats, but that ...


7

You can also find complete information at the man page for that file: man sources.list


7

At the end of the day yum is just a glorfied http downloader, so you can determine the actual URL that it's using to download a package and attempt to do the same using curl or wget and see if the slowness is being induced by the mirror site or something else local to your system. You can use the repoquery to see the URL of one of the RPM packages like so: ...


6

I'm pretty sure Debian puts security updates in the regular repo as well. The reason to have a separate repo that only contains security updates is so you can set up a server, only point it at the security repo, and automate updates. Now you've got a server that is guaranteed to have the latest security patches without accidentally introducing bugs caused ...


6

Assuming you're running a recent enough version of Debian (wheezy has it, I think squeeze does as well), you can just drop a file in /etc/apt/sources.list.d/ The format is the same as the main sources.list file. The advantage is, especially if this is for some software you're distributing, you don't have to worry merging your changes into a possibly-edited ...


6

You can use apt-cache search. For example to search firefox: apt-cache search firefox This is the according snippet from man 8 apt-cache: search regex [ regex ... ] search performs a full text search on all available package lists for the POSIX regex pattern given, see regex(7). It searches the package names and the descriptions ...


6

knowledge about early source-code repositories is woefully incomplete According to the SourceForge wikipedia page: SourceForge, founded in 1999 by VA Software, was the first provider of a centralized location for free and open-source software developers to control and manage software development and offering this service for free. It's certainly ...


5

http://www.opensource.apple.com/static/iso/darwinx86-801.iso.gz


5

Fedora packages are signed and checksummed. Even 3rd party repositories such as rpmfusion sign their packages. Yum (the package manager) requires a special flag (--nogpgcheck) to install packages which haven't been signed.


5

Use a meta package (e.g. linux-image-2.6-686), depending on which you want to use. This is so that if the real package name changes (which is very often), you won't lag behind. To determine which meta package to use, have a look at the name of the kernel package you are running. Also, do read the package descriptions of the meta packages that seem like the ...


5

Your question made me think of this letter by Debian's founder Ian Murdock :) In theory Debian will use the exact same package management system that Ubuntu does. If the words apt-get or Synaptic sound familiar, then you already know how to use Debian's packages. As a matter of fact, most of the packaging is done by Debian's developers, and Ubuntu will ...


5

Apparently Debian does not have something like Launchpad PPA, since latest packages can damage system's stability. Instead it has a separated approach (assuming one is running the stable release and in the order of decreasing stability): Backports. Here one can find somewhat newer but not the latest version of some packages without compromising the ...


5

I don't know how to list all packages and their repositories, but for a single one you can just execute apt-cache policy <package>. The line with the *** is the currently installed version with the corresponding repositories. Setting the priority of a particular source is called apt pinning and can be done via /etc/apt/preferences (newer Ubuntu ...


5

You can just type yum repolist and you should output similar to $ yum repolist Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: centos.mirror.constant.com * extras: centos.mirror.iweb.ca * updates: centos.mirror.iweb.ca repo id repo name ...


5

If you're only interest is in downloading a package + its dependencies for offline installation you can use the tool yumdownloader. It's part of the package yum-utils. $ yumdownloader --resolve <package name> Example $ yumdownloader --resolve vim-X11 Loaded plugins: langpacks, presto, refresh-packagekit Adding en_US to language list --> Running ...


5

With regard to Debian, companies using Debian donate servers and bandwidth. I think the Project also uses monetary donations to purchase hardware, particularly specialist hardware. You can find discussions of this on the Debian mailing lists. However, I've never heard of Debian paying for bandwidth. Presumably they can find enough ISPs to let them use ...


4

Other than snapshots, it looks like you have a complete list. As a sidenote, there is a list of non-official repositories.


4

I don't think it's a good idea to import a Fedora repository - regardless of version - into RHEL6 or another Linux distribution derived from it. Those packages are not tested for working together and different compilation options and patches might introduce subtle incompatibilities even between packages with the same name and version. What you can do is ...


4

You seem to have the freshrpms repository installed and enabled, but as http://freshrpms.net/ says, since Fedora 10 almost everything has moved to rpmfusion so you probably don't need it anymore and should switch to rpmfusion. The specific cause of your error is simply that the freshrpms repository doesn't have any content for Fedora 15. You can probably ...



Only top voted, non community-wiki answers of a minimum length are eligible