9

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

4 Answers4

11

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.

ish
  • 139,926
  • 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 http://askubuntu.com/questions/175325/is-my-amazon-ec-2-running-amazon-linux-or-ubuntu – 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
1

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

Suuuehgi
  • 219
  • 1
  • 2
  • 8
1

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
0

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.

  • Oops, this is actually an answer for this Q: http://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