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.

175 questions
0
votes
0 answers

Docker don't allow to install using dpkg command

I am trying to install docker cron package in running prometheus docker container. I downloaded cron package but somehow it is not allowing me do that. I downloaded cron package using wget command. Also it doesn't let me configure dpkg. /prometheus…
Shailesh Sutar
  • 1,517
  • 5
  • 23
  • 41
0
votes
0 answers

How to speed up dpkg (binary) package build

I will be building debian package multiple times in a day, and each build takes more than 8-9 minutes! I was checking if there is any way to speed it up (dpkg-deb --build, binary pkg) I tried to use tmpfs mounted partition to build, but that didnt…
Ani
  • 32
  • 2
  • 13
0
votes
1 answer

Is it possible for a debian package to be installed by multiple names through apt?

I have a package foo-new, which many new users know by its old name foo-old, so they try to execute apt install foo-old which does not work. Is it possible through a control field to make a package being installed through either name from apt, so…
fornwall
  • 103
  • 3
0
votes
1 answer

RPM to DPKG: Underscore in Package Name

I have a custom RPM which I convert to DPKG using the tool alien. It works with one annoyance: The input is called "foo_bar.rpm" and the output is called "foo-bar.dpkg". We have a list of packages to install via automated configuration management…
guettli
  • 3,591
  • 17
  • 72
  • 123
0
votes
4 answers

Bash if condition to check if a ubuntu package needs an upgrade?

I need a bash line to check if a ubuntu package needs an upgrade or not. For example, I want to check if the package 'firefox' needs an upgrade using dpkg or apt-get commands. Hypthetical Example: # Hypothetical example pseudo-code if [[…
Basil A
  • 2,060
  • 3
  • 18
  • 18
0
votes
1 answer

German Umlauts (but only uppercase) are broken

I have a proxmox3 server. I login via SSH. Umlauts (öäüÜÖÄ) works well - nevertheless if upper or lowercase. Then I login in my openvz node (debian wheezy) via: vzctl enter 100 In this node, on CLI umlauts are not work in a textfile only lowercase…
suther
  • 143
  • 1
  • 9
0
votes
1 answer

dpkg/apt-get updating a package - downtime?

I was wondering if apt-get/dpkg packages (.deb's) manage downtime at all when updating? For example, when updating nginx (assuming it's already installed) via sudo apt-get install nginx, it looks to me like there isn't any downtime. If that's true,…
fideloper
  • 353
  • 3
  • 11
0
votes
1 answer

run remote command to save debian package list

I'd like to backup the package list(dpkg) of some remote computers to a backup server: all of them running Debian. I already configured the rsa key to login remotely as root on the other computers without authentication. How can I run a command like…
blade
  • 113
  • 4
0
votes
0 answers

dpkg custom package name from source install

I want to be able to set a custom package name when installing a package using dpkg from source. Running this command: dpkg -i /path/to/deb/ruby-2.2.0.deb installs the package as: ruby-2.2.0 2.2.0 I'd like to have this install as just ruby, since…
PurrBiscuit
  • 101
  • 1
0
votes
2 answers

Automatic retrieval of current mapping debian stable -> released name

I'm automating my customary debian setup using ansible. The playbook is supposed to treat testing/unstable and stable differently: the former are to be maintained "clean", while the latte is to receive kernel etc. from Backports. As there's now…
balin
  • 123
  • 1
  • 5
0
votes
0 answers

Dpkg dependency problems on Unpacking a package for Docker

I am building a debian package atlantis-builder.deb with folder structure as: - deb - DEBIAN - control - postinst - postrm - usr - bin - sbt The control file has content…
Dhanu Gurung
  • 101
  • 4
0
votes
1 answer

dist-upgrade from Debian 7 (wheezy) to 8 (jessie) results in 'Failed to execute operation' errors

After upgrading Debian 7 (wheezy) to 8 (jessie), any system critical action results in one of the following messages appearing: Failed to execute operation: Activation of org.freedesktop.systemd1 timed out Failed to execute operation: Connection…
Xaymar
  • 21
  • 1
  • 6
0
votes
1 answer

DPKG Equivs Issue

Basically, here's the gist of my issue: I've compiled my own version of MySQL with some Sphinx magic sprinkled in it. However, because its compiled from source and not installed from any package management system, anything that requires mysql-common…
user3233
  • 113
  • 2
0
votes
1 answer

Server shuts down during apt upgrades (specifically libdbus)

I woke up this morning to find my VPS down. I brought it back, couldnt find any reason for it being down (nothing in the syslog, etc) so figured it was my crappy provider. I ran apt-get upgrade and it told me: E: dpkg was interrupted, you must…
Finn
  • 223
  • 1
  • 2
  • 8
0
votes
0 answers

dpkg-query --show [package-name] prints out uninstalled packages

I removed mysql from Ubuntu server completely as below sudo apt-get remove --purge mysql-server mysql-client mysql-common sudo apt-get autoremove sudo apt-get autoclean sudo deluser mysql sudo rm -rf /var/lib/mysql sudo apt-get purge…
brsbilgic
  • 153
  • 6