The base software for Debian/Ubuntu/Mint package management. Use this tag for questions about dpkg and its companion utilities and the .deb file format.

learn more… | top users | synonyms

0
votes
0answers
12 views

Can't install updated Ruby deb package: ruby1.9.1 conflicts with ruby

I have a .deb package (ruby-2.1.2_amd64.deb) containing a specific version of Ruby I'm trying to install using dpkg, but I'm getting the following error: $ sudo dpkg -i ...
0
votes
1answer
9 views

How to determine the added value of installing a (pseudo-)package vis-à-vis installing only one of its dependencies?

Suppose that (pseudo-)package A depends on (pseudo-)package B. I'm looking for a reasonable systematic way to answer the question: "what would I get by installing A that I would not get by installing ...
-1
votes
1answer
21 views

trying a new 2016 openssl package, but still see the old 2012 version. Ubuntu 12.04

I'm trying to install a new 2016 open ssl package, but still see the old 2012 version, on Ubuntu 12.04 . I have a bunch of Ubuntu 12.04 dedicated machines that can't connect to the internet. They're ...
0
votes
1answer
29 views

How to find all the available packages (and executables) that can fulfill an “alternative”? [duplicate]

By "alternatives" I mean (for the most part; see exception below) the "roles" corresponding to the files under /var/lib/dpkg/alternatives. These roles include awk desktop-background editor ...
1
vote
0answers
13 views

Where is the information for debian control files stored?

The documentation for Debian and the dpkg package managment system explains the debian/control files are meta data for packages, e.g. these docs explain: The control file contains the information ...
1
vote
1answer
70 views

Why do I have so many unnecessary packages?

I was installing Prey through a .deb file donwloaded from the official website when, all of a sudden I realized that I have so many "unnecessary" installed packages in my Ubunu laptop. This has been ...
0
votes
1answer
29 views

Install packages in parallel

If one process of dpkg is running i.e installing package or any thing else , why can't we execute another process for dpkg in parallel, same for the apt-get, Or we can? Is there any tool that can ...
0
votes
1answer
19 views

/usr/bin/dpkg returned an error code (1)

After trying to install an openvpn I've got this: apt-get became broken - unable to install/purge anything. I've got 2 versions of python install 2.7.1 and 3 (wondering if this could cause the ...
0
votes
1answer
14 views

Defeat rabbitmq-server dpkg autostart

I need rabbitmq-server installed on Ubuntu. Rabbitmq-server tries to start itself on install, and on many dpkg and apt-get commands thereafter. (Having it run on install is intentional, according to ...
0
votes
2answers
192 views

Raspbian clean install - dpkg error during upgrade

On a clean install of Raspbian Jessie (Raspberry pi 2) an error occurs during the first attempt for upgrade: Preparing to unpack .../python-rpi.gpio_0.6.1-1_armhf.deb ... Traceback (most recent call ...
0
votes
1answer
34 views

Where did Unity3D just install?

I downloaded the Linux beta .deb package of Unity3D from the official place with the official links. (I'm too lazy to recover the link and include it; it doesn't really matter anyways.) I ran sudo ...
4
votes
1answer
41 views

Is that possible to know the user that installed a spcify package?

I don't feel easy with Unix package tools, and I wonder whether it is possible in Ubuntu to list all installed packages, and see the users that installed them ?
0
votes
0answers
49 views

dpkg-deb: error: control directory has bad permissions

I'm running an Ubuntu 12.04 VM and trying to convert an rpm file to a deb file. When I run sudo alien --to-deb --scripts oracle-xe-11.2.0-1.0.x86_64.rpm I get this error dpkg-deb: error: control ...
1
vote
0answers
19 views

dpkg install with apt-get autoremove

OS: Debian 8 I wanted to install PepperFlash, which is non-free. I don't anticipate installing many non-free packages, so instead of modifying /etc/apt/sources.list and downloading from the non-free ...
0
votes
2answers
16 views

Significance of md5sum file in debian package source

I have one debian package source with md5sum file inside DEBIAN directory |-- DEBIAN | |-- control | |-- md5sums Now my question is when this file will be used? Will it be useful for integrity ...
-2
votes
1answer
94 views

E: sub-process /usr/bin/dpkg returned an error code (1) while updating php

I tried to update php to php5 and getting below errors. root@Ansible-VirtualBox:~# apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done ...
2
votes
1answer
42 views

dpkg binaries broken?

I bought a new Raspberry Pi 2 with ARM processor architecture. Tonight I did an update via sudo apt-get update && sudo apt-get upgrade. I noticed, that it did update the dpkg package itself. ...
3
votes
0answers
32 views

dpkg cannot remove old kernels. grub-probe halts [closed]

recently on a update, dpkg tried to install a new kernel and /boot ran out of space. next boot it failed to find init image. so i rebooted, selected the previously good kernel, and tried to remove a ...
2
votes
1answer
67 views

No dpkg or apt, no make or gcc. Need to install them all [closed]

I have a minimal Debian Linux based machine (i686) and need to get some .deb installed. This does not even have make or gcc installed. So I am unable to compile anything on this. So to get it ...
0
votes
1answer
49 views

Trouble when building LZ4 from source: “recipe for target 'test-fuzzer' failed”

I am trying to install ROS (Robot Operating System) on Raspbian. There are some dependencies that I need which are unavailable for Raspbian, so I must build them from source. One of these is lz4. Here ...
-1
votes
1answer
30 views

checkinstal - dpkg -r does not remove the package

I have installed a tool form source code with checkinstall. The installation was fine. That is the output: Done. The new package has been installed and saved to ...
1
vote
0answers
26 views

I've deleted my /var/lib/dpkg/status and status old files

I run Deepin, I've been trying to install the necessary compenents to run a LAMP server on my machine for web development. As the title says I've somehow deleted my status files. I'm not sure how, I'm ...
2
votes
0answers
63 views

DPKG Status Corrupted

My Ubuntu system has been giving me trouble whenever I try to install or uninstall or update software using apt-get. Whenever I run these commands it returns an error with regards my status file. The ...
1
vote
1answer
20 views

Debian package doesn't install items to /usr/src?

I'm packaging a Debian package which is supposed to simply install some source code in /usr/src/bcm5974-4.2 and an X configuration file in /usr/share/X11/xorg.conf.d. It unpacks the configuration file ...
2
votes
1answer
79 views

Package installation : dpkg parse error

I need help with installation through the terminal. Any time I try to install any new packages using sudo apt-get install *package*, I get the following error: dpkg: parse error, in file ...
0
votes
0answers
135 views

Use dpkg in busybox

I am trying to install sensu inside a busybox docker container (busybox:ubuntu-14.04). To do that, I've downloaded the .deb package from the official sensu repositories and now I'm trying to install ...
5
votes
2answers
231 views

Check if all listed packages are installed in bash

My binary depends on these boost libraries and respective packages: NAME | PACKAGE: ...
7
votes
2answers
192 views

building Debian package with non-standard options

I would like to build Debian package from source, using dpkg-buildpackage. I have downloaded package source: apt-get -t wheezy-backports source gnucash Inside the file gnucash-2.6.9/configure I ...
1
vote
1answer
177 views

Added i386 support for wine, removed it now I can't remove the architecture

I've previously added i386 support in order to install wine32 with: sudo dpkg --add-architecture i386 Now I don't need wine32 anymore and removed it, then wanted to remove the i386 architecture ...
3
votes
3answers
334 views

How does one list the packages in a .deb file?

sudo dpkg --install some_stuff_all.deb Install the packages in the file some_stuff_all.deb. sudo dpkg --remove some_stuff_all.deb Displays the message: dpkg: error: you must specify packages by ...
2
votes
1answer
19 views

Is there a dpkg argument to warn about incomptibilities/broken dependencies?

A command like dpkg -i *.deb will install all deb files in a folder without warning of incompatibilities and such. Can this command be changed so that installation of broken packages is avoided, ...
1
vote
1answer
161 views

Debian Jessie - dpkg / apt intall, update and uninstall broken

I have a problem with a Debian server that I use for multiple purposes. Yesterday I tried to upgrade my packages with a simple apt-get update / upgrade as usual and found everything to be broken : ...
0
votes
1answer
29 views

dpkg --list not in sync with apt-get

dpkg --list | grep [0-9]\-jre-headless shows, rc openjdk-7-jre-headless:amd64 7u79-2.5.6-0ubuntu1.14.04.1 amd64 OpenJDK Java runtime, using ...
3
votes
0answers
58 views

dpkg-query listing package that is not installed

I installed Chrome via dpkg by downloading the deb file and installing it. I later uninstalled and removed it. However I'm now seeing this: $ dpkg-query -W google-chrome google-chrome $ dpkg-query ...
0
votes
1answer
15 views

Find Information about debian package located in a particular directory

I have some debian packages not located in my default debian directory. I know I can find the information of packages located in my default debian directory as follows: dpkg-query -W package-name ...
2
votes
1answer
44 views

What is the difference between the error “not found” and the error “command not found” are they the same?

In this question the user is getting the error "not found". I realized that the error is "not found" instead of "command not found". Are these two errors different? I'm not sure if I've just never ...
2
votes
1answer
79 views

dpkg: error: duplicate file trigger interest for filename `/usr/lib/gio/modules' and package `libglib2.0-0'

[Reposted from askubuntu.com] I can't install any software. I think this dates from an unexpected power loss a few days ago. When I try sudo apt-get install gparted I see Reading package lists... ...
5
votes
1answer
139 views

What's the difference between DPkg::post-invoke and DPkg::post-invoke-success?

There are two suggested configuration options to install post-install hooks into Debian's apt/dpkg system: DPkg::post-invoke(1) and DPkg::post-invoke-success(2). For me, only post-invoke seems to ...
1
vote
0answers
77 views

Could not perform immediate configuration on 'multiarch-support'

I am not sure what I was thinking when I accidently deleted my /etc/dpkg/ folder. While I was fixing that, I tried many things and that made things worst. Now I am in a situation where I can not ...
0
votes
1answer
144 views

Creating debianpackage - the package is of bad quality

I just created a debian package with dpkg-deb --build debtest and when installing the package which containing a simple c-app a warning comes up Lintian check results for ...
0
votes
0answers
176 views

dpkg: error: 2 expected programs not found in PATH or not executable can't install anything

When I try to install anything on a linux server I always get the following error: Last login: Sat Aug 22 10:25:09 2015 from 27.34.97.20 root@s3:~# sudo -i root@s3:~# su root@s3:~# apt-get install ...
3
votes
0answers
66 views

apt-get upgrade with /usr/bin on aufs fails to create backup link

I'm trying to update a frugal persistent (root and home) install of antiX-15 x64 from stable to testing. I changed the source lists and ran apt-get update. apt-get upgrade then fails with the ...
0
votes
2answers
467 views

Can't install locales [closed]

I'm working under Raspbian (for RaspberryPi): Linux version 3.18.14-v7+ (root@vagrant-ubuntu-trusty-32) (gcc version 4.8.3 20140106 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.01 - ...
0
votes
0answers
89 views

Error while installing nis (3.17-33) on debian 8

I am encountering the following error root@periferralvm1:~# apt-get install portmap nis Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting ...
2
votes
1answer
39 views

When will dpkg delete directories?

In Debian Jessie's /etc/cron.d/ there's a file called .placeholder, the contents of which claim: # DO NOT EDIT OR REMOVE # This file is a simple placeholder to keep dpkg from removing this directory ...
4
votes
2answers
59 views

How to influence order of package upgrade (apt-get upgrade/dist-upgrade)

We are hosting a branch of the debian jessie repository with custom, backported and patched packages. Every product release an ISO installer is created from this repo. We now noticed that an upgrade ...
0
votes
0answers
55 views

DPKG error when installing puppetserver

I want to install Puppet 4.2 on a Ubuntu 14.04 Trusty and when installing puppetserver through apt-get I get the following error near the end of the installation: dpkg: error processing archive ...
1
vote
2answers
88 views

Strange dependency error in installing package

I am trying to install an app we made in Ubuntu (with Quickly) to Raspberry Pi Raspbian. However, it has a dependency python:any (>= 2.7.1-0ubuntu2) which is unmet in Raspbian although it has Python ...
3
votes
1answer
2k views

Help me repair my python - I think dpkg has to be reset (very tricky issue)

first question in Unix & Linux - I really hope, someone can help... Summary (TL;DR) On my Kubuntu 14.4 (which has python 2.7.6 as standard) my python is broken after I tried to install python ...
3
votes
1answer
50 views

Why don't most common Linux package managers allow package installation for normal users? [duplicate]

I tend to install quite a lot of packages with ./configure --prefix=$HOME && make && make install. Why can't I do this as easily with dpkg or yum? Or if I somehow can, what is the way ...