Re: apt-pining: no priority (or zero) specified for pining

2013-02-25 Thread Morel Bérenger
Le Dim 24 février 2013 18:49, Tom H a écrit :
 On Fri, Feb 22, 2013 at 6:27 AM, Morel Bérenger
 berenger.mo...@neutralite.org wrote:

 Le Ven 22 février 2013 2:58, Tom H a écrit :

 On Thu, Feb 21, 2013 at 8:02 PM, Rob Owens row...@ptd.net wrote:

 On Thu, Feb 21, 2013 at 09:02:12PM +0100,
 berenger.mo...@neutralite.org wrote:


 Package: *
 Pin: release a=wheezy
 Pin-Priority: 900
 Package: *
 Pin: release a=unstable
 Pin-Priority:200


 You are missing a space before '200'.  I'm not sure if that's the
 problem or not, but you should fix it and try it out.

 It should also be n=wheezy or a=testing and not a=wheezy.


 Arg! PEBCAK!


 I apologize...


 It was due to a typo in my file (Pin-Prioriy), which was not reported
 in my mail because since it was on a different computer, I rewrite the
 lines, and instinctively corrected it.

 So, the text saying that there was no priority set was referring the
 fact that the line Pin-PrioriTy was not found.

 Fixing or not the errors you pointed did nothing, but I'll keep them
 fixed for beauty.

 Again, I apologize to have make you loose your time with wrong
 informations and stupid mistake from me.

 No problem!


 I'm surprised that a= and n= can be used interchangeably but if
 you say so, OK! :)

Not sure, I have not tried an update, but without it, it worked (or I
noticed no problem).
I have no idea about how preferences works, but since for aptitude or apt,
testing and wheezy are the same thing (just links to the same contents),
maybe the preferences' system is able to handle them equally?



-- 
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/c605cd512a6cd87be8d896fb1f94e783.squir...@www.sud-ouest.org



Re: apt-pining: no priority (or zero) specified for pining

2013-02-24 Thread Andrei POPESCU
[Just for the archives]

On Jo, 21 feb 13, 21:02:12, berenger.mo...@neutralite.org wrote:
 Well, the error message in title is not the exact one, but a
 translation of the one I have (which is exactly W : Aucune priorité
 (ou zéro) n'a été spécifiée pour l'épinglage but it is in french
 so...).

Use 'LANG=C' before any command to get the English output.
 
 My preferences file contain this:
 ===
 Package: *
 Pin: release a=wheezy
 Pin-Priority: 900
 
 Package: *
 Pin: release a=unstable
 Pin-Priority:200
 ===

The best tool to diagnose preferences is 'apt-cache policy'.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: apt-pining: no priority (or zero) specified for pining

2013-02-24 Thread Tom H
On Fri, Feb 22, 2013 at 6:27 AM, Morel Bérenger
berenger.mo...@neutralite.org wrote:
 Le Ven 22 février 2013 2:58, Tom H a écrit :
 On Thu, Feb 21, 2013 at 8:02 PM, Rob Owens row...@ptd.net wrote:
 On Thu, Feb 21, 2013 at 09:02:12PM +0100, berenger.mo...@neutralite.org
 wrote:

 Package: *
 Pin: release a=wheezy
 Pin-Priority: 900
 Package: *
 Pin: release a=unstable
 Pin-Priority:200

 You are missing a space before '200'.  I'm not sure if that's the
 problem or not, but you should fix it and try it out.

 It should also be n=wheezy or a=testing and not a=wheezy.

 Arg! PEBCAK!

 I apologize...

 It was due to a typo in my file (Pin-Prioriy), which was not reported in
 my mail because since it was on a different computer, I rewrite the lines,
 and instinctively corrected it.

 So, the text saying that there was no priority set was referring the fact
 that the line Pin-PrioriTy was not found.

 Fixing or not the errors you pointed did nothing, but I'll keep them fixed
 for beauty.

 Again, I apologize to have make you loose your time with wrong
 informations and stupid mistake from me.

No problem!

I'm surprised that a= and n= can be used interchangeably but if
you say so, OK! :)


--
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/CAOdo=syi5x0efcaej4hjyxro6kh44wvx490rsgs0j_jfp1j...@mail.gmail.com



Re: apt-pining: no priority (or zero) specified for pining

2013-02-22 Thread Morel Bérenger
Le Ven 22 février 2013 2:58, Tom H a écrit :
 On Thu, Feb 21, 2013 at 8:02 PM, Rob Owens row...@ptd.net wrote:

 On Thu, Feb 21, 2013 at 09:02:12PM +0100, berenger.mo...@neutralite.org
 wrote:


 Well, the error message in title is not the exact one, but a
 translation of the one I have (which is exactly W : Aucune priorité
 (ou zéro) n'a été spécifiée pour l'épinglage but it is in french
 so...).

 The consequence is that it seems my preferences is not used, testing
 packages have lower priority that unstable, which is not what I want.

 My sources.list include a line for wheezy main non-free, another
 for unstable main and the last for experimental main (my need was
 to add g++4.8, in the hope it include
 std::set::emplace_hint(iterator, ...)).
 Here is the sources.list:
 ===
 deb http://ftp2.fr.debian.org/debian wheezy main non-free deb
 http://ftp2.fr.debian.org/debian unstable main
 deb http://ftp2.fr.debian.org/debian experimental main
 ===


 My preferences file contain this:
 ===
 Package: *
 Pin: release a=wheezy
 Pin-Priority: 900


 Package: *
 Pin: release a=unstable
 Pin-Priority:200
 ===


 You are missing a space before '200'.  I'm not sure if that's the
 problem or not, but you should fix it and try it out.

 It should also be n=wheezy or a=testing and not a=wheezy.

Arg! PEBCAK!
I apologize...
It was due to a typo in my file (Pin-Prioriy), which was not reported in
my mail because since it was on a different computer, I rewrite the lines,
and instinctively corrected it.
So, the text saying that there was no priority set was referring the fact
that the line Pin-PrioriTy was not found.

Fixing or not the errors you pointed did nothing, but I'll keep them fixed
for beauty.
Again, I apologize to have make you loose your time with wrong
informations and stupid mistake from me.


-- 
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/99250c7be30ec64280b4d183ec339921.squir...@www.sud-ouest.org



apt-pining: no priority (or zero) specified for pining

2013-02-21 Thread berenger . morel
Well, the error message in title is not the exact one, but a 
translation of the one I have (which is exactly W : Aucune priorité (ou 
zéro) n'a été spécifiée pour l'épinglage but it is in french so...).


The consequence is that it seems my preferences is not used, testing 
packages have lower priority that unstable, which is not what I want.


My sources.list include a line for wheezy main non-free, another for 
unstable main and the last for experimental main (my need was to add 
g++4.8, in the hope it include std::set::emplace_hint(iterator, ...)).

Here is the sources.list:
===
deb http://ftp2.fr.debian.org/debian wheezy main non-free
deb http://ftp2.fr.debian.org/debian unstable main
deb http://ftp2.fr.debian.org/debian experimental main
===

My preferences file contain this:
===
Package: *
Pin: release a=wheezy
Pin-Priority: 900

Package: *
Pin: release a=unstable
Pin-Priority:200
===

I am quite sure the problem is obvious, but I did not play with 
preferences for ages... I'm simply trying to transform a computer for 
tinkering into a computer for real work, so I want to have only 
development stuff in experimental (C++11 is still not fully implemented 
by G++ and I want to use it. But I also want other stuff to be quiet in 
their changes.)


I have only one repo in sources.list.d and it worked before the add of 
unstable repo in both sources.list and preferences. Nothing is present 
in preferences.d/.


If someone knows how to solve that warning or have some clue about the 
error, I would be grateful.



--
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/ab13c4fd74c969e69d39079c1c045...@neutralite.org



Re: apt-pining: no priority (or zero) specified for pining

2013-02-21 Thread Zenaan Harkness
When pining for packages, pinning them is apt; I do agree  :)

(Sorry can't help with your technical question)


-- 
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/CAOsGNSTMGOoXaDuM0ag=potseu5dq9denvww2v5b_13ic_o...@mail.gmail.com



Re: apt-pining: no priority (or zero) specified for pining

2013-02-21 Thread Rob Owens
On Thu, Feb 21, 2013 at 09:02:12PM +0100, berenger.mo...@neutralite.org wrote:
 Well, the error message in title is not the exact one, but a
 translation of the one I have (which is exactly W : Aucune priorité
 (ou zéro) n'a été spécifiée pour l'épinglage but it is in french
 so...).
 
 The consequence is that it seems my preferences is not used, testing
 packages have lower priority that unstable, which is not what I
 want.
 
 My sources.list include a line for wheezy main non-free, another
 for unstable main and the last for experimental main (my need
 was to add g++4.8, in the hope it include
 std::set::emplace_hint(iterator, ...)).
 Here is the sources.list:
 ===
 deb http://ftp2.fr.debian.org/debian wheezy main non-free
 deb http://ftp2.fr.debian.org/debian unstable main
 deb http://ftp2.fr.debian.org/debian experimental main
 ===
 
 My preferences file contain this:
 ===
 Package: *
 Pin: release a=wheezy
 Pin-Priority: 900
 
 Package: *
 Pin: release a=unstable
 Pin-Priority:200
 ===

You are missing a space before '200'.  I'm not sure if that's the
problem or not, but you should fix it and try it out.

-Rob


-- 
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/20130222010251.ga21...@aurora.owens.net



Re: apt-pining: no priority (or zero) specified for pining

2013-02-21 Thread Tom H
On Thu, Feb 21, 2013 at 8:02 PM, Rob Owens row...@ptd.net wrote:
 On Thu, Feb 21, 2013 at 09:02:12PM +0100, berenger.mo...@neutralite.org wrote:

 Well, the error message in title is not the exact one, but a
 translation of the one I have (which is exactly W : Aucune priorité
 (ou zéro) n'a été spécifiée pour l'épinglage but it is in french
 so...).

 The consequence is that it seems my preferences is not used, testing
 packages have lower priority that unstable, which is not what I
 want.

 My sources.list include a line for wheezy main non-free, another
 for unstable main and the last for experimental main (my need
 was to add g++4.8, in the hope it include
 std::set::emplace_hint(iterator, ...)).
 Here is the sources.list:
 ===
 deb http://ftp2.fr.debian.org/debian wheezy main non-free
 deb http://ftp2.fr.debian.org/debian unstable main
 deb http://ftp2.fr.debian.org/debian experimental main
 ===

 My preferences file contain this:
 ===
 Package: *
 Pin: release a=wheezy
 Pin-Priority: 900

 Package: *
 Pin: release a=unstable
 Pin-Priority:200
 ===

 You are missing a space before '200'.  I'm not sure if that's the
 problem or not, but you should fix it and try it out.

It should also be n=wheezy or a=testing and not a=wheezy.


--
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/CAOdo=szvn20lnsp9s1bdbwbsb7nsprm794o+xffqnl-5dbc...@mail.gmail.com