9

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

1
  • I needed to know that dpkg-reconfigure needs to be ran as root otherwise the command is not found Mar 14, 2017 at 15:37

4 Answers 4

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.

4
  • It is not installed and when I run your suggested I am getting the response sudo: apt-get: command not found Aug 13, 2012 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, 2012 at 12:48
  • I have asked a related question here askubuntu.com/questions/175325/… Aug 13, 2012 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, 2012 at 13:31
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
1
  • 1
    You cannot do that; dpkg is needed for apt-get to work.
    – nanofarad
    Aug 13, 2012 at 15:50
1

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

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.

1
  • 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? Feb 13, 2013 at 12:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .