Re: unable to use backports repos
* Leonardo Carneiro - Veltrac <lscarneiro@veltrac.com.br> wrote:
> Hello everyone. I added the backports repo to my source.list of my debian
> lenny box and created a file named 'preferences' in my
> /etc/apt/apt.conf.d/ with the following content:
>
> server:/etc/apt/apt.conf.d# cat preferences
> Package: *
> Pin: release a=lenny-backports
> Pin-Priority: 200
>
> When i try to do an 'apt-get update' i get the following error: E: Syntax
> error /etc/apt/apt.conf.d/preferences:4: Extra junk at end of file
>
> but there is no line 4!
>
> Anyone knows what could be causing this?
This should be in /etc/apt/preferences, not in apt.conf.d.
Reply to: