Discussion:
[BlueOnyx:16263] phpMyAdmin fails to update via yum
Jim Scott
2014-10-27 05:31:33 UTC
Permalink
Getting error

phpMyAdmin-4.0.0-1.el6.noarch was supposed to be removed but is not!
Chris Gebhardt - VIRTBIZ Internet
2014-10-27 11:44:57 UTC
Permalink
Post by Jim Scott
Getting error
phpMyAdmin-4.0.0-1.el6.noarch was supposed to be removed but is not!
Hi Jim,
Hmmmm. That is interesting, because I believe that we are to have a
different release of phpMyAdmin than what is listed on your error.

Can you show the output of this command on your system?

# yum repolist
--
Chris Gebhardt
VIRTBIZ Internet Services
Access, Web Hosting, Colocation, Dedicated
www.virtbiz.com | toll-free (866) 4 VIRTBIZ
Jim Scott
2014-10-27 14:42:10 UTC
Permalink
Post by Chris Gebhardt - VIRTBIZ Internet
Can you show the output of this command on your system?
# yum repolist
[***@localhost ~]$ yum repolist
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* BlueOnyx-520XR: blueonyx.precisionweb.net
* Solarspeed.net: mirror.smd.net
* base: centos.cubiculestudio.com
* epel: mirrors.einstein.yu.edu
* extras: centos.cubiculestudio.com
* updates: centos.cubiculestudio.com
repo id repo name
status
BlueOnyx-520XR
BlueOnyx-520XR - x86_64
1,186
Solarspeed.net
Solarspeed.net 5108R on CentOS6/SL6 - x86_64
17
base
CentOS-6 -
Base
6,367
epel Extra
Packages for Enterprise Linux 6 - x86_64
11,128
extras
CentOS-6 -
Extras
15
updates
CentOS-6 -
Updates
1,608
repolist: 20,321

Here is also the output from my update attempt


[***@localhost admin]# yum update
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* BlueOnyx-520XR: blueonyx.precisionweb.net
* Solarspeed.net: mirror.smd.net
* base: centos.cubiculestudio.com
* epel: epel.mirror.constant.com
* extras: centos.cubiculestudio.com
* updates: centos.cubiculestudio.com
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package phpMyAdmin.noarch 0:4.0.0-1.el6 will be updated
---> Package phpMyAdmin.noarch 0:4.0.10.4-1.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================
Package Arch
Version Repository
Size
=============================================================================================================================================================================
Updating:
phpMyAdmin noarch
4.0.10.4-1.el6 epel
4.1 M

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

Total download size: 4.1 M
Is this ok [y/N]: y
Downloading Packages:
phpMyAdmin-4.0.10.4-1.el6.noarch.rpm
| 4.1 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : phpMyAdmin-4.0.10.4-1.el6.noarch
1/2
Error unpacking rpm package phpMyAdmin-4.0.10.4-1.el6.noarch
warning: /etc/httpd/conf.d/phpMyAdmin.conf created as
/etc/httpd/conf.d/phpMyAdmin.conf.rpmnew
warning: /etc/phpMyAdmin/config.inc.php created as
/etc/phpMyAdmin/config.inc.php.rpmnew
error: unpacking of archive failed on file /usr/share/phpMyAdmin/doc/html:
cpio: rename
phpMyAdmin-4.0.0-1.el6.noarch was supposed to be removed but is not!
Verifying : phpMyAdmin-4.0.0-1.el6.noarch
1/2
Verifying : phpMyAdmin-4.0.10.4-1.el6.noarch
2/2

Failed:
phpMyAdmin.noarch 0:4.0.0-1.el6
phpMyAdmin.noarch 0:4.0.10.4-1.el6

Complete!
Chris Gebhardt - VIRTBIZ Internet
2014-10-27 14:57:32 UTC
Permalink
Hi Jim,
Post by Jim Scott
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* BlueOnyx-520XR: blueonyx.precisionweb.net
* Solarspeed.net: mirror.smd.net
* base: centos.cubiculestudio.com
* epel: mirrors.einstein.yu.edu
* extras: centos.cubiculestudio.com
* updates: centos.cubiculestudio.com
Yikes! OK, well that is your problem. Notice that you have some repos
that do not belong on a BlueOnyx system: epel, extras, updates.

Recommendation: remove those repos from your YUM configuration, do a
yum clean all, then yum update.

The version of phpMyAdmin you should be receiving is that which is
included from the "BlueOnyx-520XR" repository. You should not be
attempting to yum in a package from external sources, as that is
unsupported.

As noted in the readme for BlueOnyx YUM repos:
------------------
Do NOT tie your server into third party YUM repositories UNLESS they are
certified for BlueOnyx.

Third party YUM repository servers (*especially* RPMforge!) replace
onboard RPMs with versions that conflict with BlueOnyx. That will then
break the GUI and will cause service outages.

The damages that this will cause may not be easy to repair.
------------------

True, that!
--
Chris Gebhardt
VIRTBIZ Internet Services
Access, Web Hosting, Colocation, Dedicated
www.virtbiz.com | toll-free (866) 4 VIRTBIZ
Jim Scott
2014-10-27 17:16:49 UTC
Permalink
Thanks Michael and Chris for the responses. This is a new box with no
customers on it yet that I have been experimenting on so I will re-install.
Looks like I tried to take the easy route to get the spamassassin, clamav
milters installed ;-)
Chris Gebhardt - VIRTBIZ Internet
2014-10-27 17:25:02 UTC
Permalink
Hi Jim,
Post by Jim Scott
Thanks Michael and Chris for the responses. This is a new box with no
customers on it yet that I have been experimenting on so I will re-install.
Looks like I tried to take the easy route to get the spamassassin, clamav
milters installed ;-)
Wait... the easy route? That would be to purchase AV-SPAM and run the
GUI-based install. Done in 5 minutes, and you get the integrated
BlueOnyx controls. Doesn't get much easier than that! ;)
--
Chris Gebhardt
VIRTBIZ Internet Services
Access, Web Hosting, Colocation, Dedicated
www.virtbiz.com | toll-free (866) 4 VIRTBIZ
Loading...