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
3
votes
2 answers

Debian removed /var/lib/dpkg/info/, is there a way to save the system?

Removed accidentally /var/lib/dpkg/info/, now I am having problems with installing/removing packages, it prompts errors, cause can not find the info about installed packages. Is there any way to save the system or need to reinstall debian…
Wiggler Jtag
  • 251
  • 5
  • 17
3
votes
1 answer

Overriding dpkg admindir from apt-get options (debian/ubuntu linux)

As part of an OS deployment, I need to maintain sets of debian packages independently of the host operating system. It's pretty straightforward to override the Apt settings for the cache and lists, but not the dpkg setting for the admindir. For…
Alex G
  • 376
  • 1
  • 4
  • 13
3
votes
2 answers

How to monitor package versions across multiple (Linux) servers

We use Puppet for installing the base level OS and packages, but our own application packages are deployed manually by individual developers. I'm looking for a web dashboard to view/monitor the package versions across all machines. Has anyone come…
mrisher
  • 391
  • 1
  • 4
  • 12
3
votes
2 answers

Scripting installation of a virtual package provider on Debian/Ubuntu

First, what's the simplest way to get a list of (real) packages that provide a particular virtual package? 'aptitude show' seems to include it in the output for a virtual package, but 'apt-cache show' does not. However, aptitude is not always…
3
votes
2 answers

dpkg error installing on Ubuntu 10.04

I'm trying to install the nginx on ppa:nginx/stable on Lucid after removing the one that comes from the default sources but I get this error: ` Setting up nginx-common (0.8.54-4ppa13~lucid) ... dpkg: error processing nginx-common (--configure): …
MrD
  • 235
  • 4
  • 11
3
votes
1 answer

dpkg broken while upgrading Debian Etch to Lenny

Good day! While trying to recover a box to lenny it seems I've broken things. It upgrades libc and glib after that dpkg seems to be broken. I can run apt-get, but it gets segmentation fault from dpkg: # apt-get -f install Reading package lists...…
artvolk
  • 309
  • 2
  • 10
3
votes
1 answer

Install PostgreSQL on Ubuntu without starting it

I want to install PostgreSQL 8.4 (or any service) on Ubuntu 10.4 (or any Linux distro) without it starting up as part of the installation. Right now when I do a sudo apt-get install postgresql-8.4 part of the installation process is Starting…
Everett Toews
  • 623
  • 1
  • 5
  • 12
2
votes
0 answers

Failing to start nfs server

I'm trying to get nfs working on an Ubuntu 16.04.2 LTS. I get the following error: I've already tried reinstalling nfs-common, nfs-kernel-server and other packages following instructions provided in other forums and couldn't get it working. The…
jerin
  • 21
  • 1
  • 3
2
votes
1 answer

ubuntu using "force-yes" with `dpkg -i`

I have an update script for my system that updates from deb files: find /packages/apt/ -type f -name "*.deb" -exec dpkg --force-depends -i {} \+ The problem is that nginx has a configuration file that was changed - so it prompts: Configuration file…
Boaz
  • 375
  • 1
  • 9
  • 16
2
votes
2 answers

dpkg: error processing package

Im trying to install mongodbserver on ubuntu 14.04LTS with reference to mongodb docs but getting the dpkg related errors root@c3:~# apt-get install -y mongodb-org Reading package lists... Done Building dependency tree Reading state…
sherpaurgen
  • 608
  • 3
  • 10
  • 26
2
votes
1 answer

apt - update local package

Some months ago I had to install gitlab-ce on a server with Ubuntu 16.04, no access to the public internet, so I downloaded the package from the Ubuntu repository on an other machine and then uploaded to the server and manually installed: dpkg -i…
Brutus
  • 121
  • 3
2
votes
3 answers

dpkg can't install dpkg update - how do I update anything?

Short of rebuilding the whole server from the ground up (which I'm working on anyway), any ideas how to fix this problem on an old debian etch box? Its annoying to not be able to apt-get things... # apt-get install dpkg <> Preparing to…
gnarf
  • 713
  • 3
  • 8
  • 21
2
votes
1 answer

command line alternative to dpkg-reconfigure slapd

Is there a way to reconfigure slapd, providing all configuration options as command-line parameters/arguments? My goal is to be find an alternative to the interactive UI. Thank you
Moshe Shmukler
  • 207
  • 1
  • 8
2
votes
1 answer

virtuoso-opensource 7.1: how do I build an ubuntu deb package, from github source, that includes isql?

Does anyone know how to create a virtuoso-opensource 7.1 ubuntu deb package, from source, that includes isql? If I do a make install from the source, virtuoso-t and isql are installed to the /usr/local/virtuoso-opensource/bin folder, however, if I…
Peter M
  • 953
  • 2
  • 14
  • 27
2
votes
0 answers

RabbitMQ start failure

I am trying to start RabbitMQ Server. And any way I do this, I get this error: Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err} rabbitmq-server. invoke-rc.d: initscript rabbitmq-server, action "start" failed. dpkg:…
John Green
  • 21
  • 1