Project

General

Profile

Bug #697

Greyhole Missing

Added by bigfoot65 almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
hda-install
Target version:
-
Start date:
12/16/2010
Due date:
% Done:

100%


Description

php-mbstring is needed for greyhole install on Fedora 14. Tried a USB install tonight and greyhole would not install due to the missing dependency.

hda-updates.log View (759 KB) jackpal, 12/17/2010 05:06 AM

amahi-platform-migration.log View (2.05 KB) jackpal, 12/17/2010 05:06 AM

History

#1 Updated by cpg almost 11 years ago

  • Status changed from New to Feedback
  • Assignee changed from cpg to bigfoot65

well, hda-greyhole has a dep for that.

i really do not know where the packages come from for the usb disk, so how am i to help?

#2 Updated by jackpal almost 11 years ago

From hda-install log:

Looks like on Dec 14 greyhole rpm in repos was updated from ver 0.6.28-1 to ver 0.7.6-1

Maybe all the repos are not up to date because I got a dep error

Its not clear why in the log but its most likely because no php-mbstring package exists in the repo at that time

Later on late Dec 15 11pm EST that package dep was resolved as my log shows below:

I bolded the repos used because they changed for each update (as they should)

I am on F14x64

==========================================
starting hda update - sleeping 40 seconds
hda update attempt #1 @ Tue Dec 14 02:05:49 EST 2010
Loaded plugins: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile * fedora: nas1.itc.virginia.edu * updates: mirror.steadfast.net
Setting up Install Process
Package hdactl-3.6-3.x86_64 already installed and latest version
Package hda-platform-5.6.3-1.noarch already installed and latest version
Package hda-suite-0.15-1.noarch already installed and latest version
Package hdapsd-20090401-6.fc14.x86_64 already installed and latest version
Package hda-greyhole-0.6.28-1.x86_64 already installed and latest version
Package hda-release-1.0-1.noarch already installed and latest version
Nothing to do ==========================================
starting hda update - sleeping 71 seconds
hda update attempt #1 @ Tue Dec 14 03:06:20 EST 2010
Loaded plugins: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile * fedora: nas1.itc.virginia.edu * updates: ftp.usf.edu
Setting up Install Process
Package hdactl-3.6-3.x86_64 already installed and latest version
Package hda-suite-0.15-1.noarch already installed and latest version
Package hdapsd-20090401-6.fc14.x86_64 already installed and latest version
Package hda-greyhole-0.6.28-1.x86_64 already installed and latest version
Package hda-release-1.0-1.noarch already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package hda-platform.noarch 0:5.6.9-1 set to be updated
--> Processing Dependency: hda-greyhole >= 0.7.5 for package: hda-platform-5.6.9-1.noarch
--> Finished Dependency Resolution
Error: Package: hda-platform-5.6.9-1.noarch (amahi)
Requires: hda-greyhole >= 0.7.5
Installed: hda-greyhole-0.6.28-1.x86_64 (@amahi)
hda-greyhole = 0.6.28-1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Loaded plugins: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile * fedora: chi-10g-1-mirror.fastsoft.net * updates: ftp.usf.edu
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package hda-platform.noarch 0:5.6.9-1 set to be updated
--> Processing Dependency: hda-greyhole >= 0.7.5 for package: hda-platform-5.6.9-1.noarch
--> Finished Dependency Resolution
Error: Package: hda-platform-5.6.9-1.noarch (amahi)
Requires: hda-greyhole >= 0.7.5
Installed: hda-greyhole-0.6.28-1.x86_64 (@amahi)
hda-greyhole = 0.6.28-1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

This went on for me until it resolved itself automatically late on Dec 15 EST as my log shows below:

==========================================
starting hda update - sleeping 54 seconds
hda update attempt #2 @ Wed Dec 15 22:06:14 EST 2010
Loaded plugins: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile * fedora: nas1.itc.virginia.edu * updates: ftp.usf.edu
Setting up Install Process
Package hdactl-3.6-3.x86_64 already installed and latest version
Package hda-suite-0.15-1.noarch already installed and latest version
Package hdapsd-20090401-6.fc14.x86_64 already installed and latest version
Package hda-greyhole-0.6.28-1.x86_64 already installed and latest version
Package hda-release-1.0-1.noarch already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package hda-platform.noarch 0:5.6.9-1 set to be updated
--> Processing Dependency: hda-greyhole >= 0.7.5 for package: hda-platform-5.6.9-1.noarch
--> Finished Dependency Resolution
Error: Package: hda-platform-5.6.9-1.noarch (amahi)
Requires: hda-greyhole >= 0.7.5
Installed: hda-greyhole-0.6.28-1.x86_64 (@amahi)
hda-greyhole = 0.6.28-1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Loaded plugins: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile * fedora: nas1.itc.virginia.edu * updates: ftp.usf.edu
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package hda-platform.noarch 0:5.6.9-1 set to be updated
--> Processing Dependency: hda-greyhole >= 0.7.5 for package: hda-platform-5.6.9-1.noarch
--> Finished Dependency Resolution
Error: Package: hda-platform-5.6.9-1.noarch (amahi)
Requires: hda-greyhole >= 0.7.5
Installed: hda-greyhole-0.6.28-1.x86_64 (@amahi)
hda-greyhole = 0.6.28-1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest ==========================================
starting hda update - sleeping 64 seconds
hda update attempt #3 @ Wed Dec 15 22:07:30 EST 2010
Loaded plugins: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile * fedora: fedora.fastsoft.net * updates: nas1.itc.virginia.edu
Setting up Install Process
Package hdactl-3.6-3.x86_64 already installed and latest version
Package hda-suite-0.15-1.noarch already installed and latest version
Package hdapsd-20090401-6.fc14.x86_64 already installed and latest version
Package hda-release-1.0-1.noarch already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package hda-greyhole.x86_64 0:0.7.6-1 set to be updated
--> Processing Dependency: php-mbstring for package: hda-greyhole-0.7.6-1.x86_64
---> Package hda-platform.noarch 0:5.6.9-1 set to be updated
--> Running transaction check
---> Package php-mbstring.x86_64 0:5.3.3-1.fc14 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size ================================================================================
Updating:
hda-greyhole x86_64 0.7.6-1 amahi 51 k
hda-platform noarch 5.6.9-1 amahi 1.1 M
Installing for dependencies:
php-mbstring x86_64 5.3.3-1.fc14 fedora 452 k

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

Total download size: 1.6 M
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 1.6 M
--------------------------------------------------------------------------------
Total 559 kB/s | 1.6 MB 00:02
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

Installing     : php-mbstring-5.3.3-1.fc14.x86_64                         1/5
Updating       : hda-greyhole-0.7.6-1.x86_64                              2/5 
warning: /etc/greyhole.conf created as /etc/greyhole.conf.rpmnew
Updating       : hda-platform-5.6.9-1.noarch                              3/5
Cleanup        : hda-platform-5.6.3-1.noarch                              4/5
Cleanup        : hda-greyhole-0.6.28-1.x86_64                             5/5

Dependency Installed:
php-mbstring.x86_64 0:5.3.3-1.fc14

Updated:
hda-greyhole.x86_64 0:0.7.6-1 hda-platform.noarch 0:5.6.9-1

Complete!

#3 Updated by bigfoot65 almost 11 years ago

I will try again when I get home from work. The USB install uses the Fedora Full DVD image, so it must be a Fedora repo issue. Hopefully when I try it tonight, php-mbstring will be available in the repo my system selects.

#4 Updated by bigfoot65 almost 11 years ago

bigfoot65 wrote:

I will try again when I get home from work. The USB install uses the Fedora Full DVD image, so it must be a Fedora repo issue. Hopefully when I try it tonight, php-mbstring will be available in the repo my system selects.

I wonder if it is the installation repo that does not have php-mbstring. That is all that is typically selected for install. When I selected Fedora 14 repo in addition, it worked. So makes me think we either need to host php-mbstring on Amahi or add to the instructions to select the extra repo. I would recommend the former as the ideal solution.

#5 Updated by jackpal almost 11 years ago

bigfoot65 wrote:

bigfoot65 wrote:

I will try again when I get home from work. The USB install uses the Fedora Full DVD image, so it must be a Fedora repo issue. Hopefully when I try it tonight, php-mbstring will be available in the repo my system selects.

I wonder if it is the installation repo that does not have php-mbstring. That is all that is typically selected for install. When I selected Fedora 14 repo in addition, it worked. So makes me think we either need to host php-mbstring on Amahi or add to the instructions to select the extra repo. I would recommend the former as the ideal solution.

Well I have a basic install of F14x64. My only repos are:

amahi.repo fedora.repo fedora-updates.repo fedora-updates-testing.repo

The php-mbstring package is found in the fedora-updates-testing.repo

Here is the actual link at Stanford: http://mirror.stanford.edu/fedora/linux/updates/testing/14/x86_64/php-mbstring-5.3.4-1.fc14.1.x86_64.rpm

I guess I am not sure if the testing repo was added by myself. I really don't think so but apparently unless you have that repo defined then you are probably not getting php-mbstring until it comes out of testing.

#6 Updated by jackpal almost 11 years ago

jackpal wrote:

bigfoot65 wrote:

bigfoot65 wrote:

I will try again when I get home from work. The USB install uses the Fedora Full DVD image, so it must be a Fedora repo issue. Hopefully when I try it tonight, php-mbstring will be available in the repo my system selects.

I wonder if it is the installation repo that does not have php-mbstring. That is all that is typically selected for install. When I selected Fedora 14 repo in addition, it worked. So makes me think we either need to host php-mbstring on Amahi or add to the instructions to select the extra repo. I would recommend the former as the ideal solution.

Well I have a basic install of F14x64. My only repos are:

amahi.repo fedora.repo fedora-updates.repo fedora-updates-testing.repo

The php-mbstring package is found in the fedora-updates-testing.repo

Here is the actual link at Stanford: http://mirror.stanford.edu/fedora/linux/updates/testing/14/x86_64/php-mbstring-5.3.4-1.fc14.1.x86_64.rpm

I guess I am not sure if the testing repo was added by myself. I really don't think so but apparently unless you have that repo defined then you are probably not getting php-mbstring until it comes out of testing.

Found in this location also which is NOT the testing repo:

F14
X64 - http://mirror.lib.ucdavis.edu/fedora/linux/releases/14/Everything/x86_64/os/Packages/php-mbstring-5.3.3-1.fc14.x86_64.rpm
i686- http://mirror.lib.ucdavis.edu/fedora/linux/releases/14/Everything/i386/os/Packages/php-mbstring-5.3.3-1.fc14.i686.rpm

F12
X64 - http://mirror.lib.ucdavis.edu/fedora/linux/releases/12/Everything/x86_64/os/Packages/php-mbstring-5.3.0-6.fc12.x86_64.rpm
i686- http://mirror.lib.ucdavis.edu/fedora/linux/releases/12/Everything/i386/os/Packages/php-mbstring-5.3.0-6.fc12.i686.rpm

However this is NOT on the DVD media. I think this package is just being pushed out into mainstream (notice the ver diffs) and this bug will probably fix itself shortly. Thats what you get for "bleeding edge" go team !

#7 Updated by jackpal almost 11 years ago

So I do not think its clear why it seems some repos have this package and others don't. That is a problem you would think would fix itself as time goes on. Clearly my logs show that the problem fixed itself on the Dec15.

Here is my take on what caused the issue:
hda-platform.noarch 0:5.6.9-1 has a dep for hda-greyhole-0.7.6-1 which had a dep for php-mbstring-5.3.3-1
Logging does not clearly show this path but this has to be the case. Note this is for F14x64

Putting the packages in the Amahi repo may cause more issues than fix. Last night the package php-mbstring-5.3.4-1.fc14.1.i686 was copied into the Amahi repo. This package is actually newer than what greyhole requires which just causes new dep errors with PHP. Right now if I run "yum clean all" and then run "yum update" I get dep errors due to this package existing. This is causing 2 new problems:

  1. I am on a 64 bit system so why is yum trying to install a 32bit package
  2. This version in the Amahi repo is from the Fedora testing repo and is trying to update my already working system.

Here are the results of my "yum update" after running "yum clean all":

--> Finished Dependency Resolution
Error: Package: php-mbstring-5.3.4-1.fc14.1.i686 (amahi)
Requires: php-common = 5.3.4-1.fc14.1
Installed: php-common-5.3.3-1.fc14.x86_64 (@fedora)
php-common = 5.3.3-1.fc14
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Notice that yum "sees" the latest package and tries to use it thereby creating the multiple dep errors for php-common. Obviously we don't want to go here.

Lets remove php-mbstring-5.3.4-1.fc14.1.i686 from the Amahi repo first. Then lets put these packages below in the F14 Amahi repo and test again:
F14
X64 - http://mirror.lib.ucdavis.edu/fedora/linux/releases/14/Everything/x86_64/os/Packages/php-mbstring-5.3.3-1.fc14.x86_64.rpm
i686- http://mirror.lib.ucdavis.edu/fedora/linux/releases/14/Everything/i386/os/Packages/php-mbstring-5.3.3-1.fc14.i686.rpm

#8 Updated by bigfoot65 almost 11 years ago

The latest platform does not appear to be in the Fedora repos. Also, thit appeared the test version of php-mbstring (5.3.4 versus stable 5.3.3) was being pulled from amahi. I did an install adding the Fedora repo and it worked, except for the php-mbstring conflict. Since hda-platform-5.6.11-1.noarch.rpm is not in the repo, the user login does not work. Once I pulled it from the alpha site, everything was fine.

#9 Updated by Anonymous almost 11 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:"0627da98193b14a163c948f47fadd2e99613f578".

#10 Updated by bigfoot65 almost 11 years ago

  • Status changed from Closed to Assigned
  • Assignee changed from bigfoot65 to cpg

During install, the package php-mbsring 5.3.4 needs php-common. Not sure if this depend is still in the Amahi repo, but it acts like it is. The version needed is 5.3.3 from what I can tell. I have done an install with the issue and when checking the package, it would not install 5.3.4 as 5.3.3 was most current with the fedora update repo.

#11 Updated by cpg almost 11 years ago

  • Status changed from Assigned to Feedback
  • Assignee changed from cpg to bigfoot65

ok, removed 5.3.4 (386) and added 5.3.3 (i386)

sorry about the run around.

#12 Updated by bigfoot65 almost 11 years ago

np...we have success for 32 bit. The RPM for 64-bit is http://mirror.lib.ucdavis.edu/fedora/linux/releases/14/Everything/x86_64/os/Packages/php-mbstring-5.3.3-1.fc14.x86_64.rpm in case you need it.

I think we are back on target now :)

#13 Updated by bigfoot65 almost 11 years ago

  • Status changed from Feedback to Closed

Issue corrected.

#14 Updated by gboudreau almost 11 years ago

A lot of users are reporting this error too:
http://forums.amahi.org/viewtopic.php?f=39&t=2202

Latest just posted; either the fix didn't help him, or he installed before you fixed earlier today.

#15 Updated by cpg almost 11 years ago

  • Status changed from Closed to Feedback
  • Assignee changed from bigfoot65 to gboudreau

why would this happen on f12 installs?

this was never resolved.

did you (gboudreau) add it as a dependency (i.e. the code needs it now)?

did something get updated in f12? (how? it's EOLed!)

#16 Updated by jackpal almost 11 years ago

Fresh install of F12_x64 with Amahi repo enabled as in installation doc. Applied all updates via yum. For some reason php-mbstring does not get installed at all.

From boot.log
PHP Fatal error: Call to undefined function mb_strlen() in /usr/bin/greyhole on line 3778

Results:
[root@hda12 ~]# ls /etc/yum.repos.d/
amahi.repo fedora-rawhide.repo fedora.repo fedora-updates.repo fedora-updates-testing.repo

[root@hda12 ~]# rpm -qa|grep hda
hda-platform-5.6.11-1.noarch
hda-release-1.0-1.noarch
hdactl-3.6-1.x86_64
hda-greyhole-0.7.5-1.x86_64
hda-suite-0.15-1.noarch
hdapsd-20090401-5.fc12.1.x86_64

[root@hda12 ~]# rpm -qa|grep php-mb

[root@hda12 ~]# rpm -qa|grep php
php-pdo-5.3.3-1.fc12.x86_64
php-common-5.3.3-1.fc12.x86_64
php-mysql-5.3.3-1.fc12.x86_64
php-cli-5.3.3-1.fc12.x86_64
php-5.3.3-1.fc12.x86_64

[root@hda12 ~]# yum search php-mb
Loaded plugins: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile * fedora: ftp.usf.edu * updates: ftp.usf.edu ====================================================== Matched: php-mb ======================================================
php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
horde-enhanced.noarch : Adds extra functionality to the horde framework

[root@hda12 ~]# yum update
Loaded plugins: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile * fedora: ftp.usf.edu * updates: ftp.usf.edu
Setting up Update Process
No Packages marked for Update

The only thing I can think of is that new version of greyhole is not calling it as a dependency when it gets installed. The workaround is to just do: yum -y install php-mbstring

#17 Updated by jackpal almost 11 years ago

Ok, correction. The package is probably being called as a dep but it is not avaialable. I've checked four F12 repos:

http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/12/Fedora/x86_64/os/Packages/
http://ftp.linux.ncsu.edu/pub/fedora/linux/releases/12/Fedora/x86_64/os/Packages/
http://mirrors.kernel.org/fedora/releases/12/Fedora/x86_64/os/Packages/
http://www.gtlib.gatech.edu/pub/fedora.redhat/linux/releases/12/Fedora/i386/os/Packages/

None of these repos have php-mbstring (32bit or 64bit)

So I guess we have to find php-mbstring for F12 someplace and add it to the Amahi f12 repo as well.

Somehow I located these packages the other day.

F12
X64 - http://mirror.lib.ucdavis.edu/fedora/linux/releases/12/Everything/x86_64/os/Packages/php-mbstring-5.3.0-6.fc12.x86_64.rpm
i686- http://mirror.lib.ucdavis.edu/fedora/linux/releases/12/Everything/i386/os/Packages/php-mbstring-5.3.0-6.fc12.i686.rpm

Maybe the problem lies around the fact that the packages are in the "everything" channel rather than the "os" channel. Not sure, just guessing.

I installed a fresh F14 and did not have this issue.

#18 Updated by cpg almost 11 years ago

  • Status changed from Feedback to Closed
  • Assignee changed from gboudreau to cpg

ok, i updated the f12 repos with php-mbstring-5.3.3-1.fc12.x86.f12 packages (for 386 and x86_64 only, no arm versions).

should be all up to date. i'm going to try and do a test install. i did not have time to actually find out why this happened.

did greyhole include this as a requirement in a point release and i did not notice?

tentatively closing

Also available in: Atom