*
The moose likes Linux / UNIX and the fly likes apt-get problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "apt-get problem" Watch "apt-get problem" New topic
Author

apt-get problem

Yewint Ko
Ranch Hand

Joined: Aug 02, 2009
Posts: 90
Hi geeks ,
I am having problem dealing with apt-get on ubuntu 8.4 machine .
I just tried to installed subversion as a root with this command

# apt-get install subversion


the problem is as follow

Reading package lists... Error!
E: Could not open file /var/lib/dpkg/status - open (2 No such file or directory)
E: The package lists or status file could not be parsed or opened.


# apt-get update


long prompts and everything seems ok until the last three lines of prompt. the above error occurs at the end of update process.(I can post that long prompts if needed)

I have googled many time and visited many sites over the net, even in the ubuntu forum, to solve the problem.
But i havent solved the problem yet. Anybody here can help me out ?please.
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

Yewint Ko wrote:
Reading package lists... Error!
E: Could not open file /var/lib/dpkg/status - open (2 No such file or directory)
E: The package lists or status file could not be parsed or opened.


# apt-get update


Normally on ubuntu, to run a command as root, you use sudo.
but you told us, you ran that command as root.

Do you have a root-login or by or?

What does

produce?


http://home.arcor.de/hirnstrom/bewerbung
Yewint Ko
Ranch Hand

Joined: Aug 02, 2009
Posts: 90
yes, i run it like

$su
password :

# apt-get install subversion
Yewint Ko
Ranch Hand

Joined: Aug 02, 2009
Posts: 90
I found no such file as "status" under /var/lib/dpkg

also
ls -l /var/lib/dpkg/status
produces

ls: cannot access /var/lib/dpkg/status: No such file or directory


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: apt-get problem