I believe I've figured out the problem.
http://www.openfusion.net/linux/yum_error_performing_checksum
You need to install the package "python-hashlib" from EPEL in order for yum to understand the sha256 checksums (hashsums) that our apt repo uses.
Please let me know if that fixes the problem. If so, I'll update the documentation on the wiki page.
-Mike#2
On Thu, Dec 11, 2014 at 10:27 AM, Michel Dubois <dubois.michel@gmail.com> wrote:
Michael
Thanks for your info.
I don't have any proxy. I did the booth yum command and they didn't solve the problem. Every time I've "Error performing checksum". The files downloaded are in the good place
:~# ls -hl /var/cache/yum/x2go-extras/43a690f9ad9091c1ebdfc43d066d867fd9860809fe95b6ff3ff69891daa2414f-filelists.sqlite.bz2 -rw-r--r-- 1 root root 1,1K janv. 7 2014 /var/cache/yum/x2go-extras/43a690f9ad9091c1ebdfc43d066d867fd9860809fe95b6ff3ff69891daa2414f-filelists.sqlite.bz2 :~# ls -hl /var/cache/yum/x2go-extras/d066d993f0f3f6a6f1ef2f3c5f989bdb621b259fbc443aeb960d17a4e42ec8e8-primary.sqlite.bz2 -rw-r--r-- 1 root root 2,9K janv. 7 2014 /var/cache/yum/x2go-extras/d066d993f0f3f6a6f1ef2f3c5f989bdb621b259fbc443aeb960d17a4e42ec8e8-primary.sqlite.bz2
I erased them and dowloaded again no issue.
I've the error with the yum makecache as well :
:~# yum makecache Loaded plugins: downloadonly, fastestmirror, security Determining fastest mirrors base
- base: mirror.in2p3.fr
- epel: mirror.ibcp.fr
- extras: mirror.in2p3.fr
- updates: fr2.rpmfind.net
| 1.1 kB 00:00 base/filelists | 3.7 MB 00:00 base/other | 14 MB 00:00 base/group | 1.1 MB 00:00 base/primary | 1.3 MB 00:00 epel | 3.7 kB 00:00 epel/filelists_db | 5.5 MB 00:00 epel/updateinfo | 533 kB 00:00 epel/other_db | 2.4 MB 00:00 epel/group_gz | 167 kB 00:00 epel/primary_db | 3.9 MB 00:00 extras | 2.1 kB 00:00 extras/filelists_db | 224 kB 00:00 extras/other_db | 442 kB 00:00 extras/group | 9.7 kB 00:00 extras/primary_db | 173 kB 00:00 updates | 1.9 kB 00:00 updates/filelists_db | 523 kB 00:00 updates/other_db | 2.4 MB 00:00 updates/primary_db | 181 kB 00:00 x2go-extras | 2.9 kB 00:00 x2go-extras/filelists_db | 1.1 kB 00:00 http://packages.x2go.org/epel/5/extras/x86_64/repodata/43a690f9ad9091c1ebdfc...: [Errno -3] Error performing checksum Trying other mirror. x2go-releases | 2.9 kB 00:00 x2go-releases/filelists_db | 21 kB 00:00 http://packages.x2go.org/epel/5/main/x86_64/repodata/ac0930975d2f4ba0887bb58...: [Errno -3] Error performing checksum Trying other mirror. base 3667/3667 x2go-extras/primary_db | 2.9 kB 00:00 http://packages.x2go.org/epel/5/extras/x86_64/repodata/d066d993f0f3f6a6f1ef2...: [Errno -3] Error performing checksum Trying other mirror. Error: failure: repodata/d066d993f0f3f6a6f1ef2f3c5f989bdb621b259fbc443aeb960d17a4e42ec8e8-primary.sqlite.bz2 from x2go-extras: [Errno 256] No more mirrors to try.
Thanks for you help.
2014-12-11 15:48 GMT+01:00 Michael DePaulo <mikedep333@gmail.com>:
Hi Michael,
Sorry, I misread your last email. I thought you had solved the problem already.
Both of these URLs are correct for your CentOS 5.11 system. In other words, either URL should work fine: http://packages.x2go.org/epel/5/main/$basearch http://packages.x2go.org/epel/$releasever/main/$basearch
The URL with "6" is not the correct one.
I am not certain why you are getting "Error performing checksum".
Perhaps you should try running "yum clean all", and then "yum makecache"? Both of those commands require sudo or root. I recall having to run those 2 commands after I edited a .repo file recently.
Also, perhaps a web proxy is interfering?
And perhaps you should try downloading
http://packages.x2go.org/epel/5/extras/x86_64/repodata/d066d993f0f3f6a6f1ef2... with wget or a web browser on this machine. The downloaded file should be 2928 bytes.
-Mike#2
On Thu, Dec 11, 2014 at 8:19 AM, Michel Dubois <dubois.michel@gmail.com> wrote:
Hi Michael,
I didn't understand well.
Anyway I tried these booth URL:
http://packages.x2go.org/epel/6/main/$basearch
and this one
http://packages.x2go.org/epel/5/main/$basearch
And when I did a yum update I've got this error ;
~# yum update
Loaded plugins: downloadonly, fastestmirror, security
Loading mirror speeds from cached hostfile
base: mirror.in2p3.fr
epel: fr2.rpmfind.net
extras: mirror.in2p3.fr
updates: fr2.rpmfind.net
x2go-extras/primary_db | 2.9 kB 00:00
http://packages.x2go.org/epel/5/extras/x86_64/repodata/d066d993f0f3f6a6f1ef2...: [Errno -3] Error performing checksum
Trying other mirror.
Error: failure:
repodata/d066d993f0f3f6a6f1ef2f3c5f989bdb621b259fbc443aeb960d17a4e42ec8e8-primary.sqlite.bz2 from x2go-extras: [Errno 256] No more mirrors to try.
What's kind of mirror I've to use?
I'm few confusing.
Thnaks for your help
Le jeudi 11 décembre 2014 07:54:46, vous avez écrit :
On Thu, Dec 11, 2014 at 5:50 AM, Michel Dubois <dubois.michel@gmail.com> wrote:
Hi Mike,
I've got some email problem with the subscrition. I'm hoping ti's solved
now.
In the link tha tyou gave me, should I replace this URL :
by this one
Thanks.
Le jeudi 11 décembre 2014 10:08:27, vous avez écrit :
Hi Michel,
On Mi 10 Dez 2014 17:35:47 CET, Michel Dubois wrote:
[...]
Try obtaining packages from the repo as decribed below and give
feedback if same or other errors occur:
Thanks+Greets,
Mike
PS: Make sure you get subscribed to [1] so that you don't miss further
discussions on this.
[...]
Hi guys,
Using this folder as a template:
http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/
I created a whole bunch of symlinks on the server:
x2go-admin@ymir:/srv/sites/x2go.org/packages/epel$ ls -l
total 12
drwxr-sr-x 5 x2go-admin x2go 4096 Dec 11 13:35 5
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:38 5.0 -> 5
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:37 5.1 -> 5
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:36 5.10 -> 5
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:36 5.11 -> 5
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:37 5.2 -> 5
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:37 5.3 -> 5
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:37 5.4 -> 5
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:37 5.5 -> 5
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:37 5.6 -> 5
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:37 5.7 -> 5
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:37 5.8 -> 5
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:35 5.9 -> 5
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:36 5Client -> 5
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:37 5Server -> 5
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:36 5Workstation -> 5
drwxr-sr-x 6 x2go-admin x2go 4096 Dec 11 13:42 6
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:38 6.0 -> 6
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:37 6.1 -> 6
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:37 6.10 -> 6
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:37 6.11 -> 6
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:37 6.2 -> 6
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:37 6.3 -> 6
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:37 6.4 -> 6
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:37 6.5 -> 6
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:37 6.6 -> 6
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:37 6.7 -> 6
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:37 6.8 -> 6
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:37 6.9 -> 6
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:38 6Client -> 6
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:38 6Server -> 6
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:38 6Workstation -> 6
drwxr-sr-x 5 x2go-admin x2go 4096 Apr 2 2014 7
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:42 7.0 -> 7
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:42 7.1 -> 7
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:43 7.10 -> 7
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:43 7.11 -> 7
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:43 7.2 -> 7
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:43 7.3 -> 7
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:43 7.4 -> 7
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:43 7.5 -> 7
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:43 7.6 -> 7
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:43 7.7 -> 7
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:43 7.8 -> 7
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:43 7.9 -> 7
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:45 7Client -> 7
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:38 7Everything -> 7
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:38 7Server -> 7
lrwxrwxrwx 1 x2go-admin x2go 1 Dec 11 13:38 7Workstation -> 7
And I then updated the wiki page to specify "$releasever" rather than
"6". Therefore, the wiki page should apply to all versions of EL 5.x,
6.x and 7.x .
If your systems' x2go.repo file specifies "5", "6" or "7", there is no
need to change it.
-Mike#2
--
.-"-. .-"-. .-"-. .-"-. .-"-. .-"-.
"-.-" "-.-" "-.-" "-.-" "-.-" "-.-"
Michel Dubois
Ingénieur Support CIM PACA Conception
Tel : 04 92 38 85 53
Mobile : 06 09 65 71 76
x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
--
Michel Dubois
x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user