dpkg error processing package mysql-server (–configure) dependency problems – leaving unconfigured

Try to purge all dependencies and re-install mysql-server.

sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-5.5

Now install mysql server using below command,

sudo apt-get install mysql-server

How to recover deleted “dpkg” directory?

Suppose if you deleted dpkg directory in ubuntu(debian)m how to reover deled “dpkg” directory. Please follow the given steps


sudo rm -rf /var/lib/dpkg
you will get error like,

E: Could not open lock file /var/lib/dpkg/lock - open (2: No such file or directory)


First, create the directory:

sudo mkdir -p /var/lib/dpkg/{alternatives,info,parts,triggers,updates}

Recover some backups:

sudo cp /var/backups/dpkg.status.0 /var/lib/dpkg/status

Now, let’s see if your dpkg is working (start praying):

apt-get download dpkg
sudo dpkg -i dpkg*.deb

If everything is “ok” then repair your base files too:

apt-get download base-files
sudo dpkg -i base-files*.deb

Now try to update your package list, etc.:

dpkg --audit
sudo apt-get update
sudo apt-get check

Now, let’s take a deep breath. Phew. Do ls -l /var/lib/dpkg and compare with the above list. If some -old file is not present don’t worry it will be there tomorrow.

HP UFT Installation Issues – Top 6 reasons UFT install fails

HP UFT Installation Issues – Top 6 reasons UFT install fails, plz follow the given steps

6 Possible reasons you are getting install errors

Additional Installation Requirements
Quick Test Professional -> Tools -> Addional Installation Requirements -> Uncheck the “Run License Wizard” (If your using trial version)-> Run


  • UAC

The biggest reason for most errors is when you are trying to install on a machine that has its User Account Control (UAC) enabled. UAC and UFT do not mix. Make sure that you temporarily turn UAC off during the QTP install.


  • Permission issue

You need to be logged in to the machine with a user that has full administrator rights.

  • Installing from a shared drive

Sometimes you can get odd behavior if you are installing UFT from a shared or mapped drive. To avoid issues you should copy all the UFT/QTP install files locally to your machine.

  • Corrupted installation files

This is a long shot but sometimes the actual UFT install file you download from HP gets corrupted. This is usually caused by downloading the install from a non-internet explorer browser. I know most of us try to avoid using IE whenever possible but make sure you do use IE with the HP download manager option to avoid corruption.

  • DVD/CD drive software

If you are trying to install from an .ISO image the DVD/CD software you are using may be having issue reading the installation files properly. One workaround for this issue is to use a zip tool like 7Zip or WinRar to extract all the contents of the ISO image before doing the install.

  • Active Template Library file (alt.dll) is not registered

The ATL is a set of Microsoft developed template-based C++ classes used to simplify programming using COM objects. Not having this DLL registered can cause QTP install issues. Try to register atl.ddl located in the Windows\System32 folder and see if that helps:

Click on Start>Run

In the Run window enter regsvr32 “C:\WINDOWS\system32\atl.dll”

If everything works you should get a RegSvr32 succeeded message: