Koozali.org: home of the SME Server

phpMyAdmin For SME8b6 ?

Offline wbell

  • **
  • 49
  • +0/-0
phpMyAdmin For SME8b6 ?
« on: May 13, 2011, 08:02:34 PM »
According to the SME8.0 Contribs QA, phpMyAdmin should be installed "as per wiki," and it "works as expected".  However, this is not the case.

Anyone have a workaround for this?

Code: [Select]
[root@test-sme8 ~]# yum --enablerepo=sme7contribs install smeserver-phpmyadmin
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
 * base: mirror.nic.uoregon.edu
 * sme7contribs: smeserver.hkisl.net
 * smeaddons: smeserver.hkisl.net
 * smeextras: smeserver.hkisl.net
 * smeos: smeserver.hkisl.net
 * smeupdates: smeserver.hkisl.net
 * updates: mirror.nic.uoregon.edu
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package smeserver-phpmyadmin.noarch 0:2.11.1.2-3.el4.sme set to be updated
--> Processing Dependency: phpmyadmin for package: smeserver-phpmyadmin
--> Finished Dependency Resolution
smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch from sme7contribs has depsolving problems
  --> Missing Dependency: phpmyadmin is needed by package smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch (sme7contribs)
Error: Missing Dependency: phpmyadmin is needed by package smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch (sme7contribs)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root@test-sme8 ~]#


 :o
« Last Edit: May 13, 2011, 08:05:23 PM by wbell »

guest22

Re: phpMyAdmin For SME8b6 ?
« Reply #1 on: May 16, 2011, 09:15:45 AM »
manually download phpmyadmin from smeaddons and yum localinstall.

http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7.5.1/smeaddons/i386/RPMS/

then try again. Some contribs have moved locations resulting in unresolved dependencies

Offline wbell

  • **
  • 49
  • +0/-0
Re: phpMyAdmin For SME8b6 ?
« Reply #2 on: May 16, 2011, 03:45:39 PM »
manually download phpmyadmin from smeaddons and yum localinstall.

http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7.5.1/smeaddons/i386/RPMS/

then try again. Some contribs have moved locations resulting in unresolved dependencies

"Forbidden
You don't have permission to access /os/Linux/distr/smeserver/releases/7.5.1/smeaddons/i386/RPMS/ on this server.
Apache/2.2.3 (CentOS) Server at ftp.nluug.nl Port 80"

Offline wbell

  • **
  • 49
  • +0/-0
Re: phpMyAdmin For SME8b6 ?
« Reply #3 on: May 16, 2011, 03:53:04 PM »
I manually downloaded the RPM here:
http://ftp.vim.org/pub/pub/os/Linux/distr/smeserver/releases/7/smecontribs/i386/RPMS/

However, there is still a dependency issue...

Code: [Select]
[root@test-sme8 ~]# yum localinstall smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch.rpm
Loaded plugins: fastestmirror, protect-packages, smeserver
Setting up Local Package Process
Examining smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch.rpm: smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch
Marking smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch.rpm to be installed
Loading mirror speeds from cached hostfile
 * base: mirror.batblue.com
 * smeaddons: distro.ibiblio.org
 * smeextras: distro.ibiblio.org
 * smeos: distro.ibiblio.org
 * smeupdates: distro.ibiblio.org
 * updates: mirror.metrocast.net
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Resolving Dependencies
--> Running transaction check
---> Package smeserver-phpmyadmin.noarch 0:2.11.1.2-3.el4.sme set to be updated
--> Processing Dependency: phpmyadmin for package: smeserver-phpmyadmin
--> Finished Dependency Resolution
smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch from /smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch has depsolving problems
  --> Missing Dependency: phpmyadmin is needed by package smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch (/smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch)
Error: Missing Dependency: phpmyadmin is needed by package smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch (/smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root@test-sme8 ~]#

 :-(

guest22

Re: phpMyAdmin For SME8b6 ?
« Reply #4 on: May 16, 2011, 04:33:11 PM »
Did you do:

yum localinstall phpmyadmin-2.11.11.3-1.el4.rf.noarch.rpm

and then:

yum --enablerepo=sme7contribs install smeserver-phpmyadmin

?


ps. pick a mirror close to you geographical location: http://mirror.contribs.org/mirrors/

Offline wbell

  • **
  • 49
  • +0/-0
Re: phpMyAdmin For SME8b6 ?
« Reply #5 on: May 16, 2011, 04:39:36 PM »
Did you do:
yum localinstall phpmyadmin-2.11.11.3-1.el4.rf.noarch.rpm
and then:
yum --enablerepo=sme7contribs install smeserver-phpmyadmin
?
ps. pick a mirror close to you geographical location: http://mirror.contribs.org/mirrors/

The "phpmyadmin" package did not exist on either of the previous repositories.
See my next post, for the solution...

Offline wbell

  • **
  • 49
  • +0/-0
Re: phpMyAdmin For SME8b6 ?
« Reply #6 on: May 16, 2011, 04:40:43 PM »
Okay...  Thanks, to hawk, for the solution...
  • Go here...
http://www.sme-server.de/download/sme7/contribs/smecontribs/index.html
  • Manually download...
phpmyadmin-2.11.11.1-1.el4.rf.noarch.rpm
smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch.rpm
  • yum localinstall phpmyadmin-2.11.11.1-1.el4.rf.noarch.rpm
  • yum localinstall smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch.rpm
  • signal-event post-upgrade; signal-event reboot


 :D

Offline wbell

  • **
  • 49
  • +0/-0
Re: phpMyAdmin For SME8b6 ?
« Reply #7 on: May 16, 2011, 04:56:03 PM »

The "phpmyadmin" package did not exist on either of the previous repositories.
See my next post, for the solution...


SIDENOTE... I just checked several other repository mirrors, and the "phpmyadmin" package did NOT exist on those either!  The "smeserver-phpmyadmin" package, however, was present.

 :smile:

guest22

Re: phpMyAdmin For SME8b6 ?
« Reply #8 on: May 16, 2011, 04:57:23 PM »
That's not an officially listed mirror. Use at your own risk. All official mirrors do have the package

For example:

http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7.5.1/smeaddons/i386/RPMS/phpmyadmin-2.11.11.3-1.el4.rf.noarch.rpm


Offline wbell

  • **
  • 49
  • +0/-0
Re: phpMyAdmin For SME8b6 ?
« Reply #9 on: May 16, 2011, 05:09:06 PM »
That's not an officially listed mirror. Use at your own risk. All official mirrors do have the package

For example:

http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7.5.1/smeaddons/i386/RPMS/phpmyadmin-2.11.11.3-1.el4.rf.noarch.rpm

Okay, so that was partially my fault.  I was looking in the "smecontribs" location, instead of "smeaddons".

But if that is the case, why did it not automatically find the package in my post HERE?
Yum is clearly looking in "smeaddons", of the "distro.ibiblio.org" repository.


{confused}

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: phpMyAdmin For SME8b6 ?
« Reply #10 on: May 16, 2011, 05:46:30 PM »
Yum is clearly looking in "smeaddons", of the "distro.ibiblio.org" repository.
Yes, but most likely for SME Server 8 smeaddons and not SME Server 7 smeaddons.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline wbell

  • **
  • 49
  • +0/-0
Re: phpMyAdmin For SME8b6 ?
« Reply #11 on: May 16, 2011, 06:08:16 PM »
Yes, but most likely for SME Server 8 smeaddons and not SME Server 7 smeaddons.

Okay, so just for clarification...

When I execute the command...  "yum --enablerepo=sme7contribs install smeserver-phpmyadmin"
It will not search the SME7 repository for dependencies.  Correct?

 :?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: phpMyAdmin For SME8b6 ?
« Reply #12 on: May 16, 2011, 06:18:31 PM »
When I execute the command...  "yum --enablerepo=sme7contribs install smeserver-phpmyadmin"
It will not search the SME7 repository for dependencies.  Correct?
The sme7contribs is only a name as well as are all other repositories, the configuration will determine what packages are included as they determine at what location yum will look. Generally speaking on SME Server 8 yum will only look for SME Server 8 repositories, with SME Server 8 compatible packages, unless explicitly configured differently as done with sme7contribs in this case.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline wbell

  • **
  • 49
  • +0/-0
Re: phpMyAdmin For SME8b6 ?
« Reply #13 on: May 16, 2011, 07:03:14 PM »
The sme7contribs is only a name as well as are all other repositories, the configuration will determine what packages are included as they determine at what location yum will look. Generally speaking on SME Server 8 yum will only look for SME Server 8 repositories, with SME Server 8 compatible packages, unless explicitly configured differently as done with sme7contribs in this case.

Yeah, I understand that "sme7contribs" is just a name.
I followed the Setup here:  http://wiki.contribs.org/SME8.0_Contribs_QA#Setup
Then, I ran "yum --enablerepo=sme7contribs install smeserver-phpmyadmin", to explicitly define the "sme7contribs" repository to install from.
When doing so, it did not search the "sme7contribs" repository for the dependency.  Instead, it searched the SME8 repository, which found nothing.
I would think that it should not only install the defined package from the explicit repository, but it should also look for dependencies there too, right?
In this case, it did not do that.

 :-?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: phpMyAdmin For SME8b6 ?
« Reply #14 on: May 16, 2011, 07:06:06 PM »
I would think that it should not only install the defined package from the explicit repository, but it should also look for dependencies there too, right?
No, it should only look in SME Server 8 repositories as it does. The sme7contribs option is a work around (since contribs are not released when we are still in beta). Packages in smeaddons for SME Server 7 can be incompatible with SME Server 8. SME Server 8 is still empty because of the earlier mentioned reason.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)