Re: [Cooker] rpm question (provides / conflicts similar packages)

2003-09-03 Thread Buchan Milne
On Wed, 3 Sep 2003, Luca Berra wrote:

> On Wed, Sep 03, 2003 at 06:35:50PM +0200, Buchan Milne wrote:
> >So, now assuming:
> >1)I don't want samba3-client to be installed by default if a user has
> >main and contrib urpmi media and they run 'urpmi samba-client'
> >2)I want them to be able to choose samba3-client (or install it
> >seperately and not have to keep samba-client-2.2.8a-Xmdk installed to
> >satisfy dependencies on 'samba-client')
> >3)I don't want anyone with samba-client-2.2.8a-8mdk or earlier to be
> >able to install samba3-client-3.0.0-0.rc2.2mdk or later if built with
> >alternatives support
> rename samba to samba2?
> 

Not an ideal solution, and I would still have to conflicts samba-client < 
2.2.8a-9mdk, and would probably want to have samba2-client provide 
samba-client = %{version}-%{release}.

samba->samba2 has already been implemented, and will take effect when 
samba3->samba (samba3 in main) and samba->samba2 (samba2 in contrib).

Regards,
Buchan

-- 
|Registered Linux User #182071-|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
*
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy.
*



Re: [Cooker] rpm question (provides / conflicts similar packages)

2003-09-03 Thread Luca Berra
On Wed, Sep 03, 2003 at 06:35:50PM +0200, Buchan Milne wrote:
So, now assuming:
1)I don't want samba3-client to be installed by default if a user has
main and contrib urpmi media and they run 'urpmi samba-client'
2)I want them to be able to choose samba3-client (or install it
seperately and not have to keep samba-client-2.2.8a-Xmdk installed to
satisfy dependencies on 'samba-client')
3)I don't want anyone with samba-client-2.2.8a-8mdk or earlier to be
able to install samba3-client-3.0.0-0.rc2.2mdk or later if built with
alternatives support
rename samba to samba2?

L.

--
Luca Berra -- [EMAIL PROTECTED]
   Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
 XAGAINST HTML MAIL
/ \


Re: [Cooker] rpm question (provides / conflicts similar packages)

2003-09-03 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Charles A Edwards wrote:
> On Wed, 03 Sep 2003 19:11:34 +0200
> Buchan Milne <[EMAIL PROTECTED]> wrote:
>
>
>>Hmm, this could work, *if* I tighten the requires on samba-client to =
>>samba-common-%{version}-%{release} (currently it's only %{version}).
>
>
> Well, you could drop the release from the Conflict if you do not want
> any release of  2.2.8a would 'update' to samba3.
>
> As you worded your original you were only concerned if samba-client <
> 2.2.8a-9 was being used.
>
> BTW if the release tag is used urpmi Will update to 3.0.0 anyone running
>  2.2.8a >= 2.2.8a-9

Yes, I actually wanted to avoid a Provides: samba-client with version
information, but I think:

Provides: samba-client
Conflicts: samba-common < 2.2.8a-9mdk

should do enough of what I want if I tighten the requires on
samba-client (except they could be stuck with a samba-client-2.2.8a-8mdk
and samba-common-2.2.8a-9mdk, unless I conflict samba-client <
2.2.8a-9mdk, but then I will end up with a circular conflict back to
samba3-client).

Hmm, will play with this a bit while I fix a few other things.

Maybe I should not worry about the conflicts, it will just cause the
update-alternatives to fail ... (could be worse).

There must be a solution, but the only complete one I can think of
(Epoch) isnt't very attractive ...

Regards,
Buchan

- --
|--Another happy Mandrake Club member--|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/VinCrJK6UGDSBKcRAjQuAKCgxFkY+zQXgrLgpBYlumMItTExZwCaAvGi
aqRXZZESuYiY0QCnJhwUfy0=
=vswd
-END PGP SIGNATURE-

*
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy.
*



Re: [Cooker] rpm question (provides / conflicts similar packages)

2003-09-03 Thread Charles A Edwards
On Wed, 03 Sep 2003 19:11:34 +0200
Buchan Milne <[EMAIL PROTECTED]> wrote:

> Hmm, this could work, *if* I tighten the requires on samba-client to =
> samba-common-%{version}-%{release} (currently it's only %{version}).

Well, you could drop the release from the Conflict if you do not want
any release of  2.2.8a would 'update' to samba3.

As you worded your original you were only concerned if samba-client <
2.2.8a-9 was being used.

BTW if the release tag is used urpmi Will update to 3.0.0 anyone running
 2.2.8a >= 2.2.8a-9


Charles

-- 
If it's stupid but it works, it isn't stupid
-- Murphy's Military Laws n°36
-
Mandrake Linux 9.2 on PurpleDragon
Kernel-2.4.22-3.tmb.2mdkenterprise 
-


pgp0.pgp
Description: PGP signature


Re: [Cooker] rpm question (provides / conflicts similar packages)

2003-09-03 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Charles A Edwards wrote:
> On Wed, 03 Sep 2003 18:35:50 +0200
> Buchan Milne <[EMAIL PROTECTED]> wrote:
>
>
>>How should I solve this problem?
>
> Provides: samba-client = 3.0.0-0.rc2.2mdk
> Conflicts: samba-common < 2.2.8a-9
>
> If called as urpmi samba-client, urpmi will offer the choice of 3.0.0
> or 2.2.8a
> By same token if any version of samba-common < 2.2.8a-9 is on the
> running system installation of client3 will not be allowed.

Hmm, this could work, *if* I tighten the requires on samba-client to =
samba-common-%{version}-%{release} (currently it's only %{version}).

Thanks, I will give it a test, and maybe tomorrow morning we will have a
samba3-client we can actually install (I was testing
update-alternatives, so used --force a bit, so missed this one ...).

But update-alternatives works acceptably now (bonus points for telling
me how to get the most recently installed smbclient to be the "best"
one, at present smbclient2 is always the "best" one).

Regards,
Buchan

- --
|--Another happy Mandrake Club member--|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/ViDFrJK6UGDSBKcRAgXeAJ9e6NrOXpMEOcflzxHmj8H9hVIapgCeJ0QJ
n5bcSSBpgFAl3OFBXjsU1+A=
=tLG2
-END PGP SIGNATURE-

*
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy.
*



Re: [Cooker] rpm question (provides / conflicts similar packages)

2003-09-03 Thread Charles A Edwards
On Wed, 03 Sep 2003 18:35:50 +0200
Buchan Milne <[EMAIL PROTECTED]> wrote:

> How should I solve this problem?

Provides: samba-client = 3.0.0-0.rc2.2mdk
Conflicts: samba-common < 2.2.8a-9

If called as urpmi samba-client, urpmi will offer the choice of 3.0.0
or 2.2.8a
By same token if any version of samba-common < 2.2.8a-9 is on the
running system installation of client3 will not be allowed.


Charles


-- 
Why are you so hard to ignore?
-
Mandrake Linux 9.2 on PurpleDragon
Kernel-2.4.22-3.tmb.2mdkenterprise 
-


pgp0.pgp
Description: PGP signature