Sunday, September 30, 2007

Installing some .exe program in ubuntu

for this first install wine : sudo apt-get install wine
then copy and paste the .exe file with additional file in a folder and do
wine path of the file with filename.exe in terminal
wine /home/arvind/cbuilder/setup.exe
if error like
E: dpkg was interrupted, you must manually run 'dpkg --configure -a'
to correct the problem.
during installation configure dpkg as : sudo dpkg --configure -a
and then sudo apt-get update

Howto resolve the lock in aptitude issue?

sudo aptitude update

if error like:
E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable)
E: Couldn't lock list directory..are you root?

then try the folowing:
1.sudo killall aptitude synaptic update-manager
2. sudo lsof /var/lib/apt/lists/lock
3. sudo apt-get clean

if synaptic is broken then do : sudo apt-get install -f
it will install the queue packages and then synaptic works

No comments: