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

1
vote
1answer
24 views

Force dpkg repair

I did a terrible mistake and deleted two folders from the /usr/lib directory on my Debian. I deleted python2.7/ and pkgconfig/ Things I've tried to fix it without success: sudo dpkg -i python2* -> "...
7
votes
3answers
296 views

How to harden su with dpkg-statoverride?

I am reading an Ubuntu 14 hardening guide and this is one of the suggestions: It generally seems like a sensible idea to make sure that only users in the sudo group are able to run the su ...
0
votes
1answer
56 views

/etc/environment: /root: Permission denied

Whenever I run apt install to install a package it fails. I get this output at the bottom. It seems to go fine until it asks for permission ([y/n]) then is immediately followed by this output, ...
2
votes
1answer
33 views

dpkg complains about a missing package which is already installed

Trying to install letsencrypt on Debian Jessie, I have run into the following situation I don't quite understand. I already have installed python-acme: dpkg -l | grep acme ii python-acme 0.6.0-1~...
0
votes
0answers
33 views

How to check if HDF5 is installed?

I have followed instructions from their site. The command ls /usr/local/hdf5 returns bin include lib share But dpkg -s hdf5 dpkg-query: package 'hdf5' is not installed and no information is ...
0
votes
2answers
45 views

What is the purpose of '/var/lib/dpkg/available' file in Ubuntu/Debian? [duplicate]

What is the role of the /var/lib/dpkg/available file in Ubuntu and Debian machines?
1
vote
1answer
28 views

where is AlaDelta theme hiding and how do I delete/purge/remove it

I came to know that I have an AlaDelta theme sitting/hiding somewhere on the system. I tried the following approaches - $ apt-file search aladelta with variations of aladelta in some caps, all caps ...
0
votes
0answers
9 views

dpkg totally broken after cancelled upgrade

My apt-get or dpkg under Debian 8.0 seems to be totally broken after a cancelled upgrade. Some hours ago I cannot simply do apt-get update without an error. I don't remember what error this was ...
1
vote
1answer
41 views

why isn't there a historical pretty log of your upgrades, downgrades and package purges in Debian?

I wanted to lookup history of my recent updates/upgrades, package purges and found out that other than aptitude and ugly dpkg.log, there doesn't seem to be anything else which does the same. See ...
1
vote
0answers
33 views

How can I preseed the answers to the prompts in this deb?

I am trying to install jitsi-meet on a vm via automated script . However, the deb package prompts for a hostname. How can I set this value from a script? I have tried using debconf-set-selections, ...
3
votes
1answer
217 views

Updating Nginx server to 1.10 on Debian 8.4

I just installed the latest Debian version (8.4) on a virtual machine, and everything went fine. I then installed nginx server from the Debian repos and I got version 1.6.2, while the latest version ...
2
votes
1answer
74 views

How to extract and install .deb without the command dpkg?

I am running Debian jessie stable in order to understand how the .deb package interacts with the system. What is the correct way to extract and install a packge_name.deb without the command dpkg?
1
vote
0answers
49 views

Can't purge old kernels (dependency problems), but /boot is out of space

I'm running Ubuntu 14.04.4 LTS, and I'm trying to install a new package using apt-get. Unfortunately, whenever I try I get messages like: The following packages have unmet dependencies: linux-image-...
2
votes
1answer
51 views

Set apt-get options to tolerate harmless 'dpkg --force-conflicts' kludge?

A trivially conflicting package foo can be made to work with bar, by running dpkg --force-conflicts -i foo. But eventually it's time to upgrade, and 'apt-get' objects: % apt-get upgrade Reading ...
-1
votes
1answer
39 views

How to fix install Comondo antivirus in kali linux?

I want to install a antivirus software in kali linux. I find a software name Comondo : https://www.comodo.com/home/internet-security/antivirus-for-linux.php. I download deb file and run but failed, ...
2
votes
0answers
22 views

what is difference between .deb pakage file and ddeb pakage file in linux

I need to install SystemTap in Ubuntu 14 and i would need to install debug symbols for kernel i encountered ddeb file how i could uninstall this file after installation ? i got ERROR: Build-id ...
0
votes
1answer
135 views

broken dpkg, X after nvidia driver install on Debian

In following the Debian installation instructions for NVidia drivers for Debian 8 "Jessie", I hit a snag I can't figure out... # apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') ...
1
vote
1answer
39 views

How to remove a software installed by dpkg -i FILE.deb?

For example, Opera web browser is distributed as a deb file, and can be installed by the command dpkg -i opera.deb. How to remove it?
3
votes
3answers
151 views

dpkg - how to install pre-dependency?

I need to install apt package on a Western Digital DL4100 NAS running a Linux DL4100 distribution where the only package system is dpkg. To do so, I have to install multiarch-support, it depends on ...
3
votes
1answer
40 views

How to get the compiler flags that are used to build the binaries in a (.deb) package?

I know that apt-get source <package_name> gives you the source package. It contains a debian folder with a file called rules. If I understand it correctly, this file describes how the source ...
0
votes
0answers
11 views

See what debconf do to configuration files

Some packages will run debconf when you install them. Based on the input you enter in the dialogs, some configuration files will be change before installation ends. How can I see what actions debconf ...
1
vote
1answer
34 views

Verify and append to a package repository?

I have an ubuntu mirror set up and ready to be transferred by hard drive to an offline machine. I want to verify that the mirror has all the packages I need and add any missing packages to it. The ...
0
votes
1answer
73 views

Issue with bash script running from php as root

I'm making a php panel from which you can install apps like owncloud & plex on your server. I've created multiple bash scripts that install and remove software. I tested all of them from shell, ...
1
vote
1answer
151 views

Why Linux has so many dependency problems when installing software while Windows doesn't except for few like VC++? [closed]

I'm a Windows user and I need to also use Linux distros heavily for work. Installing software has been so difficult with all dependency missing/version not upgraded/OS distro version unmatch. Not ...
0
votes
1answer
59 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 /tmp/chef-solo/ruby-2.1....
1
vote
1answer
20 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
91 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
38 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 global-...
1
vote
0answers
37 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
83 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
66 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
45 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
61 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
1answer
392 views

“EOFError: EOF read where object expected” while installing python-rpi.gpio

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
108 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
46 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
161 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
26 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
70 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 ...
1
vote
1answer
100 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. ...
2
votes
0answers
37 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
102 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 ...
1
vote
1answer
240 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
58 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 /opt/ntopng-2.0/ntopng_2.0-1_armhf....
1
vote
0answers
29 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
131 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
24 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
127 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 '/var/lib/...
0
votes
0answers
279 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
437 views

Check if all listed packages are installed in bash

My binary depends on these boost libraries and respective packages: NAME | PACKAGE: --------------------------------------+-----------------------------------...