title: Perlapi-5.10.1, but it is not installable
body: <p>I have a problem with my Ubuntu installation. I'm new to the Ubuntu environment. I don't know how to resolve this problem. I wanted to install mysql-server on my Ubuntu, but I am stuck with these issues. </p>
  
  <p>Here is the one that I get after <code>sudo apt-get install mysql-server</code>:</p>
  
  <pre><code>sudo apt-get install mysql-server
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  You might want to run 'apt-get -f install' to correct these:
  The following packages have unmet dependencies:
  libwx-perl : Depends: perlapi-5.10.1 but it is not installable
  mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
  E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
  </code></pre>
  
  <p>After that, I tried and run the <code>sudo apt-get -f install</code> command in my terminal and I get these:</p>
  
  <pre><code>sudo apt-get -f install
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Correcting dependencies... Done
  The following packages were automatically installed and are no longer required:
  language-pack-kde-en libpisock9 thunderbird-locale-en-gb
  language-pack-kde-en-base kde-l10n-engb thunderbird-locale-en-us
  libcompfaceg1 thunderbird-locale-en libetpan15
  Use 'apt-get autoremove' to remove them.
  The following extra packages will be installed:
  libwx-perl
  The following packages will be upgraded:
  libwx-perl
  1   upgraded, 0 newly installed, 0 to remove and 326 not upgraded.
  1   not fully installed or removed.
  Need to get 0 B/1,674 kB of archives.
  After this operation, 591 kB disk space will be freed.
  Do you want to continue [Y/n]? y
  dpkg: dependency problems prevent configuration of libwx-perl:
  libwx-perl depends on perlapi-5.10.1; however:
  Package perlapi-5.10.1 is not installed.
  dpkg: error processing libwx-perl (--configure):
  dependency problems - leaving unconfigured
  No apport report written because the error message indicates its a followup error from a previous failure.
  Errors were encountered while processing:
  libwx-perl
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  </code></pre>
  
  <p>How do I to resolve this issue? I wanted to install Bugzilla on my Ubuntu, but it required MySQL and Apache 2. But because of this problem, I can't install both.</p>
  
  <pre><code>aptitude
  The program 'aptitude' is currently not installed.  You can install it by typing:
  sudo apt-get install aptitude
  sudo apt-get install aptitude 
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  You might want to run 'apt-get -f install' to correct these:
  The following packages have unmet dependencies:
  aptitude : Depends: libboost-iostreams1.46.1 (&gt;= 1.46.1-1) but it is not going to be installed
  Depends: libcwidget3 but it is not going to be installed
  Depends: libept1.4.12 but it is not going to be installed
  Recommends: libparse-debianchangelog-perl but it is not going to be installed
  libwx-perl : Depends: perlapi-5.10.1 but it is not installable
  E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
  
  
  sudo apt-cache policy perlapi
  N: Unable to locate package perlapi
  
  sudo apt-get --purge remove libwx-perl
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  You might want to run 'apt-get -f install' to correct these:
  The following packages have unmet dependencies:
  libwx-perl-processstream-perl : Depends: libwx-perl but it is not going to be installed
  padre : Depends: libwx-perl (&gt;= 0.91) but it is not going to be installed
  Recommends: libformat-human-bytes-perl (&gt;= 0.06) but it is not going to be installed
  E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
  
  
  sudo apt-get dist-upgrade
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  You might want to run 'apt-get -f install' to correct these.
  The following packages have unmet dependencies:
  libwx-perl : Depends: perlapi-5.10.1 but it is not installable
  E: Unmet dependencies. Try using -f.
  </code></pre>
  
  <p>All with the same problem...</p>
  
  <p>Here is my <strong>sources.list</strong> file:</p>
  
  <pre><code># deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release i386 (20130213)]/ precise main restricted
  
  # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
  # newer versions of the distribution.
  deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted
  deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted
  
  ## Major bug fix updates produced after the final release of the
  ## distribution.
  deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
  deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
  
  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
  ## team. Also, please note that software in universe WILL NOT receive any
  ## review or updates from the Ubuntu security team.
  deb http://us.archive.ubuntu.com/ubuntu/ precise universe
  deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe
  deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
  deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
  
  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
  ## team, and may not be under a free licence. Please satisfy yourself as to 
  ## your rights to use the software. Also, please note that software in 
  ## multiverse WILL NOT receive any review or updates from the Ubuntu
  ## security team.
  deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse
  deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse
  deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
  deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
  
  ## N.B. software from this repository may not have been tested as
  ## extensively as that contained in the main release, although it includes
  ## newer versions of some applications which may provide useful features.
  ## Also, please note that software in backports WILL NOT receive any review
  ## or updates from the Ubuntu security team.
  deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
  deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
  
  deb http://security.ubuntu.com/ubuntu precise-security main restricted
  deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
  deb http://security.ubuntu.com/ubuntu precise-security universe
  deb-src http://security.ubuntu.com/ubuntu precise-security universe
  deb http://security.ubuntu.com/ubuntu precise-security multiverse
  deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
  
  ## Uncomment the following two lines to add software from Canonical's
  ## 'partner' repository.
  ## This software is not part of Ubuntu, but is offered by Canonical and the
  ## respective vendors as a service to Ubuntu users.
  # deb http://archive.canonical.com/ubuntu precise partner
  # deb-src http://archive.canonical.com/ubuntu precise partner
  
  ## Uncomment the following two lines to add software from Ubuntu's
  ## 'extras' repository.
  ## This software is not part of Ubuntu, but is offered by third-party
  ## developers who want to ship their latest software.
  # deb http://extras.ubuntu.com/ubuntu precise main
  # deb-src http://extras.ubuntu.com/ubuntu precise main
  </code></pre>
  
  <p>After I execute</p>
  
  <pre><code>sudo dpkg --purge libwx-perl
  </code></pre>
  
  <p>this is what I get:</p>
  
  <pre><code>sudo dpkg --purge libwx-perl
  dpkg: dependency problems prevent removal of libwx-perl:
  libwx-perl-processstream-perl depends on libwx-perl.
  padre depends on libwx-perl (&gt;= 0.91); however:
  Package libwx-perl is to be removed.
  dpkg: error processing libwx-perl (--purge):
  dependency problems - not removing
  Errors were encountered while processing:
  libwx-perl
  </code></pre>
  
  <p>Further:</p>
  
  <pre><code>sudo dpkg --purge libwx-perl-processstream-perl libwx-perl
  dpkg: dependency problems prevent removal of libwx-perl-processstream-perl:
  padre depends on libwx-perl-processstream-perl (&gt;= 0.29); however:
  Package libwx-perl-processstream-perl is to be removed.
  dpkg: error processing libwx-perl-processstream-perl (--purge):
  dependency problems - not removing
  dpkg: dependency problems prevent removal of libwx-perl:
  libwx-perl-processstream-perl depends on libwx-perl.
  padre depends on libwx-perl (&gt;= 0.91); however:
  Package libwx-perl is to be removed.
  dpkg: error processing libwx-perl (--purge):
  dependency problems - not removing
  Errors were encountered while processing:
  libwx-perl-processstream-perl
  libwx-perl
  </code></pre>