David Timms <dtimms@xxxxxxxxxxxx> wrote:
Becky Hepper wrote:
> I used rsync to create my yum repository. I have a cron job that
> runs nightly. The repodata is copied from the public mirror so I
> never run 'createrepo' on my server. Should I be running that?
As long as the structure is the same - relatively speaking - rsync will
be fine {that is probably how all the other public mirrors are kept
up2date}.
> The output of 'yum -d 15 whatever ' shows I am accessing my server.
> # yum -d 15 check-update Yum Version: 2.4.2 COMMAND: yum -d 15
> Installroot: / Setting up repositories Baseurl(s) for repo:
> ['ftp://x.x.x.x/pub/CentOS/4/os/i386'] Baseurl(s) for repo:
> ['ftp://x.x.x.x/pub/CentOS/4/updates/i386']
>
> Below is the requested output from yum-list: [root@x bb]# yum list
> python-devel Setting up repositories Reading repository metadata in
> from local files Installed Packages python-devel.i386
> 2.3.4-14.2 installed Available Packages python-devel.i386
> 2.3.4-14.3 update [root@x bb]# yum list python Setting up
> repositories Reading repository metadata in from local files
> Installed Packages python.i386
> 2.3.4-14.2 installed python.i386
> 2.4.3-5 installed Available Packages python.i386
> 2.3.4-14.3 update
The other packages look like they would be OK, but it seems there is two
python's installed. Possible due to an rpm --force or some such ?.
rpm can give a little bit more info about that:
$ rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"|grep
-E 'kernel|python|tkinter'|sort
I would imagine that you don't actually need the newer python:
# yum remove python-2.4.3-5
At the least this will let you know whether it is being used by anything
- with only a single python installed on my fc6 system, yum would solve
the dependencies, and remove 600 packages including the kernel, so in
that case you would say [n]o, and post the result back here.
ps. don't forget to bottom post!
DaveT.
Ahh, thanks very much, Dave. The two versions of python installed was my problem. I removed the newer version then everything worked fine. I also played with the 'exclude' option in /etc/yum.conf which would also help get past the python problem. Thanks again!
Want to start your own business? Learn how on Yahoo! Small Business.
_______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxxxxx https://lists.dulug.duke.edu/mailman/listinfo/yum