• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

apt-get problem

 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 1923
Scala Postgres Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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?
 
Yewint Ko
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes, i run it like

$su
password :

# apt-get install subversion
 
Yewint Ko
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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



 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic