Re: Want to set apt pin-priority lower for none debian sites

2005-09-23 Thread Florian Sukup
 What's the url of this Release file? I couldn't find it.
 
 http://www.linex.org/sources/linex/debian/dists/sarge/linex/binary-i386/
 

It seems to be logical, stupid that I haven't found it on my own. 
Nevertheless, thank you.

Florian.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Want to set apt pin-priority lower for none debian sites

2005-09-22 Thread Florian Sukup
Hi,

I want to assign a lower priority to packages which come from other 
sites than debian.org.

The problem: 
testing is my target release. In my sources.list there the following 
entries:

deb http://security.debian.org/ stable/updates main 
deb http://ftp.at.debian.org/debian stable main non-free contrib
deb http://ftp.at.debian.org/debian testing main non-free contrib
deb http://ftp.at.debian.org/debian unstable main non-free contrib
deb http://www.linex.org/sources/linex/debian sarge linex
...

# apt-cache policy mozilla-firefox
mozilla-firefox:
  Installed: 1.0.6-1.linex1
  Candidate: 1.0.6-1.linex1
  Version Table:
 1.0.6-5 0
400 http://ftp.at.debian.org unstable/main Packages
 *** 1.0.6-1.linex1 0
990 http://www.linex.org sarge/linex Packages
100 /var/lib/dpkg/status
 1.0.4-2sarge3 0
500 http://security.debian.org stable/updates/main Packages
990 http://ftp.at.debian.org testing/main Packages
 1.0.4-2 0
400 http://ftp.at.debian.org stable/main Packages

But this is not what I want. I want to have 1.0.4-2sarge3 0 installed. 
Automatically!

Does anyone know, if this possible (by changing the apt_preferences, for 
example).

I have tried a lot of ways, but no success.

Thank you for your help.

Florian.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Want to set apt pin-priority lower for none debian sites

2005-09-22 Thread Wackojacko

Florian Sukup wrote:

Hi,

I want to assign a lower priority to packages which come from other 
sites than debian.org.


The problem: 
testing is my target release. In my sources.list there the following 
entries:


deb http://security.debian.org/ stable/updates main 
deb http://ftp.at.debian.org/debian stable main non-free contrib

deb http://ftp.at.debian.org/debian testing main non-free contrib
deb http://ftp.at.debian.org/debian unstable main non-free contrib
deb http://www.linex.org/sources/linex/debian sarge linex
...

# apt-cache policy mozilla-firefox
mozilla-firefox:
  Installed: 1.0.6-1.linex1
  Candidate: 1.0.6-1.linex1
  Version Table:
 1.0.6-5 0
400 http://ftp.at.debian.org unstable/main Packages
 *** 1.0.6-1.linex1 0
990 http://www.linex.org sarge/linex Packages
100 /var/lib/dpkg/status
 1.0.4-2sarge3 0
500 http://security.debian.org stable/updates/main Packages
990 http://ftp.at.debian.org testing/main Packages
 1.0.4-2 0
400 http://ftp.at.debian.org stable/main Packages

But this is not what I want. I want to have 1.0.4-2sarge3 0 installed. 
Automatically!


Does anyone know, if this possible (by changing the apt_preferences, for 
example).


I have tried a lot of ways, but no success.

Thank you for your help.

Florian.


man apt_preferences, include

 APT::Default-Release testing;

in /etc/apt/apt.conf (create one if you don't have one)

then include something like

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

in /etc/apt/preferences (again may need to create)

This should prevent unstable packages being given the same, or higher 
priority as testing.


HTH

Wackojacko


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Want to set apt pin-priority lower for none debian sites

2005-09-22 Thread Florian Sukup
Thank you for your email.

 
 I want to assign a lower priority to packages which come from other 
 sites than debian.org.
 
 The problem: 
 testing is my target release. In my sources.list there the following 
 entries:
 
 deb http://security.debian.org/ stable/updates main 
 deb http://ftp.at.debian.org/debian stable main non-free contrib
 deb http://ftp.at.debian.org/debian testing main non-free contrib
 deb http://ftp.at.debian.org/debian unstable main non-free contrib
 deb http://www.linex.org/sources/linex/debian sarge linex
 ...
 
 # apt-cache policy mozilla-firefox
 mozilla-firefox:
   Installed: 1.0.6-1.linex1
   Candidate: 1.0.6-1.linex1
   Version Table:
  1.0.6-5 0
 400 http://ftp.at.debian.org unstable/main Packages
  *** 1.0.6-1.linex1 0
 990 http://www.linex.org sarge/linex Packages
 100 /var/lib/dpkg/status
  1.0.4-2sarge3 0
 500 http://security.debian.org stable/updates/main Packages
 990 http://ftp.at.debian.org testing/main Packages
  1.0.4-2 0
 400 http://ftp.at.debian.org stable/main Packages
 
 But this is not what I want. I want to have 1.0.4-2sarge3 0 installed. 
 Automatically!
 
 Does anyone know, if this possible (by changing the apt_preferences, for 
 example).
 
 
 man apt_preferences, include
 
  APT::Default-Release testing;
 
 in /etc/apt/apt.conf (create one if you don't have one)
 
 then include something like
 
  Package: *
   Pin: release a=unstable
   Pin-Priority: 500
 
 in /etc/apt/preferences (again may need to create)
 
 This should prevent unstable packages being given the same, or higher 
 priority as testing.
 

I tried that but didn't work. Seems logical to me. The linex packages 
are also denoted as testing. Therefore, this doesn't work.

I really need to give to all packages of a certain site a lower 
priority. 

Any idea?

Florian.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Want to set apt pin-priority lower for none debian sites

2005-09-22 Thread Wackojacko

Florian Sukup wrote:

Thank you for your email.


I want to assign a lower priority to packages which come from other 
sites than debian.org.


The problem: 
testing is my target release. In my sources.list there the following 
entries:


deb http://security.debian.org/ stable/updates main 
deb http://ftp.at.debian.org/debian stable main non-free contrib

deb http://ftp.at.debian.org/debian testing main non-free contrib
deb http://ftp.at.debian.org/debian unstable main non-free contrib
deb http://www.linex.org/sources/linex/debian sarge linex
...

# apt-cache policy mozilla-firefox
mozilla-firefox:
Installed: 1.0.6-1.linex1
Candidate: 1.0.6-1.linex1
Version Table:
   1.0.6-5 0
  400 http://ftp.at.debian.org unstable/main Packages
*** 1.0.6-1.linex1 0
  990 http://www.linex.org sarge/linex Packages
  100 /var/lib/dpkg/status
   1.0.4-2sarge3 0
  500 http://security.debian.org stable/updates/main Packages
  990 http://ftp.at.debian.org testing/main Packages
   1.0.4-2 0
  400 http://ftp.at.debian.org stable/main Packages

But this is not what I want. I want to have 1.0.4-2sarge3 0 installed. 
Automatically!


Does anyone know, if this possible (by changing the apt_preferences, for 
example).




man apt_preferences, include

APT::Default-Release testing;

in /etc/apt/apt.conf (create one if you don't have one)

then include something like

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

in /etc/apt/preferences (again may need to create)

This should prevent unstable packages being given the same, or higher 
priority as testing.





I tried that but didn't work. Seems logical to me. The linex packages 
are also denoted as testing. Therefore, this doesn't work.


I really need to give to all packages of a certain site a lower 
priority. 


Any idea?

Florian.



I had the same problem with Ubuntu packages trying to upgrade unstable 
packages and put


Package:*
Pin: origin ubuntu
Pin-Priority: 100

in my preferences file so they will only install if they are the only 
version of that package available e.g. mplayer-amd64 is not in debain 
proper so it is installed.


AFAIK this will only work if the 'origin' flag is set on the package 
from linex.


HTH

Wackojacko



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Want to set apt pin-priority lower for none debian sites

2005-09-22 Thread Basajaun
Florian Sukup wrote:

[snip]

  The problem:
  testing is my target release. In my sources.list there the following
  entries:
  
  deb http://security.debian.org/ stable/updates main
  deb http://ftp.at.debian.org/debian stable main non-free contrib
  deb http://ftp.at.debian.org/debian testing main non-free contrib
  deb http://ftp.at.debian.org/debian unstable main non-free contrib
  deb http://www.linex.org/sources/linex/debian sarge linex
  ...
  
  # apt-cache policy mozilla-firefox
  mozilla-firefox:
Installed: 1.0.6-1.linex1
Candidate: 1.0.6-1.linex1
Version Table:
   1.0.6-5 0
  400 http://ftp.at.debian.org unstable/main Packages
   *** 1.0.6-1.linex1 0
  990 http://www.linex.org sarge/linex Packages
  100 /var/lib/dpkg/status
   1.0.4-2sarge3 0
  500 http://security.debian.org stable/updates/main Packages
  990 http://ftp.at.debian.org testing/main Packages
   1.0.4-2 0
  400 http://ftp.at.debian.org stable/main Packages
  
  But this is not what I want. I want to have 1.0.4-2sarge3 0 installed.

[snip]

  then include something like
 
   Package: *
   Pin: release a=unstable
   Pin-Priority: 500
 
  in /etc/apt/preferences (again may need to create)
 
  This should prevent unstable packages being given the same, or higher
  priority as testing.

 I tried that but didn't work. Seems logical to me. The linex packages
 are also denoted as testing. Therefore, this doesn't work.

[snip]

From the output of apt-cache, the LinEx package is labeled sarge,
which is Stable, not Testing. You should therefore add the following to
/etc/apt/preferences:

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

Or rather:

Package: *
Pin: release a=Etch
Pin-Priority: 1000

The latter would directly give a higher priority to Etch packages, and
make you forget about stable or unstable. Some say a=Etch is not
supported, and that it should read a=testing. I have a=Etch and it is
working so far.

Do any of the two /etc/apt/preferences inputs I give do the trick?

However, one would wonder why you include the 4th and 5th lines of your
/etc/apt/sources.list... why not just comment them out?

 Basajaun


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Want to set apt pin-priority lower for none debian sites

2005-09-22 Thread Florian Sukup
 I had the same problem with Ubuntu packages trying to upgrade unstable 
 packages and put
 
 Package:*
 Pin: origin ubuntu
 Pin-Priority: 100
 
 in my preferences file so they will only install if they are the only 
 version of that package available e.g. mplayer-amd64 is not in debain 
 proper so it is installed.
 
 AFAIK this will only work if the 'origin' flag is set on the package 
 from linex.
 

Thank you for the hints. I discovered that you have to look into the 
Release file of the repository. There you find things like origin, 
label, etc. Concerning the linex site: I couldn't access the Release 
file with a browser, I don't know the exact url, but I could filter it 
as release c=linex.

Unfortunately it all depends on the owner of the repository. I would 
prefer to depend it on the site address, since this is real.

Florian.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Want to set apt pin-priority lower for none debian sites

2005-09-22 Thread Wackojacko

Florian Sukup wrote:
I had the same problem with Ubuntu packages trying to upgrade unstable 
packages and put


Package:*
Pin: origin ubuntu
Pin-Priority: 100

in my preferences file so they will only install if they are the only 
version of that package available e.g. mplayer-amd64 is not in debain 
proper so it is installed.


AFAIK this will only work if the 'origin' flag is set on the package 
from linex.





Thank you for the hints. I discovered that you have to look into the 
Release file of the repository. There you find things like origin, 
label, etc. Concerning the linex site: I couldn't access the Release 
file with a browser, I don't know the exact url, but I could filter it 
as release c=linex.


Unfortunately it all depends on the owner of the repository. I would 
prefer to depend it on the site address, since this is real.


Florian.


I opened it with kwrite, unfortunately its origin is 'debian' so I dont 
think this will help :)  The confusion is being cused by the fact that 
this site still has sarge as testing!


You could try pinning the packages you want to hold at earlier versions 
using


Package: mozilla*
Pin: version 1.0.4*
Pin-Priority: 1001

other than that I'm out of ideas.

Wackojacko


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Want to set apt pin-priority lower for none debian sites

2005-09-22 Thread Florian Sukup
 
 I opened it with kwrite, unfortunately its origin is 'debian' so I dont 
 think this will help :)  The confusion is being cused by the fact that 
 this site still has sarge as testing!
 

What's the url of this Release file? I couldn't find it.

Especially for this site I could use the component filter (release 
c=linex), so I can solve it this way.

 You could try pinning the packages you want to hold at earlier versions 
 using
 
 Package: mozilla*
 Pin: version 1.0.4*
 Pin-Priority: 1001
 

Hm, the way above seems to be better.

Thank you for your help.

Florian.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Want to set apt pin-priority lower for none debian sites

2005-09-22 Thread Wackojacko

Florian Sukup wrote:
I opened it with kwrite, unfortunately its origin is 'debian' so I dont 
think this will help :)  The confusion is being cused by the fact that 
this site still has sarge as testing!





What's the url of this Release file? I couldn't find it.


http://www.linex.org/sources/linex/debian/dists/sarge/linex/binary-i386/

Especially for this site I could use the component filter (release 
c=linex), so I can solve it this way.




I didn't know you could use the component in this way, I think this is 
probably the best solution for this site at least.




You could try pinning the packages you want to hold at earlier versions 
using


Package: mozilla*
Pin: version 1.0.4*
Pin-Priority: 1001




Hm, the way above seems to be better.


Agreed.


Thank you for your help.

Florian.


No problem

Wackojacko.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]