The Caboteria / Tech Web / DebianPackages (revision 3)
(other DebianTips)

Build a package from source? See the FAQ:

http://www.debian.org/doc/FAQ/ch-pkg_basics.html#s-sourcebuild

How to run woody but with some packages from sid:

For all those that are using Woody but would like to sometimes run a few
packages from Sid, this fix works like a charm.  I couldn't find the
specifics documented anywhere, but I felt others would like to know
about it.

/etc/apt/preferences

Package: *
Pin: release a=unstable
Pin-Priority: 50

/etc/apt/sources.list

deb http://http.us.debian.org/debian unstable main contrib non-free

What will these lines do?  Pinning the priority of unstable to 50 makes
it so that these packages are never automatically selected for upgrade.
The sources.list line is needed so that packages that are not in woody
are installed with `apt-get evolution` (for example).  Dependencies are
handled correctly and the system remains on Woody packages with the
exceptions of the explicitly loaded ones.

also:

apt-show-versions is a script which eases maintenance of mixed
stable/testing or testing/unstable systems. While beeing able to
update the packages from your *main* distribution with apt-get upgrade
it is quite difficult to do the same for the *not-main*
packages. While you can use the pinning feature of apt if these are
only a few it is quite annoying to put all the package names in
apt/preferences which should be pinned. Like in one of my installation
where I have 247 packages from stable and 229 from testing.

Try

  apt-show-versions | fgrep /testing | wc

to see how many packages you have from testing or

  apt-show-versions -u

to see a list of packages which are upgradeable either to stable or
testing or unstable or

  apt-get install `apt-show-versions -u -b | fgrep unstable`

to upgrade all unstable packages to their newest versions.
Edit | Attach | Print version | History: r7 | r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria? Send feedback