LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   up2date problem: 'import site" failed (https://www.linuxquestions.org/questions/linux-newbie-8/up2date-problem-import-site-failed-122652/)

docli 12-04-2003 09:51 AM

up2date problem: 'import site" failed
 
I was running up2date and got this error message:


'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/usr/sbin/up2date", line 10, in ?
import sys, os
ImportError: No module named os


Can someone help?

jdruin 12-05-2003 09:40 PM

I do not know what that error in UP2Date means. I gave up on up2 date a while back when RedHat changed the signature file or whatever they did.

You may have an alternative update program installed call APT. Advanced Package Tool I think. To use it, go to prompt and type:

apt-get update

This will grab RPM headers for files you need updated. Wait til its done then type:

apt-get upgrade
Answer Yes to permission question.


This will install packages for you. You must be root to use APT. APT is availible for download if you need it from freshmeat.org. Oddly enough, after you use APT and get all your updates, the Up2Date icon on the tool bar will turn back to the blue checkmark you expect.


All times are GMT -5. The time now is 03:56 AM.