Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dpkg]

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.

0
votes
1answer
43 views

Building sstp-client on Kali Linux from Source: dpkg errors

I am following the commands below--modified from the answer here--in hopes of building a .deb package of sstp-client for my Kali Linux build. I eventually want a username/password-authenticated SSTP ...
1
vote
1answer
24 views

Debian/dpkg handle group id collision

In my network there is a special user group with the ID 101. Unfortunatelly, Debian wants to use the ID 101 for the group systemd-journal. Since it exists only locally, I assigned systemd-journal the ...
-2
votes
2answers
36 views

How do I get a list of all existing Debian source packages of all architectures online?

I need some online service that gives me all existing source packages in Debian. A source package is something like this: https://packages.debian.org/source/stretch/wireshark It contains several ...
0
votes
1answer
24 views

How do I get a list of all existing Debian packages of all architectures online?

I need some online service that gives me a list like this command: apt-cache pkgnames | sort Any hints?
0
votes
1answer
39 views

Error Installing Emacs25 Package on Ubuntu 16.04

I am trying to install Emacs25 package on Ubuntu 16.04 alongside Emacs 24 and Emacs-snapshot (currently Emacs 27.0.50). I ran the following commands sudo add-apt-repository ppa:kelleyk/emacs sudo ...
0
votes
0answers
21 views

Creating .deb from github repository

Currently, to build the github repo, it requires making a python environment with specified dependencies, with gcc and g++ installed. The project is written in python and cython. I want to make a .deb ...
1
vote
2answers
46 views

Error when move or delete file on ext4 in dpkg info directory

There is a troublemaking empty file (md5sums of kernel 4.19.1) left on my ubuntu system, with has strange owner/group/date/attributes How to fix or workaround this defect file? $ uname -a Linux ...
2
votes
1answer
215 views

kubuntu-desktop on Linux Mint 19.1 `software-properties-kde` issue

I have an issue upon installing kubuntu-desktop package, the problem is that I can't install package software-properties-kde which depends another package called python3-software-properties where ...
2
votes
1answer
104 views

How to install missing dependencies of a custom Debian package?

A custom Debian package has this dependency in the Debian control file: Depends: docker-ce (=17.03.2~ce-0~debian-stretch) That must be downloaded from download.docker.com as it isn't part of the ...
0
votes
0answers
44 views

can't install libboost-python in debian

I think something is wrong the package manager I use this command to install libboost-python sudo aptitude install libboost-python1.62.0 I get the following error that later suggests removing ...
1
vote
1answer
78 views

debsign: no entry data.tar.gz in archive error

I have created a binary deb package with dpkg-deb command. It is installable and works. > dpkg-deb --build /test dpkg-deb: building package `xxx' in `test.deb'. Now I want to sign the package, ...
1
vote
1answer
26 views

Remove debuild buildsystem=cmake linker flags

I'm trying to create a *.deb file from debian using cmake with a mingw cross-compiler. CMake's compiler test fails when using dpkg-buildpackage. Building normally is fine: mkdir build && ...
0
votes
2answers
307 views

Can't tar files: Refusing to read archive contents from terminal

I have host without dpkg so I need to install it. I followed the instructions from here and here. On both of these answers they wrote that I need to download the file: wget http://security....
0
votes
0answers
53 views

wine-staging unmet dependencies Linux Mint

I just installed Linux Mint on my PC beacuse I want to ditch Windows for good and I want to play some games on it through Lutris. The problem is that I'm struggling installing wine staging for 32-bit ...
1
vote
2answers
31 views

Detecting downloaded (and not installed) packages with Synaptic / apt / dpkg?

Is there any way to detect downloaded (in cache) and not installed packages using Synaptic, apt or dpkg? Do I have to create a specific filter for that? If so how do I do that? Where could I learn ...
4
votes
1answer
69 views

Cleaner way to detect if a particular package was installed in apt-get hook?

I have a simple script that applies a patch to a given package, and, since each time said package is upgraded the patch gets overridden, I would really like to automatically apply the patch after ...
1
vote
1answer
58 views

ldap on debian, and ubuntu

I am currently changing my Linux client from Ubuntu 16.04 to Debian 9.6, and I am trying to setup LDAP client authentication to debian machine. While setup, I noticed that the following command does ...
0
votes
1answer
43 views

apt ignores virtual package provided equivs-created package

I want to install pdftk on my development machine where I have installed (multiple versions of) Java with SDKMAN!. In order to fulfill the dependency on default-jre-headless of pdftk-java, I created a ...
5
votes
1answer
121 views

How does apt/dpkg choose which real package is installed when a virtual package is specified as a dependency?

e.g. if package specifies Depends: www-browser How does apt/dpkg decide which real package will be installed?
1
vote
1answer
69 views

What is the matter with my package manager?

My system encounters an error every time after installing new software: sh: 1: /bin/echo: Permission denied E: Problem executing scripts DPkg::Post-Invoke '/usr/bin/test -e /usr/share/dbus-1/system-...
2
votes
1answer
34 views

Debian conffiles alternative

I maintain a native Debian package which installs an application and an initial SQLite database. I expect the application to edit the database. How do I prevent upgrades from replacing the database? ...
3
votes
1answer
1k views

OpenSSH Server won't start on orangepi/linux

I am currently doing some testing with an Orange Pi. After doing an update on a fresh install it seems as though the ssh server is no longer able to start itself, and I'm not able to manually start it ...
3
votes
1answer
83 views

How to use debuild hooks (--signing-hook-foo etc)

The man page isn't clear on that. How would I use a signing hook? Especially using the parameter without the config file. What is the meaning of foo in the documentation? For example in --signing-...
1
vote
1answer
52 views

Contents of apt file revert at boot

I'm having a headless debian Raspberry PI which runs an Owncloud server. The apt owncloud installation files used to be located here: http://download.owncloud.org/download/repositories/stable/...
0
votes
2answers
78 views

Can't install openntpd: “unable to find a suitable fs in /proc/mounts, is it mounted?” “pre-installation script returned error exit status 1”

I'm trying to install openntpd (sudo apt-get install openntpd) and I'm getting: Preparing to unpack .../openntpd_1%3a6.0p1-2_amd64.deb ... Warning: unable to find a suitable fs in /proc/mounts, is it ...
1
vote
1answer
87 views

APT version conflicts across different architectures even with Multi-Arch: same?

With Raspbian and a 64-bit kernel, I am fetching packages from the following sources: deb [arch=armhf] http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi deb http://deb....
8
votes
2answers
416 views

Conditionally enabling systemd files through Debian packaging

I've created a deb package which installs a service. On our embedded devices, I want this package to automatically enable the service. On our developer workstations, I want the developers to ...
1
vote
0answers
267 views

Dpkg/apt problem with pyhon/ansible [closed]

i installed a kernel:apt install linux-image-4.18.0-0.bpo.1-amd64, after I used apt autoremove. It has removed some python packages that i don' t remember, after I ran into some problems. Settings ...
1
vote
0answers
35 views

dpkg: Upgrading depending packages (with the depended on possibly failing)

I have two packages A and B where B is an optional component that depends on package A and its exact version. Therefore I need to enure that if both packages are installed they are of the same version....
2
votes
0answers
39 views

Issues with Nvidia drivers [closed]

Something happened to my laptop during an update it seems and I have been experiencing MANY issues with apt-get and dpkg trying to update packages due to unmet dependencies. Everything I have found ...
2
votes
1answer
344 views

Virtualbox unable to install

The problem: Unable to install virtual box. I tried to install it using the following command: sudo apt install virtualbox Here is the outcome sudo: /etc/sudoers.d/README is world writable Reading ...
1
vote
0answers
67 views

Linux giving error on installing any package [closed]

I have Raspbain installed on live cd. Whenever I am trying to install any package, it gives me these errors. Now, on opening terminal, it says "LX Terminal" and not "pi@raspberrypi" It all started ...
-3
votes
1answer
298 views

dpkg error when running sudo apt-get upgrade [duplicate]

root@kali:~# sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove ...
0
votes
0answers
593 views

Errors were encountered while processing: python-minimal

I can't do anything with apt-get because of python-minimal. I think I may have corrupted my python! Whenever I want to install, remove, or upgrade using apt-get, it gives me this error: Errors were ...
2
votes
0answers
75 views

Getting exit code 139 while running UCF (during dpkg postinstall)

I got stuck while trying to update two specific packages (e.g. "samba-common" and "openssh-server", for completion's sake), throwing the following error on the terminal: subprocess installed post-...
0
votes
1answer
35 views

Dpkg cant purge AMD-graphics package; read-only file system (Mint)

For reasons regarding the other question I asked on here I want to purge the package xserver-xorg-v from my Linux Mint from the root shell. I get the following Error: dpkg -P xserver-xorg-v dpkg: ...
2
votes
1answer
233 views

APT holds broken install

I'm using Debian 9.5 and recently uninstalled a package (mariadb), now as I try to install a new package, I keep getting this: E: Unable to correct problems, you have held broken packages. I ...
0
votes
0answers
156 views

[dpkg: error: failed to open package info file /var/lib/dpkg/updates/0049 for reading: Input/output error]

I am trying to install qt4 dev. tools on bananapi. During installation half of the way, I got this error message: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a'to correct the ...
0
votes
1answer
11 views

How to mark which files which should be overriden during Debian package update?

The package manager seems to override all files during an update, regardless whether they were modified. How can I mark files which shouldn't be overriden?
3
votes
1answer
163 views

Create a JSON file of all installed dpkg software

I'm trying to collect all packages installed through dpkg in a JSON file. I tried this script: echo [ > installed_packages.json dpkg-query -W -f '{"name":"${binary:Package}","version":"${Version}"...
3
votes
2answers
204 views

dpkg-query placeholders “Filename”, “MD5sum” and “Size” are always empty

I'm currently trying to get some info about the installed pakages und systems that use dpkg. So I tried to use dpkg-query. Most placeholders work fine and I get what I need, however I noticed that the ...
0
votes
0answers
249 views

dpkg - dependency problems prevent removal of citadel

I would like to remove citadel from my machine. I am following these steps for Debian (not EasyInstall): Uninstall citadel Howeber, I get these errors: dpkg: warning: ignoring request to remove ...
-1
votes
2answers
48 views

What does “ii” in the first colums of the output of dpkg-query mean?

I executed dpkg-query -l libgtk2.0-0 libgtk-3-0 to find out the version of those packages, and I got the following output. Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/...
0
votes
0answers
26 views

Unable to install .deb packages on kali linux [duplicate]

I have been trying to install vscode.deb with the DPKG and stumbled upon an dependency error that required libgconf-2-4. Using apt-get install libgconf-2-4 i get E: Package 'libgconf-2-4' has no ...
1
vote
2answers
605 views

How to find out the variable names for debconf-set-selections?

Let's say I want to install mysql from a script without being asked any configuration questions like what root password I want to set by apt. I would then preset the debconf variables: echo mysql-...
0
votes
1answer
56 views

How to resolve wingide6 install error?

dpkg -i wingide6_6.0.12-1_amd64.deb Selecting previously unselected package wingide6. (Reading database ... 334144 files and directories currently installed.) Preparing to unpack wingide6_6.0.12-...
1
vote
0answers
109 views

Error installing Apache on Linux

I´m trying to install apache2 on my Linux VM but it returns me an error and I don´t know how to fix it. I used the command: sudo apt install apache2 This is the errors that returns me: update-...
1
vote
1answer
506 views

Syntax error: Unterminated quoted string

I was updating my linux mint 18.3 to linux mint 19. The error I get is Cannot set LC_ALL to default locale: No such file or directory. Then I Restarted my System, after that I can't open the terminal. ...
2
votes
1answer
433 views

dpkg-reconfigure: what packages are supported?

dpkg-reconfigure gives a way to set options for installed packages in a "user-friendly" way (e.g. not editing files but selecting from dialogs). How can I find out what package has such options? e.g. ...
0
votes
0answers
25 views

Behavior of files defined in conffiles

I have created a debian package which I install using sudo dpkg -i package.deb. This works fine and all my files and configurations in the root of the packaged folder get extracted. I then uninstall ...