[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get pinning ? - Sarge / Stable - only install certain/specific packages from "testing"



Willie Wonka wrote:

Ok folks - now I'm really confused...but hey; I may just get it (have it) right
*crosses-fingers*

This was done after I reread the 'man' pages for 'apt_preferences', apt.conf,
sources.list _and_ after reading the info;
<http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html#s-default-version>
as suggested previously.

I have now also altered /etc/apt/preferences;
~$ cat /etc/apt/preferences
Package: hdparm
Pin: release a=testing
Pin-Priority: 990

and I created /etc/apt/apt.conf and added an entry;
~$ cat /etc/apt/apt.conf
APT::Default-Release "stable";

I have also installed "apt-show-versions" (just in the hopes of gleaning
valuable package info) - but that installation shouldn't be relevant to my
question(s). 

Anyway - after issuing this command;

~$ sudo apt-get -s -t testing install hdparm
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  busybox klibc-utils libc6 libc6-dev libcairo2 libdbus-1-2 libdbus-glib-1-2
libfreetype6
  libglib2.0-0 libhal1 libklibc libpango1.0-0 libpango1.0-common libselinux1
libsepol1
  libusb-0.1-4 libvolume-id0 locales lsb-base makedev module-init-tools tzdata
Suggested packages:
  apmd glibc-doc libfreetype6-dev ttf-kochi-gothic ttf-kochi-mincho
ttf-thryomanes ttf-baekmuk
  ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp
ttf-arphic-bkai00mp
Recommended packages:
  libglib2.0-data x-ttcidfont-conf
The following packages will be REMOVED:
  base-config initrd-tools kernel-image-2.6-686 kernel-image-2.6.8-2-386
kernel-image-2.6.8-3-686
The following NEW packages will be installed:
  busybox klibc-utils libcairo2 libdbus-1-2 libdbus-glib-1-2 libhal1 libklibc
libsepol1
  libvolume-id0 lsb-base tzdata
The following packages will be upgraded:
  hdparm libc6 libc6-dev libfreetype6 libglib2.0-0 libpango1.0-0
libpango1.0-common libselinux1
  libusb-0.1-4 locales makedev module-init-tools
12 upgraded, 11 newly installed, 5 to remove and 778 not upgraded.
Remv base-config (2.53.10 Debian:3.1r2/stable)
Remv kernel-image-2.6-686 (1:2.6.15-8 Debian:testing)
Remv kernel-image-2.6.8-3-686 (2.6.8-16sarge3 Debian-Security:3.1/stable)
Remv kernel-image-2.6.8-2-386 (2.6.8-16sarge1 Debian:3.1r2/stable,
Debian-Security:3.1/stable)
Remv initrd-tools (0.1.84.1 Debian:testing)
Inst tzdata (2006g-2 Debian:testing)
Inst libc6-dev [2.3.2.ds1-22sarge3] (2.3.6-15 Debian:testing) []
Inst locales [2.3.2.ds1-22sarge3] (2.3.6-15 Debian:testing) []
Inst libc6 [2.3.2.ds1-22sarge3] (2.3.6-15 Debian:testing)
Conf tzdata (2006g-2 Debian:testing)
Conf libc6 (2.3.6-15 Debian:testing)
Inst libusb-0.1-4 [2:0.1.10a-9.sarge.1] (2:0.1.12-2 Debian:testing)
Inst lsb-base (3.1-10 Debian:testing)
Inst module-init-tools [3.2-pre1-2] (3.2.2-3 Debian:testing)
Inst libsepol1 (1.12-1 Debian:testing)
Inst libselinux1 [1.22-1] (1.30-1 Debian:testing)
Inst makedev [2.3.1-77] (2.3.1-81 Debian:testing)
Inst busybox (1:1.01-4 Debian:testing)
Inst hdparm [6.1-2] (6.6-1 Debian:testing)
Inst libklibc (1.3.19-2 Debian:testing)
Inst klibc-utils (1.3.19-2 Debian:testing)
Inst libfreetype6 [2.1.7-2.5] (2.2.1-2 Debian:testing)
Inst libcairo2 (1.0.4-2 Debian:testing)
Inst libdbus-1-2 (0.61-6 Debian:testing)
Inst libpango1.0-common [1.8.1-1] (1.12.3-1 Debian:testing) []
Inst libpango1.0-0 [1.8.1-1] (1.12.3-1 Debian:testing) []
Inst libglib2.0-0 [2.6.4-1] (2.10.2-1 Debian:testing)
Inst libdbus-glib-1-2 (0.61-6 Debian:testing)
Inst libhal1 (0.5.7-2 Debian:testing)
Inst libvolume-id0 (0.093-1 Debian:testing)
Conf libc6-dev (2.3.6-15 Debian:testing)
Conf locales (2.3.6-15 Debian:testing)
Conf libusb-0.1-4 (2:0.1.12-2 Debian:testing)
Conf lsb-base (3.1-10 Debian:testing)
Conf module-init-tools (3.2.2-3 Debian:testing)
Conf libsepol1 (1.12-1 Debian:testing)
Conf libselinux1 (1.30-1 Debian:testing)
Conf makedev (2.3.1-81 Debian:testing)
Conf busybox (1:1.01-4 Debian:testing)
Conf hdparm (6.6-1 Debian:testing)
Conf libklibc (1.3.19-2 Debian:testing)
Conf klibc-utils (1.3.19-2 Debian:testing)
Conf libfreetype6 (2.2.1-2 Debian:testing)
Conf libcairo2 (1.0.4-2 Debian:testing)
Conf libdbus-1-2 (0.61-6 Debian:testing)
Conf libglib2.0-0 (2.10.2-1 Debian:testing)
Conf libpango1.0-0 (1.12.3-1 Debian:testing)
Conf libpango1.0-common (1.12.3-1 Debian:testing)
Conf libdbus-glib-1-2 (0.61-6 Debian:testing)
Conf libhal1 (0.5.7-2 Debian:testing)
Conf libvolume-id0 (0.093-1 Debian:testing)

Am I to presume that *IF* I had actually gone through with this - then All
those packages above *_and_their_dependencies_* will be resolved?

It turns out 'hdparm' (the one lone pkg I would like to "upgrade"),
requires/depends on a newer version of "libc6" (which is H_U_G_E pkg) with many
many system libraries.

The REMOVED entries concern me deeply -- am I to understand that my
Kernel-image(s) will be auto-Upgraded?? Is this necessary to resolve all the
various (new and upgraded) package dependencies? Right now, I'm running;

~$ uname -a
	Linux <hostname> 2.6.8-3-686 #1 Thu May 25 02:27:57 UTC 2006 i686 GNU/Linux

Are the "Remv" lines showing me which version I will be upgraded to, after the
Removal? Taking this line For ex;

	Remv kernel-image-2.6.8-3-686 (2.6.8-16sarge3 Debian-Security:3.1/stable)

Is that line above showing me that after removing
kernel-image-2.6.8-3-686...that I'll then be either "upgraded to" or 
"installed" or "running" kernel-image-2.6.8-16 ? Why on earth does it want to
remove my working Kernel images?

Apologies, but I don't see packages like "Base-config" and
"Kernel-image-x.x.x..." in any of these list headers above;

	The following packages will be upgraded:
	The following NEW packages will be installed:
	The following extra packages will be installed:
	
What is one to make of this? Is my sudo command above a crash-n-burn command?
...or have I found (stumbled onto would be more appropro) one of the 'correct'
ways to run a (very mildly) mixed system. I want to upgrade ONE application --
'hdparm'.

Thanks for your time

Oh, for extra points; I think I recall the appearance of the 4  '[ ]s' in above
output, at the end of certain lines (2 are libpango,  1 libc6-dev, 1 locales)
means that some dependencies are not yet met, or perhaps 'broken package'? I
believe there's a way to reinstall (fix) these? I can't recall what the command
is right now.

Regards

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Reply to: