RE: Yum Digest, Vol 60, Issue 10

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

 



Thank you for the key Seth.

would the command to add this be rpm --import gpg-pubkey-0x69886CC7

Thank you again.

Regards,
Richard

-----Original Message-----
From: yum-bounces@xxxxxxxxxxxxxxxxxxxx
[mailto:yum-bounces@xxxxxxxxxxxxxxxxxxxx]On Behalf Of
yum-request@xxxxxxxxxxxxxxxxxxxx
Sent: Friday, July 18, 2008 10:39 AM
To: yum@xxxxxxxxxxxxxxxxxxxx
Subject: Yum Digest, Vol 60, Issue 10


Send Yum mailing list submissions to
	yum@xxxxxxxxxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.dulug.duke.edu/mailman/listinfo/yum
or, via email, send a message with subject or body 'help' to
	yum-request@xxxxxxxxxxxxxxxxxxxx

You can reach the person managing the list at
	yum-owner@xxxxxxxxxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Yum digest..."


Today's Topics:

   1. Re: set priority for yum repository (seth vidal)
   2. Re: set priority for yum repository (Muayyad AlSadi)
   3. Re: ow to update a minimal local repo (seth vidal)
   4. Re: set priority for yum repository (seth vidal)
   5. Re: set priority for yum repository (Phil Li)
   6. yum grouplist and locale: CTYPE vs MESSAGES (Axel Thimm)
   7. missing  GPG public key (Richard.S.Abbott@xxxxxxxxx)
   8. check-update fails after yum-upgrade is interrupted (Flatfender)
   9. Re: missing  GPG public key (seth vidal)
  10. Re: check-update fails after yum-upgrade is interrupted
      (seth vidal)


----------------------------------------------------------------------

Message: 1
Date: Thu, 17 Jul 2008 12:14:03 -0400
From: seth vidal <skvidal@xxxxxxxxxxxxxxxxx>
Subject: Re:  set priority for yum repository
To: "Yellowdog Updater, Modified" <yum@xxxxxxxxxxxxxxxxxxxx>
Message-ID: <1216311243.11915.2.camel@rosebud>
Content-Type: text/plain

On Thu, 2008-07-17 at 11:12 -0400, Phil Li wrote:
> Hello,
> 
> We want "yum install" to check the local repository before checking
> other mirror repositories. Is this possible?
> 
> The man page of yum.conf says "If you list more than one baseurl=
> statement in a repository you will  find  yum  will  ignore  the
> earlier ones and probably act
> bizarrely. Don't do this, you've been warned."
> 
> We would like to create a local repository, which only contains
> essential packages. Even without Internet connection, students can
> practice using yum to install certain packages. However, if the
> Internet connection is available and the packages are not available
> locally, yum will search the online repository (e.g.
> mirrors.kernel.org). Is this possible?


you can have multiple urls on a single baseurl= line in a conf file -
that's just defining different mirrors. However, typically, that means
you have a local mirror, not a partial copy of some of the data.

If you really want to do that, I'd suggest copying the pkgs you care
about to local but making sure the metadata is identical to what's on
the upstream mirror. Then you can specify the additional baseurl and yum
will move through each of them until it finds a responsive/working
mirror.

does that help?
-sv




------------------------------

Message: 2
Date: Thu, 17 Jul 2008 19:26:00 +0300
From: "Muayyad AlSadi" <alsadi@xxxxxxxxx>
Subject: Re:  set priority for yum repository
To: "Yellowdog Updater, Modified" <yum@xxxxxxxxxxxxxxxxxxxx>
Message-ID:
	<385866f0807170926h48cc122fvaa1ca6751b5181a2@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1

> We want "yum install" to check the local repository before checking other mirror repositories. Is this possible?
yes, just give it a smaller cost in the .repo file

cost=400

for example
[local-fedora-cache]
name=cache for fedora- i386
failovermethod=priority
baseurl=file:///opt/cache/fedora/packages/
enabled=1
gpgcheck=0
cost=400


On Thu, Jul 17, 2008 at 7:14 PM, seth vidal <skvidal@xxxxxxxxxxxxxxxxx> wrote:
> On Thu, 2008-07-17 at 11:12 -0400, Phil Li wrote:
>> Hello,
>>
>> We want "yum install" to check the local repository before checking
>> other mirror repositories. Is this possible?
>>
>> The man page of yum.conf says "If you list more than one baseurl=
>> statement in a repository you will  find  yum  will  ignore  the
>> earlier ones and probably act
>> bizarrely. Don't do this, you've been warned."
>>
>> We would like to create a local repository, which only contains
>> essential packages. Even without Internet connection, students can
>> practice using yum to install certain packages. However, if the
>> Internet connection is available and the packages are not available
>> locally, yum will search the online repository (e.g.
>> mirrors.kernel.org). Is this possible?
>
>
> you can have multiple urls on a single baseurl= line in a conf file -
> that's just defining different mirrors. However, typically, that means
> you have a local mirror, not a partial copy of some of the data.
>
> If you really want to do that, I'd suggest copying the pkgs you care
> about to local but making sure the metadata is identical to what's on
> the upstream mirror. Then you can specify the additional baseurl and yum
> will move through each of them until it finds a responsive/working
> mirror.
>
> does that help?
> -sv
>
>
> _______________________________________________
> Yum mailing list
> Yum@xxxxxxxxxxxxxxxxxxxx
> https://lists.dulug.duke.edu/mailman/listinfo/yum
>


------------------------------

Message: 3
Date: Thu, 17 Jul 2008 12:43:12 -0400
From: seth vidal <skvidal@xxxxxxxxxxxxxxxxx>
Subject: Re:  ow to update a minimal local repo
To: "Yellowdog Updater, Modified" <yum@xxxxxxxxxxxxxxxxxxxx>
Message-ID: <1216312992.11915.9.camel@rosebud>
Content-Type: text/plain

On Wed, 2008-07-16 at 02:06 +0300, Muayyad AlSadi wrote:
> the attached file is my trial,
> 
> I need to know how to populate the Sack after enableing/disabling some repos
> and where should repos.close() be put

changes below:
# return to default repos
for repo in my.repos.listEnabled():
    repo.sack.close()
    repo.close()

my.repos.disableRepo('*')
for i in repos_id: my.repos.enableRepo(i);

my.repos.disableRepo('local*')


Try that.


-sv




------------------------------

Message: 4
Date: Thu, 17 Jul 2008 12:44:22 -0400
From: seth vidal <skvidal@xxxxxxxxxxxxxxxxx>
Subject: Re:  set priority for yum repository
To: "Yellowdog Updater, Modified" <yum@xxxxxxxxxxxxxxxxxxxx>
Message-ID: <1216313062.11915.11.camel@rosebud>
Content-Type: text/plain

On Thu, 2008-07-17 at 19:26 +0300, Muayyad AlSadi wrote:
> > We want "yum install" to check the local repository before checking other mirror repositories. Is this possible?
> yes, just give it a smaller cost in the .repo file
> 
> cost=400
> 
> for example
> [local-fedora-cache]
> name=cache for fedora- i386
> failovermethod=priority
> baseurl=file:///opt/cache/fedora/packages/
> enabled=1
> gpgcheck=0
> cost=400

the only problem is he wants yum to function even when not connected to
the net. So, he has to make it so his repos won't fail to have any valid
mirrors. so using cost on another mirror would work, if only he's
willing to disable the other repos when not on the net.

-sv




------------------------------

Message: 5
Date: Thu, 17 Jul 2008 15:32:52 -0400
From: "Phil Li" <pli888@xxxxxxxxx>
Subject: Re:  set priority for yum repository
To: "Yellowdog Updater, Modified" <yum@xxxxxxxxxxxxxxxxxxxx>
Message-ID:
	<631cf85c0807171232p31898c2eo6f1394ee597141ef@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1

Many thanks for the replies! I did not know the option "cost" :-)
I would like to use createrepo to build a small local repository
inside a virtual machine. The size of the repository should be as
small as possible. The VM will be distributed to students on a CD/DVD.
Even without network connection, they can use yum to install a few
packages. If Internet connection is available, I hope they can install
any package from an online repository (e.g. kernel.org) using yum.

On 7/17/08, seth vidal <skvidal@xxxxxxxxxxxxxxxxx> wrote:
> On Thu, 2008-07-17 at 19:26 +0300, Muayyad AlSadi wrote:
> > > We want "yum install" to check the local repository before checking other mirror repositories. Is this possible?
> > yes, just give it a smaller cost in the .repo file
> >
> > cost=400
> >
> > for example
> > [local-fedora-cache]
> > name=cache for fedora- i386
> > failovermethod=priority
> > baseurl=file:///opt/cache/fedora/packages/
> > enabled=1
> > gpgcheck=0
> > cost=400
>
> the only problem is he wants yum to function even when not connected to
> the net. So, he has to make it so his repos won't fail to have any valid
> mirrors. so using cost on another mirror would work, if only he's
> willing to disable the other repos when not on the net.
>
> -sv
>
>
> _______________________________________________
> Yum mailing list
> Yum@xxxxxxxxxxxxxxxxxxxx
> https://lists.dulug.duke.edu/mailman/listinfo/yum
>


------------------------------

Message: 6
Date: Fri, 18 Jul 2008 15:16:19 +0300
From: Axel Thimm <Axel.Thimm@xxxxxxxxxx>
Subject:  yum grouplist and locale: CTYPE vs MESSAGES
To: yum@xxxxxxxxxxxxxxxxxxxx
Message-ID: <20080718121619.GD20338@xxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

Hi,

my locale is en_US.UTF-8 other than LC_CTYPE which is de_DE.UTF-8 for
allowing German character conversions.

This works nicely, e.g. all apps talk to me in English :)

I just found that while yum itself is also talking in English with me,
when I ask for a grouplist it presents it in German, e.g. using
LC_CTYPE settings instead of LC_MESSAGES. Other yum commands like yum
info for example are using LC_MESSAGES.

Would it make sense to change yum to use LC_MESSAGES instead of
LC_CTYPE in grouplist as well? And maybe anywhere else yum may be
using LC_CTYPE?
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.dulug.duke.edu/pipermail/yum/attachments/20080718/0315f887/attachment-0001.bin

------------------------------

Message: 7
Date: Fri, 18 Jul 2008 10:23:20 -0400
From: <Richard.S.Abbott@xxxxxxxxx>
Subject:  missing  GPG public key
To: <yum@xxxxxxxxxxxxxxxxxxxx>
Message-ID:
	<CE52A78AC6E8AC41A5DA1DD7E40EDCD426F044@xxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain;	charset="iso-8859-1"

Hi,

I downloaded yum version yum-2.6.1.-1.src.rpm and when I ran the rpm --checksig, I received error message (GPG) NOT OK (MISSING KEYS: GPG#69886CC7).  Can someone please tell me where I can download the GPG public key.  I could not find it on your website.

Sorry if I do not make sense, I have less then 2 weeks experience with Redhat.  

BTW - version I am working with is RHEL 4.4 and 4.5.

Regards,
Richard Abbott
Marketing Wintel
Chase Card Services
(302) 282-2818



-----------------------------------------
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law.  If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED.  Although this transmission and
any attachments are believed to be free of any virus or other
defect that might affect any computer system into which it is
received and opened, it is the responsibility of the recipient to
ensure that it is virus free and no responsibility is accepted by
JPMorgan Chase & Co., its subsidiaries and affiliates, as
applicable, for any loss or damage arising in any way from its use.
 If you received this transmission in error, please immediately
contact the sender and destroy the material in its entirety,
whether in electronic or hard copy format. Thank you.


------------------------------

Message: 8
Date: Fri, 18 Jul 2008 10:32:01 -0400
From: Flatfender <flatfender@xxxxxxxxx>
Subject:  check-update fails after yum-upgrade is interrupted
To: yum@xxxxxxxxxxxxxxxxxxxx
Message-ID:
	<b2eaf30c0807180732n20362751xfaca9e199958a5f5@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1

Yum guru's,



Yesterday I was in the middle of a yum upgrade when my session got
lost in the middle (grr, I didn't start screen first).  Anyways this
morning I tried to do a yum check-update to see if things got messed
up b/c the upgrade was terminated in the middle.  Running yum
check-upgrade fails with the following.  Seems like maybe the db's are
corrupted ?  This is on Centos 5.2, being upgraded from 5.0  and yum
3.0.5



Traceback (most recent call last):

  File "/usr/bin/yum", line 29, in ?

    yummain.main(sys.argv[1:])

  File "/usr/share/yum-cli/yummain.py", line 94, in main

    result, resultmsgs = base.doCommands()

  File "/usr/share/yum-cli/cli.py", line 381, in doCommands

    return self.yum_cli_commands[self.basecmd].doCommand(self,
self.basecmd, self.extcmds)

  File "/usr/share/yum-cli/yumcommands.py", line 317, in doCommand

    ypl = base.returnPkgLists(extcmds)

  File "/usr/share/yum-cli/cli.py", line 895, in returnPkgLists

    ypl = self.doPackageLists(pkgnarrow=pkgnarrow)

  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 999,
in doPackageLists

    ver=v, rel=r)

  File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line
232, in searchNevra

    return self._computeAggregateListResult("searchNevra", name,
epoch, ver, rel, arch)

  File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line
369, in _computeAggregateListResult

    sackResult = apply(method, args)

  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 574,
in searchNevra

    returnList.append(self.pc(rep,self.db2class(x)))

  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 431,
in db2class

    y.checksum = {'pkgid': 'YES','type': db.checksum_type,

  File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 97, in
__getattr__

    raise AttributeError, key

AttributeError: CHECKSUM_VALUE





Any help would be appreciated.





Thanks,



Matt P.


------------------------------

Message: 9
Date: Fri, 18 Jul 2008 10:35:36 -0400
From: seth vidal <skvidal@xxxxxxxxxxxxxxxxx>
Subject: Re:  missing  GPG public key
To: "Yellowdog Updater, Modified" <yum@xxxxxxxxxxxxxxxxxxxx>
Message-ID: <1216391736.18678.40.camel@rosebud>
Content-Type: text/plain

On Fri, 2008-07-18 at 10:23 -0400, Richard.S.Abbott@xxxxxxxxx wrote:
> Hi,
> 
> I downloaded yum version yum-2.6.1.-1.src.rpm and when I ran the rpm --checksig, I received error message (GPG) NOT OK (MISSING KEYS: GPG#69886CC7).  Can someone please tell me where I can download the GPG public key.  I could not find it on your website.
> 
> Sorry if I do not make sense, I have less then 2 weeks experience with Redhat.  
> 
> BTW - version I am working with is RHEL 4.4 and 4.5.

the gpg key is mine. You can get it from

http://pgp.mit.edu:11371/pks/lookup?search=seth+vidal&op=index

-sv




------------------------------

Message: 10
Date: Fri, 18 Jul 2008 10:36:44 -0400
From: seth vidal <skvidal@xxxxxxxxxxxxxxxxx>
Subject: Re:  check-update fails after yum-upgrade is interrupted
To: "Yellowdog Updater, Modified" <yum@xxxxxxxxxxxxxxxxxxxx>
Message-ID: <1216391804.18678.42.camel@rosebud>
Content-Type: text/plain

On Fri, 2008-07-18 at 10:32 -0400, Flatfender wrote:
> Yum guru's,
> 
> 
> 
> Yesterday I was in the middle of a yum upgrade when my session got
> lost in the middle (grr, I didn't start screen first).  Anyways this
> morning I tried to do a yum check-update to see if things got messed
> up b/c the upgrade was terminated in the middle.  Running yum
> check-upgrade fails with the following.  Seems like maybe the db's are
> corrupted ?  This is on Centos 5.2, being upgraded from 5.0  and yum
> 3.0.5
> 


you probably have the newer yum but the older yum-metadata-parser.

rpm -qa | grep yum

-sv




------------------------------

_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum


End of Yum Digest, Vol 60, Issue 10
***********************************
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux