Use Multiple Debian Versions At the Same Time
Happily, at the moment it's still early on in the Debian release cycle, so not too many packages are missing from, or outdated in, stable. However, it can be really useful to grab packages from upstream when needed without necessarily upgrading your whole system to testing. This is quite straightforward to do with apt, but it isn't all that well-documented.
First, add the testing sources to /etc/apt/sources.list:
deb http://ftp.us.debian.org/debian testing main non-free contrib
Run apt-get update. If you get an error message like this:
E: Dynamic MMap ran out of room
edit /etc/apt/apt.conf to contain this line:
and rerun the update.
Now edit /etc/apt/preferences to include these lines:
Package: * Pin: release a=stable Pin-Priority: 700Package: * Pin: release a=testing Pin-Priority: 650
apt-get prefers options with higher pin values, so this prioritizes stable over testing.
To install a single package from testing, use apt-get install packagename/testing. However, this doesn't grab any dependencies, so you may not be able to run the upgrade. The alternative is to use apt-get install -t testing packagename, which will try to meet the dependencies if possible.
Note, however, that sometimes it's not. For example, if the upgrade will break other packages, you may just have to make do without it!
Article courtesy of Serverwatch
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 5Linux Top 3: Linux from Scratch, Ubuntu 14.01 Beta and Arch Updates