MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Releases => Topic started by: aphanciale on 2014-04-05, 10:32:02

Title: RPM Broken
Post by: aphanciale on 2014-04-05, 10:32:02
Getting this error when attempting to install.
Code: [Select]
https://github.com/mustafaramadhan/kloxo/raw/rpms/release/neutral/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Title: Re: RPM Broken
Post by: Spacedust on 2014-04-05, 19:08:21
Got the same :/
Title: Re: RPM Broken
Post by: MRatWork on 2014-04-05, 19:55:29
I think it's Centos 6 issue. Or github?.

I am not sure for github issue because I didn't found this issue in my testing servers. No issue like this for Centos 5.
Title: Re: RPM Broken
Post by: aphanciale on 2014-04-06, 19:30:09
Yes its specific to Centos 6. This file is actually corrupted.
https://github.com/mustafaramadhan/kloxo/raw/rpms/release/neutral/x86_64/repodata/primary.xml.gz

If you try and download and expand you will find that its corrupted.
Title: Re: RPM Broken
Post by: MRatWork on 2014-04-06, 19:45:42
This issue already fix with 'enable=0' for '[release-neutral-arch]' in mratwork.repo.

Nothing wrong with primary.xml.gz except yum bug in centos 6.
Title: Re: RPM Broken
Post by: ebokalsel on 2014-04-07, 16:53:22
I finally made through after editing mratwork.repo

#[mratwork-release-neutral-arch]
#name=MRatWork - release-neutral-arch
#baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/release/neutral/$basearch/
#mirrorlist=http://rpms.mratwork.com/repo/mirrors/mratwork-release-neutral-$basearch-mirrors.txt
#enabled=1
#gpgcheck=0
Title: Re: RPM Broken
Post by: Kloxo-DR on 2014-04-07, 17:08:53
I had the same problem.

I changed it to enabled=0 instead of commenting it.
Title: Re: RPM Broken
Post by: ebokalsel on 2014-04-07, 17:38:25
Another problem happen with php52, i just try to uncomment all #mirrorlist from the repo file, rerun the installation. and it's work!
Title: Re: RPM Broken
Post by: aphanciale on 2014-04-09, 22:49:53
Disabling mratwork-release-neutral-arch is not a solid solution.
If you do sh /script/upcp your Kloxo will break completely as you will loose lxphp.exe.

Can we somehow primary.xml.gz for Centos 6 x86_64 to repair this error. Otherwise Kloxo becomes impossible to install or update on this type of system.
Title: Re: RPM Broken
Post by: MRatWork on 2014-04-10, 04:42:13
With assumption using/update to Kloxo-MR 6.5.1.b latest update (2014040901), run 'sh /script/php53s-installer; sh /script/fixlxphpexe php53s' and then you can run upcp or cleanup.
Title: Re: RPM Broken
Post by: fossxplorer on 2014-04-12, 23:37:46
After moving to testing i get:
[root@mail /]# sh /script/php53s-installer
*** BEGIN 'php53s' install ***
https://github.com/mustafaramadhan/kloxo/raw/rpms/testing/centos6/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
https://github.com/mustafaramadhan/kloxo/raw/rpms/testing/centos6/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from mratwork-testing-version-arch: [Errno 256] No more mirrors to try.
https://github.com/mustafaramadhan/kloxo/raw/rpms/testing/centos6/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from mratwork-testing-version-arch: [Errno 256] No more mirrors to try.
- No PHP packages exists. Only detecting 'php53u' and 'php53'. Exit

[root@mail /]# emacs /etc/yum.repos.d/mratwork.repo
[root@mail /]#
Title: Re: RPM Broken
Post by: MRatWork on 2014-04-13, 03:55:01
I didn't this issue in my servers (using centos 5 or 6).

Try add 'http_caching=packages' in /etc/yum.conf and then 'yum clean all' and then 'sh /script/php53s-installer'.
Title: Re: RPM Broken
Post by: fossxplorer on 2014-04-13, 12:18:57
Works, but now i get Fatal error: Class 'mysqli' not found in /usr/local/lxlabs/kloxo/httpdocs/lib/php/sqlitelib.php on line 59.
Did a yum update kloxomr too: Kloxo-MR 6.5.1.b-2014041302
Title: Re: RPM Broken
Post by: fossxplorer on 2014-04-13, 13:24:39
I've managed to fix the issue by doing the following:
# rm -rf  /opt/php53s    #since i noticed that the structure of /opt/php53s/ was broken
# sh /script/php53s-installer
sh /script/cleanup

I did a 'yum list installed| grep mysql' before and after the steps above and noticed the only change was php55u-mysqlnd.x86_64 updated from 5.5.8-1.ius.el6 to 5.5.10-1.ius.el6.

Thank you for the help!