Koozali.org: home of the SME Server

YUM Problems upgrading from 7.0 to 7.1

Offline mudtoe

  • ***
  • 60
  • +0/-0
YUM Problems upgrading from 7.0 to 7.1
« on: July 18, 2007, 09:17:59 AM »
Hi folks:

I'm trying to upgrade from 7.0 to 7.1 and I'm having some difficulty.  I'm trying to perform the first step where I'm supposed to selectively install several updates first, before trying them all, and I'm having problems afterward in that I don't see the rest of the updates on the software installer screen, and if I do a "yum update" I get a bunch of errors.  I'm attaching my output of the initial upgrade, and then what happens if I do a "yum update" after the initial packages were installed.  I also tried just installing from scratch all of the stuff with a generic "yum update", but it tried to install 358 packages, and hung up someplace in the middle.  I'm running SME Server under VMware, so I did have to re-install VMware Tools after I did the initial upgrade, and before I tried the second "yum update", as I had no network connectivity until I did that.  Here's my output:


Code: [Select]
login as: root
root@172.26.199.252's password:
Last login: Mon Jul  9 23:18:18 2007
[root@srw-smeserver ~]#
[root@srw-smeserver ~]# yum update smeserver-support smeserver-yum yum yum-plugin-fastest-mirror python-sqlite
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Could not find update match for yum-plugin-fastest-mirror
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for python-sqlite to pack into transaction set.
python-sqlite-1.1.7-1.2.i 100% |=========================| 4.4 kB    00:00
---> Package python-sqlite.i386 0:1.1.7-1.2 set to be updated
---> Downloading header for yum to pack into transaction set.
yum-2.4.3-4.el4.centos.no 100% |=========================|  18 kB    00:00
---> Package yum.noarch 0:2.4.3-4.el4.centos set to be updated
---> Downloading header for smeserver-support to pack into transaction set.
smeserver-support-1.6.0-3 100% |=========================|  29 kB    00:00
---> Package smeserver-support.noarch 0:1.6.0-32.el4.sme set to be updated
---> Downloading header for smeserver-yum to pack into transaction set.
smeserver-yum-1.2.0-32.el 100% |=========================|  45 kB    00:00
---> Package smeserver-yum.noarch 0:1.2.0-32.el4.sme set to be updated
--> Running transaction check
--> Processing Dependency: yum-plugin-fastestmirror for package: smeserver-yum
--> Processing Dependency: check4updates for package: smeserver-support
--> Processing Dependency: yum-metadata-parser for package: yum
--> Processing Dependency: kmod-slip-smp for package: smeserver-support
--> Processing Dependency: kmod-slip for package: smeserver-support
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for check4updates to pack into transaction set.
check4updates-68-1.at.noa 100% |=========================| 4.6 kB    00:00
---> Package check4updates.noarch 0:68-1.at set to be updated
---> Downloading header for yum-plugin-fastestmirror to pack into transaction set.
yum-plugin-fastestmirror- 100% |=========================| 3.1 kB    00:00
---> Package yum-plugin-fastestmirror.noarch 0:0.2.4-3.c4 set to be updated
---> Downloading header for kmod-slip-smp to pack into transaction set.
kmod-slip-smp-1.0-1.2.6.9 100% |=========================| 2.3 kB    00:00
---> Package kmod-slip-smp.i686 0:1.0-1.2.6.9_42.0.10.EL set to be updated
---> Downloading header for yum-metadata-parser to pack into transaction set.
yum-metadata-parser-1.1.0 100% |=========================| 4.0 kB    00:00
---> Package yum-metadata-parser.i386 0:1.1.0-2.el4.centos set to be updated
---> Downloading header for kmod-slip to pack into transaction set.
kmod-slip-1.0-1.2.6.9_42. 100% |=========================| 2.3 kB    00:00
---> Package kmod-slip.i686 0:1.0-1.2.6.9_42.0.10.EL set to be updated
--> Running transaction check
--> Processing Dependency: kernel-i686 = 2.6.9-42.0.10.EL for package: kmod-slip
--> Processing Dependency: atrpms-perl-module-helper for package: perl-Mail-DomainKeys
--> Processing Dependency: atrpms-perl-module-helper for package: spamassassin
--> Processing Dependency: atrpms-perl-module-helper for package: perl-Net_SSLeay.pm
--> Processing Dependency: kernel-smp-i686 = 2.6.9-42.0.10.EL for package: kmod-slip-smp
--> Processing Dependency: atrpms-perl-module-helper for package: perl-IO-Socket-SSL
--> Processing Dependency: atrpms for package: check4updates
--> Processing Dependency: atrpms-perl-module-helper for package: razor-agents
--> Processing Dependency: atrpms-perl-module-helper for package: perl-Crypt-OpenSSL-Bignum
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for perl-Net_SSLeay.pm to pack into transaction set.
perl-Net_SSLeay.pm-1.25-4 100% |=========================|  12 kB    00:00
---> Package perl-Net_SSLeay.pm.i386 0:1.25-4.el4.at set to be updated
---> Downloading header for atrpms to pack into transaction set.
atrpms-68-1.at.noarch.rpm 100% |=========================| 6.5 kB    00:00
---> Package atrpms.noarch 0:68-1.at set to be updated
---> Downloading header for kernel to pack into transaction set.
kernel-2.6.9-42.0.10.EL.i 100% |=========================| 208 kB    00:00
---> Package kernel.i686 0:2.6.9-42.0.10.EL set to be installed
---> Downloading header for kernel-smp to pack into transaction set.
kernel-smp-2.6.9-42.0.10. 100% |=========================| 208 kB    00:00
---> Package kernel-smp.i686 0:2.6.9-42.0.10.EL set to be installed
---> Downloading header for razor-agents to pack into transaction set.
razor-agents-2.82-16.el4. 100% |=========================|  11 kB    00:00
---> Package razor-agents.i386 0:2.82-16.el4.at set to be updated
---> Downloading header for spamassassin to pack into transaction set.
spamassassin-3.1.8-37.el4 100% |=========================|  43 kB    00:00
---> Package spamassassin.i386 0:3.1.8-37.el4.at set to be updated
---> Downloading header for perl-IO-Socket-SSL to pack into transaction set.
perl-IO-Socket-SSL-1.01-1 100% |=========================| 2.6 kB    00:00
---> Package perl-IO-Socket-SSL.noarch 0:1.01-1.c4 set to be updated
---> Downloading header for perl-Crypt-OpenSSL-Bignum to pack into transaction set.
perl-Crypt-OpenSSL-Bignum 100% |=========================| 3.7 kB    00:00
---> Package perl-Crypt-OpenSSL-Bignum.i386 0:0.03-3.el4.at set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Updating:
 python-sqlite           i386       1.1.7-1.2        smeos              37 k
 smeserver-support       noarch     1.6.0-32.el4.sme  smeupdates         81 k
 smeserver-yum           noarch     1.2.0-32.el4.sme  smeupdates         74 k
 yum                     noarch     2.4.3-4.el4.centos  smeupdates        386 k
Installing for dependencies:
 check4updates           noarch     68-1.at          smeos             5.7 k
 kernel                  i686       2.6.9-42.0.10.EL  smeupdates         11 M
 kernel-smp              i686       2.6.9-42.0.10.EL  smeupdates         10 M
 kmod-slip               i686       1.0-1.2.6.9_42.0.10.EL  smeupdates         77 k
 kmod-slip-smp           i686       1.0-1.2.6.9_42.0.10.EL  smeupdates         77 k
 yum-metadata-parser     i386       1.1.0-2.el4.centos  smeupdates         23 k
 yum-plugin-fastestmirror  noarch     0.2.4-3.c4       smeos              13 k
Updating for dependencies:
 atrpms                  noarch     68-1.at          smeos              18 k
 perl-Crypt-OpenSSL-Bignum  i386       0.03-3.el4.at    smeupdates         27 k
 perl-IO-Socket-SSL      noarch     1.01-1.c4        smeos              31 k
 perl-Net_SSLeay.pm      i386       1.25-4.el4.at    smeos             168 k
 razor-agents            i386       2.82-16.el4.at   smeos             109 k
 spamassassin            i386       3.1.8-37.el4.at  smeupdates        967 k

Transaction Summary
=============================================================================
Install      7 Package(s)
Update      10 Package(s)
Remove       0 Package(s)
Total download size: 23 M
Is this ok [y/N]: y
Downloading Packages:
(1/17): check4updates-68- 100% |=========================| 5.7 kB    00:00
(2/17): perl-Net_SSLeay.p 100% |=========================| 168 kB    00:00
(3/17): smeserver-yum-1.2 100% |=========================|  74 kB    00:00
(4/17): atrpms-68-1.at.no 100% |=========================|  18 kB    00:00
(5/17): yum-plugin-fastes 100% |=========================|  13 kB    00:00
(6/17): kernel-2.6.9-42.0 100% |=========================|  11 MB    00:22
(7/17): smeserver-support 100% |=========================|  81 kB    00:00
(8/17): kmod-slip-smp-1.0 100% |=========================|  77 kB    00:00
(9/17): kernel-smp-2.6.9- 100% |=========================|  10 MB    00:20
(10/17): python-sqlite-1. 100% |=========================|  37 kB    00:00
(11/17): razor-agents-2.8 100% |=========================| 109 kB    00:00
(12/17): yum-metadata-par 100% |=========================|  23 kB    00:00
(13/17): spamassassin-3.1 100% |=========================| 967 kB    00:01
(14/17): yum-2.4.3-4.el4. 100% |=========================| 386 kB    00:00
(15/17): perl-IO-Socket-S 100% |=========================|  31 kB    00:00
(16/17): kmod-slip-1.0-1. 100% |=========================|  77 kB    00:00
(17/17): perl-Crypt-OpenS 100% |=========================|  27 kB    00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating  : atrpms                       ####################### [ 1/29]
  Updating  : razor-agents                 ####################### [ 2/29]
  Updating  : perl-Net_SSLeay.pm           ####################### [ 3/29]
  Updating  : perl-IO-Socket-SSL           ####################### [ 4/29]
  Updating  : python-sqlite                ####################### [ 5/29]
  Installing: kernel-smp                   ####################### [ 6/29]
mdadm: only specify super-minor once, super-minor=2 ignored.
mdadm: only specify super-minor once, super-minor=1 ignored.
  Installing: kmod-slip-smp                ####################### [ 7/29]
  Updating  : spamassassin                 ####################### [ 8/29]
  Installing: check4updates                ####################### [ 9/29]
  Updating  : perl-Crypt-OpenSSL-Bignum    ####################### [10/29]
  Installing: yum-metadata-parser          ####################### [11/29]
  Installing: kernel                       ####################### [12/29]
mdadm: only specify super-minor once, super-minor=2 ignored.
mdadm: only specify super-minor once, super-minor=1 ignored.
  Installing: kmod-slip                    ####################### [13/29]
  Updating  : smeserver-support            ####################### [14/29]
  Updating  : yum                                                  [15/29]warning: /etc/yum.conf created as /etc/yum.conf.rpmnew
  Updating  : yum                          ####################### [15/29]
  Updating  : smeserver-yum                ####################### [16/29]
  Installing: yum-plugin-fastestmirror     ####################### [17/29]
  Cleanup   : atrpms                       ####################### [18/29]
  Cleanup   : perl-Net_SSLeay.pm           ####################### [19/29]
  Cleanup   : smeserver-yum                ####################### [20/29]
  Cleanup   : smeserver-support            ####################### [21/29]
  Removing  : kernel-module-slip           ####################### [22/29]
  Removing  : kernel-smp-module-slip       ####################### [23/29]
  Cleanup   : python-sqlite                ####################### [24/29]
  Cleanup   : razor-agents                 ####################### [25/29]
  Cleanup   : spamassassin                 ####################### [26/29]
  Cleanup   : yum                          ####################### [27/29]
  Cleanup   : perl-IO-Socket-SSL           ####################### [28/29]
  Cleanup   : perl-Crypt-OpenSSL-Bignum    ####################### [29/29]

Dependency Installed: check4updates.noarch 0:68-1.at kernel.i686 0:2.6.9-42.0.10.EL kernel-smp.i686 0:2.6.9-42.0.10.EL kmod-slip.i686 0:1.0-1.2.6.9_42.0.10.EL kmod-slip-smp.i686 0:1.0-1.2.6.9_42.0.10.EL yum-metadata-parser.i386 0:1.1.0-2.el4.centos yum-plugin-fastestmirror.noarch 0:0.2.4-3.c4
Updated: python-sqlite.i386 0:1.1.7-1.2 smeserver-support.noarch 0:1.6.0-32.el4.sme smeserver-yum.noarch 0:1.2.0-32.el4.sme yum.noarch 0:2.4.3-4.el4.centos
Dependency Updated: atrpms.noarch 0:68-1.at perl-Crypt-OpenSSL-Bignum.i386 0:0.03-3.el4.at perl-IO-Socket-SSL.noarch 0:1.01-1.c4 perl-Net_SSLeay.pm.i386 0:1.25-4.el4.at razor-agents.i386 0:2.82-16.el4.at spamassassin.i386 0:3.1.8-37.el4.at
Complete!
==============================================================
WARNING: You now need to run BOTH of the following commands
to ensure consistent system state:

signal-event post-upgrade; signal-event reboot

You should run these commands unless you are certain that
yum made no changes to your system.
==============================================================
[root@srw-smeserver ~]# signal-event post-upgrade
[root@srw-smeserver ~]# signal-event reboot

Broadcast message from root (pts/0) (Wed Jul 18 02:47:47 2007):

The system is going down for reboot NOW!
[root@srw-smeserver ~]#


After the reboot and reinstall of VMware tools I get no updates on the server web page, and when I do a "yum update"  I get this:

Code: [Select]



login as: root
root@172.26.199.252's password:
Last login: Wed Jul 18 02:50:16 2007
[root@srw-smeserver ~]# yum update
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Update Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files

(process:6789): GLib-CRITICAL **: file gtimer.c: line 106 (g_timer_stop): assertion `timer != NULL' failed

(process:6789): GLib-CRITICAL **: file gtimer.c: line 88 (g_timer_destroy): assertion `timer != NULL' failed
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 97, in main
    result, resultmsgs = do()
  File "/usr/share/yum-cli/cli.py", line 477, in doCommands
    return self.updatePkgs()
  File "/usr/share/yum-cli/cli.py", line 955, in updatePkgs
    self.doRepoSetup()
  File "/usr/share/yum-cli/cli.py", line 75, in doRepoSetup
    self.doSackSetup(thisrepo=thisrepo)
  File "__init__.py", line 260, in doSackSetup
  File "repos.py", line 277, in populateSack
  File "/usr/lib/python2.3/site-packages/sqlitecachec.py", line 40, in getPrimary
    self.repoid))
TypeError: Can not create index on requires table: near "NOT": syntax error
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@srw-smeserver ~]#



Any suggestions?


mudtoe

Offline mudtoe

  • ***
  • 60
  • +0/-0
YUM Problems upgrading from 7.0 to 7.1
« Reply #1 on: July 22, 2007, 07:42:57 PM »
I found the solution to this problem.  I needed to downgrade the YUM package to yum-2.4.3-3.el4.centos.noarch.rpm.  The issue is documented in http://bugs.contribs.org/show_bug.cgi?id=3021.   What I don't understand about this bug report is that it's marked closed, when in reality the solution is actually a circumvention IMHO.  I'm not a YUM expert, but I would think that the "bad" version would eventually be represented to me as an update, since I'm using a downlevel version, and I'd have to remember not to install it.


mudtoe

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: YUM Problems upgrading from 7.0 to 7.1
« Reply #2 on: July 22, 2007, 11:37:20 PM »
Quote from: "mudtoe"

Any suggestions?


As it says every time you post here:

Don't report problems here - Please report bugs and potential bugs in the bug tracker