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

[SOLVED - partly] Re: iceweasel 13.0.1 for Wheezy?



Thank you Andrei! You are very kind.

"SOLVED" as far as Iceweasel is concerned.
"partly" because I'm still struggling with understanding of pinning.

On Sunday 24 June 2012 15:36:15 Andrei POPESCU wrote:
> On Du, 24 iun 12, 14:20:47, Eike Lantzsch wrote:
> > apt-cache policy iceweasel
> > 
> > iceweasel:
> >   Installed: 10.0.5esr-1
> >   Candidate: 10.0.5esr-1
> >   Package pin: 13.0.1-1
> >   Package: wine

> >   Version table:
> >      13.0.1-1 700
> >      
> >         600 http://ftp.us.debian.org/debian/ experimental/main i386
> >         Packages 600 http://ftp.de.debian.org/debian/ experimental/main
> >         i386 Packages
> 
> This looks like you have two sources for experimental, get rid of one.
I did now.
> 
> >  *** 10.0.5esr-1 700
> >  
> >        1000 http://ftp.de.debian.org/debian/ wheezy/main i386 Packages
> >        
> >         100 /var/lib/dpkg/status
> > 
> > I think I got the pinning wrong
I think I got the understanding wrong too.
> 
> The values have specific meaning, it's not enough to have just some
> value bigger than the other one.
I started reading up on it.
> 
> > /etc/apt/preferences
> > 
> > Package: wine
> > Pin: release l=WineHQ APT Repository
> > Pin-Priority: 1000
> > 
> > Package: *
> > Pin: release o=Debian,a=testing
> > Pin-Priority: 1000
> 
> A pin bigger than 990 and smaller or equal to 1000 has a special
> meaning, see 'man apt_preferences'. Try downgrading this to 990.
OK, I did that - see file contents below
> 
> > Package: *
> > Pin: origin www.deb-multimedia.org
> > Pin-Priority: 900
> > 
> > Package: *
> > Pin: release o=Debian,a=squeeze
> > Pin-Priority: 800
> > 
> > #Package: *
> > #Pin: release a=testing
> > #Pin-Priority: 700
> > 
> > Package: iceweasel
> > Pin: release a=experimental
> > Pin-Priority: 700
> > 
> > Package:  *
> > Pin: release a=experimental
> > Pin-Priority: 600
> > 
> > Package: *
> > Pin: release a=sid
> > Pin-Priority: 500
> > 
> > Package: *
> > Pin: release a=unstable
> > Pin-Priority: 400
> 
> Here you have two pins for the same archive (sid is unstable and will
> not change)
Outch! I knew it, I knew it!
> 
> > Package: *
> > Pin: release o=Debian,a=lenny
> > Pin-Priority: 200
> 
> Do you need lenny?
No.
> 
> > Package: *
> > Pin: origin www.ibiblio.org
> > Pin-Priority: 610
Cruft
> > 
> > Package: *
> > Pin: origin www.argon.org
> > Pin-Priority: 620
Cruft
> 
> Generally I advocate much simpler pinning, especially if you are not
> familiar with it.
I agree
> 
> If you would explain what exactly you are trying to achieve (i.e. which
> release do you want to use in general, for which packages do you need
> exceptions and why, etc.) then we might suggest something much simpler
> and more maintainable. Don't forget to also post all your sources.
Yep. See below, please.
> 
> Kind regards,
> Andrei


What I want:
Stay with Wheezy when it's become Stable. At least for a while.
Get my packages mainly from Debian official.
Get from multimedia what I cannot get from Debian official.
Stay tuned with Skype
Stay tuned with Firefox (Iceweasel)
Get Google-maps

What I did after reading your counsel:
Delete cruft from sources.list and preferences
then
aptitude -t experimental install iceweasel

What happened:
Iceweasel 13.0.1 was installed.
Me: happy, hooray!

After making the changes
apt-cache policy iceweasel
looks like this and I managed to install Iceweasel 13.0.1

iceweasel:
  Installed: 13.0.1-1
  Candidate: 13.0.1-1
  Package pin: 13.0.1-1
  Version table:
 *** 13.0.1-1 700
          1 http://ftp.de.debian.org/debian/ experimental/main i386 Packages
        100 /var/lib/dpkg/status
     10.0.5esr-1 700
        990 http://ftp.de.debian.org/debian/ wheezy/main i386 Packages

My /etc/apt/sources.list is now:
#

# want to stay on Wheezy after it becomes stable ... at least for awhile
deb http://ftp.de.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.de.debian.org/debian/ wheezy main contrib non-free

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

# skype official site
deb http://download.skype.com/linux/repos/debian/ stable non-free
#deb http://download.skype.com/linux/repos/debian/ testing non-free

#tovid (not using tovid at the present since devede 3.22.0 is working fine)
#deb     http://tovid.sourceforge.net/download/debian testing contrib
#deb-src http://tovid.sourceforge.net/download/debian testing contrib

# proxy (gave that up some time ago)
# deb http://192.168.0.40:9999/debian testing main contrib non-free

# kernel (no need)
# deb http://kernel-archive.buildserver.net/debian-kernel/ trunk main

## Google software repository:
## http://www.google.com/linuxrepositories/apt.html
## reminder: (wget -q -O - https://dl-
ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - )
## or (gpg --keyserver subkeys.pgp.net --recv A040830F7FAC5991 && \
gpg --export  --armor A040830F7FAC5991 | sudo apt-key add - )
## Quoted cause of index failure (who was mentioning this??)
deb http://dl.google.com/linux/deb/ testing non-free

## Opera webbrowser:
#deb http://deb.opera.com/opera/ testing non-free
# Couldn't find the phantom anyway

## Tor:
# deb http://mirror.noreply.org/pub/tor testing main
#Yes I am one, I know, but not using Tor for browsing

## Debian Multimedia - Christian Marrillat repository:
# now in /etc/apt/sources.d/
#deb http://www.deb-multimedia.org testing main
#deb-src http://www.deb-multimedia.org testing main

## All experimental repositories:

## Debian experimental mirrors:
#deb http://ftp.us.debian.org/debian/ experimental main contrib non-free
deb http://www.deb-multimedia.org experimental main
# don't know if this helps much

## All unstable repositories:
# nix - nada - zilch


/etc/apt/sources.d has the following files:

deb-multimedia.org.list
google-earth.list
iceweasel.experimental.list

/etc/apt/sources.list.d/deb-multimedia.org.list
deb http://www.deb-multimedia.org/ wheezy main non-free

/etc/apt/sources.list.d/google-earth.list
deb http://dl.google.com/linux/earth/deb/ stable main                                                     
# this gets Priority 100 automatically if not mentioned in preferences, right?
 
/etc/apt/sources.list.d/iceweasel.experimental.list                      
deb http://ftp.de.debian.org/debian experimental main contrib non-free                                    


/etc/apt/preferences:

Pin: release l=WineHQ APT Repository
Pin-Priority: 1000
# do I need this? I'm downloading and installing packages from \ 
http://dev.carbon-project.org/debian/wine-unstable/

Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 990

Package: *
Pin: origin www.deb-multimedia.org
Pin-Priority: 900
# Want to get from multimedia what I cannot get from Debian official

Package: *
Pin: release o=Debian,a=squeeze
Pin-Priority: 800
# Do I use anything off Squeeze? To my knowledge not ...

Package: *
Pin: release a=testing
Pin-Priority: 700
# Why testing again?

Package: iceweasel
Pin: release a=experimental
Pin-Priority: 700

Package:  *
Pin: release a=experimental
Pin-Priority: 700
# Do I need this? I'm only using iceweasel from experimental.

Package: *
Pin: release a=sid
Pin-Priority: 500

#Package: *
#Pin: origin www.ibiblio.org
#Pin-Priority: 610
# no need for packages from ibiblio at the present


Thanky you again. You got me going and this on a Sunday night.
Kind regards,
Eike


Reply to: