STLINUX 2.3 problem

john_28

Registered
Messages
5
hi
i installed fedora 14 and also mount the stlinux 2.3( iso) as http://www.stlinux.com/install/distribution says
when i want to install stlinux i get that error

[root@localhost cdrom]# ./install all-sh4-glibc
*************************************************
* Installing STLINUX 2.3
*************************************************

Trying to find out if you are inside STMicroelectronics
Please wait for up to 10 seconds.....
You are not inside ST, using www.stlinux.com

***************************************************************
* There is a distribution available in the local directory *
* This will be used for install. You can issue an *
* stmyum update command to update your system later on *
***************************************************************

Looking for a GPG key file
Found a GPG key file in local directory
Installing stmyum
Checking for necessary python packages
Traceback (most recent call last):
File "/opt/STM/STLinux-2.3/host/bin/stmyum", line 9, in <module>
import yummain
File "/opt/STM/STLinux-2.3/host/usr/share/yum-cli/yummain.py", line 22, in <module>
from yum import Errors
File "/opt/STM/STLinux-2.3/host/usr/lib/python2.3/site-packages/yum/__init__.py"
, line 399
self.repos.populateSack(with='filelists')
^
SyntaxError: invalid syntax
Updating stmyum
Traceback (most recent call last):
File "/opt/STM/STLinux-2.3/host/bin/stmyum", line 9, in <module>
import yummain
File "/opt/STM/STLinux-2.3/host/usr/share/yum-cli/yummain.py", line 22, in <module>
from yum import Errors
File "/opt/STM/STLinux-2.3/host/usr/lib/python2.3/site-packages/yum/__init__.py"
, line 399
self.repos.populateSack(with='filelists')
^
SyntaxError: invalid syntax
********************************************************
* Installing stlinux23-install-all-sh4-glibc
********************************************************
Traceback (most recent call last):
File "/opt/STM/STLinux-2.3/host/bin/stmyum", line 9, in <module>
import yummain
File "/opt/STM/STLinux-2.3/host/usr/share/yum-cli/yummain.py", line 22, in <module>
from yum import Errors
File "/opt/STM/STLinux-2.3/host/usr/lib/python2.3/site-packages/yum/__init__.py"
, line 399
self.repos.populateSack(with='filelists')
^
SyntaxError: invalid syntax


how can i fix that?
best regards
 

john_28

Registered
Messages
5
i check in internet one has same problem and the solution he says:
[root@localhost STLinux-2.3-sh4]# ./install all-sh4-glibc
*************************************************
* Installing STLINUX 2.3
*************************************************
Trying to find out if you are inside STMicroelectronics
Please wait for up to 10 seconds.....
You are not inside ST, using Welcome! | STLinux (http://www.stlinux.com)
************************************************** *************
* There is a distribution available in the local directory *
* This will be used for install. You can issue an *
* stmyum update command to update your system later on *
************************************************** *************
Looking for a GPG key file
Found a GPG key file in local directory
Installing stmyum
Checking for necessary python packages
Traceback (most recent call last):
File "/opt/STM/STLinux-2.3/host/bin/stmyum", line 9, in <module>
import yummain
File "/opt/STM/STLinux-2.3/host/usr/share/yum-cli/yummain.py", line 22, in <module>
from yum import Errors
File "/opt/STM/STLinux-2.3/host/usr/lib/python2.3/site-packages/yum/__init__.py"
, line 399
self.repos.populateSack(with='filelists')
^
SyntaxError: invalid syntax
Updating stmyum
Traceback (most recent call last):
File "/opt/STM/STLinux-2.3/host/bin/stmyum", line 9, in <module>
import yummain
File "/opt/STM/STLinux-2.3/host/usr/share/yum-cli/yummain.py", line 22, in <module>
from yum import Errors
File "/opt/STM/STLinux-2.3/host/usr/lib/python2.3/site-packages/yum/__init__.py"
, line 399
self.repos.populateSack(with='filelists')
^
SyntaxError: invalid syntax
************************************************** ******
* Installing stlinux23-install-all-sh4-glibc
************************************************** ******
Traceback (most recent call last):
File "/opt/STM/STLinux-2.3/host/bin/stmyum", line 9, in <module>
import yummain
File "/opt/STM/STLinux-2.3/host/usr/share/yum-cli/yummain.py", line 22, in <module>
from yum import Errors
File "/opt/STM/STLinux-2.3/host/usr/lib/python2.3/site-packages/yum/__init__.py"
, line 399
self.repos.populateSack(with='filelists')
^
SyntaxError: invalid syntax
change the command self.repos.populateSack(with='filelists') with self.repos.populateSack(mdtype='filelists') in every module in error.



but where is the self.repos.populateSack path? i mean where can i find this line to change as he says

best regards
 
Last edited:

john_28

Registered
Messages
5
fix that
but now everything seems ok except i don't know why update package go fail so install of stlinux not complete
1. i download ftp://ftp.stlinux.com/pub/stlinux/2.3/is...h4-03-11-07.iso and mount it
2. mount -o loop,ro -t iso9660 -r STLinux-2.3-sh4-03-11-07.iso .iso /mnt/cdrom
3. cd /mnt/cdrom
./install all-sh4-glibc
again start to download 683 mb package (though no idea why get fail as shown in this log:

....
stlinux23-sh4-xgalaga sh4 2.0.34-7 STLinux_Distribution 207 k
stlinux23-sh4-xinetd sh4 2.3.14-6 STLinux_Distribution 135 k
stlinux23-sh4-xterm sh4 223-3 STLinux_Distribution 322 k
stlinux23-sh4-yp-tools sh4 2.10-6 STLinux_Distribution 74 k
stlinux23-sh4-ypbind sh4 1.20.4-8 STLinux_Distribution 52 k
stlinux23-sh4-zlib sh4 1.2.3-8 STLinux_Distribution 72 k
stlinux23-sh4-zlib-bin sh4 1.2.3-8 STLinux_Distribution 96 k
stlinux23-sh4-zlib-dev sh4 1.2.3-8 STLinux_Distribution 92 k

Transaction Summary
===========================================================================
===========================================================================
=======
Install 597 Package(s)
Upgrade 0 Package(s)

Total download size: 638 M
Downloading Packages:


Error Downloading Packages:
stlinux23-host-kernel-source-sh4-2.6.23.1_stm23_0102-102.noarch: failure: host/stlinux23-host-kernel-source-sh4-2.6.23.1_stm23_0102-102.noarch.rpm from STLinux_Distribution: [Errno 256] No more mirrors to try.

error: package stlinux23-install-all-sh4-glibc is not installed
 
Top