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
1
vote
1 answer

Configuration of self-made .deb package

I'm trying to make my own debian package to deploy some scripts. I need some parameters from the user, I'm gathering them using debconf. So I made a DEBIAN subfolder, and put control, templates and config files into it. Then I build my package with…
mooky
  • 43
  • 4
1
vote
0 answers

Reinstalling broken kernel 4.9.0.9 on Debian Stretch

Following recent Intel chip bugs I upgraded my Debian Stretch server. Microcode updated OK, but update-initramfs was hanging. So I killed it and tried to remove the kernel before trying to reinstall it. The removal process is hanging too: % dpkg…
LetMeSOThat4U
  • 1,159
  • 2
  • 14
  • 29
1
vote
1 answer

Ubuntu's `dpkg` ignores `Replaces` field of a package

I'm building a newer replacement for a package, libgpg-error. Ubuntu also has a libgpg-error0, which is depended upon by system packages (such as systemd). My package provides everything libgpg-error0 does, therefore I list the following: Package:…
smaslennikov
  • 196
  • 6
1
vote
1 answer

How dpkg check config files when upgrading packages

I'm building .deb packages for my internal tools. And would like to find a right way how to deal with configuration files on upgrade. Currently when I install package-0.2.deb over package-0.1.deb, using apt install ./package-0.2.deb it replaces my…
1
vote
1 answer

Is the snmp source package of correct version missing from security.debian.org?

I'm trying to build the newest snmp packages on debian jessie. However, https://packages.debian.org/jessie/snmp seems to show conflicting information. The page heading reads: Package: snmp (5.7.2.1+dfsg-1+deb8u1 and others) [security] And the link…
Peter V. Mørch
  • 812
  • 7
  • 15
1
vote
1 answer

Sortable list of all packages (dpkg)

I want to dump all installed packages on a system which uses dpkg. Up to now I use dpkg -l. But it has one draw back: Sorting the result does not make sense. Head: root@aptguettler:~# LANG=C dpkg-query -l| sort |…
guettli
  • 3,113
  • 14
  • 59
  • 110
1
vote
1 answer

Debian - Broken package cannot be installed or removed

I have an HP Microserver (Gen8) running Debian Jessie. When I first set it up, I installed the optional HP daemons to see what benefit they gave. One, hp-health, interfaces with the onboard iLO controller. I have since disabled the iLO because it…
Gargravarr
  • 473
  • 5
  • 13
1
vote
0 answers

Avoid Death by dpkg-triggers?

You don't really need to know anything about the technologies I'm using to answer my question. You only need to understand dpkg and its triggers. I'm using an orchestration tool (mcollective) to trigger configuration management (puppet 3) on some…
1
vote
1 answer

How to clear apt-conf list options in apt-get command line options

I'm trying to use the apt-conf #clear syntax to clear the DPkg::Pre-Install-Pkgs options on command-line apt-get, but I haven't had any luck. I've tried stuff like apt-get -o DPkg::Pre-Install-Packages='#clear' Any advice?
StephenG
  • 173
  • 1
  • 7
1
vote
3 answers

Dependency problems while installing Webmin

I'm having problems when installing Webmin for Debian Wheezy. It turns out that, while installing the dependencies which are mentioned on these instructions from Webmin website, I receive the following error when installing apt-show-versions: $…
ivanleoncz
  • 1,433
  • 4
  • 18
  • 32
1
vote
1 answer

Installing Debian package tools (dpkg-buildpackage) on Amazon Linux?

I am setting up a web server which packages and hosts different installers for client applications on Windows, Mac OS X, and Linux. I am using EC2 so I went with Amazon Linux for my base image. I have the repackaging working fine for creating…
ashgromnies
  • 131
  • 1
  • 7
1
vote
3 answers

Is there an Ubuntu server package for PHP 5.3

It's been some time now since the release of PHP 5.3. I can't wait to work with it, but the Ubuntu developers have decided not to include it in the APT repository until 10.04. I don't want to wait that long, it's ridiculous. What I find strange is…
Bart van Heukelom
  • 1,199
  • 5
  • 20
  • 41
1
vote
4 answers

Is it possible to stop dpkg-reconfigure restarting services

I'm building an install key for a Debian based system. The install key basically copies a disk image onto the system and then in a chroot installs a number of packages that are copied onto the install key during the build process. One of the things…
stsquad
  • 135
  • 1
  • 5
1
vote
0 answers

Create custom package from nginx source - renaming nginx to custom-nginx

My dist is Ubuntu 14.04 use case I am attempting to create my own packaged nginx called 'custom-nginx'. It needs to install itself into alternative directories as so it does not interfere with the normal operation of nginx. 'custom-nginx' will…
anastymous
  • 151
  • 7
1
vote
2 answers

Sub-process Error

Im trying to move my Wordpress site from a managed VPS to my OVH dedicated machine and im in the middle of trying to install WP. However following these instructions I get this error: Setting up exim4-daemon-light (4.80-7+deb7u1) ... [....] Starting…