Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: Franco on March 21, 2007, 09:31:11 PM
-
After messing with Yum, when I tried upgrading it gives me an error:
[root@sme ~]# yum update
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Update Process
Setting up repositories
smeaddons 100% |=========================| 951 B 00:00
updates 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
smeos 100% |=========================| 951 B 00:00
smeupdates 100% |=========================| 951 B 00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
/sbin/e-smith/yum: line 9: 14401 Terminated /usr/bin/yum "$@"
Anyone have a solution for this?
I tried removing the db as another post suggest:
/home/e-smith/db/yum_repositories
with no luck!
-
there is the option - yum clean
you need to put one of the options below after:
headers, packages, cache, metadata or all
for example:
yum clean headers
haven't used this myself, but maybe starting with the yum clean metadata as this is the point your yum update fails
-
Go all the way with
yum clean all
however it looks like sme 'modified' yum is failing.
So try
rpm -Uvh http://mirror.contribs.org/smeserver/releases/7/smeupdates/i386/RPMS/smeserver-yum-1.2.0-27.el4.sme.noarch.rpm
or try
/usr/bin/yum clean all
/usr/bin/yum update
signal-event post-upgrade; signal-event reboot
-
:(
I tried it all:
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
/sbin/e-smith/yum: line 9: 22574 Killed /usr/bin/yum "$@"
================================================================
No new rpms were installed. No additional commands are required.
================================================================
the local files seem to be the problem!
The last lines from the log:
40000000460240b20a95ffc4 yum list available status 15
@40000000460240db0b5734b4 Error: No Groups on which to run command
@40000000460240db0d0b8bd4 yum grouplist available status 256
@40000000460240de007db1bc Error: No Groups on which to run command
@40000000460240de022bfa14 yum grouplist installed status 256
@4000000046024769111cfd34 yum list updates status 15
@400000004602478f17f47fec Error: No Groups on which to run command
@400000004602478f19c7e82c yum grouplist updates status 256
-
After messing with Yum
What exactly did you do ?
-
What exactly did you do ?
I followed this tutorial: http://forums.contribs.org/index.php?topic=35111.0
-
What did you do about this line (which looks wrong)?
vi /etc/e-smith/templates/yum.conf/21gnome216
-
I did noticed the mistake and corrected it:
vi /etc/e-smith/templates/etc/yum.conf/21gnome216
-
I did noticed the mistake and corrected it:
vi /etc/e-smith/templates/etc/yum.conf/21gnome216
I mean did you delete it before trying the above steps?
-
Yes, besides the above commands will clear it all.
I'm about to try copying the configuration files from a good system to mine and see what happens.
Thanks,
-
besides the above commands will clear it all.
Which command in particular?
I created the file
pico -w /etc/e-smith/templates/etc/yum.conf/21gnome216
Pasted in
[lpt-desktop]
name=Enterprise Linux $releasever - $basearch - LPT Desktop 3.6 para Enterprise Linux 4
baseurl=http://bruto.sys-net.it/lpt
gpgkey=http://www.linuxparatodos.net/lpt/LPT-RPM-KEY
gpgcheck=1
enabled=1
and did
expand-template /etc/yum.conf
yum update then failed due to that repo.
I did the commands from previous post and nothing removed that repo.
I then
rm -f /etc/e-smith/templates/etc/yum.conf/21gnome216
expand-template /etc/yum.conf
yum clean all
and things were back to normal.
In addition, what did you do about this..
enable groups for the contos repo in /etc/yum.conf