Linux

 

dpkg: error: dpkg status database is locked by another process

First run:

lsof /var/lib/dpkg/lock

Then make sure that process isn't running:

ps cax | grep PID

If it is running:

kill PID
#wait
kill -9 PID

Make sure process is done:

ps cax | grep PID

Then remove the lock file:

sudo rm /var/lib/dpkg/lock

Let dpkg fix itself:

sudo dpkg --configure -a

 

 


To fix not working synaptics touchpad problem:
sudo gedit /etc/default/grub
change the line
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
to 
GRUB_CMDLINE_LINUX_DEFAULT="i8042.notimeout i8042.nomux

then
sudo update-grub
tben restart




http://www.wikihow.com/Install-Oracle-Java-on-Ubuntu-Linux


vpn

pptp