pkgsrc-Users archive

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

Re: is pkg_rolling-replace -X still working?



Joerg Sonnenberger <joerg%britannica.bec.de@localhost> writes:

> On Tue, Jul 28, 2009 at 04:56:27PM +0200, Jörn Clausen wrote:
>> Hi!
>> 
>> > In order to continue with upgrading my packages despite pkg/41790, I tried
>> >
>> > $ pkg_rolling-replace -rsuv -X mail/mutt-devel
>> >
>> > (and -X mutt-devel), but pkg_rolling-replace insists on rebuilding
>> > that package.
>> 
>> The solution was "-X mutt" instead of "-X mutt-devel". Do I have to
>> understand this? Is the part after the last dash always interpreted as
>> a version "number"?
>
> The package base name is mutt for mutt-devel. E.g. it is called
> mutt-1.5.19nb2, not mutt-delvel-1.5.19nb2.

For better or for worse, excluding is done based on the name of the
installed package.  Typically foo and foo-devel install different
versions of the same package, and I didn't realize that this was the
problem on your earlier posting.

If you would like to make a patch to pkg_rr that also causes -X to
exclude based on PKGPATH in addition to PKGNAME, I'd be happy to look at
it.  But I suspect you'll say -X mutt from now on....

Attachment: pgp0aPUW9fwht.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index