Hi all,
I need eclipse >= 3.7 to use plug-ins that refuse to work with the
eclipse version available in squeeze. So, I'd be happy with the version
from testing.

I've created apt.conf
"""
$ cat /etc/apt/apt.conf
APT::Default-Release "squeeze";
"""
and added sources for wheezy, complete sources.list is the following
"""
$ cat /etc/apt/sources.list
deb http://ftp.lt.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.lt.debian.org/debian/ squeeze main contrib non-free

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

# squeeze-updates, previously known as 'volatile'
deb http://ftp.lt.debian.org/debian/ squeeze-updates main
deb-src http://ftp.lt.debian.org/debian/ squeeze-updates main

# for LibreOffice
deb http://backports.debian.org/debian-backports squeeze-backports main

# testing
deb http://ftp.lt.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.lt.debian.org/debian/ wheezy main contrib non-free

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
"""

However, I must be missing something
"""
$ sudo apt-get update && sudo apt-get -t wheezy install eclipse
Hit http://ftp.lt.debian.org squeeze Release.gpg
Ign http://ftp.lt.debian.org/debian/ squeeze/contrib
Translation-en Ign http://ftp.lt.debian.org/debian/ squeeze/main
Translation-en Ign http://ftp.lt.debian.org/debian/ squeeze/non-free
Translation-en Hit http://ftp.lt.debian.org squeeze-updates
Release.gpg Ign http://ftp.lt.debian.org/debian/ squeeze-updates/main
Translation-en Hit http://ftp.lt.debian.org wheezy
Release.gpg Hit http://ftp.lt.debian.org/debian/ wheezy/contrib
Translation-en Hit http://ftp.lt.debian.org/debian/ wheezy/main
Translation-en Hit http://ftp.lt.debian.org/debian/ wheezy/non-free
Translation-en Hit http://ftp.lt.debian.org squeeze
Release Hit http://ftp.lt.debian.org squeeze-updates
Release Hit http://ftp.lt.debian.org wheezy
Release Hit http://ftp.lt.debian.org squeeze/main
Sources Hit http://ftp.lt.debian.org squeeze/contrib
Sources Hit http://ftp.lt.debian.org squeeze/non-free
Sources Hit http://ftp.lt.debian.org squeeze/main amd64
Packages Hit http://ftp.lt.debian.org squeeze/contrib amd64
Packages Hit http://ftp.lt.debian.org squeeze/non-free amd64
Packages Hit http://ftp.lt.debian.org squeeze-updates/main
Sources/DiffIndex Hit http://ftp.lt.debian.org squeeze-updates/main
amd64 Packages/DiffIndex Hit http://ftp.lt.debian.org
squeeze-updates/main amd64 Packages Hit http://security.debian.org
squeeze/updates Release.gpg Ign http://security.debian.org/
squeeze/updates/main Translation-en Hit http://security.debian.org
wheezy/updates Release.gpg Hit http://ftp.lt.debian.org wheezy/main
Sources/DiffIndex Hit http://ftp.lt.debian.org wheezy/contrib
Sources/DiffIndex Hit http://ftp.lt.debian.org wheezy/non-free
Sources/DiffIndex Hit http://ftp.lt.debian.org wheezy/main amd64
Packages/DiffIndex Hit http://ftp.lt.debian.org wheezy/contrib amd64
Packages/DiffIndex Hit http://ftp.lt.debian.org wheezy/non-free amd64
Packages/DiffIndex Ign http://security.debian.org/ wheezy/updates/main
Translation-en Hit http://security.debian.org squeeze/updates Release
Hit http://backports.debian.org squeeze-backports Release.gpg
Ign http://backports.debian.org/debian-backports/
squeeze-backports/main Translation-en Hit http://security.debian.org
wheezy/updates Release Hit http://backports.debian.org
squeeze-backports Release Hit http://security.debian.org
squeeze/updates/main Sources Hit http://security.debian.org
squeeze/updates/main amd64 Packages Hit http://security.debian.org
wheezy/updates/main Sources Hit http://security.debian.org
wheezy/updates/main amd64 Packages Hit http://backports.debian.org
squeeze-backports/main amd64 Packages/DiffIndex Hit
http://backports.debian.org squeeze-backports/main amd64 Packages
Reading package lists... Done Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libc6-dev : Breaks: gcc-4.4 (< 4.4.6-4) but 4.4.5-8 is to be installed
 libgcc1 : Breaks: gcc-4.4 (< 4.4.6-4) but 4.4.5-8 is to be installed
 libgomp1 : Breaks: gcc-4.4 (< 4.4.6-4) but 4.4.5-8 is to be installed
 libstdc++6 : Breaks: gcc-4.4 (< 4.4.6-4) but 4.4.5-8 is to be installed
E: Broken packages
"""

I've tried doing an upgrade (did this simulated upgrade to get more
info afterwards)
"""
$ sudo apt-get update && sudo apt-get -s upgrade
Hit http://ftp.lt.debian.org squeeze Release.gpg
Ign http://ftp.lt.debian.org/debian/ squeeze/contrib
Translation-en Ign http://ftp.lt.debian.org/debian/ squeeze/main
Translation-en Ign http://ftp.lt.debian.org/debian/ squeeze/non-free
Translation-en Hit http://ftp.lt.debian.org squeeze-updates
Release.gpg Ign http://ftp.lt.debian.org/debian/ squeeze-updates/main
Translation-en Hit http://ftp.lt.debian.org wheezy
Release.gpg Hit http://ftp.lt.debian.org/debian/ wheezy/contrib
Translation-en Hit http://ftp.lt.debian.org/debian/ wheezy/main
Translation-en Hit http://ftp.lt.debian.org/debian/ wheezy/non-free
Translation-en Hit http://ftp.lt.debian.org squeeze
Release Hit http://ftp.lt.debian.org squeeze-updates
Release Hit http://ftp.lt.debian.org wheezy
Release Hit http://ftp.lt.debian.org squeeze/main
Sources Hit http://ftp.lt.debian.org squeeze/contrib
Sources Hit http://ftp.lt.debian.org squeeze/non-free
Sources Hit http://ftp.lt.debian.org squeeze/main amd64
Packages Hit http://ftp.lt.debian.org squeeze/contrib amd64
Packages Hit http://ftp.lt.debian.org squeeze/non-free amd64
Packages Hit http://ftp.lt.debian.org squeeze-updates/main
Sources/DiffIndex Hit http://ftp.lt.debian.org squeeze-updates/main
amd64 Packages/DiffIndex Hit http://ftp.lt.debian.org wheezy/main
Sources/DiffIndex Hit http://ftp.lt.debian.org wheezy/contrib
Sources/DiffIndex Hit http://ftp.lt.debian.org wheezy/non-free
Sources/DiffIndex Hit http://ftp.lt.debian.org wheezy/main amd64
Packages/DiffIndex Hit http://ftp.lt.debian.org wheezy/contrib amd64
Packages/DiffIndex Hit http://ftp.lt.debian.org wheezy/non-free amd64
Packages/DiffIndex Hit http://security.debian.org squeeze/updates
Release.gpg Ign http://security.debian.org/ squeeze/updates/main
Translation-en Hit http://security.debian.org wheezy/updates Release.gpg
Ign http://security.debian.org/ wheezy/updates/main Translation-en
Hit http://backports.debian.org squeeze-backports Release.gpg
Ign http://backports.debian.org/debian-backports/
squeeze-backports/main Translation-en Hit http://ftp.lt.debian.org
squeeze-updates/main amd64 Packages Hit http://security.debian.org
squeeze/updates Release Hit http://security.debian.org wheezy/updates
Release Hit http://backports.debian.org squeeze-backports
Release Hit http://security.debian.org squeeze/updates/main Sources
Hit http://security.debian.org squeeze/updates/main amd64 Packages
Hit http://security.debian.org wheezy/updates/main Sources
Hit http://security.debian.org wheezy/updates/main amd64 Packages
Hit http://backports.debian.org squeeze-backports/main amd64
Packages/DiffIndex Hit http://backports.debian.org
squeeze-backports/main amd64 Packages Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  eclipse-cdt initramfs-tools libdrm-intel1 libdrm-nouveau1a
libgl1-mesa-dri libreoffice libreoffice-base libreoffice-base-core
libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw
libreoffice-filter-binfilter libreoffice-gtk libreoffice-impress
libreoffice-math libreoffice-report-builder-bin
libreoffice-style-galaxy libreoffice-style-tango libreoffice-writer
python-uno uno-libs3 ure xserver-xorg xserver-xorg-core
xserver-xorg-input-evdev xserver-xorg-input-synaptics
xserver-xorg-input-wacom xserver-xorg-video-apm xserver-xorg-video-ark
xserver-xorg-video-ati xserver-xorg-video-chips
xserver-xorg-video-cirrus xserver-xorg-video-fbdev
xserver-xorg-video-i128 xserver-xorg-video-intel
xserver-xorg-video-mach64 xserver-xorg-video-mga
xserver-xorg-video-neomagic xserver-xorg-video-nouveau
xserver-xorg-video-openchrome xserver-xorg-video-r128
xserver-xorg-video-radeon xserver-xorg-video-rendition
xserver-xorg-video-s3 xserver-xorg-video-s3virge
xserver-xorg-video-savage xserver-xorg-video-siliconmotion
xserver-xorg-video-sis xserver-xorg-video-sisusb
xserver-xorg-video-tdfx xserver-xorg-video-trident
xserver-xorg-video-tseng xserver-xorg-video-vesa
xserver-xorg-video-vmware xserver-xorg-video-voodoo The following
packages will be upgraded: fonts-opensymbol libreoffice-emailmerge
libreoffice-filter-mobiledev libreoffice-java-common libxfont1
linux-base linux-image-2.6-amd64 ttf-opensymbol xserver-common
xserver-xorg-video-all youtube-dl 11 upgraded, 0 newly installed, 0 to
remove and 56 not upgraded. Inst fonts-opensymbol
[2:2.4.3+LibO3.4.6-2~bpo60+2] (2:102.2+LibO3.5.4-4 Debian:testing
[all]) Inst libreoffice-emailmerge [1:3.4.6-2~bpo60+2] (1:3.5.4-4
Debian:testing [all]) Inst libreoffice-java-common [1:3.4.6-2~bpo60+2]
(1:3.5.4-4 Debian:testing [all]) Inst libreoffice-filter-mobiledev
[1:3.4.6-2~bpo60+2] (1:3.5.4-4 Debian:testing [all]) Inst libxfont1
[1:1.4.4-1~bpo60+1] (1:1.4.5-2 Debian:testing [amd64]) Inst linux-base
[3.4~bpo60+1] (3.5 Debian:testing [all]) Inst ttf-opensymbol
[2:2.4.3+LibO3.4.6-2~bpo60+2] (2:102.2+LibO3.5.4-4 Debian:testing
[all]) Inst xserver-common [2:1.10.4-1~bpo60+1] (2:1.12.1.902-1
Debian:testing [all]) Inst xserver-xorg-video-all [1:7.6+8~bpo60+1]
(1:7.6+13 Debian:testing [amd64]) Inst linux-image-2.6-amd64
[3.2+44~bpo60+1] (3.2+44 Debian:testing [amd64]) Inst youtube-dl
[2012.01.05-2~bpo60+1] (2012.02.27-1 Debian:testing [all]) Conf
fonts-opensymbol (2:102.2+LibO3.5.4-4 Debian:testing [all]) Conf
libreoffice-emailmerge (1:3.5.4-4 Debian:testing [all]) Conf
libreoffice-java-common (1:3.5.4-4 Debian:testing [all]) Conf
libreoffice-filter-mobiledev (1:3.5.4-4 Debian:testing [all]) Conf
libxfont1 (1:1.4.5-2 Debian:testing [amd64]) Conf linux-base (3.5
Debian:testing [all]) Conf ttf-opensymbol (2:102.2+LibO3.5.4-4
Debian:testing [all]) Conf xserver-common (2:1.12.1.902-1
Debian:testing [all]) Conf xserver-xorg-video-all (1:7.6+13
Debian:testing [amd64]) Conf linux-image-2.6-amd64 (3.2+44
Debian:testing [amd64]) Conf youtube-dl (2012.02.27-1 Debian:testing
[all])
"""
which got me even more puzzled as to why upgrade tries to pull in
packages from testing even though I have set default release to squeeze.

So, my main question is how to install a package from testing on a
stable system (eclipse in this case), but I would also like to
understand the weird upgrade behaviour as I'd prefer to leave sources
for testing enabled to receive updates for the packages that have been
installed from testing.


Thank you,
Vilius


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120622184813.41448042@d21

Reply via email to