dpkg fail to open packet info/va/lib/dpkg/available for reading

Asked by Nick1223

I get a error message: dpkg fail to open packet info/va/lib/dpkg/available for reading
when i try to install a program in synaptic package manger

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu synaptic Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

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 --clear-avail
sudo dpkg --configure -a
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

Hope this helps

Revision history for this message
Nick1223 (agnesandnick) said :
#2

I wish to install wine how do i do it

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

Linux does not natively run any windows exe files.
In order to run windows files you will have to run them with a compatibility layer called Wine.

http://www.winehq.org/

To install wine in Ubuntu

Please first enable the universe repository:

Open System → Administration → Software sources → [ Tab Ubuntu software ]
enable "Community Maintained open source software (universe)"
Close and confirm the repository reload.

Then open a Terminal from the menu Applications → Accessories → Terminal and type:

sudo aptitude update
sudo aptitude install wine

give your user password when requested, you don't see nothing when you type it, then press enter.

Then there are a lot of howto on the net:
http://www.simplehelp.net/2007/05/18/how-to-install-windows-programs-in-linux-using-wine/
http://www.psychocats.net/ubuntu/wine
https://help.ubuntu.com/community/Wine

Hope this helps

Can you help with this problem?

Provide an answer of your own, or ask Nick1223 for more information if necessary.

To post a message you must log in.