But in this case a specific version was enough. I still don't know how to use a specific repository. So now we just tell apt or aptitude to install that specific version: $ sudo aptitude install emacs-snapshot=1:20100111-1~lenny1 I see the versions that come from different repositories: Configuration Item: APT::Default-Release see also theįirst I needed to find the repositories that had the pacakage: $ apt-cache showpkg emacs-snapshotġ:20100111-1~lenny1 (/var/lib/apt/lists/_dists_lenny_main_binary-amd64_Packages) (/var/lib/dpkg/status)įile: /var/lib/apt/lists/_dists_lenny_main_binary-amd64_Packagesġ:20090909-1 (/var/lib/apt/lists/us._ubuntu_dists_karmic_universe_binary-amd64_Packages)įile: /var/lib/apt/lists/us._ubuntu_dists_karmic_universe_binary-amd64_Packages Some common examples might be -t '2.1*', -t unstable or -t sid. In short, this option lets you have simple control over which distribution packages will be retrievedįrom. Specifically pinned packages are not affected by This overrides the general settings in /etc/apt/preferences. This option controls the default input to the policy engine, it creates a default pin at priority 990 using the specified If I want install Iceweasel from this specific repo I run: apt-get install -t squeeze-backports iceweaselįrom apt-get manual page: -t, -target-release, -default-release As an example, I have added the following repository to /etc/apt/sources.list to install Iceweasel latest release:Īs you know there is a same package iceweasel in the official Debian repository. You can specify a repository with -t option.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |