Koozali.org: home of the SME Server

Upgrading from 7.1 should I download the ISO and use that instead of yum update?

Offline bdbaddog

  • 2
  • +0/-0
Greetings,

I'm following the directions here to upgrade from 7.1 to 7.2 from here:
http://wiki.contribs.org/Updating_to_SME_7.2#Yum_Update

It complains about missing dependency for whiptail, see output below.
Is it safe to assume the FAQ for this is out of date?
Would I be better off downloading the latest 7.x iso and using that to upgrade?

Thanks,
Bill


Code: [Select]
[root@gateway ~]# yum update smeserver-yum yum sqlite python-sqlite
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Update Process
Setting up repositories
smeaddons                 100% |=========================| 2.3 kB    00:00     
updates                   100% |=========================|  951 B    00:00     
base                      100% |=========================| 1.1 kB    00:00     
smeos                     100% |=========================| 1.9 kB    00:00     
smeupdates                100% |=========================| 1.9 kB    00:00     
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  91 kB    00:01     
smeaddons : ################################################## 171/171
Added 171 new packages, deleted 0 old in 4.95 seconds
primary.xml.gz            100% |=========================| 787 kB    00:01     
updates   : ################################################## 1803/1803
Added 1803 new packages, deleted 0 old in 32.04 seconds
primary.xml.gz            100% |=========================| 611 kB    00:01     
base      : ################################################## 1599/1599
Added 1599 new packages, deleted 0 old in 18.17 seconds
primary.xml.gz            100% |=========================| 262 kB    00:03     
smeos     : ################################################## 568/568
Added 568 new packages, deleted 0 old in 8.32 seconds
primary.xml.gz            100% |=========================|  77 kB    00:00     
smeupdates: ################################################## 111/111
Added 111 new packages, deleted 0 old in 1.48 seconds
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.1 100% |=========================| 4.4 kB    00:00     
---> Package python-sqlite.i386 0:1.1.7-1.2.1 set to be updated
---> Downloading header for smeserver-yum to pack into transaction set.
smeserver-yum-2.0.0-12.el 100% |=========================|  52 kB    00:00     
---> Package smeserver-yum.noarch 0:2.0.0-12.el4.sme 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 sqlite to pack into transaction set.
sqlite-3.3.6-2.i386.rpm   100% |=========================| 5.0 kB    00:00     
---> Package sqlite.i386 0:3.3.6-2 set to be updated
--> Running transaction check
--> Processing Dependency: yum-plugin-installonlyn for package: smeserver-yum
--> Processing Dependency: yum-metadata-parser for package: yum
--> Processing Dependency: e-smith-formmagick >= 1.4.0-12 for package: smeserver-yum
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for e-smith-formmagick to pack into transaction set.
e-smith-formmagick-2.0.0- 100% |=========================|  21 kB    00:00     
---> Package e-smith-formmagick.noarch 0:2.0.0-3.el4.sme set to be updated
---> Downloading header for yum-metadata-parser to pack into transaction set.
yum-metadata-parser-1.0-8 100% |=========================| 3.9 kB    00:00     
---> Package yum-metadata-parser.i386 0:1.0-8.el4.centos set to be updated
---> Downloading header for yum-plugin-installonlyn to pack into transaction set.
yum-plugin-installonlyn-0 100% |=========================| 2.7 kB    00:00     
---> Package yum-plugin-installonlyn.noarch 0:0.91-1.el4.sme set to be updated
--> Running transaction check
--> Processing Dependency: e-smith-lib >= 1.18.0-21 for package: e-smith-formmagick
--> Processing Dependency: perl-CGI-FormMagick >= 0.92-16.el4.sme for package: e-smith-formmagick
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for e-smith-lib to pack into transaction set.
e-smith-lib-2.0.0-4.el4.s 100% |=========================|  45 kB    00:00     
---> Package e-smith-lib.noarch 0:2.0.0-4.el4.sme set to be updated
---> Downloading header for perl-CGI-FormMagick to pack into transaction set.
perl-CGI-FormMagick-0.92- 100% |=========================|  19 kB    00:00     
---> Package perl-CGI-FormMagick.noarch 0:0.92-19.el4.sme set to be updated
--> Running transaction check
--> Processing Dependency: whiptail for package: e-smith-base
--> Processing Dependency: dialog for package: e-smith-lib
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for dialog to pack into transaction set.
dialog-1.0.20040731-3.i38 100% |=========================|  21 kB    00:00     
---> Package dialog.i386 0:1.0.20040731-3 set to be updated
--> Running transaction check
--> Processing Dependency: whiptail for package: e-smith-base
--> Finished Dependency Resolution
Error: Missing Dependency: whiptail is needed by package e-smith-base
================================================================
No new rpms were installed. No additional commands are required.
================================================================

Offline bdbaddog

  • 2
  • +0/-0
I found if I do:
Code: [Select]
yum update I get this:
Code: [Select]
Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 e-smith-lib             noarch     2.0.0-4.el4.sme  smeos             131 k
     replacing  whiptail.i386 0.51.5-4.el4.sme

 e-smith-packetfilter    noarch     2.0.0-1.el4.sme  smeos              57 k
     replacing  e-smith-ipmasq.noarch 1.10.0-4.el4.sme

 e-smith-qmail           noarch     2.0.0-4.el4.sme  smeos              71 k
     replacing  qmail-workaround.i386 0.0.1-4.el4.sme

 kernel                  i686       2.6.9-101.EL     updates            13 M
 kernel-smp              i686       2.6.9-101.EL     updates            12 M
 smeserver-support       noarch     2.0.0-9.el4.sme  smeupdates         86 k
     replacing  rkhunter.noarch 1.2.8-3.el4.sme

 smeserver-yum           noarch     2.0.0-12.el4.sme  smeupdates         84 k
     replacing  check4updates.noarch 68-1.at

Updating:
 DCC                     i386       1.3.103-23.el4   smeos             1.4 M
 LPRng                   i386       3.8.32-2.el4.sme  smeos             4.1 M
...

Which makes me wonder if adding e-smith-lib to the list in the FAQ would resolve the issue.
So tried
Code: [Select]
yum update smeserver-yum yum sqlite python-sqliteThat left it complaining that e-smith-base required whiptail, so I added that to the list
Code: [Select]
yum update smeserver-yum yum sqlite python-sqlite e-smith-lib e-smith-baseAnd that looks o.k.
Code: [Select]
Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Updating:
 e-smith-base            i386       5.0.0-15.el4.sme  smeupdates        342 k
 e-smith-lib             noarch     2.0.0-4.el4.sme  smeos             131 k
 python-sqlite           i386       1.1.7-1.2.1      base               37 k
 smeserver-yum           noarch     2.0.0-12.el4.sme  smeupdates         84 k
 sqlite                  i386       3.3.6-2          base              193 k
 yum                     noarch     2.4.3-4.el4.centos  smeos             386 k
Installing for dependencies:
 dialog                  i386       1.0.20040731-3   smeos             138 k
 pam_abl                 i386       0.2.3-1.el4.rf   smeos              50 k
 pv                      i386       1.1.4-1.el4.rf   smeos              36 k
 yum-metadata-parser     i386       1.0-8.el4.centos  smeos              23 k
 yum-plugin-installonlyn  noarch     0.91-1.el4.sme   smeos              11 k
Updating for dependencies:
 e-smith-formmagick      noarch     2.0.0-3.el4.sme  smeupdates         45 k
 perl-CGI-FormMagick     noarch     0.92-19.el4.sme  smeupdates        112 k

Is it o.k to amend the recommendations in the FAQ with those two additional packages?

Thanks,
Bill