How to install dpkg-reconfigure?
76,045
Solution 1
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.
Solution 2
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
Related videos on Youtube
Author by
Gaurav Agarwal
Updated on September 18, 2022Comments
-
Gaurav Agarwal over 1 year
I want to install
dpkg-reconfigure
in Ubuntu 12.04 LTS install on Amazon EC2? How to go about it?-
Admin about 7 yearsI needed to know that
dpkg-reconfigure
needs to be ran as root otherwise the command is not found
-
-
Gaurav Agarwal almost 12 yearsIt is not installed and when I run your suggested I am getting the response
sudo: apt-get: command not found
-
ish almost 12 yearsIf
apt-get
is not available on an Ubuntu EC2 instance, you should open a ticket with Amazon Support... -
Gaurav Agarwal almost 12 yearsI have asked a related question here askubuntu.com/questions/175325/…
-
ish almost 12 yearsAnswered 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.
-
nanofarad almost 12 yearsYou cannot do that;
dpkg
is needed forapt-get
to work. -
svinkeaerinde over 11 yearsOops, 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?