Stack Exchange Network

Stack Exchange network consists of 174 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]

Debian package management system

0
votes
1answer
7 views

Control filter options for dpkg-source via debian/control file or such?

It turns out that the cmake source code includes some dummy test files whose names end with .a, which is excluded by dpkg-source. I'd like to have a generic source package CI job, which I would like ...
0
votes
1answer
257 views

friendly-recovery is broken, keeps returning exit status 1

I have Windows Subsystem for Linux running Ubuntu 16.04 (but with Linux Mint 19 packages). At one point, I made the mistake of installing a different kernel, which also installed grub-pc and friendly-...
1
vote
1answer
374 views

How can I fix error during install a package with APT in Ubuntu

I was trying to install a package using APT and I got error: UserName@PCname:~$ sudo apt-get install php7.2 Reading package lists... Done Building dependency tree Reading state information... ...
0
votes
0answers
28 views

Debian, any way to list package sizes even for uninstalled ones

I know a very good command that can nicely list all package sizes: dpkg-query --show --showformat='${Installed-Size} ${Package}\n' However, that's only for installed packages. I can't make it to ...
0
votes
0answers
74 views

Gnuroot - apt install returns permission denied

After successfuly setting up debian stretch on Gnuroot, I wasn't able to install packages. Running dpkg -i on a package returns: E: seteuid 0 failed - seteuid (13: Permission denied) E: setegid 0 ...
1
vote
1answer
1k views

Error: ca-certificates is broken or not fully installed

I was trying to install self-signed SSL certificate with sudo dpkg-reconfigure ca-certificates command but before it could finish, my computer was reset due to power failure. Now when I run sudo ...
0
votes
1answer
32 views

Ubuntu, how to see what directory was installed by what package

All, thanks for any help I am more of a Redhat distribution user and new job is all about Ubuntu, I am trying to figure out what package installed a specific directory. Namely under the /var/lib/...
0
votes
1answer
61 views

Debian postrm running twice and failing

The package: CMakeLists.txt: cmake_minimum_required(VERSION 3.7) project(sim-runtime) install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/sim-runtime-info DESTINATION bin) set(CPACK_GENERATOR "DEB") set(...
1
vote
1answer
136 views

How do I make manually installed fonts accessible to all applications without running `fc-cache -f`?

With dpkg new fonts get installed and usable in no time. When I add a font manually I have to use fc-cache -f, which takes a lot of time to complete. How do I install fonts manually the dpkg way? How ...
0
votes
1answer
2k views

Trying to remove faulty installation of Jenkins

On an old Debian machine running squeeze I have a faulty installation of jenkins which prevents me from doing most basic apt actions like install, upgrade etc. I have tried running sudo dpkg --...
1
vote
1answer
650 views

How do you create a fake install of a debian package for use in testing?

This was originally posted to stackoverflow (https://stackoverflow.com/questions/47099045/how-do-you-create-a-dpkg-admin-directory) but probably belongs here instead I have a package that previously ...
0
votes
0answers
71 views

Ubuntu Build Package From Source

I'm trying to build p7zip_16.02: https://sourceforge.net/projects/p7zip/ for Ubuntu 15.10 and 16.04. I'm using the following guide: http://packaging.ubuntu.com/html/packaging-new-software.html My ...
0
votes
1answer
63 views

Tell dpkg that a dependency is installed when it is not

I am using Windows Subsystem for Linux and it is impossible to install linux-libc-dev but all of the functionality is actually there. In practice its dependency is met. I need to convince DPKG of this ...
2
votes
1answer
75 views

How should one deal with “The following package disappeared from your system…”?

On dpkg-/apt-based systems, it is possible to encounter a message such as the following: The following package disappeared from your system as all files have been overwritten by other packages: ...
0
votes
1answer
172 views

How to include upstream file in Debian package?

My package is complex but I've built a minimal example so that you can easily understand: . ├── test-package │   └── debian │   ├── changelog │   ├── compat │   ├── control │   ├── ...
0
votes
1answer
851 views

E: flAbsPath on /var/lib/dpkg/status failed whenever trying to install any software or to update in Kali Linux 2.0

#apt-get update Fetched 26.5 MB in 3min 1s (146 kB/s) Output directory /var/lib/debtags/ does not exist Reading package lists... Error! E: flAbsPath on /var/...
0
votes
2answers
326 views

How to restore VIM in debian

After I tried to remove VIM from system, simple apt-get remove --purge vim doesn't do the trick and there still were some vim files, like in /usr/share/vim/. SO I decided to remove them mannually ...
1
vote
1answer
237 views

Apt states that it's halting because it can't install an already-installed package/version

The package it's complaining about is already installed. I've done a "apt-get -f install" and "dpkg --configure -a" but it doesn't change anything. I've uninstalled and reinstalled the dependencies. I'...
0
votes
1answer
459 views

Dpkg fails to configure package tzdata--how can I fix templatedb?

Another package I'm trying to install depends on the tzdata package, which remains unconfigured due to the following error: $ sudo dpkg --configure tzdata Current default time zone: 'America/New_York'...
1
vote
0answers
146 views

How to customize the call to configure in override_dh_auto_configure for debuild?

In my Debian package build, I have 3 packages: A, B, C to build with debuild. So far all the packages are called with the same configure pattern. How could I customize the call to .configure for all ...
0
votes
1answer
258 views

Why after that I lost SSH connection during an installation I obtain this “Could not get lock /var/lib/dpkg/lock - open” error message?

I am not so into Linux and I have the following problem. I was installing RedMine on a remote Ubuntu Server via SSH, following the official tutorial: http://www.redmine.org/projects/redmine/wiki/...
0
votes
1answer
2k views

ubuntu : cuda package not found (ubuntu 14.04, cuda 8.0)

Installing cuda on ubuntu 14.04: went to : https://developer.nvidia.com/cuda-downloads selected the options: linux, x86_64, ubuntu, 14.04 and deb(local) get the instruction: sudo dpkg -i cuda-repo-...
0
votes
1answer
104 views

CentOS or RedHat - search rpm DB metadata files

When I query installed packages on rpm based OSs (rpm -q), I assume it pulls the data from a then metadata files in /var/lib/rpm/*. The files there seem in a binary format (rpm DB?). I want to be ...
0
votes
1answer
478 views

dpkg alternative to opkg depends

In opkg (package manager in OpenWRT) I can get dependents pages of some package. For example command opkg depends vsftpd will outptut vsftpd depends on: libc Is there any alternative to ...
0
votes
0answers
311 views

How to install Debian package manager

I have a testing platform which has minimal Linux on it. It is so lightweight that it lacks all distribution-specific features. The goal is to install dpkg and apt-utils, which I did, by extracting ....
3
votes
1answer
505 views

Mark package as installed?

I've manually compiled openssl and ofcourse it works. Apt does not see the package as being installed. After that i've been trying to download stuff using wget. Everytime when i tried downloading ...
1
vote
2answers
3k views

ubuntu: A lot of problems after abort an upgrade

After I interrupt an upgrade, a lot of depending problems and broken packages appears. Here are my code, sudo apt-get install -f [sudo] password for user: Reading package lists... Done Building ...
1
vote
1answer
171 views

How to list all removed but configured packages in Debian?

How to list all packages which remained configured on the system after apt-get remove a.k.a in the rc state? What is the easiest and reliable way to check, if the system has a package in an different ...
3
votes
2answers
315 views

How does dpkg know that a config file has been deleted?

I recently had an odd problem where I would install zsh (apt-get install zsh) but it would not install the config files - specifically /etc/zsh/zshenv and friends. Following some considerable time ...
2
votes
1answer
229 views

get rid of Half-installed java installation on ubuntu

I installed java by downloading the RPM file from java.com (1.8.0-71) and used alien to generate a .deb file which i installed. It failed and I can't remove it anymore. If I try to use apt-get I ...
1
vote
1answer
2k views

How do I resolve postfix installation issues?

There is some problem with postfix. When i try to remove it so that i can reinstall: learner@juggernaut:~$ sudo apt-get remove postfix Reading package lists... Done Building dependency tree ...
0
votes
1answer
257 views

dpkg installs but node will not run

I downloaded Node from this link: NodeJS ARM7l and I followed these directions regarding dh_make: tutorial At the end I run: dpkg -i ~/Builds/Node/node_5.5.0-1_armhf.deb and I get: Selecting ...
1
vote
0answers
193 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 ...
1
vote
3answers
1k views

/usr/bin/dpkg was accidentally deleted

I accidentally deleted my /usr/bin/dpkg on my raspberry pi running debian jessie, I've literally checked out everything, nothing works, I need urgent help. When I attempt to install any package, or ...
0
votes
1answer
758 views

How to prevent dpkg trigger cycle?

I build a debian package which generates menu files using update-menus, but in many languages. It is activated via dpkg's trigger facility: "interest /usr/share/menu". Unfortunately provides the ...
0
votes
1answer
75 views

Using a apt repository to install packages but not auto-update them

I had some problems with Linux, probably caused by a bug in the kernel or some drivers. Old distriutions such as Ubuntu 12.10 work, and that's what I use. However this release is old and isn't ...
2
votes
1answer
843 views

Installing libsdl2-dev on Kali 3.18.0 amd64

I'm trying to wrap my head around how to install the libsdl2-dev package on Kali 3.18.0 amd64. I can see that the package is available in the standard Kali repository here: http://http.kali.org/kali/...
1
vote
0answers
31 views

dpkg - Breaking own package name

I noticed that on the most recent Ubuntu 15.04, many lib*-dev packages have their dependencies set up according to the following pattern: Package: libstdc++-4.9-dev [...] Breaks: ...
1
vote
1answer
86 views

Ubuntu gnome package installation error

When trying to install insight from some ppa repositories i get these errors. sudo apt-get install insight Reading package lists... Done Building dependency tree Reading state information... ...
5
votes
1answer
234 views

How to hide foreign architecture?

I have an amd64 Debian but I had to install some i386 packages. I don't want to remove this foreign architecture, I just would like to hide it so that, for example, when I seach for libc in aptitude I ...
0
votes
1answer
80 views

Can I use “gksu” to became root for CLI operation?

I don't care if this is unsafe, because I'm only doing it as a programming exercise, but that's what I want to do: I want to create a C program that, with the "system" command, will call dpkg and ...
0
votes
2answers
467 views

Can Debian based distributions use .deb to install packages?

For example, I'm running sparky linux. I'm wondering if I can install packages that are meant for debian distributions using dpkg -i on an *.deb file?
0
votes
1answer
89 views

Moving dpkg to foreground during confirmation screen glitch

I was doing a routine apt-get update && apt-get upgrade on my server. The dpkg program displayed a dialog box about a package that had updated its default ini file. I wanted the new file, but ...
2
votes
0answers
257 views

How to convert a Debian package into a homebrew formula?

There's a Debian package I'm interested in for which no homebrew formula yet exists. How can I convert a *.deb package file into a homebrew formula? (FWIW, the Debian package I'm interested in is ...
0
votes
1answer
194 views

Cannot remove package gramps

I used dpkg and apt-get to install, purge, remove gramps package different versions. It all went to situation when I cannot remove it fully and install clean. $ sudo apt-get remove gramps Reading ...
2
votes
4answers
3k views

Unable to remove package on Debian 7

I have a damaged installation of MariaDB which I am trying to clean out and re-install. If I do sudo apt-get upgrade I get the following remove: You might want to run 'apt-get -f install' to correct ...
0
votes
1answer
100 views

how to get debain package unpacked first before debconf prompt is shown?

I am working on Debian packaging source to install few files on user machine. There is common logic that is being used by debconf/config script and postinst script. So, I placed the common logic in a ...
2
votes
1answer
1k views

How to block the installation of unsigned packages in Debian by default?

I was wondering which option in apt.conf will block by default the installation of packages with invalid signatures. I'm using Debian Wheezy 7.6 Thanks!
0
votes
0answers
494 views

Ubuntu dependencies hell

pippo@pippo-desktop:~$ sudo apt-get -f install Reading the package list... Done Generation of the dependency three Reading state info... Done Dependents correction... error. aspell : Dipends: ...
0
votes
1answer
187 views

flag a file as a config file in a Debian package

The usual search terms get a little confused when I try to Google this. I'm trying to figure out how one flags a file as a configuration file while building a Debian package (debuild). According to ...