LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-16-2015, 10:15 AM   #1
rookie5
LQ Newbie
 
Registered: Aug 2015
Posts: 10

Rep: Reputation: Disabled
Error unpacking rpm package httpd-2.2.15-45.el6.centos.x86_64 on centos 6.5


Please can anyone help me before I loose my mind, im trying to setup a web server and I am having issues with 1 packgage (http)

i get the below error

Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.bitco.co.za
* centosplus: mirror.bitco.co.za
* contrib: mirror.bitco.co.za
* extras: mirror.bitco.co.za
* remi-safe: remi.check-update.co.uk
* updates: mirror.bitco.co.za
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.2.15-45.el6.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================== ==================================================================================================== ========================
Package Arch Version Repository Size
==================================================================================================== ==================================================================================================== ========================
Installing:
httpd x86_64 2.2.15-45.el6.centos base 829 k

Transaction Summary
==================================================================================================== ==================================================================================================== ========================
Install 1 Package(s)

Total download size: 829 k
Installed size: 2.9 M
Is this ok [y/N]: y
Downloading Packages:
httpd-2.2.15-45.el6.centos.x86_64.rpm | 829 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : httpd-2.2.15-45.el6.centos.x86_64 1/1
Error unpacking rpm package httpd-2.2.15-45.el6.centos.x86_64
error: unpacking of archive failed on file /etc/httpd/logs: cpio: rename
Verifying : httpd-2.2.15-45.el6.centos.x86_64 1/1

Failed:
httpd.x86_64 0:2.2.15-45.el6.centos

Complete!
 
Old 08-16-2015, 11:51 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
please post the output of these two things

Code:
su -
cat /etc/redhat-release
and this
Code:
su -
yum repolist all
 
Old 08-17-2015, 03:30 AM   #3
rookie5
LQ Newbie
 
Registered: Aug 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
Hi, please see below.


[root@localhost ~]# su -
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# cat /etc/redhat-release
CentOS release 6.7 (Final)
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# su -
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# yum repolist all
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirror.bitco.co.za
* centosplus: mirror.bitco.co.za
* contrib: mirror.bitco.co.za
* extras: mirror.bitco.co.za
* remi-safe: mirrors.neterra.net
* updates: mirror.bitco.co.za
base | 3.7 kB 00:00
centosplus | 3.4 kB 00:00
contrib | 2.9 kB 00:00
extras | 3.4 kB 00:00
remi-safe | 2.9 kB 00:00
updates | 3.4 kB 00:00
repo id repo name status
C6.0-base CentOS-6.0 - Base disabled
C6.0-centosplus CentOS-6.0 - CentOSPlus disabled
C6.0-contrib CentOS-6.0 - Contrib disabled
C6.0-extras CentOS-6.0 - Extras disabled
C6.0-updates CentOS-6.0 - Updates disabled
C6.1-base CentOS-6.1 - Base disabled
C6.1-centosplus CentOS-6.1 - CentOSPlus disabled
C6.1-contrib CentOS-6.1 - Contrib disabled
C6.1-extras CentOS-6.1 - Extras disabled
C6.1-updates CentOS-6.1 - Updates disabled
C6.2-base CentOS-6.2 - Base disabled
C6.2-centosplus CentOS-6.2 - CentOSPlus disabled
C6.2-contrib CentOS-6.2 - Contrib disabled
C6.2-extras CentOS-6.2 - Extras disabled
C6.2-updates CentOS-6.2 - Updates disabled
C6.3-base CentOS-6.3 - Base disabled
C6.3-centosplus CentOS-6.3 - CentOSPlus disabled
C6.3-contrib CentOS-6.3 - Contrib disabled
C6.3-extras CentOS-6.3 - Extras disabled
C6.3-updates CentOS-6.3 - Updates disabled
C6.4-base CentOS-6.4 - Base disabled
C6.4-centosplus CentOS-6.4 - CentOSPlus disabled
C6.4-contrib CentOS-6.4 - Contrib disabled
C6.4-extras CentOS-6.4 - Extras disabled
C6.4-updates CentOS-6.4 - Updates disabled
C6.5-base CentOS-6.5 - Base disabled
C6.5-centosplus CentOS-6.5 - CentOSPlus disabled
C6.5-contrib CentOS-6.5 - Contrib disabled
C6.5-extras CentOS-6.5 - Extras disabled
C6.5-updates CentOS-6.5 - Updates disabled
C6.6-base CentOS-6.6 - Base disabled
C6.6-centosplus CentOS-6.6 - CentOSPlus disabled
C6.6-contrib CentOS-6.6 - Contrib disabled
C6.6-extras CentOS-6.6 - Extras disabled
C6.6-updates CentOS-6.6 - Updates disabled
base CentOS-6 - Base enabled: 6,575
base-debuginfo CentOS-6 - Debuginfo disabled
c5-media CentOS-6 - Media disabled
centosplus CentOS-6 - Plus enabled: 26
contrib CentOS-6 - Contrib enabled: 0
extras CentOS-6 - Extras enabled: 34
fasttrack CentOS-6 - fasttrack disabled
remi Remi's RPM repository for Enterprise Linux 7 - x86_64 disabled
remi-debuginfo Remi's RPM repository for Enterprise Linux 7 - x86_64 - debuginfo disabled
remi-php55 Remi's PHP 5.5 RPM repository for Enterprise Linux 7 - x86_64 disabled
remi-php55-debuginfo Remi's PHP 5.5 RPM repository for Enterprise Linux 7 - x86_64 - debuginfo disabled
remi-php56 Remi's PHP 5.6 RPM repository for Enterprise Linux 7 - x86_64 disabled
remi-php56-debuginfo Remi's PHP 5.6 RPM repository for Enterprise Linux 7 - x86_64 - debuginfo disabled
remi-php70 Remi's PHP 7.0 RPM repository for Enterprise Linux 7 - x86_64 disabled
remi-php70-debuginfo Remi's PHP 7.0 RPM repository for Enterprise Linux 7 - x86_64 - debuginfo disabled
remi-safe Safe Remi's RPM repository for Enterprise Linux 7 - x86_64 enabled: 138
remi-test Remi's test RPM repository for Enterprise Linux 7 - x86_64 disabled
remi-test-debuginfo Remi's test RPM repository for Enterprise Linux 7 - x86_64 - debuginfo disabled
updates CentOS-6 - Updates enabled: 219
repolist: 6,992
[root@localhost ~]#
 
Old 08-18-2015, 02:10 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
well here is your problem

you are using CentOS 6
but installed the incompatible "remi" repo for RHEL7

uninstall the redhat/cent 7 programs from Cent 6

for a list of installed 7 programs
Code:
su -
rpm -qa | grep el7
then UNINSTALL ALL of them

and the cent7 remi repo

then install the remi 6 repo and "yum-priorites " plugin
and CONFIGURE!!!! IT!!!!
-- you NEED TO manually configure it

read the cent documentation on the cent wiki
http://wiki.centos.org/
-- the yum plugin
http://wiki.centos.org/PackageManagement/Yum/Priorities

and the third party repo page
http://wiki.centos.org/AdditionalResources/Repositories





PS.
This might be a lost cause and UNFIXABLE!!!

you might have to reinstall

Last edited by John VV; 08-18-2015 at 02:13 AM.
 
1 members found this post helpful.
Old 01-06-2019, 09:06 PM   #5
macdonjo
LQ Newbie
 
Registered: Nov 2015
Distribution: Cent OS
Posts: 4

Rep: Reputation: Disabled
Here is mine. It doesn't have that repo. Same error. Any idea?


Code:
# yum repolist all
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.quelquesmots.fr
 * epel: mirrors.ircam.fr
 * extras: centos.quelquesmots.fr
 * updates: centos.quelquesmots.fr
repo id                                     repo name                                                                              status
C6.0-base                                   CentOS-6.0 - Base                                                                      disabled
C6.0-centosplus                             CentOS-6.0 - CentOSPlus                                                                disabled
C6.0-contrib                                CentOS-6.0 - Contrib                                                                   disabled
C6.0-extras                                 CentOS-6.0 - Extras                                                                    disabled
C6.0-updates                                CentOS-6.0 - Updates                                                                   disabled
C6.1-base                                   CentOS-6.1 - Base                                                                      disabled
C6.1-centosplus                             CentOS-6.1 - CentOSPlus                                                                disabled
C6.1-contrib                                CentOS-6.1 - Contrib                                                                   disabled
C6.1-extras                                 CentOS-6.1 - Extras                                                                    disabled
C6.1-updates                                CentOS-6.1 - Updates                                                                   disabled
C6.2-base                                   CentOS-6.2 - Base                                                                      disabled
C6.2-centosplus                             CentOS-6.2 - CentOSPlus                                                                disabled
C6.2-contrib                                CentOS-6.2 - Contrib                                                                   disabled
C6.2-extras                                 CentOS-6.2 - Extras                                                                    disabled
C6.2-updates                                CentOS-6.2 - Updates                                                                   disabled
C6.3-base                                   CentOS-6.3 - Base                                                                      disabled
C6.3-centosplus                             CentOS-6.3 - CentOSPlus                                                                disabled
C6.3-contrib                                CentOS-6.3 - Contrib                                                                   disabled
C6.3-extras                                 CentOS-6.3 - Extras                                                                    disabled
C6.3-updates                                CentOS-6.3 - Updates                                                                   disabled
C6.4-base                                   CentOS-6.4 - Base                                                                      disabled
C6.4-centosplus                             CentOS-6.4 - CentOSPlus                                                                disabled
C6.4-contrib                                CentOS-6.4 - Contrib                                                                   disabled
C6.4-extras                                 CentOS-6.4 - Extras                                                                    disabled
C6.4-updates                                CentOS-6.4 - Updates                                                                   disabled
C6.5-base                                   CentOS-6.5 - Base                                                                      disabled
C6.5-centosplus                             CentOS-6.5 - CentOSPlus                                                                disabled
C6.5-contrib                                CentOS-6.5 - Contrib                                                                   disabled
C6.5-extras                                 CentOS-6.5 - Extras                                                                    disabled
C6.5-updates                                CentOS-6.5 - Updates                                                                   disabled
C6.6-base                                   CentOS-6.6 - Base                                                                      disabled
C6.6-centosplus                             CentOS-6.6 - CentOSPlus                                                                disabled
C6.6-contrib                                CentOS-6.6 - Contrib                                                                   disabled
C6.6-extras                                 CentOS-6.6 - Extras                                                                    disabled
C6.6-updates                                CentOS-6.6 - Updates                                                                   disabled
C6.7-base                                   CentOS-6.7 - Base                                                                      disabled
C6.7-centosplus                             CentOS-6.7 - CentOSPlus                                                                disabled
C6.7-contrib                                CentOS-6.7 - Contrib                                                                   disabled
C6.7-extras                                 CentOS-6.7 - Extras                                                                    disabled
C6.7-updates                                CentOS-6.7 - Updates                                                                   disabled
C6.8-base                                   CentOS-6.8 - Base                                                                      disabled
C6.8-centosplus                             CentOS-6.8 - CentOSPlus                                                                disabled
C6.8-contrib                                CentOS-6.8 - Contrib                                                                   disabled
C6.8-extras                                 CentOS-6.8 - Extras                                                                    disabled
C6.8-updates                                CentOS-6.8 - Updates                                                                   disabled
C6.9-base                                   CentOS-6.9 - Base                                                                      disabled
C6.9-centosplus                             CentOS-6.9 - CentOSPlus                                                                disabled
C6.9-contrib                                CentOS-6.9 - Contrib                                                                   disabled
C6.9-extras                                 CentOS-6.9 - Extras                                                                    disabled
C6.9-updates                                CentOS-6.9 - Updates                                                                   disabled
base                                        CentOS-6 - Base                                                                        enabled:  6,713
base-debuginfo                              CentOS-6 - Debuginfo                                                                   disabled
c6-media                                    CentOS-6 - Media                                                                       disabled
centosplus                                  CentOS-6 - Plus                                                                        disabled
contrib                                     CentOS-6 - Contrib                                                                     disabled
epel                                        Extra Packages for Enterprise Linux 6 - x86_64                                         enabled: 12,517
epel-debuginfo                              Extra Packages for Enterprise Linux 6 - x86_64 - Debug                                 disabled
epel-source                                 Extra Packages for Enterprise Linux 6 - x86_64 - Source                                disabled
epel-testing                                Extra Packages for Enterprise Linux 6 - Testing - x86_64                               disabled
epel-testing-debuginfo                      Extra Packages for Enterprise Linux 6 - Testing - x86_64 - Debug                       disabled
epel-testing-source                         Extra Packages for Enterprise Linux 6 - Testing - x86_64 - Source                      disabled
extras                                      CentOS-6 - Extras                                                                      enabled:     35
fasttrack                                   CentOS-6 - fasttrack                                                                   disabled
google-chrome                               google-chrome                                                                          enabled:      3
updates                                     CentOS-6 - Updates                                                                     enabled:    257
vz-base                                     vz-base                                                                                enabled:      3
vz-updates                                  vz-updates                                                                             enabled:      8
repolist: 19,536
 
Old 01-09-2019, 05:55 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
1 this thread was 4 years old (2015) - you should really start a new one

2 I am surprised it doesn't say which are enabled/disabled, so I'm going to assume they are all enabled as I don't have C6.9 system handy (check the repos files to be sure).

3 please run "cat /etc/redhat-release"

4 You should (must) install/setup yum-priorities if you have ANY non-Centos repos enabled, otherwise it will bite you sooner or later.

5 Try
Code:
yum clean all
yum repolist all
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error unpacking rpm package httpd-2.2.15-45.el6.centos.x86_64 on centos 6.5 rookie5 Linux - Newbie 1 08-16-2015 11:14 AM
openvswitch, errors getting it installed on 3.4.68-9.el6.centos.alt.x86_64 kevinyeandel Linux - Virtualization and Cloud 0 11-26-2013 02:44 AM
gcc-4.4.6-4.el6.i686 conflicts with file from package gcc-4.4.6-4.el6.x86_64 linuxandtsm Linux - Newbie 1 03-26-2013 01:19 PM
how to install samba-server-3.0.25b-4.5mdv2008.0.x86_64.rpm in CentOS 5.4 omid.2828@yahoo.com Red Hat 4 03-11-2012 03:22 PM
Centos httpd - set flag, package building ... Milchknilch Red Hat 1 10-02-2011 06:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration