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

Re: apt.conf doesn't have effect anymore



On Sat, 8 Mar 2008 11:07:52 +0200, "Andrei Popescu"
<andreimpopescu@gmail.com> said:
> On Wed, Mar 05, 2008 at 03:59:04PM +0100, Dvorzhetsky wrote:
> > Hello,
> > 
> > I'm mainly using lenny, but I have as well sid and experimental
> > repositories in my sources.list. To give priority to lenny I use
> > apt.conf file. 
> > 
> > Every thing was fine until I decided to had a third party repository for
> > lenny. Unlike debian repositories, the version of debian is in the path,
> > it doesn't appear as an argument. I was concern that my apt.conf would
> > not work properly so I commented experimental and sid repos and renamed
> > apt.conf to apt.conf.bak. I installed what I wanted and stayed with an
> > exclusively lenny sources.list for a while. It was fine.
> > 
> > Now I don't use the third party repos anymore, I removed it from my
> > sources.list uncommented sid and experimental repos and got back my
> > apt.conf But even after apt-get update the other repos do not seams to
> > be taken in account by apt. apt-cache policy xxx only give me the lenny
> > version.
> > 
> > I can't remember to have run in any error during these apt process.
> > 
> > Anyone knows how to get back things as normal?
> 
> I you want to get help with this it would be wise to include your 
> sources.list, apt.conf and output of 'apt-cache policy'.
> 
> Regards,
> Andrei
> -- 
> If you can't explain it simply, you don't understand it well enough.
> (Albert Einstein)

You are so right!

#apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://www.debian-multimedia.org experimental/main
 Translation-en_US
 500 http://www.debian-multimedia.org experimental/main Packages
     release o=Unofficial Multimedia
     Packages,a=experimental,l=Unofficial Multimedia Packages,c=main
     origin www.debian-multimedia.org
   1 http://ftp.fr.debian.org experimental/non-free Packages
     release o=Debian,a=experimental,l=Debian,c=non-free
     origin ftp.fr.debian.org
   1 http://ftp.fr.debian.org experimental/contrib Packages
     release o=Debian,a=experimental,l=Debian,c=contrib
     origin ftp.fr.debian.org
   1 http://ftp.fr.debian.org experimental/main Packages
     release o=Debian,a=experimental,l=Debian,c=main
     origin ftp.fr.debian.org
 500 http://www.debian-multimedia.org sid/main Translation-en_US
 500 http://www.debian-multimedia.org sid/main Packages
     release o=Unofficial Multimedia Packages,a=unstable,l=Unofficial
     Multimedia Packages,c=main
     origin www.debian-multimedia.org
 990 http://security.debian.org testing/updates/non-free Packages
     release v=None,o=Debian,a=testing,l=Debian-Security,c=non-free
     origin security.debian.org
 990 http://security.debian.org testing/updates/contrib Packages
     release v=None,o=Debian,a=testing,l=Debian-Security,c=contrib
     origin security.debian.org
 990 http://security.debian.org testing/updates/main Packages
     release v=None,o=Debian,a=testing,l=Debian-Security,c=main
     origin security.debian.org
 500 http://www.debian-multimedia.org testing/main Translation-en_US
 990 http://www.debian-multimedia.org testing/main Packages
     release o=Unofficial Multimedia Packages,a=testing,l=Unofficial
     Multimedia Packages,c=main
     origin www.debian-multimedia.org
 990 http://ftp.fr.debian.org testing/non-free Packages
     release o=Debian,a=testing,l=Debian,c=non-free
     origin ftp.fr.debian.org
 990 http://ftp.fr.debian.org testing/contrib Packages
     release o=Debian,a=testing,l=Debian,c=contrib
     origin ftp.fr.debian.org
 990 http://ftp.fr.debian.org testing/main Packages
     release o=Debian,a=testing,l=Debian,c=main
     origin ftp.fr.debian.org
Pinned packages:
*===================================*


apt.conf:
*===================================*
APT::Default-Release "testing";
*===================================*


sources.list:
*===================================*
## etch 
#deb http://ftp.fr.debian.org/debian/ stable main contrib non-free
#deb-src http://ftp.fr.debian.org/debian/ stable main contrib non-free
# debian-marillat
#deb http://www.debian-multimedia.org stable main
#deb-src http://www.debian-multimedia.org stable main
# security
#deb http://security.debian.org/ stable/updates main contrib non-free
#deb-src http://security.debian.org/ stable/updates main contrib
non-free

## lenny 
deb http://ftp.fr.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ testing main contrib non-free
# debian-marillat 
deb http://www.debian-multimedia.org testing main
deb-src http://www.debian-multimedia.org testing main
# security
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib
non-free
# shame (Uunstable lenny)
#deb
http://download.tuxfamily.org/shames/debian-lenny/desktopfx/unstable/ ./
# avant-window-navigator
#deb http://www.arearelax.org/awn/ ./

## sid
#deb http://ftp.fr.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ unstable main contrib non-free
# debian-marillat
deb http://www.debian-multimedia.org sid main
deb-src http://www.debian-multimedia.org sid main
# shame (stable sid)
#deb http://download.tuxfamily.org/shames/debian-sid/desktopfx/stable/
./

## experimental
deb http://ftp.fr.debian.org/debian/ experimental main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ experimental main contrib
non-free
# debian-marillat
deb http://www.debian-multimedia.org experimental main
deb-src http://www.debian-multimedia.org experimental main
*===================================*

But here is what I get:

*===================================*
# apt-cache policy amarok
amarok:
  Installed: 1.4.8-1
  Candidate: 1.4.8-1
  Version table:
 *** 1.4.8-1 0
        990 http://ftp.fr.debian.org testing/main Packages
        100 /var/lib/dpkg/status
*===================================*

I think I should get the sid and experimental version of the package as
well isn't it?

Thank you!


Reply to: