Opened 9 years ago

Closed 9 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 by Silvan Scherrer, 9 years ago

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

comment:2 by josch, 9 years ago

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

comment:3 by aschn, 9 years ago

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

comment:4 by Silvan Scherrer, 9 years ago

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

comment:5 by josch, 9 years ago

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 by josch, 9 years ago

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 by Silvan Scherrer, 9 years ago

Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.