Debian package management system

learn more… | top users | synonyms

1
vote
1answer
15 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 ...
0
votes
1answer
34 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
16 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
26 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
10 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
0answers
22 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
3answers
67 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
19 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
21 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
10 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
81 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
10 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
0answers
185 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: ...
1
vote
0answers
23 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: ...
0
votes
0answers
10 views

Inconsistent GStreamer / libgstreamer after installation of Alfresco

my machine runs a linux mint 17.1 and it did everything well, untill I installed afresco; so far I have deinstalled the alfrescosystem. Since those days I have a continous error on the GStreamer ...
1
vote
0answers
31 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... ...
1
vote
0answers
61 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
52 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
99 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
32 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 ...
0
votes
0answers
62 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
83 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 ...
1
vote
1answer
317 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
33 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 ...
1
vote
1answer
226 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
220 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
29 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 ...
0
votes
0answers
443 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
489 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 ...
1
vote
0answers
356 views

How to re-install a ubuntu package when sudo dpkg -i does not work?

I am trying to re-install a broken package (tzdata) using dpkg but sudo dpkg -i tzdata_2014e-0ubuntu0.12.04_all.deb does not work. Here's the output dpkg: error processing ...
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 ...
3
votes
1answer
221 views

How to list installed packages that depend on another installed package in Debian?

I am on Debian (testing). How can I list all installed packages that depend on another installed package? I would prefer to do this using either dpkg or apt, but if another tool (or combination of ...
0
votes
1answer
4k 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 ...
0
votes
3answers
54 views

How do I determine callable commands provided by an installed Debian package?

I'm a relatively new Linux user, so today I ran into an issue. I installed an emulator front-end ("visualboyadvance-gtk") from my distro's apt repository, but after it finished installing, I couldn't ...
0
votes
1answer
2k 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
28 views

Can we add rpm and deb packages in a single linux distro?

Can we add RPM and dpkg package management onto a single linux os while creating a linux distro using LFS?
0
votes
2answers
258 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: ...
0
votes
1answer
60 views

Finding nearest-top-level recommended packages for a particular Debian package

I am in the process of building a live CD, and to reduce the size of the CD image I need to do without some packages. By default, recommended packages are installed and flipping that switch off turns ...
2
votes
1answer
68 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 ...
0
votes
1answer
104 views

How to configure output of dpkg -l (dpkg-query)

I have 2 machines, which output different things on dpkg -l different manner: 2nd is displaying "Architecture" only in one machine. How to set output language for dpkg and force it to ouptut ...
0
votes
0answers
371 views

Terminator (broken?) dependency

I'm trying to install terminator (term emulator) package on Debian 7.2 (stable) from testing: Package: terminator Pin: release a=testing Pin-Priority: 1000 But apt complains: # apt-get install ...
0
votes
1answer
57 views

Need assistance with understanding this make file for debian linux

I have this code in make file and i could not get it CHECK=dpkg -L $1 2>&1 >$(NULL) || $(APT) install -y $1 install.dpkg.%: $(call CHECK,$*) I want to know I have read that $* means ...
1
vote
1answer
693 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
503 views

apt - Remove not configured package

I have a Linux-Mint Debian Edition System. When I install sendmail I get an infinite loop. Reading configuration from /etc/mail/sendmail.conf. Validating configuration. Creating ...
4
votes
2answers
11k 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
3k views

How can I fix broken apt/perl libraries?

I've got a Raspberry Pi set up as a web server, everything all working well until 5 mins ago, and I seem to have messed up man-db, apt or some perl library. apt-get doesn't seem to be updating and ...
0
votes
0answers
396 views

dpkg: dependency problems prevent configuration

i'm trying to install armory on ubuntu 12.04 but it is not working: $ sudo dpkg -i armory_0.88.1-beta_i386.deb Selecting previously unselected package armory:i386. (Reading database ... 222699 files ...
0
votes
1answer
406 views

how to use dpkg --set-selections command in linux

I have been running these commands: sudo dpkg --clear-selections sudo dpkg --set-selections < [Path to packages_list ]> sudo apt-get autoremove with the file packages_list which looks like ...
1
vote
0answers
1k views

Dkpg very very broken, how to repair / start from clean slate?

I am using Ubuntu 10.04. I inherited this set up from a previous employee who was supposed to be administering this machine, so I can not tell you what happened in the lead up to this problem. ...
1
vote
0answers
49 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 ...