The Debian package management system that powers most software installs.

learn more… | top users | synonyms

0
votes
1answer
4k views

What to do if dpkg is stuck while updating packages?

I just installed Kubuntu 11.10 and started to update packages. All packages downloaded and now it's stuck running dpkg, at 53%, for hours. What can I do now to not break anything? Should I reset my ...
1
vote
1answer
328 views

Can't boot Ubuntu, because of dpkg [closed]

I cancelled removing the package "gnome-desktop3-data" this morning, and now I can't turn on my computer, I think I removed some crutial packages such as the lightdm greeter. So, I turned on the ...
5
votes
3answers
7k views

First update after fresk Kubuntu install hangs because of dpkg - now what?

I installed a clean Kubuntu 11.10 64bit on a Dell Latitude E6500. Rebooted after install, ran the update manager Muon first thing, said apply all upgrades, and then at 57% ("Running dpkg") the ...
2
votes
1answer
220 views

Why do dpkg and aptitude want to remove MOST of my system?

I was installing and uninstalling some packages on my home 11.10 system, when I suddenly noticed that dpkg and aptitude want to remove almost everything. Synaptic seems fine. At work, where I have an ...
0
votes
1answer
506 views

Errors with ATFTPD: Unterminated quoted string

After upgrading Ubuntu from 11.04 to 11.10 (32bits) I'm having trouble with ATFTPD: Anytime I'm starting atftpd I'm getting this error: /etc/default/atftpd: 2: Syntax error: Unterminated quoted ...
0
votes
1answer
948 views

How can I remove the record of an installed package without deleting any files?

I made the mistake of installing Jenkins from the ubuntu package, which causes endless stress around here in update management. I have no quarrel with how Ubuntu arranged the files on disk. For the ...
0
votes
1answer
262 views

Kubuntu 11.04 dpkg interrupted

I ran 'sudo dpkg --configure -a' in a terminal. I was shown a DOS Menu Looking blue panel with some choices relating to keymap selections. I am not able to enter any data. How can I fix this ...
5
votes
1answer
3k views

Stop dpkg -l from listing packages already removed

As the solution to another problem I was forced to use dpkg --remove to uninstall a package. However, after I do this the package is still listed in dpkg -l: phrogz@planar:/boot$ dpkg -l | grep ...
1
vote
1answer
253 views

dpkg and equivs

i am trying to make a metapackage with equivs, creating the package is working perfect, but installing it is giving me an error: Selecting previously deselected package testdeb. (Reading database ... ...
9
votes
2answers
2k views

What is the difference between dependencies and pre-depends?

Can some one explain me what is meant by dependencies, pre-depends and the difference between those 2 type of package requirements when I am installing something in Ubuntu?
1
vote
0answers
812 views

How to make a deb install only when the dependency is installed, or the conflicting packages aren't? [closed]

I'm making a package for Cydia, but since it uses APT/dpkg, I thought I'd ask this question here. I want my package to only install if gsc.wildcat (represents an iPad) is installed, or if ...
2
votes
1answer
1k views

unable to install anything that depends upon spamassassin. Cant even install spamassasin

I am trying to install mailscanner using apt-get install mailscanner and I got the following error Setting up spamassassin (3.3.1-1) ... Starting SpamAssassin Mail Filter Daemon: child process ...
2
votes
1answer
680 views

My Package Version Number Appears Greater Yet apt-get Doesn't Select It

Backstory: It was determined that when using lxc container VMs the Nagios nrpe shutdown script when run on the host of the containers would kill the nrpe processes inside the containers. This was ...
1
vote
2answers
468 views

“Can't cd to /var/cache/flashplugin-installer” error when I try to install Flash

$ sudo aptitude install flashplugin-installer The following partially installed packages will be configured: flashplugin-installer No packages will be installed, upgraded, or removed. 0 ...
1
vote
0answers
9k views

dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. [duplicate]

murphy@murphy-Compaq-Presario-C700-Notebook-PC:~$ sudo apt-get install clipgrab [sudo] password for murphy: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the ...
1
vote
1answer
762 views

Difference between commands

What is the difference between the following? sudo apt-get update sudo apt-get upgrade and dpkg --get-selections | grep -v deinstall > ubuntu-files plus sudo dpkg --set-selections < ...
4
votes
3answers
17k views

dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

The Software upto date Option automatically download the upgarde for GIMP. but While installing its giving me the error. how to upgrade the same Reading package lists... Done Building dependency ...
7
votes
0answers
14k views

Automatically solve dependencies of deb packages while using dpkg -i [duplicate]

Installing Deb packages on the command line, using dpkg -i, only installs the package in question and displays errors of unresolved dependencies (manually solved by apt-geting the packages it ...
1
vote
1answer
1k views

Unable to setup dpkg build environment

I'm trying to put the following package into launchpad , but i can't really get it work with dpkg-buildpackage even on my system: dpkg-source -b xfce-appmenu-plugin Subroutine ...
5
votes
2answers
2k views

How do I finish installing Sun JDK after cancelling out of the legal term screen?

I am a newcomer to linux and have had lots of problems in installing java on my newly installed Ubuntu 11.10. I use a statistical programming environment called R and many of the packages there ...
1
vote
2answers
8k views

Where Can I Download the Apt Package if apt-get is Missing?

I am presently experiencing symptoms as described here: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/493154 Example: 127-12:42 djh@noneedto ~$ aptitude search chrome aptitude: error while ...
2
votes
1answer
3k views

I encountered a gconf2 error while installing some packages, what should I do?

I got this error when installing some software: Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not ...
1
vote
2answers
3k views

I can't uninstall Ironhide, or install any other packages

I installed Ironhide (aka BumbleBee). It couldn't get it to work, but now I can't uninstall the package and it's preventing me from installing or removing anything else. Any ideas what I can do to fix ...
2
votes
2answers
6k views

downloading and installing error: package is not a debian format archive

I'm a newbie to Linux and Ubuntu, and I'm trying to install a package called libstdc++2.10-glibc2.2 I first use wget wget http://packages.ubuntu.com/dapper/libstdc++2.10-glibc2.2 It gives me saving ...
3
votes
2answers
1k views

How do I check if I have the exact same deb as installed on a system

When building packages for internal company projects, sometimes we loose track of the package source and only have the binary .deb. Even worse, the package builder may install it onto a production ...
2
votes
2answers
5k views

Error: version number does not start with digit

i'm installing Adobe Air in Ubuntu v11.04. The installation process is successful. But when I tried to install an Adobe Air application, errors occur. Here's the usual error I've got from my ...
3
votes
2answers
751 views

What are the default settings in debconf's configuration?

I had to run dpkg-reconfigure -a for certain reasons, and consequently given options for configure debconf. But I don't really know how those change things, and want to use the default settings.
5
votes
1answer
51 views

How can I build an installer by tracking filesystem changes?

Ages ago I used to package software on Windows using InstallShield AdminStudio. I used it for building customized installers for company applications from existing app installers. I'd like to do ...
1
vote
1answer
160 views

Ignoring forcefully installed package? [duplicate]

Possible Duplicate: How to create a meta-package that automatically installs other packages? So I installed the good, old amarok14 package on Ubuntu 11.10 (Because there still isn't a music ...
3
votes
3answers
6k views

dpkg: How to remove a package and all other packages depend on it?

I tried to remove KDE from my system. When I run ' dpkg -r kdebase-bin', it says 'kdebase-data' depends on it. So how can I remove all the packages related to KDE?
3
votes
2answers
4k views

How to install gcj? [closed]

It seems I need to install gcc but:
1
vote
1answer
147 views

Integrating source-compiled package into ubuntu

For performance reasons, I compiled GSL with icc (intel C compiler). I ran ./configure with some flags, make, make check and sudo checkinstall. I had to remove libgsl0ldbl, which is used by a ...
1
vote
1answer
1k views

Syntax error in bandwidthd package causing upgrades to break

Automatic update gives me option to update some packages. I tried to do this, but after downloading packages it gives me error. Output is: installArchives() failed: Preconfiguring packages ... cp: ...
0
votes
1answer
709 views

Execute command after dpkg installation?

I just got inspired of this project: http://www.opendesktop.org/content/show.php?content=145633 Well , i wanted to do a similar thing , after dpkg places something new in ...
5
votes
3answers
6k views

“/etc/grub.d/README: 6: Syntax error: ”(“ unexpected” while upgrading grub package

I am facing a problem while installing any program. I get an error of Sub-process /usr/bin/dpkg returned an error code (1). Following is log of the output of apt-get -f install. Any idea what's wrong ...
2
votes
2answers
351 views

Remove specified packages if they have no dependencies

I installed a package by mistake and immediately removed (purged it to be exact) it, but other than the package itself, none of the dependencies that installed alongside was removed. I do not know if ...
3
votes
1answer
648 views

Ignore timestamp when installing a package with dpkg?

I'm working with two virtualized servers which keep time extremely poorly for some reason, so that one is always a little bit ahead of the other (up to 2 seconds). The problem I'm having is that I ...
1
vote
1answer
1k views

How do I remove a package with “rU” status?

I was trying to install some 32bit libraries with dpkg -i --force-architecture command. But it failed due to dependency problem. Now if I try to install 64 bit version of the same library, it says it ...
4
votes
1answer
2k views

dpkg cannot remove package > linux-restricted-modules

I'm having a couple of issues with my Ubuntu server currently. When using apt for anything it tells me: The following packages will be REMOVED linux-restricted-modules-2.6.28-11-server ...
4
votes
1answer
751 views

Bypassing excessive dependencies when installing r-base-core

I'm trying to install R (via r-base-core) on an ubuntu 10.10 server. It is trying to install all of the following: The following NEW packages will be installed: apt-xapian-index apturl ...
1
vote
2answers
3k views

fakeroot debian/rules clean gave error exit status 126 when trying to compile source code

Using the instructions found here, I have been trying to create source code from a python file using debhelper. I have reached the final step, where you have to enter: $ debuild -us -uc However, ...
8
votes
4answers
9k views

Find (and reinstall) packages with corrupted files (without breaking anything)

I usually prefer to fix a Linux system than to reinstall from scratch. My computers have seen many distribution upgrades and a list of PPAs or third-party repositories. APT usually makes sure that ...
10
votes
1answer
15k views

Force apt-get to overwrite file installed by another package

(I realize a similar question was asked before but the answers there don't handle these details) I'm on Ubuntu 10.10 and need both python2.5 (coming from deadnsakes -- ...
3
votes
3answers
655 views

How to find the most recent version of a package in the repositories?

How do I find the most recent version of a package in the repositories in a shell script? If I use apt-cache-policy, I get the installed version as "Candidate", not the most recent one from the ...
1
vote
1answer
4k views

How to download a package for offline installation? [duplicate]

Possible Duplicate: How can I install software offline? sudo apt-get install {x} ex: X = ghdl I want download the package "X" to my USB . How can I do that ? Second, my computer ...
19
votes
2answers
16k views

dpkg: error: parsing file '/var/lib/dpkg/available' near line 0

Been trying to install git-core package for almost more than half a day now. Everytime i do, I get this error: dpkg: error: parsing file '/var/lib/dpkg/available' near line 0: newline in field name ...
5
votes
3answers
3k views

How to cleanly remove a badly installed .deb?

Whenever I try to use dpkg or apt-get, I get the warning: dpkg: warning: parsing file '/var/lib/dpkg/available' near line 12674 package 'jarnal': error in Version string 'build901': version number ...
3
votes
1answer
192 views

What can I use to install a package file with dependency from command line?

I want to install my project's debian package from a shell script. For that I'm using the command sudo dpkg -i my_project_0.1.deb. But it's not going to install dependency. I've also tried sudo dpkg ...
27
votes
7answers
19k views

Is it possible to install a .deb from a URL?

Is there a way to install a deb package directly from a URL, using a shell? Something like dpkg -i http://domain.com/path/to/package.deb (I know I could use wget and then dpkg, I'm just wondering ...
5
votes
1answer
5k views

Can't upgrade packages, it gets stuck on openjdk-6-jre-headless

I am using Ubuntu Maverick (server). When I run: apt-get upgrade it gets stuck on: Setting up openjdk-6-jre-headless (6b20-1.9.7-0ubuntu1) ... Why? And what can I do to stop it? I tried ...