Opened 8 years ago

Closed 8 years ago

#171 closed defect (invalid)

python/yum doesn't find module site

Reported by: josch Owned by:
Priority: blocker Milestone:
Component: python Version:
Severity: highest Keywords:
Cc:

Description

I started the Arca Noae Package Manager. The package list was empty.
I tried yum list on console. It comes up with:
"ImportError?: No module named site"

I tried starting Python without parameters. The same message appears.
The files site.py(c/o) are in /usr/lib/python2.7.

What's the problem?

Change History (7)

comment:1 Changed 8 years ago by Silvan Scherrer

How did you install python? Did you have a older python installed. Do you have python stuff in config.sys?

comment:2 Changed 8 years ago by josch

a.) I installed Python by yum/rpm.
b.) No older python.
c.) Nothing in config.sys

comment:3 Changed 8 years ago by aschn

Have you read the bottom of https://www.arcanoae.com/wiki/anpm/non-updated-systems/? Maybe you have the urlgrabber problem.

comment:4 Changed 8 years ago by Silvan Scherrer

what distribution did you use to install yum/rpm the first time?

comment:5 Changed 8 years ago by josch

I installed yum via ANPM. But it worked. I could install a lot of packages.
But one day, it stopped working.
The urlgrapper directory is there. So I would rule that problem out.

comment:6 Changed 8 years ago by josch

I now deinstalled ANPM and reinstalled it.
Then I moved /usr, started ANPM and killed it after it trying to install yum.
I moved /usr back, restarted ANPM.
Now it works again.

comment:7 Changed 8 years ago by Silvan Scherrer

Resolution: invalid
Status: newclosed

strange case. But as it works I close this issue.

Note: See TracTickets for help on using tickets.