Koozali.org: home of the SME Server

Unable to install phpmyadmin

Offline beast

  • *
  • 245
  • +0/-0
Unable to install phpmyadmin
« on: May 14, 2015, 09:33:47 PM »
Try to install phpmyadmin on SME9_64 with the command:

yum install --enablerepo=stephdl,epel smeserver-phpmyadmin

(have enabled the repos)

But for all mirrors I get something like below - e.g. the files does not exist

http://ftp.pbone.net/pub/fedora/epel/6/x86_64/repodata/e3d785419fd46da2f88a9ee0c239af508c6e8dd8e0951a0369926baff02d0574-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

What is wrong?

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Unable to install phpmyadmin
« Reply #1 on: May 14, 2015, 09:52:37 PM »
did you try

Code: [Select]
yum clean all
?

Offline beast

  • *
  • 245
  • +0/-0
Re: Unable to install phpmyadmin
« Reply #2 on: May 14, 2015, 10:11:49 PM »
did you try

Code: [Select]
yum clean all
?

Yes - no change.

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Unable to install phpmyadmin
« Reply #3 on: May 14, 2015, 10:35:13 PM »
just tested on a test VM

Code: [Select]
[root@test ~]# /sbin/e-smith/db yum_repositories set epel repository \
> Name 'Epel - EL6' \
> BaseURL 'http://download.fedoraproject.org/pub/epel/6/$basearch' \
> MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$base                                                                                        arch' \
> EnableGroups no \
> GPGCheck yes \
> GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
> Exclude perl-Razor-Agent \
> Visible no \
> status disabled
[root@test ~]# db yum_repositories set stephdl repository \
> BaseURL http://mirror.de-labrusse.fr/smeserver/\$releasever \
> EnableGroups no GPGCheck yes \
> Name "Mirror de Labrusse" \
> GPGKey http://mirror.de-labrusse.fr/RPM-GPG-KEY \
> Visible yes status disabled
[root@test ~]# signal-event yum-modify
[root@test ~]# yum clean all
Loaded plugins: fastestmirror, presto, smeserver
Cleaning repos: base smeaddons smeextras smeos smeupdates updates
Cleaning up Everything
Cleaning up list of fastest mirrors
0 delta-package files removed, by presto
[root@test ~]# yum install --enablerepo=stephdl,epel smeserver-phpmyadmin
Loaded plugins: fastestmirror, presto, smeserver
Determining fastest mirrors
 * base: ftp.halifax.rwth-aachen.de
 * epel: www.mirrorservice.org
 * smeaddons: sme-mirror.firewall-services.com
 * smeextras: sme-mirror.firewall-services.com
 * smeos: sme-mirror.firewall-services.com
 * smeupdates: sme-mirror.firewall-services.com
 * updates: mirrors.prometeus.net
base                                                                                                                                             | 3.7 kB     00:00
base/primary_db                                                                                                                                  | 4.6 MB     01:12
epel                                                                                                                                             | 4.4 kB     00:00
epel/primary_db                                                                                                                                  | 6.5 MB     00:39
smeaddons                                                                                                                                        | 2.9 kB     00:00
smeaddons/primary_db                                                                                                                             | 1.2 kB     00:00
smeextras                                                                                                                                        | 2.9 kB     00:00
smeextras/primary_db                                                                                                                             | 114 kB     00:00
smeos                                                                                                                                            | 3.1 kB     00:00
smeos/primary_db                                                                                                                                 | 1.0 MB     00:09
smeupdates                                                                                                                                       | 2.9 kB     00:00
smeupdates/primary_db                                                                                                                            | 112 kB     00:01
stephdl                                                                                                                                          | 1.9 kB     00:00
stephdl/primary_db                                                                                                                               | 137 kB     00:00
updates                                                                                                                                          | 3.4 kB     00:00
updates/primary_db                                                                                                                               | 3.3 MB     00:18
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package smeserver-phpmyadmin.noarch 0:4.0.10.2-2.el6.sme will be installed
--> Processing Dependency: phpMyAdmin >= 4.0.10.1 for package: smeserver-phpmyadmin-4.0.10.2-2.el6.sme.noarch
--> Running transaction check
---> Package phpMyAdmin.noarch 0:4.0.10.9-1.el6 will be installed
--> Processing Dependency: php-mcrypt >= 5.2.0 for package: phpMyAdmin-4.0.10.9-1.el6.noarch
--> Processing Dependency: php-tcpdf-dejavu-sans-fonts for package: phpMyAdmin-4.0.10.9-1.el6.noarch
--> Processing Dependency: php-tcpdf for package: phpMyAdmin-4.0.10.9-1.el6.noarch
--> Processing Dependency: php-php-gettext for package: phpMyAdmin-4.0.10.9-1.el6.noarch
--> Running transaction check
---> Package php-mcrypt.x86_64 0:5.3.3-3.el6 will be installed
--> Processing Dependency: libmcrypt.so.4()(64bit) for package: php-mcrypt-5.3.3-3.el6.x86_64
---> Package php-php-gettext.noarch 0:1.0.11-3.el6 will be installed
---> Package php-tcpdf.noarch 0:6.2.4-1.el6 will be installed
--> Processing Dependency: php-tidy for package: php-tcpdf-6.2.4-1.el6.noarch
--> Processing Dependency: php-bcmath for package: php-tcpdf-6.2.4-1.el6.noarch
---> Package php-tcpdf-dejavu-sans-fonts.noarch 0:6.2.4-1.el6 will be installed
--> Processing Dependency: dejavu-sans-fonts for package: php-tcpdf-dejavu-sans-fonts-6.2.4-1.el6.noarch
--> Running transaction check
---> Package dejavu-sans-fonts.noarch 0:2.30-2.el6 will be installed
--> Processing Dependency: dejavu-fonts-common = 2.30-2.el6 for package: dejavu-sans-fonts-2.30-2.el6.noarch
---> Package libmcrypt.x86_64 0:2.5.8-9.el6 will be installed
---> Package php-bcmath.x86_64 0:5.3.3-40.el6_6 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-bcmath-5.3.3-40.el6_6.x86_64
---> Package php-tidy.x86_64 0:5.3.3-40.el6_6 will be installed
--> Processing Dependency: libtidy-0.99.so.0()(64bit) for package: php-tidy-5.3.3-40.el6_6.x86_64
--> Running transaction check
---> Package dejavu-fonts-common.noarch 0:2.30-2.el6 will be installed
--> Processing Dependency: fontpackages-filesystem for package: dejavu-fonts-common-2.30-2.el6.noarch
---> Package libtidy.x86_64 0:0.99.0-19.20070615.1.el6 will be installed
---> Package php-common.x86_64 0:5.3.3-27.el6_5 will be updated
--> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-5.3.3-27.el6_5.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-imap-5.3.3-27.el6_5.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-gd-5.3.3-27.el6_5.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-ldap-5.3.3-27.el6_5.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-xml-5.3.3-27.el6_5.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-mbstring-5.3.3-27.el6_5.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-mysql-5.3.3-27.el6_5.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-pdo-5.3.3-27.el6_5.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-cli-5.3.3-27.el6_5.x86_64
---> Package php-common.x86_64 0:5.3.3-40.el6_6 will be an update
--> Running transaction check
---> Package fontpackages-filesystem.noarch 0:1.41-1.1.el6 will be installed
---> Package php.x86_64 0:5.3.3-27.el6_5 will be updated
---> Package php.x86_64 0:5.3.3-40.el6_6 will be an update
---> Package php-cli.x86_64 0:5.3.3-27.el6_5 will be updated
---> Package php-cli.x86_64 0:5.3.3-40.el6_6 will be an update
---> Package php-gd.x86_64 0:5.3.3-27.el6_5 will be updated
---> Package php-gd.x86_64 0:5.3.3-40.el6_6 will be an update
---> Package php-imap.x86_64 0:5.3.3-27.el6_5 will be updated
---> Package php-imap.x86_64 0:5.3.3-40.el6_6 will be an update
---> Package php-ldap.x86_64 0:5.3.3-27.el6_5 will be updated
---> Package php-ldap.x86_64 0:5.3.3-40.el6_6 will be an update
---> Package php-mbstring.x86_64 0:5.3.3-27.el6_5 will be updated
---> Package php-mbstring.x86_64 0:5.3.3-40.el6_6 will be an update
---> Package php-mysql.x86_64 0:5.3.3-27.el6_5 will be updated
---> Package php-mysql.x86_64 0:5.3.3-40.el6_6 will be an update
---> Package php-pdo.x86_64 0:5.3.3-27.el6_5 will be updated
---> Package php-pdo.x86_64 0:5.3.3-40.el6_6 will be an update
---> Package php-xml.x86_64 0:5.3.3-27.el6_5 will be updated
---> Package php-xml.x86_64 0:5.3.3-40.el6_6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================
 Package                                            Arch                          Version                                          Repository                      Size
========================================================================================================================================================================
Installing:
 smeserver-phpmyadmin                               noarch                        4.0.10.2-2.el6.sme                               stephdl                         24 k
Installing for dependencies:
 dejavu-fonts-common                                noarch                        2.30-2.el6                                       base                            59 k
 dejavu-sans-fonts                                  noarch                        2.30-2.el6                                       base                           1.7 M
 fontpackages-filesystem                            noarch                        1.41-1.1.el6                                     base                           8.8 k
 libmcrypt                                          x86_64                        2.5.8-9.el6                                      epel                            96 k
 libtidy                                            x86_64                        0.99.0-19.20070615.1.el6                         base                           127 k
 php-bcmath                                         x86_64                        5.3.3-40.el6_6                                   updates                         37 k
 php-mcrypt                                         x86_64                        5.3.3-3.el6                                      epel                            19 k
 php-php-gettext                                    noarch                        1.0.11-3.el6                                     epel                            21 k
 php-tcpdf                                          noarch                        6.2.4-1.el6                                      epel                           2.8 M
 php-tcpdf-dejavu-sans-fonts                        noarch                        6.2.4-1.el6                                      epel                           304 k
 php-tidy                                           x86_64                        5.3.3-40.el6_6                                   updates                         39 k
 phpMyAdmin                                         noarch                        4.0.10.9-1.el6                                   epel                           4.1 M
Updating for dependencies:
 php                                                x86_64                        5.3.3-40.el6_6                                   updates                        1.1 M
 php-cli                                            x86_64                        5.3.3-40.el6_6                                   updates                        2.2 M
 php-common                                         x86_64                        5.3.3-40.el6_6                                   updates                        527 k
 php-gd                                             x86_64                        5.3.3-40.el6_6                                   updates                        109 k
 php-imap                                           x86_64                        5.3.3-40.el6_6                                   updates                         53 k
 php-ldap                                           x86_64                        5.3.3-40.el6_6                                   updates                         41 k
 php-mbstring                                       x86_64                        5.3.3-40.el6_6                                   updates                        458 k
 php-mysql                                          x86_64                        5.3.3-40.el6_6                                   updates                         84 k
 php-pdo                                            x86_64                        5.3.3-40.el6_6                                   updates                         78 k
 php-xml                                            x86_64                        5.3.3-40.el6_6                                   updates                        106 k

Transaction Summary
========================================================================================================================================================================
Install      13 Package(s)
Upgrade      10 Package(s)

Total download size: 14 M
Is this ok [y/N]:

seems something wrong on your side

Offline beast

  • *
  • 245
  • +0/-0
Re: Unable to install phpmyadmin
« Reply #4 on: May 15, 2015, 07:30:42 AM »
Now it works fine with no change from my side !!!

NB: Only had a night sleep

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Unable to install phpmyadmin
« Reply #5 on: May 15, 2015, 08:47:34 AM »
did you try

Code: [Select]
yum clean all
?

sometime I don't know why it is needed to remove the /var/cache/yum/* or wait that the cache is obsolete but anyway it is not a sme bug
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline beast

  • *
  • 245
  • +0/-0
Re: Unable to install phpmyadmin
« Reply #6 on: May 15, 2015, 09:01:06 AM »
sometime I don't know why it is needed to remove the /var/cache/yum/* or wait that the cache is obsolete but anyway it is not a sme bug

I was able to install other contribs while phpmyadmin was not working????