LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   apt-get update error on FC3 (https://www.linuxquestions.org/questions/linux-general-1/apt-get-update-error-on-fc3-334358/)

obliviux 06-16-2005 06:51 PM

apt-get update error on FC3
 
Hi,

I'm new to linux and an trying to get apt working. By following some directions I was able to get yum working and then installed apt with "yum install apt-get". That was successfull the problem is when I run apt-get update and the following happens.

E: Could not open lock file /var/lib/apt/lists/lock - open (2 No such file or directory)
E: Unable to lock the list directory

No sure what to do next.

thanks

obliviux

mjrich 06-16-2005 06:53 PM

Were you root ?

Cheers,

mj

obliviux 06-16-2005 07:23 PM

Yes I was logged in as root.

mjrich 06-16-2005 08:58 PM

I am not familiar with FC3, but the most likely things that would cause such an error, IMO, are
  • You already have an apt process running (possibly one that failed while running). Check your running processes (top etc.), or reboot.
  • Unwittingly, you installed a broken copy of Apt. Try removing and then reinstalling.
  • You are attempting to run Apt from a 'live' copy of FC.
Presumably you've already looked in /var/lib/apt/lists, and it's empty ?

Cheers,

mj


All times are GMT -5. The time now is 03:50 PM.