[ale] Ale Digest, Vol 20, Issue 17

peyrani.areasud at libero.it peyrani.areasud at libero.it
Tue Sep 8 02:46:11 EDT 2009


Messieurs,
En Vous remerçiant pour la Documentations envoyèe à la date odierne ,Nous Vous prions de bien vouloir arretèr l'envoi dans le future vu que le projet de Verone Italie est dejà
en cours.
Meilleurs  salutations
L.Renzo

---------- Initial Header -----------

>From      : ale-bounces at ale.org
To          : ale at ale.org
Cc          : 
Date      : Mon, 07 Sep 2009 12:00:02 -0400
Subject : Ale Digest, Vol 20, Issue 17







> Send Ale mailing list submissions to
> 	ale at ale.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mail.ale.org/mailman/listinfo/ale
> or, via email, send a message with subject or body 'help' to
> 	ale-request at ale.org
> 
> You can reach the person managing the list at
> 	ale-owner at ale.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ale digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Epic 'wish I had chosen Debian' fail (Richard Bronosky)
>    2. Re: Using sed to print package names (Brian Pitts)
>    3. Re: Using sed to print package names (scott mcbrien)
>    4. Re: Epic 'wish I had chosen Debian' fail (Jim Kinney)
>    5. Re: Epic 'wish I had chosen Debian' fail (Michael H. Warfield)
>    6. Re: Epic 'wish I had chosen Debian' fail (Richard Bronosky)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sun, 6 Sep 2009 22:52:47 -0400
> From: Richard Bronosky <Richard at Bronosky.com>
> Subject: Re: [ale] Epic 'wish I had chosen Debian' fail
> To: "Atlanta Linux Enthusiasts - Yes! We run Linux!" <ale at ale.org>
> Message-ID:
> 	<ced68de90909061952m242ecafdh99a0c6684d640d35 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> I never did learn how to add a source repo to yum, but I did work
> around it. The following works for downloading a source package:
> 
> p=postfix; # Change this to your packagename.
> curl -O $(yumdownloader --urls $p |sed
> '$!d;s?/os/.*/?/os/SRPMS/?;s/[^.]*\.rpm$/src.rpm/')
> 
> .!# RichardBronosky #!.
> 
> 
> 
> On Sun, Sep 6, 2009 at 1:09 AM, Richard Bronosky<Richard at bronosky.com> wrote:
> > I just spent 3 hours trying to install postfix compiled with mysql
> > support. Most of that time was spent trying to get a source repo added
> > so I could: yumdownloader --source postfix
> >
> > No luck. Wasted night. I could have really used the sleep. </rant>
> >
> > --
> > Sent from my mobile device
> >
> > .!# RichardBronosky #!.
> >
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Sun, 06 Sep 2009 22:56:14 -0400
> From: Brian Pitts <brian at polibyte.com>
> Subject: Re: [ale] Using sed to print package names
> To: "Atlanta Linux Enthusiasts - Yes! We run Linux!" <ale at ale.org>
> Message-ID: <4AA4764E.3060501 at polibyte.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> On 09/06/2009 11:13 AM, Matty wrote:
> > Howdy,
> > 
> > Does anyone happen to have a sed recipe to split a package name like:
> > 
> > yum-metadata-parser-1.1.2-12.fc11.x86_64
> > 
> > Into:
> > 
> > $1 -> yum-metadata-parser
> > $2 -> -1.*
> > 
> > I have a working solution in perl and python, but sed is another story.
> > 
> 
> Could you use grep instead of sed? If so, you might be able to reuse
> your perl regexp with grep --perl-regexp. Also, here are two simple
> egrep expreesions that seem to work.
> 
> $ echo 'yum-metadata-parser-1.1.2-12.fc11.x86_64' | grep -Eo '[-a-z]+[a-z]'
> 
> yum-metadata-parser
> fc
> 
> $ echo 'yum-metadata-parser-1.1.2-12.fc11.x86_64' | grep -Eo
> '[0-9]+[-.1-9]+fc[0-9]{1,2}.(x86_64|i386)'
> 
> 1.1.2-12.fc11.x86_64
> 
> -- 
> All the best,
> Brian Pitts
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Sun, 6 Sep 2009 23:31:13 -0400
> From: scott mcbrien <smcbrien at gmail.com>
> Subject: Re: [ale] Using sed to print package names
> To: "Atlanta Linux Enthusiasts - Yes! We run Linux!" <ale at ale.org>
> Message-ID:
> 	<6c56c38a0909062031n74766eechdaa8069a4bb3e34f at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Again, I suggest using rpm with --queryformat with something that's not part
> of the package, like a space or * or something that you could use as your
> field delimiter.  Then the rules for your regular expression make it trivial
> to get out the bits you want.  Like:
> rpm -qa --queryformat '%{name} %{version}-%{release} %{arch}\n'
> 
> -Scott
> 
> On Sun, Sep 6, 2009 at 10:56 PM, Brian Pitts <brian at polibyte.com> wrote:
> 
> > On 09/06/2009 11:13 AM, Matty wrote:
> > > Howdy,
> > >
> > > Does anyone happen to have a sed recipe to split a package name like:
> > >
> > > yum-metadata-parser-1.1.2-12.fc11.x86_64
> > >
> > > Into:
> > >
> > > $1 -> yum-metadata-parser
> > > $2 -> -1.*
> > >
> > > I have a working solution in perl and python, but sed is another story.
> > >
> >
> > Could you use grep instead of sed? If so, you might be able to reuse
> > your perl regexp with grep --perl-regexp. Also, here are two simple
> > egrep expreesions that seem to work.
> >
> > $ echo 'yum-metadata-parser-1.1.2-12.fc11.x86_64' | grep -Eo '[-a-z]+[a-z]'
> >
> > yum-metadata-parser
> > fc
> >
> > $ echo 'yum-metadata-parser-1.1.2-12.fc11.x86_64' | grep -Eo
> > '[0-9]+[-.1-9]+fc[0-9]{1,2}.(x86_64|i386)'
> >
> > 1.1.2-12.fc11.x86_64
> >
> > --
> > All the best,
> > Brian Pitts
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://mail.ale.org/mailman/listinfo/ale
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mail.ale.org/pipermail/ale/attachments/20090906/cfe8e06c/attachment-0001.html 
> 
> ------------------------------
> 
> Message: 4
> Date: Mon, 7 Sep 2009 08:39:05 -0400
> From: Jim Kinney <jim.kinney at gmail.com>
> Subject: Re: [ale] Epic 'wish I had chosen Debian' fail
> To: "Atlanta Linux Enthusiasts - Yes! We run Linux!" <ale at ale.org>
> Message-ID:
> 	<437d2f230909070539x12e4ac2cn68bd447607098e4 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> In Fedora, check the /etc/yum.repos.d/fedora.repo file. The default
> has a section:
> 
> [fedora-source]
> name=Fedora $releasever - Source
> failovermethod=priority
> #baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
> enabled=0
> metadata_expire=7d
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
> 
> 
> Change the "enabled=0" to "enabled=1".
> 
> Then it should be
> 
> yum install foo.src
> 
> On Sun, Sep 6, 2009 at 10:52 PM, Richard Bronosky<Richard at bronosky.com> wrote:
> > I never did learn how to add a source repo to yum, but I did work
> > around it. The following works for downloading a source package:
> >
> > p=postfix; # Change this to your packagename.
> > curl -O $(yumdownloader --urls $p |sed
> > '$!d;s?/os/.*/?/os/SRPMS/?;s/[^.]*\.rpm$/src.rpm/')
> >
> > .!# RichardBronosky #!.
> >
> >
> >
> > On Sun, Sep 6, 2009 at 1:09 AM, Richard Bronosky<Richard at bronosky.com> wrote:
> >> I just spent 3 hours trying to install postfix compiled with mysql
> >> support. Most of that time was spent trying to get a source repo added
> >> so I could: yumdownloader --source postfix
> >>
> >> No luck. Wasted night. I could have really used the sleep. </rant>
> >>
> >> --
> >> Sent from my mobile device
> >>
> >> .!# RichardBronosky #!.
> >>
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://mail.ale.org/mailman/listinfo/ale
> >
> 
> 
> 
> -- 
> -- 
> James P. Kinney III
> Actively in pursuit of Life, Liberty and Happiness
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Mon, 07 Sep 2009 11:37:06 -0400
> From: "Michael H. Warfield" <mhw at WittsEnd.com>
> Subject: Re: [ale] Epic 'wish I had chosen Debian' fail
> To: Atlanta Linux Enthusiasts - Yes! We run Linux! <ale at ale.org>
> Cc: mhw at WittsEnd.com
> Message-ID: <1252337826.10642.154.camel at canyon.wittsend.com>
> Content-Type: text/plain; charset="us-ascii"
> 
> On Sun, 2009-09-06 at 22:52 -0400, Richard Bronosky wrote:
> > I never did learn how to add a source repo to yum, but I did work
> > around it. The following works for downloading a source package:
> 
> > p=postfix; # Change this to your packagename.
> > curl -O $(yumdownloader --urls $p |sed
> > '$!d;s?/os/.*/?/os/SRPMS/?;s/[^.]*\.rpm$/src.rpm/')
> > 
> > .!# RichardBronosky #!.
> 
> How about "yumdownloader --source foo"
> 
> It's in yum-utils.  I use it all the time to snatch rawhide source rpm's
> (like the gnupg and gnupg2 packages just recently) to backport into
> earlier distros:
> 
> yumdownloader --enablerepo=rawhide --source gnupg gnupg2
> 
> Done.  Install the rpms and rebuild them.
> 
> 	Mike
> 
> > On Sun, Sep 6, 2009 at 1:09 AM, Richard Bronosky<Richard at bronosky.com> wrote:
> > > I just spent 3 hours trying to install postfix compiled with mysql
> > > support. Most of that time was spent trying to get a source repo added
> > > so I could: yumdownloader --source postfix
> > >
> > > No luck. Wasted night. I could have really used the sleep. </rant>
> > >
> > > --
> > > Sent from my mobile device
> > >
> > > .!# RichardBronosky #!.
> > >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://mail.ale.org/mailman/listinfo/ale
> 
> -- 
> Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw at WittsEnd.com
>    /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
>    NIC whois: MHW9          | An optimist believes we live in the best of all
>  PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 482 bytes
> Desc: This is a digitally signed message part
> Url : http://mail.ale.org/pipermail/ale/attachments/20090907/430fa1e2/attachment-0001.bin 
> 
> ------------------------------
> 
> Message: 6
> Date: Mon, 7 Sep 2009 11:56:10 -0400
> From: Richard Bronosky <Richard at Bronosky.com>
> Subject: Re: [ale] Epic 'wish I had chosen Debian' fail
> To: mhw at wittsend.com,	"Atlanta Linux Enthusiasts - Yes! We run Linux!"
> 	<ale at ale.org>
> Message-ID:
> 	<ced68de90909070856t6c6bf3dem2fa115574afb9381 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> --source is exactly what I was trying, but the default CentOS install
> does list any source repos. I cannot find any documentation on adding
> source repos to CentOS.
> 
> On 9/7/09, Michael H. Warfield <mhw at wittsend.com> wrote:
> > On Sun, 2009-09-06 at 22:52 -0400, Richard Bronosky wrote:
> >> I never did learn how to add a source repo to yum, but I did work
> >> around it. The following works for downloading a source package:
> >
> >> p=postfix; # Change this to your packagename.
> >> curl -O $(yumdownloader --urls $p |sed
> >> '$!d;s?/os/.*/?/os/SRPMS/?;s/[^.]*\.rpm$/src.rpm/')
> >>
> >> .!# RichardBronosky #!.
> >
> > How about "yumdownloader --source foo"
> >
> > It's in yum-utils.  I use it all the time to snatch rawhide source rpm's
> > (like the gnupg and gnupg2 packages just recently) to backport into
> > earlier distros:
> >
> > yumdownloader --enablerepo=rawhide --source gnupg gnupg2
> >
> > Done.  Install the rpms and rebuild them.
> >
> > 	Mike
> >
> >> On Sun, Sep 6, 2009 at 1:09 AM, Richard Bronosky<Richard at bronosky.com>
> >> wrote:
> >> > I just spent 3 hours trying to install postfix compiled with mysql
> >> > support. Most of that time was spent trying to get a source repo added
> >> > so I could: yumdownloader --source postfix
> >> >
> >> > No luck. Wasted night. I could have really used the sleep. </rant>
> >> >
> >> > --
> >> > Sent from my mobile device
> >> >
> >> > .!# RichardBronosky #!.
> >> >
> >> _______________________________________________
> >> Ale mailing list
> >> Ale at ale.org
> >> http://mail.ale.org/mailman/listinfo/ale
> >
> > --
> > Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw at WittsEnd.com
> >    /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
> >    NIC whois: MHW9          | An optimist believes we live in the best of
> > all
> >  PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!
> >
> 
> -- 
> Sent from my mobile device
> 
> .!# RichardBronosky #!.
> 
> 
> ------------------------------
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> 
> 
> End of Ale Digest, Vol 20, Issue 17
> ***********************************
> 




More information about the Ale mailing list