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

HELP, Mixed system with apt pinning



Hi, I need help setting up a mixed system with apt. This is my first in the 
Debian list, but let me know if i mess up on protocal... Back to apt pinning.

I have scoured through these websites:
http://www.debian.org/doc/manuals/ap...efault-version
http://jaqque.sbih.org/kplug/apt-pinning.html
http://wiki.serios.net/wiki/Apt-Pinning_on_Ubuntu
Along with the ubuntu, mepis, and linuxquestions.org forums.

From what I am reading I am doing it right, but when i test, it doest work.
I am trying this on two systems, one is runing the lastest in mepis and the 
other kubuntu.

kubuntu
--------------------------------------------------------------------------------------
So, let say I dont pin with the preferences file. But create a apt.conf with 
the default release line - "APT::Default-Release "breezy";"
 
I run apt update and upgrade then In my sources.list I had the dapper depo. 
When i run apt update and upgrade I shouldnt get any new packages right? But 
I do - lots. What gives? 
 
 If I use the pinning with the preferences file does the APT::Default-Release 
"breezy"; from apt.conf still work?
 
 Lets assume it doesnt, for my next questions.
 I have two pins in preferences:
 
"
 Package: *
 Pin: release a=breezy
 Pin-Priority: 600
 
 Package: *
 Pin: release a=dapper
 Pin-Priority: 200 
"
 Then run apt-get update / upgrade with only breezy sources. Then enable a 
dapper depo run update/upgrade again and apt wants to update kdebase-data 
kdelibs-data kdemultimedia-kappfinder-data libartsc0.
 
 I get the same resualt when I remove the apt.conf. What am I doing wrong?


Mepis test one
---------------------------------------------------------------------
Here is my apt.conf:
 "
 APT:efault-Release "testing";
 APT::Cache-Limit 20000000;
 APT::Get::Purge;
 APT::Get::AllowUnauthenticated 1;
 Acquire::cdrom::Mount "/mnt/cdrom"; 
"
and here is my sources.list:
"
 # Primary
 deb ftp://ftp.debian.org/debian/ etch main contrib non-free 
 deb ftp://ftp.debian.org/debian/ sid main contrib non-free 
 
 # MEPIS apt pool - specific packages available on-line
 deb http://apt.mepis.org/3.4/ etch main 
 deb http://apt.mepis.org/3.4/ sid main 
"

It seems I am following the Debian guide correctly, but when I ran upgrade 
again with apt-get upgrade I got many pakages from sid.

Mepis test two
------------------------------------------------------------------- 
So know I have "restored" etch by commenting out the sid sources and doing a 
dist-upgrade. Reread the mans and started searching the fourms. When I 
simulate the apt-get update (with the sid repos enabled) i get:
 
 Reading package lists...
 Building dependency tree...
 The following packages have been kept back:
 amarok amarok-xine k3b libk3b2 ndiswrapper-utils openoffice.org-kde
 The following packages will be upgraded:
 kdeutils-doc
 1 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
 Inst kdeutils-doc [4:3.5-rc1-1] (4:3.5.1-1 Debian:unstable)
 Conf kdeutils-doc (4:3.5.1-1 Debian:unstable) 

Not as many sid packages, but it looks like I am still getting some sid 
packages even if i do not specify it with the -t sid operator and sid has the 
lowerest pin. What am I doing wrong?

Mepis test three
------------------------------------------------------------------
here is my preferences file: 
"
 Package: *
 Pin: release o=MEPIS a=etch
 Pin-Priority: 901
 "
 /* I want to keep kde at 3.5.1 with out installing it via apt-get install -t 
sid ect... And since the pin is under 1100 kde wont downgrade when 3.5.1 hits 
testing. */
 
 Package: kdm kdebase hal
 Pin: release o=Debian v=3.5.1
 Pin-Priority: 990
 
 /* etch is frozen right? so if i want a pkg that isnt in etch i should look 
in testing before sid right? */
 Package: *
 Pin: release o=Debian a=etch
 Pin-Priority: 810
 
 Package: *
 Pin: release o=Debian a=testing
 Pin-Priority: 800

 /* with pin <500 I will need to call the package manually. ie install -t 
sarge-backports openoffice2 */
 
 Package: *
 Pin: release a=sarge-backports
 Pin-Priority: 200
 
 Package: *
 Pin: release o=Debian a=stable
 Pin-Priority: 100
 
 Package: *
 Pin: release o=Debian a=sid
 Pin-Priority: 70 

 OK, Here is my apt.conf:
" 
 APT:efault-Release "testing";
 APT::Cache-Limit 20000000;
 APT::Get::Purge;
 APT::Get::AllowUnauthenticated 1;
 Acquire::cdrom::Mount "/mnt/cdrom";
 
 // HTTP method configuration - local squid proxy
 http {
 Proxy "http://192.168.1.1";;
 Timeout "120";
 Pipeline-Depth "5";
 No-Cache "false";
 //Max-Age "86400";
 No-Store "false";
 }; 

 And finaly my sources.list:
 "
 # Primary
 deb ftp://ftp.debian.org/debian stable main contrib non-free
 deb ftp://ftp.debian.org/debian etch main contrib non-free
 deb ftp://ftp.debian.org/debian sid main contrib non-free
 
 # Sources
 # deb-src ftp://ftp.debian.org/debian stable main contrib non-free
 # deb-src ftp://ftp.debian.org/debian etch main contrib non-free
 # deb-src ftp://ftp.debian.org/debian sid main contrib non-free
 
 # MEPIS apt pool - specific packages available on-line
 deb http://apt.mepis.org/3.4 etch main
 deb http://apt.mepis.org/3.4 sid main
 
 # Security upgrades for Etch
 deb http://security.debian.org/ testing/updates main contrib non-free
 
 #Sarge Backports
 deb http://www.backports.org/debian/ sarge-backports main

Done, im cookin with crisco now right, but when I run 
"apt-get --simulate upgrade > outputfile.log" I get:
"
 Reading package lists...
 Building dependency tree...
 The following packages have been kept back:
 amarok amarok-xine k3b libk3b2 libqt4-qt3support libqt4-sql
 ndiswrapper-utils openoffice.org-kde scribus
 The following packages will be upgraded:
 openoffice.org openoffice.org-base openoffice.org-calc openoffice.org-common
 openoffice.org-core openoffice.org-draw openoffice.org-impress
 openoffice.org-java-common openoffice.org-l10n-en-us openoffice.org-math
 openoffice.org-writer python-uno ttf-opensymbol
 13 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
 Inst openoffice.org-l10n-en-us [2.0.1-1] (2.0.1-2 Debian:unstable)
 Inst openoffice.org-common [2.0.1-1] (2.0.1-2 Debian:unstable)
 Inst ttf-opensymbol [2.0.1-1] (2.0.1-2 Debian:unstable)
 Inst openoffice.org-core [2.0.1-1] (2.0.1-2 Debian:unstable)
 Inst python-uno [2.0.1-1] (2.0.1-2 Debian:unstable)
 Inst openoffice.org-writer [2.0.1-1] (2.0.1-2 Debian:unstable)
 Inst openoffice.org-calc [2.0.1-1] (2.0.1-2 Debian:unstable)
 Inst openoffice.org-draw [2.0.1-1] (2.0.1-2 Debian:unstable)
 Inst openoffice.org-impress [2.0.1-1] (2.0.1-2 Debian:unstable)
 Inst openoffice.org-math [2.0.1-1] (2.0.1-2 Debian:unstable)
 Inst openoffice.org-java-common [2.0.1-1] (2.0.1-2 Debian:unstable)
 Inst openoffice.org-base [2.0.1-1] (2.0.1-2 Debian:unstable)
 Inst openoffice.org [2.0.1-1] (2.0.1-2 Debian:unstable)
 Conf openoffice.org-l10n-en-us (2.0.1-2 Debian:unstable)
 Conf ttf-opensymbol (2.0.1-2 Debian:unstable)
 Conf openoffice.org-core (2.0.1-2 Debian:unstable)
 Conf openoffice.org-common (2.0.1-2 Debian:unstable)
 Conf python-uno (2.0.1-2 Debian:unstable)
 Conf openoffice.org-writer (2.0.1-2 Debian:unstable)
 Conf openoffice.org-calc (2.0.1-2 Debian:unstable)
 Conf openoffice.org-draw (2.0.1-2 Debian:unstable)
 Conf openoffice.org-impress (2.0.1-2 Debian:unstable)
 Conf openoffice.org-math (2.0.1-2 Debian:unstable)
 Conf openoffice.org-java-common (2.0.1-2 Debian:unstable)
 Conf openoffice.org-base (2.0.1-2 Debian:unstable)
 Conf openoffice.org (2.0.1-2 Debian:unstable) 
"
We can clearly see Iam doing it all wrong. With "update" I had desired for KDE 
to be updated. Openoffice should not change, it I want the back port I need 
to manually call it. So Why is KDE3.5.1 not being pulled in and why is 
openoffice and the others comming from unstable?
 
 Thanks for the help and br,
 dutler

-- 
-dutler



Reply to: