When i Install something in ubuntu 8.04.1 the error is sawing

Asked by Dhedhi Mahesh

When i Install something in ubuntu 8.04.1 the error is sawing

root@vijaya-desktop:/var/cache/apt# apt-get install wine
Reading package lists... Error!
E: Could not open file /var/cache/apt/pkgcache.bin - open (2 No such file or directory)
E: The package lists or status file could not be parsed or opened.
root@vijaya-desktop:/var/cache/apt#

Please help me solve this problem

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Claudio Arseni
Solved:
Last query:
Last reply:
Revision history for this message
Best Claudio Arseni (claudio.arseni) said :
#1

Right command is sudo apt-get install wine

Revision history for this message
Bernhard (b.a.koenig) said :
#2

You could try this: first get out of the root shell, i.e. type

exit

until you are normal user. Then type

sudo dpkg --configure -a

and it will reconfigure your apt setup. Hope this helps!

Revision history for this message
Bernhard (b.a.koenig) said :
#3

Cl@ude: seems like Dhedhi is already in root shell. It's usually better not to login as root, but as normal user. If you need root power, just type sudo in front of a command.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo dpkg --configure -a

then to update and upgrade and also check pending or missing packages, still using terminal type:

sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove

Then to install wine

sudo apt-get update
sudo apt-get install wine

Hope this helps

Revision history for this message
buddy h. (hudsonbuzz-deactivatedaccount) said :
#5

Just install microsoft and all will be fine.
------Original Message------
From: Dhedhi Mahesh
Sender: <email address hidden>
To: <email address hidden>
ReplyTo: <email address hidden>
Subject: [Question #65171]: When i Install something in ubuntu 8.04.1 theerror is sawing
Sent: Mar 24, 2009 4:15 AM

New question #65171 on yelp in ubuntu:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/65171

When i Install something in ubuntu 8.04.1 the error is sawing

root@vijaya-desktop:/var/cache/apt# apt-get install wine
Reading package lists... Error!
E: Could not open file /var/cache/apt/pkgcache.bin - open (2 No such file or directory)
E: The package lists or status file could not be parsed or opened.
root@vijaya-desktop:/var/cache/apt#

Please help me solve this problem

--
You received this question notification because you are an answer
contact for yelp in ubuntu.

Sent via BlackBerry by AT&T

Revision history for this message
Dhedhi Mahesh (dhedhimahesh1987) said :
#6

Thanks Cl@ude, that solved my question.