black&white

Well-Known Member
Aug 10, 2004
73
0
156
Hi,
i have this error when i try to update my rpm packages via ssh:


[email protected] [/]# up2date --list

Fetching Obsoletes list for channel: rhel-i386-es-4...

Fetching rpm headers...

Name Version Rel
----------------------------------------------------------

The following Packages were marked to be skipped by your configuration:

Name Version Rel Reason
-------------------------------------------------------------------------------
mod_ssl 2.0.52 28.entPkg name/pattern

[email protected] [/]# rpm --rebuilddb
[email protected] [/]# up2date -l

Fetching Obsoletes list for channel: rhel-i386-es-4...

Fetching rpm headers...

Name Version Rel
----------------------------------------------------------

The following Packages were marked to be skipped by your configuration:

Name Version Rel Reason
-------------------------------------------------------------------------------
mod_ssl 2.0.52 28.entPkg name/pattern

[email protected] [/]# up2date -i -f mod_ssl

Fetching Obsoletes list for channel: rhel-i386-es-4...

Name Version Rel
----------------------------------------------------------
mod_ssl 2.0.52 28.ent i386


Testing package set / solving RPM inter-dependencies...
########################################
mod_ssl-2.0.52-28.ent.i386. ########################## Done.
httpd-2.0.52-28.ent.i386.rp ########################## Done.
Preparing ########################################### [100%]

Installing...
1:httpd warning: /etc/httpd/conf.d/welcome.conf created as /etc/httpd/conf.d/welcome.conf.rpmnew
warning: /etc/httpd/conf/httpd.conf created as /etc/httpd/conf/httpd.conf.rpmnew
warning: /etc/httpd/conf/magic created as /etc/httpd/conf/magic.rpmnew
########################################### [100%]
error: unpacking of archive failed on file /etc/httpd/logs: cpio: rename
There was a fatal RPM install error. The message was:
There was a rpm unpack error installing the package: httpd-2.0.52-28.ent
[email protected] [/]#


How can i to fix it?

Thank you
 

rustelekom

Well-Known Member
PartnerNOC
Nov 13, 2003
290
0
166
moscow
if you have cpanel installed, you don't need use up2date.
 

black&white

Well-Known Member
Aug 10, 2004
73
0
156
Yes i have Cpanel installed.

I have clicked on "Update system software" also but after the whole procedure, if i type up2date -l another time i still see

mod_ssl

ready to install.

Why that?

thank you
 

rustelekom

Well-Known Member
PartnerNOC
Nov 13, 2003
290
0
166
moscow
you can check are your mod_ssl latest version or not in WHM - News section. But, for up2date you should always exclude all updates for: exim spamassasion httpd php perl

Cpanel update it itself, so if you update it by up2date your always get a problem because system package updates is not a compatible with cpanel.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
Go on, have a guess
All you should need to do is run:

/scripts/checkup2date


Which should configure the up2date pkgskiplst appropriately so that you can use up2date as you wish.