Debian package management system

learn more… | top users | synonyms

2
votes
1answer
20 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 ...
0
votes
0answers
9 views

Fixing a Python installation in Ubuntu 15.04

In order to run a program that requires Python 3.5, I recently installed it from source using checkinstall: # download and extract the source # install dependencies cd Python-3.5.0 ./configure make ...
0
votes
2answers
1k views

Solving Ubuntu's resolve -problem with dpkg

This question is based on Popey's answer. I mounted my broken Ubuntu such that I can access it by Ubuntu Live CD. However, I did not manage to run one of the commands such that my X11 gets stuck at ...
3
votes
2answers
45 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
241 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: ...
4
votes
3answers
12k views

How to fix“error while loading shared libraries: libgl.so.1”

After I run this command dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P I got the problem while opening smplayer,cairo-dock,unity-2d-shell and amdconfig ,"error while loading shared ...
1
vote
1answer
116 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
31 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 ...
9
votes
5answers
28k views

Unable to install ia32-libs

I am running Debian wheezy/sid x86_64 and I am trying to install the official Skype package. However I seem to be having a few dependency issues that I can't resolve. I have enabled multiarch, the ...
0
votes
1answer
61 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 ...
0
votes
1answer
125 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
64 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 ...
0
votes
0answers
15 views

dpkg can't configure python-pkg-resources

Cubieboard2, Debian Wheezy $ uname -a Linux cubieboard2 3.4.79 #2 SMP PREEMPT Sat Feb 15 10:02:52 CST 2014 armv7l GNU/Linux I'm trying to update the packages, but the process fails at ...
1
vote
1answer
1k views

Upgrading VirtualBox using a `.deb`

I'm trying to upgrade VirtualBox using a .deb: sudo dpkg -i ~/downloads/virtualbox-4.3_4.3.12-93733\~Debian\~wheezy_amd64.deb but it fails with: dpkg: regarding ...
183
votes
7answers
158k views

How to list files of a Debian package without install

This command can only list contents of installed packages, dpkg -L PACKAGENAME but how to list contents of a non-installed package, to preview/examine the package?
1
vote
0answers
40 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
232 views

Install .deb packages into mounted fs

I have a ext2 partition on CF card to use in external device. I've inserted this card into my PC and mount it as /mnt/linux. I've installed (extracted) a linux distribution to this partition. And I ...
0
votes
3answers
115 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
0answers
49 views

How can I replicate the “dpkg recovery”(shown in Recovery Mode) from Terminal Emulator?

After seriously messing with my LinuxMint 17 installation, I was unable to log in. So I went into recovery mode, where I chose dpkg recovery option. It informed me there were some broken packages and ...
0
votes
0answers
33 views

How to remove an incorrect package version from Ubuntu

An X86 XUbuntu system I work with has Java 8 installed via webupd8, and also a failed version for ARM. I want to remove the partially installed ARM version of Java. $ sudo apt-cache showpkg ...
0
votes
0answers
11 views

Reloading tab completion in postinst script

I'm distributing a .deb that (among other things) installs a file to /etc/bash_completion.d/example for tab completion. The file gets installed correctly, but the tab completion is not immediately ...
0
votes
1answer
140 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
3answers
6k views

“-bash: line 7: dpkg: command not found” said CentOS

I'd like to use the command dpkg in my PHP script (using exec). I'm running CentOS. Is there a way I can install the command dpkg on there? Step by step guide would be fantastic.
0
votes
1answer
14 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 ...
1
vote
0answers
26 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: ...
5
votes
1answer
5k views

Can I get dpkg to ignore an error returned from a post-installation script?

I am manually installing a .deb file (which I don't maintain) onto my Ubuntu system. The package has a post-installation script which erroneously fails, and therefore the package is considered ...
0
votes
7answers
5k views

why apt-get cannot install any application?

when trying to install application using apt-get, I always get /bin/sh: /usr/sbin/dpkg-preconfigure: not found for example: $sudo apt-get install libssl-dev [sudo] password for camino: ...
1
vote
0answers
36 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... ...
2
votes
1answer
70 views

Can I configure dpkg to launch kdiff when there's a conflict with a config file update?

We've all seen it... Configuration file 'blah/blah/blah.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you ...
1
vote
0answers
71 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
54 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 ...
1
vote
0answers
382 views

linux mint freeze

Linux Mint freezes after a couple of seconds the desktop loads, in a way that I have to shut the power in order to reboot; the mouse doesn't move, Ctrl+Alt+F1 doesn't do anything and I think even the ...
0
votes
2answers
119 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
35 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
1answer
346 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
76 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
98 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 ...
165
votes
8answers
82k views

Find what package a file belongs to in Ubuntu/Debian?

I frequently find myself missing a program, man page, or other file when working on my Ubuntu 8.04 system. Is there any simple way to look up what package contains a given file (whether it is ...
0
votes
2answers
263 views

MariaDB Galera on Ubuntu 12.04.4 LTS trying to overwrite /usr/bin/mysqld

This morning I noticed that there was an available update for MariaDB, from 5.5.35 to 5.5.36. So I decided to upgrade one of the three nodes in our MariaDB cluster. However the update failed: ...
1
vote
1answer
439 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 ...
1
vote
0answers
50 views

How do I just rebuild the ab binary in apache2-utils on Linux without rebuilding all of apache?

(I'm using Debian). I downloaded source for apache2-utils via apt-get source. I just need to apply a patch that applies to ab.c, and I've applied it. I could rebuild everything using dpkg which will ...
0
votes
1answer
4k views

How to fix PHP installation when xml2-config is missing?

I am fairly new to Linux (just getting set up using the Mint 16 distro), and I got everything working correctly with my Apache 2.4.9 with MySQL and PHP5.5, but I am using this for local Web ...
0
votes
1answer
38 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 ...
0
votes
0answers
242 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
34 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 ...
1
vote
1answer
775 views

Half-installed python packages and circular dependency

Something went wrong while updating to ubuntu 12.04 to 12.10: root@ely:/sys/bus/usb/devices# dpkg -l | grep ^i[HUFW] iU libpython2.7 2.7.3-0ubuntu3.4 ...
0
votes
1answer
5k views

Error with “sudo apt-get upgrade” (Ubuntu 14.04)

You can see below the error I encounter. I did search on Google if the question has already been asked (and answered) but nothing works for me. I can't do sudo apt-get upgrade or install. Thanks in ...
1
vote
0answers
501 views

apt-get/dpkg can't configure any python related packages

I recently installed Python 2.7 to /usr/local/bin. Now, any time I try to use apt-get it fails on certain python packages as follows: root@lebowski:/usr/local/bin# apt-get upgrade Reading package ...
0
votes
1answer
552 views

'apt-get install' ignores my specification to install particular version of package

I'd like to install particular version of libstd++6 with following command: # apt-get install libstdc++6=4.9.0-8 -V Reading package lists... Done Building dependency tree Reading state ...