FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 12-03-2011, 12:36 PM
Christian Hesse
 
Default provide with version

Hello everybody,

I would like to replace xz 5.0.3-1 with xz-git 20111203-1. I added

provides([...] 'xz')

to the PKGBUILD, but the dependencies for libarchive (requires xz>=5.0.0) are
not met. Any chance I can fix that?
--
Best regards,
Chris
 
Old 12-03-2011, 12:51 PM
Christian Hesse
 
Default provide with version

Alex Ferrando <alferpal@gmail.com> on Sat, 03 Dec 2011 15:43:05 +0100:
> On 03/12/11 14:36, Christian Hesse wrote:
> > Hello everybody,
> >
> > I would like to replace xz 5.0.3-1 with xz-git 20111203-1. I added
> >
> > provides([...] 'xz')
> >
> > to the PKGBUILD, but the dependencies for libarchive (requires xz>=5.0.0)
> > are not met. Any chance I can fix that?
>
> Use provides(xz=5.0.0), more info on [1]
>
> [1]= https://wiki.archlinux.org/index.php/Pkgbuild#provides

Uh, I tried with '>' and '>='... Thanks a lot, works like a charm!
--
Schoene Gruesse
Chris
 
Old 12-03-2011, 01:43 PM
Alex Ferrando
 
Default provide with version

On 03/12/11 14:36, Christian Hesse wrote:

Hello everybody,

I would like to replace xz 5.0.3-1 with xz-git 20111203-1. I added

provides([...] 'xz')

to the PKGBUILD, but the dependencies for libarchive (requires xz>=5.0.0) are
not met. Any chance I can fix that?


Use provides(xz=5.0.0), more info on [1]

[1]= https://wiki.archlinux.org/index.php/Pkgbuild#provides

--
Alex Ferrando
 
Old 12-04-2011, 02:01 PM
clemens fischer
 
Default provide with version

Alex Ferrando wrote:

> Use provides(xz=5.0.0), more info on [1]
>
> [1]= https://wiki.archlinux.org/index.php/Pkgbuild#provides

Shouldn't this be "provides=('xz=5.0.0')"? Afterall, this is an array
variable? Or is there a bash function provides() of the same name?


clemens
 
Old 12-04-2011, 02:30 PM
Alex Ferrando
 
Default provide with version

On 04/12/11 16:01, clemens fischer wrote:

Alex Ferrando wrote:


Use provides(xz=5.0.0), more info on [1]

[1]= https://wiki.archlinux.org/index.php/Pkgbuild#provides

Shouldn't this be "provides=('xz=5.0.0')"? Afterall, this is an array
variable? Or is there a bash function provides() of the same name?


clemens



That's right, it should have been provides=('xz=5.0.0'). I wrote it
wrong. I didn't realize of the typo until now


--
Alex Ferrando
 
Old 12-04-2011, 02:41 PM
Christian Hesse
 
Default provide with version

Alex Ferrando <alferpal@gmail.com> on Sun, 04 Dec 2011 16:30:42 +0100:
> On 04/12/11 16:01, clemens fischer wrote:
> > Alex Ferrando wrote:
> >
> >> Use provides(xz=5.0.0), more info on [1]
> >>
> >> [1]= https://wiki.archlinux.org/index.php/Pkgbuild#provides
> > Shouldn't this be "provides=('xz=5.0.0')"? Afterall, this is an array
> > variable? Or is there a bash function provides() of the same name?
> >
> >
> > clemens
> >
>
> That's right, it should have been provides=('xz=5.0.0'). I wrote it
> wrong. I didn't realize of the typo until now

Hmm... Did not notice the typo as well...
I used the correct syntax automatically. Being a human can be bad and
good.
--
Best regards,
Chris
 
Old 12-06-2011, 04:47 PM
clemens fischer
 
Default provide with version

Christian Hesse wrote:

> Hmm... Did not notice the typo as well...
> I used the correct syntax automatically. Being a human can be bad and
> good.

Right. But people consulting mailinglists might not know all the ins
and outs. Therefore writing precise statements and citing without
cut&paste errors might - for somebody else unbeknownst to the writer(!)
- be the difference between "Ah! works! Nice!" and "Oh well, this is
like micro$oft/apple, gotta live with it afterall".

And it is about taking risks: Do I get hurt by slipping on the bar of
soap I myself dropped earlier, or do I hurt somebody else I do not even
know or care about by driving drunk? People will call it an accident
either way.


clemens
 

Thread Tools




All times are GMT. The time now is 07:04 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org