Debian package management system

learn more… | top users | synonyms

0
votes
1answer
620 views

dpkg : dependency problems - leaving unconfigured

I have a problem with Emacs on my Linux Mint. When I make an apt-get upgrade or apt-get -f install, I have this error message : Paramétrage de emacsen-common (2.0.3) ... ...
1
vote
1answer
679 views

Linux, Debian, Wheezy, Aptitude/DPKG consistency check

In a foolhardy and stupid attempt to solve space issues on my desktop machine, I on purpose deleted Spotify from /opt before realizing that I could remove it using the package manager. After deleting ...
2
votes
1answer
290 views

udev affects behavior of script, prevents dpkg from working

I have a udev rule configured to run a shell script whenever a USB flash drive is inserted; I've verified that udev matches against the rule, that the shell script runs as intended when run manually ...
5
votes
1answer
4k 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 ...
1
vote
0answers
344 views

Ubuntu - not able to fix broken package

I'm trying to install Skype on Ubuntu 12, x64. but it is not working. When I try to fix the broken packages I'm getting the following errors: $ sudo apt-get -f install Reading package lists... Done ...
3
votes
2answers
1k views

Ubuntu 12.04 error message E: dpkg was interrupted

In Ubuntu 12.04 I got an error message saying: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. After I ran that command, nothing happened and the ...
1
vote
0answers
101 views

When trying to install libgcc1 postinst is not found

I am trying to manually install libgcc1 using dpkg. Everything seems to be working okay, until I get the following error: /var/lib/dpkg/info/libgcc1.postinst: No such file or directory dpkg: postinst ...
4
votes
1answer
130 views

Clean Debian package builded from source

I have build a debian package with: $ dpkg-buildpackage -rfakeroot now I would like to change the configuration in the .dsc file and build again. How can I clean the files created by the previous ...
1
vote
0answers
360 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 ...
9
votes
1answer
5k views

changing timezone with dpkg-reconfigure tzdata and debconf-set-selections

I want to set up a script that automatically changes the timezone on a machine (running ubuntu 11.10) and also sets the right values to the debconf database. I've tried the following, but it does not ...
0
votes
1answer
2k views

Not able to install any software via apt-get install

I tried to install flex and yacc on my Ubuntu machine. sudo apt-get install byacc flex I get this error: Reading package lists... Done Building dependency tree Reading state ...
1
vote
1answer
2k views

Package architecture (AMD64) does not match system (i386) on Ubuntu

I have Ubuntu: Ubuntu 12.04.1 LTS This is output of cat /proc/cpuinfo: processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 47 model name : AMD Athlon(tm) 64 Processor ...
2
votes
1answer
2k views

Is it safe to remove /usr/share/locale if 'locales' package is removed

I'm trying to make a minimalistic Debian install for a low-mem VPS box. I'll be uninstalling the locales package, as there is no need for any kind of locale support for my purposes (only a few server ...
9
votes
4answers
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
163 views

Build debian package of Django 1.4 for squeeze

I need to build a debian package for Squeeze of Django 1.4 to add to our local aptitude repository. I found a package here under Download Source Package python-django: ...
1
vote
2answers
2k views

What do the outputs of dpkg -l mean? [duplicate]

Possible Duplicate: What do each of the details in dpkg -l mean? I have never paid attention to the output produced by the command dpkg -l and noticed it includes descriptors which I can't ...
3
votes
1answer
431 views

What is the dpkg equivalent of “rpm -ql --last”?

I need to list all packages on the system, in the chronological order (or reverse order) in which they were installed. With RPM, you can do this with "rpm -qa --last". Looking at the dpkg and ...
2
votes
1answer
3k views

What do each of the details in dpkg -l mean?

I am having a hard time deciphering what is returned when I run the command dpkg -l vim and unable to locate a source that breaks it down. For example what does it mean ...
-1
votes
3answers
18k views

E: Sub-process /usr/bin/dpkg returned an error code (1)

When i typed: sudo apt-get -f install i get the following errors: dpkg: error processing /var/cache/apt/archives/librtmp0_2.4+20111222.git4e06e21-1_i386.deb (--unpack): subprocess dpkg-deb ...
0
votes
1answer
78 views

Is is possible to include additional non-diverted files in a config-package-dev package

I'm currently struggling with enhancing a package which uses config-package-dev to install a bunch of configurations for PostgreSQL. Those work fine but now I'd also like to include a ...
1
vote
2answers
322 views

Uploading and updating ubuntu repository with new deb

My problem is as follows: I have an ubuntu package repository which I want to update with some packages. I've been browsing around trying to figure out how this is done and came across 'dput'. ...
1
vote
1answer
1k views

How can I install a debian package using specific version of python

I am trying to install a deb package I built from source, the package is call LIO-Utils. LIO-Utils and the packages to follow require Python2.6 but Ubuntu 11.10 Server is running Python2.7. I have ...
2
votes
1answer
148 views

How to find out which files on my Debian system are not from any deb packages?

I have Debian testing (wheezy/sid) on my home PC. Some time ago I have been careless enough to install some software with make install and ./install.bin and similar :) Now I want to know which files ...
1
vote
1answer
144 views

How can I require a minimal kernel version for a deb package?

I am trying to make a deb package of software for makinging a NAS out of an Ubuntu installation. The software requires kernel patches to be applied therefore the package must use a special kernel ...
2
votes
1answer
7k views

SSH - dpkg: command not found?

I'm running Ubuntu and trying to install Ajax Push Engine: This is everything I do since opening the terminal to getting the error: lisandrov@lisandrov-Satellite-L655:~/Desktop$ ssh ...
-1
votes
1answer
451 views

Rename installed .deb with dpkg

Is there a way to rename an installed .deb package with dpkg? Context: I have installed a library compiled for debug using checkinstall, now I wish to install the library compiled for release, for ...
0
votes
0answers
921 views

Install dpkg without Fink or MacPorts on a mac

I don't want to use either of Fink or MacPorts, because I use Homebrew. I need to use dkpg, but it isn't included in Homebrew, and it fails when trying to compile it from source with: $ make make ...
4
votes
2answers
286 views

How do I install a package and its depencies with dpkg? [duplicate]

Possible Duplicate: Install dependencies for a dpkg package? dpkg -i package.deb Doesn't install package if it has not-installed dependencies. What parameters do I miss to install that ...
2
votes
1answer
169 views

Ubuntu - compare original package and installed parameters

I'd like to compare the actual config files for, say, Apache and the ones provided in the original package. The purpose is to have a list of modifications since initial installation because I didn't ...
1
vote
1answer
1k views

How to resume network upgrade of Ubuntu server?

I'm upgrading from Ubuntu server 10.04 to 10.10 via ssh / byobu. It's gotten to samba configuration window (conflict between smb.conf), however I lost internet connection. When I log back in and go ...
1
vote
1answer
2k views

E: Internal Error, Could not perform immediate configuration (2) on util-linux

I had an older version of Ubuntu installed. To upgrade I replaced /etc/sources.list with one from another machine running 10.04. I then ran: sudo apt-get update sudo apt-get upgrade The upgrade ...
0
votes
2answers
66 views

How to identify customizations to installed packages?

I need to replicate my Ubuntu laptop as a VirtualBox guest. To replicate in the guest the packages currently installed in my laptop, I plan to follow the recipe given here: ...
1
vote
1answer
408 views

Query dpkg for All Packages Installed/Removed from Default Image

Is there any way to query dpkg to tell what packages have been added/removed since the base install of a system? I am running Debian 5.
2
votes
2answers
214 views

How to prevent Ubuntu/Debian users from accessing apt-get or downloading from the web, etc?

Is it possible to have a user in Ubuntu/Debian that does not have access to synaptic, apt-get, dpkg and cannot even download anything from the Web, but has root privileges otherwise? Original post ...
0
votes
1answer
79 views

Deb packages stay with my username

When I run the command: dpkg -b myprog and sudo dpkg -i myprog.deb The file in /usr/bin and /usr/share/, etc. stay with my username as owner and creator of the file when all the other are ...
0
votes
1answer
487 views

What's the correct way to install a later version of a package on Ubuntu?

If I install RabbitMQ with $ sudo apt-get install rabbitmq-server Then I get a compatibility error with the client libraries. What I actually want is the latest RabbitMQ from their site. They make ...
0
votes
2answers
513 views

creating metapackages

got some problems while creating metapackages tried to create a meta package containing forensic toolkits, on ubuntu i even got problems creating an .deb file. dpkg-source: error: can't build with ...
0
votes
1answer
510 views

Poppler installation

I downloaded the new poppler 0.15 tar ball and i built it from source successfully but when trying dpkg -l | grep poppler it outputs ii libpoppler-dev ...
2
votes
3answers
476 views

Find all packages that uses a given File in Ubuntu?

I'd like to list all the packages that uses a given file. I'm willing to use any tool (such as dpkg, dlocate, apt-file etc.), Please do mind when I say 'use' I don't mean necessarily only ...
0
votes
7answers
4k 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: ...
2
votes
1answer
5k views

dpkg: error processing /var/cache/apt/archives/python2.6-minimal_2.6.6-5ubuntu1_i386.deb (--unpack)

I had an issue (Question 199582) which was resolved. Unfortunately I am stuck at this point now. Running root@X100e:/var/cache/apt/archives# apt-get dist-upgrade Reading package lists... Done ...
1
vote
2answers
3k views

Linux dpkg - where does it install to?

I ran the following command successfully dpkg -i library.deb Where can I find where this file was installed?
39
votes
5answers
14k views

How do I find out which package owns a file?

How do I find out what Debian package a file came from?
1
vote
2answers
2k views

How do I find out which package owns a file? [duplicate]

Possible Duplicate: How do I find out which package owns a file? How do I find out what Debian package a file came from?
8
votes
3answers
6k views

Install dependencies for a dpkg package?

I have a dpkg file that i want to install. But I get error messages that it is depending on other packages. I used: dpkg -i file.dpkg Is there a way to install dependencies automatically without ...
2
votes
1answer
214 views

which files are shown by dpkg-query -L

I recently ran dpkg-query -L $package on the same package a couple of times and got different results. The difference is that one file, the one we'll refer to as $file, is missing. In between the ...
0
votes
3answers
5k 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.
6
votes
2answers
6k views

Install deb packages in another directory (or equivalent)

I have a netbook with a tiny hard drive, and an external drive to go with it. It's running Ubuntu. I want to be able to install some packages to that external hard drive, so that when the hard drive ...
0
votes
2answers
282 views

How do I compile mercurial 1.5.2 on debian?

I downloaded the files for Mercurial 1.5.2 from http://packages.debian.org/sid/mercurial (mercurial_1.5.2-1.debian.tar.gz, mercurial_1.5.2-1.dsc and mercurial_1.5.2.orig.tar.gz). How do I get a .deb ...
2
votes
1answer
1k views

Ubuntu dpkg error , after crash and filesystem error recovery

Ubuntu recently crashed , causing it's partition damaged ( which is EXT4) and Ubuntu was unable to boot , because it couldn't mount anything , only displays Busybox So I used the Live CD to run fsck ...