Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: jsheets110 on January 04, 2008, 04:03:34 PM

Title: Update Problem
Post by: jsheets110 on January 04, 2008, 04:03:34 PM
I have been unable to upgrade from 7.2 to 7.3.  Below is the errors that I am getting.  Any suggestions or should I report it to the bug tracker?  Thanks!

[root@mail ~]# yum update
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Update Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Excluding Packages from SME Server - updates
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for e-smith-nutUPS to pack into transaction set.
e-smith-nutUPS-1.2.0-16.e 100% |=========================|  19 kB    00:00     
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/smeos/i386/SME/RPMS/e-smith-nutUPS-1.2.0-16.el4.sme.noarch.rpm: [Errno -1] Header is not complete.
Trying other mirror.
e-smith-nutUPS-1.2.0-16.e 100% |=========================|  19 kB    00:00     
http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/smeserver/releases/7/smeos/i386/SME/RPMS/e-smith-nutUPS-1.2.0-16.el4.sme.noarch.rpm: [Errno -1] Header is not complete.
Trying other mirror.
e-smith-nutUPS-1.2.0-16.e 100% |=========================|  19 kB    00:00     
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7/smeos/i386/SME/RPMS/e-smith-nutUPS-1.2.0-16.el4.sme.noarch.rpm: [Errno -1] Header is not complete.
Trying other mirror.
ftp://ftp.planetmirror.com/pub/smeserver/releases/7/smeos/i386/SME/RPMS/e-smith-nutUPS-1.2.0-16.el4.sme.noarch.rpm: [Errno 4] IOError: [Errno ftp error] 550 7: No such file or directory
Trying other mirror.
http://mirror.pacific.net.au/linux/smeserver/releases/7/smeos/i386/SME/RPMS/e-smith-nutUPS-1.2.0-16.el4.sme.noarch.rpm: [Errno 14] HTTP Error 403: Forbidden
Trying other mirror.
Error: failure: SME/RPMS/e-smith-nutUPS-1.2.0-16.el4.sme.noarch.rpm from smeos: [Errno 256] No more mirrors to try.
================================================================
No new rpms were installed. No additional commands are required.
================================================================
Title: Re: Update Problem
Post by: warren on January 04, 2008, 04:20:00 PM
jsheets110

Have you tried :
Code: [Select]
yum clean allfollowed by
Code: [Select]
yum update
Title: Re: Update Problem
Post by: jsheets110 on January 04, 2008, 04:24:05 PM
Yes, I have tried yum clean all.  It did the same thing.
Title: Re: Update Problem
Post by: pauljclarke on January 04, 2008, 04:38:12 PM
Hi,

I have had the same problem with a machine that is behind a firewall and have had to physically pull in all the rpm's and run the yum install locally - however this was just trying to get standard updates to work not alone moving from 7.2->7.3.

This is my bug listing > http://bugs.contribs.org/show_bug.cgi?id=3654

This may have some comments from the SME gods that may help you fixing yum updates etc.

Would be interested if you can fix it - as mine is still a door stop!?
Title: Re: Update Problem
Post by: jsheets110 on January 04, 2008, 04:42:17 PM
My updates have been working fine previously.  It just seems like there is something strange going on now that it is trying to do the upgrade.
Title: Re: Update Problem
Post by: Helgo on January 05, 2008, 12:22:03 PM
??? what to do now?

Error: Missing Dependency: rpm = 4.3.3-22_nonptl is needed by package rpm-devel
Error: Missing Dependency: krb5-libs = 1.3.4-49 is needed by package krb5-devel

Helgo
Title: Re: Update Problem
Post by: cactus on January 05, 2008, 02:14:56 PM
??? what to do now?

Error: Missing Dependency: rpm = 4.3.3-22_nonptl is needed by package rpm-devel
Error: Missing Dependency: krb5-libs = 1.3.4-49 is needed by package krb5-devel
This seems like a customized machine as normally rpm-devel should not be installed on SME Server. What does this command say:
Code: [Select]
/sbin/e-smith/audittools/newrpms
Title: Re: Update Problem
Post by: Helgo on January 05, 2008, 02:26:00 PM
Hi Cactus,
This.

Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Extra Packages
bash.i386                                3.0-19.3               installed
bind-libs.i386                           20:9.2.4-27.0.1.el4    installed
bind-utils.i386                          20:9.2.4-27.0.1.el4    installed
binutils.i386                            2.15.92.0.2-22         installed
centos-release.i386                      6:4-4.3                installed
clamav.i386                              0.91.2-1.el4.rf        installed
clamav-db.i386                           0.91.2-1.el4.rf        installed
clamd.i386                               0.91.2-1.el4.rf        installed
coreutils.i386                           5.2.1-31.6             installed
dar.i386                                 2.3.4-1                installed
device-mapper.i386                       1.02.17-3.0.1.el4      installed
dmc-mitel-portopening.noarch             0.0.1-4                installed
dmraid.i386                              1.0.0.rc14-5_RHEL4_U5. installed
e-smith-base.i386                        4.18.0-77.el4.sme      installed
e-smith-formmagick.noarch                1.4.0-5.el4.sme        installed
e-smith-horde.noarch                     1.13.0-21.el4.sme      installed
e-smith-imp.noarch                       1.13.0-10.el4.sme      installed
e-smith-ntp.noarch                       1.16.0-12.el4.sme      installed
e-smith-nutUPS.noarch                    1.2.0-15.el4.sme       installed
e-smith-openssh.noarch                   1.12.0-10.el4.sme      installed
e-smith-portforwarding.noarch            1.2.0-5.el4.sme        installed
e-smith-proxy.noarch                     4.14.0-8.el4.sme       installed
e-smith-quota.noarch                     1.10.0-5.el4.sme       installed
e-smith-samba.noarch                     1.14.0-33.el4.sme      installed
e-smith-viewlogfiles.noarch              1.8.0-5.el4.sme        installed
e2fsprogs.i386                           1.35-12.5.el4          installed
e2fsprogs-devel.i386                     1.35-12.5.el4          installed
elfutils.i386                            0.97.1-4               installed
elfutils-libelf.i386                     0.97.1-4               installed
ethtool.i386                             1.8-4                  installed
fontconfig.i386                          2.2.3-7.centos4        installed
gamin.i386                               0.1.7-1.2.EL4          installed
glibc.i686                               2.3.4-2.25             installed
glibc.i686                               2.3.4-2.36             installed
glibc-common.i386                        2.3.4-2.36             installed
hal.i386                                 0.4.2-6.EL4            installed
hddtemp.i386                             0.3-0.beta12.2.2.el4.r installed
horde.noarch                             3.1.4-1.el4.sme        installed
httpd.i386                               2.0.52-32.3.ent.centos installed
httpd-suexec.i386                        2.0.52-32.3.ent.centos installed
hwdata.noarch                            0.146.28.EL-1          installed
icecast.i386                             1.3.12-1fm             installed
icecast-debuginfo.i386                   2.2.0-1                installed
imp-h3.noarch                            4.1.4-1.el4.sme        installed
ingo-h3.noarch                           1.1.3-2.el4.sme        installed
initscripts.i386                         7.93.29.EL-1.el4.sme   installed
kbd.i386                                 1.12-2.el4.4           installed
kernel.i686                              2.6.9-55.0.12.EL       installed
kernel.i686                              2.6.9-42.0.10.EL       installed
kernel.i686                              2.6.9-55.0.6.EL        installed
kernel.i686                              2.6.9-42.0.3.EL        installed
kernel.i686                              2.6.9-55.0.2.EL        installed
kernel.i686                              2.6.9-55.0.9.EL        installed
kernel-smp.i686                          2.6.9-42.0.3.EL        installed
kernel-smp.i686                          2.6.9-55.0.9.EL        installed
kernel-smp.i686                          2.6.9-55.0.2.EL        installed
kernel-smp.i686                          2.6.9-55.0.6.EL        installed
kernel-smp.i686                          2.6.9-55.0.12.EL       installed
kernel-utils.i386                        1:2.4-13.1.99          installed
kmod-appletalk.i686                      1.0-2.2.6.9_55.0.12.EL installed
kmod-appletalk-smp.i686                  1.0-2.2.6.9_55.0.12.EL installed
kmod-ppp.i686                            1.0.2-2.2.6.9_55.0.12. installed
kmod-ppp-smp.i686                        1.0.2-2.2.6.9_55.0.12. installed
kmod-slip.i686                           1.0-2.2.6.9_55.0.12.EL installed
kmod-slip-smp.i686                       1.0-2.2.6.9_55.0.12.EL installed
krb5-devel.i386                          1.3.4-49               installed
krb5-libs.i386                           1.3.4-49               installed
kudzu.i386                               1.1.95.22-1            installed
libgcc.i386                              3.4.6-8                installed
libpcap.i386                             14:0.8.3-10.RHEL4      installed
libselinux.i386                          1.19.1-7.3             installed
libsndfile.i386                          1.0.11-8               installed
libsndfile-debuginfo.i386                1.0.11-8               installed
libsndfile1.i386                         1.0.11-8               installed
libstdc++.i386                           3.4.6-8                installed
lm_sensors.i386                          2.8.7-2.40.3           installed
lvm2.i386                                2.02.21-5.el4          installed
lzo.i386                                 1.08-4.2.el4.rf        installed
man.i386                                 1.5o1-10.rhel4         installed
mdadm.i386                               1.12.0-2.el4.sme       installed
mkinitrd.i386                            4.2.1.10-1.1.el4.sme   installed
mod_ssl.i386                             1:2.0.52-32.3.ent.cent installed
ncurses.i386                             5.4-13                 installed
net-snmp.i386                            5.1.2-11.EL4.10.0.1    installed
net-snmp-libs.i386                       5.1.2-11.EL4.10.0.1    installed
net-snmp-utils.i386                      5.1.2-11.EL4.10.0.1    installed
openldap.i386                            2.2.13-7.4E            installed
openldap-servers.i386                    2.2.13-7.4E            installed
openssh.i386                             3.9p1-8.RHEL4.20       installed
openssh-clients.i386                     3.9p1-8.RHEL4.20       installed
openssh-server.i386                      3.9p1-8.RHEL4.20       installed
openssl.i686                             0.9.7a-43.16           installed
openssl-devel.i586                       0.9.7a-43.16           installed
openvpn.i386                             2.0.7-1.el4.rf         installed
pam.i386                                 0.77-66.21             installed
perl-Archive-Zip.noarch                  1.16-1.2.el4.rf        installed
perl-Authen-SASL.noarch                  2.10-1.el4.rf          installed
perl-Class-ParamParser.noarch            1.0401-2.el4.sme       installed
perl-Error.noarch                        0.17010-1.el4.rf       installed
perl-File-RsyncP.i386                    0.68-1.el4.rf          installed
perl-FreezeThaw.noarch                   0.43-1.2.el4.rf        installed
perl-GSSAPI.i386                         0.24-1.el4.rf          installed
perl-IO-Socket-SSL.noarch                1.07-2.el4.rf          installed
perl-LDAP.noarch                         0.34-1.el4.rf          installed
perl-MLDBM.noarch                        2.01-2.2.el4.rf        installed
perl-Mail-RFC822-Address.noarch          0.3-1.el4.sme          installed
perl-Object-Persistence.noarch           0.92-4.el4.sme         installed
perl-Quota.i386                          1.6.0-1.el4.rf         installed
perl-Time-TAI64.noarch                   2.11-1.el4.sme         installed
perl-Time-modules.noarch                 2003.1126-1.2.el4.rf   installed
perl-TimeDate.noarch                     1:1.16-6.el4           installed
perl-Unix-ConfigFile.noarch              0.06-3.el4.sme         installed
perl-XML-RSS.noarch                      1.10-1.el4.rf          installed
perl-XML-SAX.noarch                      0.16-1.el4.rf          installed
perl-rrdtool.i386                        1.0.50-1.2.el4.rf      installed
popt.i386                                1.9.1-22_nonptl        installed
procmail.i386                            3.22-14                installed
procps.i386                              3.2.3-8.6              installed
rhpl.i386                                0.148.5-1              installed
rkhunter.noarch                          1.2.9-3.el4.sme        installed
rpm.i386                                 4.3.3-22_nonptl        installed
rpm-build.i386                           4.3.3-22_nonptl        installed
rpm-devel.i386                           4.3.3-22_nonptl        installed
rpm-libs.i386                            4.3.3-22_nonptl        installed
rpm-python.i386                          4.3.3-22_nonptl        installed
rpmdb-CentOS.i386                        2:4.5-0.20070506       installed
rrdtool.i386                             1.0.50-1.2.el4.rf      installed
samba.i386                               3.0.10-1.4E.12.2       installed
samba-client.i386                        3.0.10-1.4E.12.2       installed
samba-common.i386                        3.0.10-1.4E.12.2       installed
shadow-utils.i386                        2:4.0.3-61.RHEL4       installed
shout.i386                               801:0.8.0-2            installed
slimserver.noarch                        6.5.4-1                installed
slocate.i386                             2.7-13.el4.6           installed
sme-crontab_manager.noarch               1.2-3                  installed
smeserver-dar2.noarch                    0.0.1-3dmay            installed
smeserver-openvpn-bridge-fws.noarch      1.1-2                  installed
smeserver-phpmyadmin.noarch              2.10.0.2-0.dmay        installed
smeserver-phpsysinfo.noarch              2.5.3-1dmay            installed
smeserver-release.noarch                 26:7.2-2.el4.sme       installed
smeserver-sme7admin.noarch               1.1.0-1                installed
smeserver-spamassassin.noarch            1.4.0-16.el4.sme       installed
smeserver-torrentflux.noarch             0.9-7.el4.sme          installed
smeserver-usbdisksmanager.noarch         0.2-0.1                installed
smeserver-vacation.noarch                1.0-12.el4.sme         installed
smeserver-yum.noarch                     1.2.0-37.el4.sme       installed
spamassassin.i386                        3.2.3-44.el4           installed
strace.i386                              4.5.15-1.el4.1         installed
sysstat.i386                             5.0.5-15.0.1.el4       installed
tcp_wrappers.i386                        7.6-37.2               installed
tcpdump.i386                             14:3.8.2-10.RHEL4      installed
telnet.i386                              1:0.17-31.EL4.3        installed
torrentflux.noarch                       2.3-1                  installed
turba-h3.noarch                          2.1.4-2.el4.sme        installed
udev.i386                                039-10.15.EL4          installed
util-linux.i386                          2.12a-16.EL4.25        installed
xmms-liveice.i386                        1.0.0-4fm              installed
xorg-x11-Mesa-libGL.i386                 6.8.2-1.EL.31          installed
xorg-x11-libs.i386                       6.8.2-1.EL.31          installed
yum-metadata-parser.i386                 1.1.0-2.el4.centos     installed
Title: Re: Update Problem
Post by: CharlieBrady on January 05, 2008, 09:34:26 PM
??? what to do now?

Error: Missing Dependency: rpm = 4.3.3-22_nonptl is needed by package rpm-devel
Error: Missing Dependency: krb5-libs = 1.3.4-49 is needed by package krb5-devel

Do:

rpm -e rpm-devel krb5-devel

And in future, do not install development packages on your server, as they are unneeded, and can interfere with updates.
Title: Re: Update Problem
Post by: Helgo on January 06, 2008, 12:02:15 PM
than i have this?
[root@server ~]# rpm -e rpm-devel krb5-devel
error: Failed dependencies:
        krb5-devel is needed by (installed) openssl-devel-0.9.7a-43.16.i586

Then i do this

[root@server ~]# rpm -e openssl-devel
error: Failed dependencies:
        openssl-devel is needed by (installed) curl-devel-7.12.1-11.el4.i386

Still a problem ?
Title: Re: Update Problem
Post by: cactus on January 06, 2008, 12:16:49 PM
than i have this?
[root@server ~]# rpm -e rpm-devel krb5-devel
error: Failed dependencies:
        krb5-devel is needed by (installed) openssl-devel-0.9.7a-43.16.i586

Then i do this

[root@server ~]# rpm -e openssl-devel
error: Failed dependencies:
        openssl-devel is needed by (installed) curl-devel-7.12.1-11.el4.i386

Still a problem ?
Does curl-devel also have dependencies? If so you should probably track the dependency list all the way to the packages that is not required, this might give tyou the 'master' package that dragged in all these (other) packages.

To query instead of trying to delete immediately you can use this command:
Code: [Select]
rpm -q --whatrequires curl-develIn above command you can replace the curl-devel with other packages and it will print you a list of packages it depends on.

It seems you have a lot of development packages installed, those are not necessary on a production SME Server and it is advised to not install them. Perhaps you should track what you installed that included these packages as a requirement. If you don't remember you can do so by reviewing the /var/log/yum/yum.log* files.
Title: Re: Update Problem
Post by: Helgo on January 06, 2008, 01:11:06 PM
 SME Server 7.3
Copyright 1999-2006 Mitel Corporation
All rights reserved.
Copyright 2006 SME Server, Inc.

Thanks :-P
Title: Re: Update Problem
Post by: cactus on January 06, 2008, 01:40:44 PM
SME Server 7.3
Copyright 1999-2006 Mitel Corporation
All rights reserved.
Copyright 2006 SME Server, Inc.

Thanks :-P
Your welcome, congratulations!
Title: Re: Update Problem
Post by: aarik on January 16, 2008, 07:09:15 AM
I am still having these update issues and cannot update a few SME's.
Tried everything that was suggested here and on other posts but nothing.
Other SME's that i manage updated from 7.2 to 7.3 with no problems.


this is my error:

[root@netserver01 ~]# 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
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for libpng to pack into transaction set.
libpng-1.2.7-3.el4_5.1.i3 100% |=========================| 155 kB    00:01
http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/smeserver/releases/7/smeos/i386/SME/RPMS/libpng-1.2.7-3.el4_5.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
libpng-1.2.7-3.el4_5.1.i3 100% |=========================| 155 kB    00:01
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7/smeos/i386/SME/RPMS/libpng-1.2.7-3.el4_5.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
ftp://ftp.planetmirror.com/pub/smeserver/releases/7/smeos/i386/SME/RPMS/libpng-1.2.7-3.el4_5.1.i386.rpm: [Errno 4] IOError: [Errno ftp error] 550 7: No such file or directory
Trying other mirror.
libpng-1.2.7-3.el4_5.1.i3 100% |=========================| 155 kB    00:01
http://mirror.pacific.net.au/linux/smeserver/releases/7/smeos/i386/SME/RPMS/libpng-1.2.7-3.el4_5.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
libpng-1.2.7-3.el4_5.1.i3 100% |=========================| 155 kB    00:01
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/smeos/i386/SME/RPMS/libpng-1.2.7-3.el4_5.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
Error: failure: SME/RPMS/libpng-1.2.7-3.el4_5.1.i386.rpm from smeos: [Errno 256] No more mirrors to try.
================================================================
No new rpms were installed. No additional commands are required.
================================================================
Title: Re: Update Problem
Post by: aarik on January 16, 2008, 07:10:47 AM
This bug has the exact description of my problem.
Has anyone been able to fix it?

http://bugs.contribs.org/show_bug.cgi?id=3654
Title: Re: Update Problem
Post by: cactus on January 16, 2008, 07:31:13 AM
This bug has the exact description of my problem.
Has anyone been able to fix it?

http://bugs.contribs.org/show_bug.cgi?id=3654
Did you try suggested fixes from the comments? Did you add your problem or at least your e-mail address to this bug? You are most likely to get a result by reporting in the bugtracker, that is also the place where work-arounds or solutions should be documented.
Title: Re: Update Problem
Post by: aarik on January 16, 2008, 07:43:28 AM
it did try it all and also registered with the bug tracker.

thanks