I want to install dpkg-reconfigure in Ubuntu 12.04 LTS install on Amazon EC2? How to go about it?

  • I needed to know that dpkg-reconfigure needs to be ran as root otherwise the command is not found – gloomy.penguin Mar 14 '17 at 15:37

dpkg-reconfigure is provided by the debconf package, which should always be installed in any Ubuntu 12.04 install. If it's not, use:

sudo apt-get install debconf

In your case, you are running Amazon's AMI Linux which is based on CentOS, not Ubuntu. That's why apt-get or dpkg-reconfgure, which are native to Debian/Ubuntu, are not available on your EC2 instance.

| improve this answer | |
  • It is not installed and when I run your suggested I am getting the response sudo: apt-get: command not found – Gaurav Agarwal Aug 13 '12 at 12:46
  • 1
    If apt-get is not available on an Ubuntu EC2 instance, you should open a ticket with Amazon Support... – ish Aug 13 '12 at 12:48
  • I have asked a related question here askubuntu.com/questions/175325/… – Gaurav Agarwal Aug 13 '12 at 13:25
  • Answered that and edited this one. You need to install an official Ubuntu AMI; Amazons is based on CentOS which is quite different as you're finding out. – ish Aug 13 '12 at 13:31

Normally it's already installed in Ubuntu. But if you are using some customized version without dpkg, you should be able to install using the command

sudo apt-get install dpkg
| improve this answer | |
  • 1
    You cannot do that; dpkg is needed for apt-get to work. – nanofarad Aug 13 '12 at 15:50

On a fresh Kubuntu 12.10 install, you will need to install these additional packages:

  • ia32libs (¼ GiB!)
  • libc6-i386
  • lib32asound2
  • lib32z1
  • nspluginwrapper

If you forget one, and try to install the Receiver deb package, the package system will end up in sort of a limbo. In that case (only!), run:

$ sudo dpkg -r icaclient

To remove the half-installed Receiver and start over.

After installing the 64-but Citrix Receiver 12.1 (or any NPAPI plugin for that matter), you need to reconfigure nspluginwrapper:

$ sudo dpkg-reconfigure nspluginwrapper

This triggers the nspluginwrapper installer to look for new NPAPI plugins and link them into the various installed browsers in the correct manner.

| improve this answer | |
  • Oops, this is actually an answer for this Q: askubuntu.com/questions/204312/citrix-receiver-on-ubuntu-12-10 ... I am unable to post it over there, because it requires site karma (reputation points) that I do not have. Could someone move the above answer to the correct question, so that Kubuntu users may also have their cup of Citrix Receiver? – svinkeaerinde Feb 13 '13 at 12:58

If debconf is installed, it's located in /usr/sbin what might not be in your PATH variable.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.