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
3answers
55 views

Deleted /usr/bin/touch and /bin/touch. Can't seem to install anything now, nor create any files?

After updating GNOME to 3.20.2 I had some problems with my touchpad so in that confusion I mistakenly deleted /usr/bin/touch and after that I even became more stupid and deleted /bin/touch. Now after ...
0
votes
0answers
7 views

Command not found: pdebuild fails, fakeroot succeeds

I'm updating a debian package and I need to call an external build dependency which is actually a toolchain. It doesn't have a deb package so I can't provide Build-Depends. I've chosen to include it ...
3
votes
2answers
30 views

What does the apt-get message “held broken packages” mean?

I recently ran a command to install a package on Ubuntu 16.04 with apt-get % sudo apt-get install <package> apt-get was unable to install, it printed some status messages, with the last line ...
1
vote
2answers
63 views

dpkg: error: cannot remove architecture 'i386' currently in use by the database

I used this command to add i386 arch: sudo dpkg --add-architecture i386 And then imediately after without installing any packages I tried to remove the i386 arch like so: sudo dpkg --remove-...
3
votes
1answer
39 views

Warning because addgroup tries to create an already existing user group

I am trying to run the command dpkg --configure -a in order to fix dpkg so I can apt-get programs. I get the error addgroup: The group 'systemd-journal' already exists as a system group. Exiting. ...
2
votes
0answers
18 views

Difference between “install” and “installed” in dpkg.log

Some recently installed packages appear like so: [date] [time] install [package name] [date] [time] installed [package name] but some packages (e.g. man-db which I haven't manually installed) ...
1
vote
1answer
59 views

Error: Wrong architecture 'amd64' & Unable to locate package libc6-dev-i386 [Install libc6-dev-i386]

I'm trying to install the Redox-OS files via curl -sf https://raw.githubusercontent.com/redox-os/redox/master/bootstrap.sh -o bootstrap.sh && bash -e bootstrap.sh (as referenced in the Book) ...
1
vote
1answer
27 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
315 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
85 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
52 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
56 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
50 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
30 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
11 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
45 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
43 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
371 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
99 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
69 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-...
1
vote
1answer
89 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
66 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
182 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
60 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
195 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
50 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
14 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
49 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
81 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
183 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
76 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
110 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
40 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
43 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
86 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
69 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
49 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
75 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
426 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
131 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
48 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
189 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
29 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
88 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 ...
3
votes
2answers
64 views

How to get prompted before restarting services after packages upgrades?

I have VPS instances from three different providers, and those from two providers will prompt for a restart of affected services when running apt-get upgrade. VPS instances from one provider do NOT ...
1
vote
1answer
114 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
107 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 ...