ISSUE SOLVED.   I forgot to refresh the repo metadata (yume –prepare –repo
/tftpboot/distro/fedora-5-i386) before attempting to update.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Milo
Sent: Thursday, May 10, 2007 1:18 PM
To: oscar-users@lists.sourceforge.net
Subject: [Oscar-users] FC5 not updating with YUME

 

I’m having issues getting any of my packages to update with yume from my
local repo.  

I have updated the local repo via the appropriate command:

 

./repo-update --url
http://less.cogeco.net/pub/fedora/linux/core/updates/5/i386/ --repo
/tftpboot/distro/fedora-5-i386/

 

After which I try to run ‘yume update’, but that just tells me there are no
packages marked for deletion. I’ve checked the
/tftpboot/distro/fedora-5-i386 directory, and the newly downloaded updated
packages are present.  When I check currently install versions of some
packages via the ‘rpm –q’ command, I can see that indeed I have older
version of the package installed on the server node, so why doesn’t yume see
this and update the packages?

 

Take a look at this term clip:

èNote that I have the original kernel from the install CD’s in use, I have a
couple versions of newer kernels in the appropriate repo directory, yet yume
doesn’t update anything. From the yume verbose output, it seems it is
looking in the right paths. I have no idea why this isn’t working.

 

[EMAIL PROTECTED] ~]# yume --verbose update

Executing: /opt/oscar/scripts/distro-query

Repositories detected:

        /tftpboot/distro/fedora-5-i386

        /tftpboot/oscar/common-rpms

        /tftpboot/oscar/fc-5-i386

WARNING: repository name /tftpboot/oscar/common-rpms doesn't match any valid
architecture

Repository architecture: i386

=== yum.conf file used (/tmp/filewZ0pnr) ===

[main]

cachedir=/var/cache/yum

debuglevel=2

logfile=/var/log/yume.log

pkgpolicy=newest

#distroverpkg=redhat-release

tolerant=1

exactarch=1

retries=20

obsoletes=1

reposdir=

gpgcheck=0

[distro_fedora-5-i386]

name=fedora-5-i386 package repository

baseurl=file:/tftpboot/distro/fedora-5-i386

 

[oscar_common-rpms]

name=common-rpms package repository

baseurl=file:/tftpboot/oscar/common-rpms

 

[oscar_fc-5-i386]

name=fc-5-i386 package repository

baseurl=file:/tftpboot/oscar/fc-5-i386

 

==========================================

Executing: yum -c /tmp/filewZ0pnr update

Setting up Update Process

Setting up repositories

oscar_fc-5-i386                                                      [1/3]

oscar_common-rpms                                                    [2/3]

distro_fedora-5-i386                                                 [3/3]

Reading repository metadata in from local files

No Packages marked for Update/Obsoletion

[EMAIL PROTECTED] ~]# uname -r

2.6.15-1.2054_FC5

[EMAIL PROTECTED] ~]# ls -l /tftpboot/distro/fedora-5-i386/kernel-2*

-rw-r--r-- 1 root root 15553763 Mar 23 11:53
/tftpboot/distro/fedora-5-i386/kernel-2.6.20-1.2307.fc5.i586.rpm

-rw-r--r-- 1 root root 16127145 Mar 23 11:54
/tftpboot/distro/fedora-5-i386/kernel-2.6.20-1.2307.fc5.i686.rpm

-rw-r--r-- 1 root root 15558852 Apr 13 14:46
/tftpboot/distro/fedora-5-i386/kernel-2.6.20-1.2312.fc5.i586.rpm

-rw-r--r-- 1 root root 16136838 Apr 13 14:46
/tftpboot/distro/fedora-5-i386/kernel-2.6.20-1.2312.fc5.i686.rpm

-rw-r--r-- 1 root root 15559143 May  1 11:39
/tftpboot/distro/fedora-5-i386/kernel-2.6.20-1.2316.fc5.i586.rpm

-rw-r--r-- 1 root root 16134631 May  1 11:40
/tftpboot/distro/fedora-5-i386/kernel-2.6.20-1.2316.fc5.i686.rpm

[EMAIL PROTECTED] ~]# yume update kernel --repo /tftpboot/distro/fedora-5-i386/

Setting up Update Process

Setting up repositories

distro_fedora-5-i386                                                 [1/1]

Reading repository metadata in from local files

Could not find update match for kernel

No Packages marked for Update/Obsoletion

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to