Questions tagged [dpkg]

dpkg is the package format used by Debian, Ubuntu and other popular GNU/Linux distributions as well as the tools used to work with dpkg packages.

169 questions
2
votes
2 answers

libapache2-mod-php5 uninstalled after update impossible to put back

I use Webmin to administrate my Ubuntu 12.04 x86_64 machine. Yesterday, as often, I got notified of updates and installed them. During the installation process, libapache2-mod-php5 has been uninstalled, and since then I can't restart Apache. When I…
Nabab
  • 189
  • 1
  • 3
  • 12
2
votes
2 answers

dpkg: error processing linux-image-amd64

After running apt-get update apt-get upgrade apt-get dist-upgrade apt-get install -f dpkg --configure -a I get the following Error: dpkg --configure -a Setting up initramfs-tools (0.112) ... update-initramfs: deferring update (trigger…
h00j
  • 378
  • 6
  • 21
2
votes
2 answers

Search for installed unavailable packages (backports and 3rd party)

I would like to remove any packages that I installed from third party repositories. I recently installed some backports from PPA repositories, and I suspect one of them broke my Ubuntu 12.04 server system. Is there any way I can list all currently…
Jeroen Ooms
  • 2,187
  • 7
  • 32
  • 51
2
votes
2 answers

Translating rpm commands to dpkg

I've been using RPM for a long time - built my own packages and installed Linux with nothing but the RPMs to do it with. However, now that I'm using Ubuntu and Linux Mint regularly, I want to learn more about dpkg but don't know where to…
Mei
  • 4,560
  • 8
  • 44
  • 53
2
votes
2 answers

generate an automated reinstallation file

Running Debian Lenny distros : I'm still wondering how to iso a complete distro setup "easily", but for the time being, I'd like to able to run easily and quickly a reinstall, so I added such a line in my rsync backup shells : # Store the list of…
hornetbzz
  • 170
  • 9
2
votes
1 answer

persist debian package on Ubuntu

I have an Ubuntu server that I recompiled libcurl for sftp support. The problem is when the server is rebooted or updated I have to reinstall the curl package. I am not clear how to persist this package, like set an ignore with apt? or something? To…
jmm
  • 23
  • 2
2
votes
2 answers

How to config the parameter in puppet sudo module in order to replace the client sudoer?

I'm configuring sudo module in puppet according to this code class sudo { package { sudo: ensure => present, } if $operatingsystem == "Ubuntu" { package { "sudo-ldap": ensure => present, require => Package["sudo"], } } file…
bayou
  • 33
  • 3
2
votes
1 answer

Installing MySql 5.5 on Debian with the deb package

I'm setting up a debian server as a development server. apt-get gave me everything I need to install, except for mysql 5.5 as this version is still in the experimental branch. So what I tried to do is download the .deb package from the mysql…
Shtong
  • 145
  • 2
  • 6
2
votes
1 answer

How to determine the date a package was installed or updated?

Is there a way to determine the date a package was installed or updated? What's the proper syntax for both rpm and dpkg?
user784637
  • 1,482
  • 7
  • 35
  • 51
2
votes
1 answer

Ubuntu compare original package and installed parameters

I'd like to compare the actual config files for, let's say, Apache and the ones provided in the original package. The purpose is to have a list of modifications since initial installation because I didn't document them originally. I've cruised along…
Olivier
  • 21
  • 1
2
votes
2 answers

dpkg-checkbuilddeps?

I'm trying to build an application from source on a Debian machine; the source code includes a 'debian' directory with all the files required to build the package (control/rules etc.). When I run dpkg-buildpackage, it fails because I don't have the…
mikewaters
  • 1,135
  • 1
  • 14
  • 26
2
votes
2 answers

How can I configure exim4 with a smarthost via puppet?

I have tried to automate the exim setup via puppet. I followed the approach described here, whiched worked for me for a few packages, but for exim I had a problem: one selection was not correctly applied on a fresh system. When setting up exim or…
Kariem
  • 501
  • 2
  • 6
  • 14
2
votes
1 answer

How to get notified by installed/removed packages from dpkg/apt/aptitude?

I'm writing a Python system script and I need to be notified when a program gets installed/upgraded/removed. First of all, I thought to interface my application to an apt-dbus daemon. Unluckily I've not found it, and while I'm waiting for its…
Markon
  • 143
  • 1
  • 1
  • 7
2
votes
1 answer

How to force ansible apt upgrade to install new configuration files (force-confnew)

I have an Ubuntu 18 LTS host which I want to upgrade via ansible and force apt-get dist-upgrade to install any new configurations available overwriting any existing ones, as if I was there pressing the first option of that dialog: I'm looking into…
cherouvim
  • 744
  • 3
  • 18
  • 37
1
vote
1 answer

docker | unknown environment `bash` | sub process /usr/bin/dpkg returned an error code(1)

My goal is to get a docker container running with nordvpn installed and connected. Get docker container going sudo docker pull ubuntu:latest sudo docker run -it ubuntu bash // now im in the docker container apt install update apt install wget wget…
ma77c
  • 115
  • 5