Questions related to dpkg, the system that powers most software installs. (Note: apt-get is a very similar tag.)
2
votes
1answer
112 views
How can I include a custom command in deb file, to be executed at the end of installation?
Well, I like to mark /usr/bin/program.sh as executable using following command:
chmod +x /usr/bin/program.sh
I want the above command to be executed at the end of installation of the Debian ...
5
votes
1answer
75 views
How to block downgrade of a package using dpkg?
I want to prevent installation of lower version of the package over higher version using dpkg.
0
votes
2answers
774 views
How to install .deb file from within preinst script?
I have my own application packaged using dpkg. The application depends on several .deb files which I'm trying to install from within the preinst script of my application. The preinst script checks if ...
2
votes
0answers
581 views
Ubuntu upgrade 12.04 the disk drive for / is not ready or not present
When upgrading Ubuntu to 12.04, I get the message
the disk drive for / is not ready or not present.
I tried
mount -n -o remount,rw /` and `dpkg --configure -a
which gives me this error:
...
1
vote
0answers
33 views
Terminal Errors/Package Erros
After running some updates a week ago or so, I've noticed that after any installations via the Ubuntu Software Center or any installed in the GUI have given an error message stating that there was a ...
0
votes
1answer
89 views
DPKG upgrade error [duplicate]
Possible Duplicate:
“E: Sub-process /usr/bin/dpkg returned an error code (1)”
When I'm upgrading with
sudo apt-get update && sudo apt-get upgrade -y
My terminal shows ...
1
vote
1answer
69 views
Clonning Computer [duplicate]
Possible Duplicate:
Best way to clone an installation (copying to identical hardware)
Best way to backup all settings, list of installed packages, tweaks, etc?
I have a computer that ...
5
votes
2answers
222 views
sudo dpkg error - blank line in value of field 'Maintainer'
I am running on Ubuntu 12.04 LTS and am trying to install NX. When using a sudo dpkg command for the plugin (nxplugin_3.5.0-6_i386.deb) I get an error.
I have tried a number of things. Other ...
0
votes
0answers
54 views
dpkg in uninterruptible sleep
I have several Ubuntu servers 10.04. Today, I tried to upgrade some packages on one of these servers and the process got stuck. I logged in using another SSH session and I found that dpkg is in D ...
2
votes
1answer
359 views
Unable to free space in /boot
Running:
Linux ips-svf-1 3.0.0-22-server #36-Ubuntu SMP Tue Jun 12 17:56:20 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
I'm trying to free space in /boot with apt-get -y purge, but every time I run the ...
3
votes
1answer
172 views
How can I prevent dpkg-buildpackage from modifying the modification date of the /debian directory when building a Debian package?
I have set up a working pbuilder toolchain for building Debian packages in i386 and amd64 varieties for Ubuntu. I am using reprepro to manage my own private apt repository and dupload to upload ...
1
vote
3answers
281 views
Wine install cross dependencies
Help! When I try to install wine from .deb files from Ubuntu Packages I can't because wine1.4-i386.deb and wine1.4-common.deb are cross dependent. One wont install without the other being configured. ...
0
votes
2answers
337 views
Problem by installing Java
Yesterday night I was trying to download Java as per instructions given on http://developer.android.com/ .But I messed up somewhere and had to give up the thing. But since morning when ever I try to ...
3
votes
1answer
249 views
How to automate the pass phrases when GPG signing dpkg-buildpackage?
I'm using dpkg-buildpackage and I would like to fully automate my scripts, but I cannot find how to GPG sign the packages and automate entering the pass phrases in my Continuous Integration System. I ...
0
votes
1answer
719 views
Can't replace MDM Display Manager with LightDM!
Well, I installed MDM, and found it's buggy with my VGA hardware due to the following screen after rebooting:
This screen repeats, even if I choose Yes or No
As I have access to the console (by ...
2
votes
2answers
2k views
Problem with dpkg-preconfigure, how to correct?
I was trying to install TeamViewer, and I followed the instructions here even though they specify 11.10 instead of 12.04 (what I'm running).
In particular, I executed.
$ wget ...
4
votes
1answer
338 views
Why does dpkg install the Vagrant deb into “/opt”?
I am installing Vagrant manually with the deb.
I did sudo dpkg -i vagrant.....deb and I found it's in /opt/.
Basically it doesn't add to the bash profile like apt-get does.
Is that supposed to happen ...
0
votes
1answer
175 views
Delta-update Firefox Aurora package from PPA
I am using Firefox Aurora in my Ubuntu 12.04 which I have installed via its ppa (ppa:ubuntu-mozilla-daily/firefox-aurora). As expected of Aurora, I get an update usually after 2-3 days. I have Firefox ...
0
votes
0answers
13 views
laptop died during app install [duplicate]
Possible Duplicate:
dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
After the software center crashed, I tried installing the ...
0
votes
1answer
159 views
Can an apt proxy affect the use of dpkg?
I have been doing Ubuntu deployment using a preseed.cfg. After becoming comfortable with the packages being installed it was time to reduce download time and internet traffic by creating a mirror. I ...
0
votes
0answers
168 views
Trying to install TaskJuggler but get errors
First time posting so not sure how it works here. I'm trying to install TaskJuggler but get the following errors:
Stopping PostgreSQL 8.4 database server ...
0
votes
1answer
332 views
How to completely remove other versions of Java on 11.10?
I have been trying to install Java on my dedicated server. I have partially installed multiple versions of Java and now cannot un-install them as they all have dependencies.
Whenever I try and ...
2
votes
1answer
842 views
apt-get errors after TeX Live 2012 update with tlmgr
I am running TeX Live 2012 on Ubuntu Precise. For the installation I followed this tutorial. Yesterday, I updated the packages (about 40 items) for Tex Live 2012 using the following tool.
$ sudo ...
5
votes
1answer
608 views
Cannot resolve package dependencies following LTS upgrade from Lucid to Precise
After a failed LTS upgrade from Lucid to Precise, I'm stuck in package limbo. As root I have run
dpkg --configure -a
apt-get -f install
Outputs appended below.
The default package archive at this ...
1
vote
1answer
61 views
How can I find out which package is triggering the installation of i386 libraries when using Ubuntu 64bit?
I'm running Precise 64bit. One of the packages I've installed recently needed 32bit packages which triggered the installation of a whole bunch of i386 dependencies. How can I look up which package ...
1
vote
1answer
108 views
dpkg crashing while trying to install a package
While attempting to install a package via apt-get the following.
The first error I get is:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
And, ...
0
votes
0answers
1k views
Not able to lock /var/lib/dpkg/lock (read only) [closed]
I was trying to install ruby on my remote server(this is a vm machine(debian) in a esxi server . ) I got this error:
The Command:
sudo apt-get install ruby1.8
Error :
W: Not using locking for ...
3
votes
1answer
559 views
Unable to install mysql under Ubuntu 12.04 LTS [duplicate]
Possible Duplicate:
How to get MySQL back on Ubuntu 12.04?
i'm getting the following error when trying to install MySQL Server under Ubuntu:
Setting up mysql-server-5.5 (5.5.22-0ubuntu1) ...
0
votes
0answers
361 views
apt-get upgrade Error [closed]
I'm running backtrack 5 on VM workstation. I'm trying to install the VM tools, but running into some problems.
When i try apt-get upgrade, i get the error:
...
0
votes
0answers
235 views
How to build these *:i386 packages on 64 bit machines
Following problem: Because Chromium is still completely outdated in Ubuntu I downloaded the source packages from the Debian project (Which are up-to-date) and build them on my Ubuntu system. I also ...
1
vote
6answers
5k views
repair broken packages-“dpkg: error: conflicting actions -f (--field) and -r (--remove)”
Ubuntu 12.04 LTS. if more information will be needed, tell me and'll give.
the main problem is:
tzach@tzach-pc:~$ sudo apt-get install docky
[sudo] password for tzach:
Reading package lists... Done
...
0
votes
1answer
805 views
Dpkg-reconfigure -a: `ia32-libs-multiarch' is not installed
Ubuntu 12.04, couple days old. Multiarch is installed. Checked in Synaptics and Software Center.. reinstalled a couple times, from both places. It still gives me these errors:
$ sudo ...
2
votes
1answer
810 views
Is there a way to see what exactly the “processing triggers” does per-package basis?
As I've understood, the usual "Processing triggers for < packagename >" does some package- and system-specific tasks such as add items to a launch menu or update a configuration file. Is there an ...
3
votes
1answer
50 views
Method to query the package database in a case-insensitive manner?
I have the name of a file and I need to determine what package provides it. If it weren't for the fact that I need to perform a case-insensitive search, the following command would work fine:
dpkg -S ...
5
votes
3answers
456 views
What does it mean “Processing Triggers for…” after installing/Uninstalling?
When i uninstalled a deb package i get this:
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
...
2
votes
1answer
157 views
How to cd to where I extracted a package, and run dpkg-deb -D?
I am following the step-by-step instructions on how to install ThinkPad Fan Control here but I could not get past this step (seen below):
Open a terminal and run this command:
Code:
...
1
vote
2answers
236 views
Dpkg error when trying to uninstall java
I have been trying to uninstall jre6 but I keep getting the error
dpkg: warning: there's no installed package matching sun-java6-jre:amd64
I've tried
sudo apt-get --purge remove sun-java6\* vim
and
...
0
votes
0answers
60 views
ubuntu reading package lists … error? [duplicate]
Possible Duplicate:
Update manager can not open due to missing /var/lib/dpkg/status
Reading package lists... Error!
E: Could not open file /var/lib/dpkg/status - open (2: No such file or ...
4
votes
1answer
2k views
How do I recreate a deleted '/var/lib/dpkg' directory?
Yesterday I had some problem with /var/lib/dpkg/lock during update. I knew that in such cases removing lock file could solve problem. So I tried to do it, but by mistake I removed all DPKG directory. ...
0
votes
1answer
107 views
I can't update wine from 1.5.10 to 1.5.11 due to a dpkg lock file
I have tried double checking for updates and updating the ppa via the terminal. The terminal outputs this, at the end.
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily ...
1
vote
1answer
113 views
Why have to lock archives and dpkg while doing installing apps and updates.
Actually if we suspend any application installing in middle or suspending updates then automatically while resuming we will get some problems like
E: Could not get lock /var/cache/apt/archives/lock ...
2
votes
3answers
4k views
How to install dpkg-reconfigure?
I want to install dpkg-reconfigure in Ubuntu 12.04 LTS install on Amazon EC2? How to go about it?
2
votes
0answers
2k views
Sub-process /usr/bin/dpkg returned an error code (1) due to glance-registry
Shortly after logging in, a system error pops up with a prompt to report the error. It refers to "glance-registry." The error icon at the top of the workspace says
Error: BrokenCount>0
...
6
votes
3answers
331 views
1
vote
0answers
488 views
Installing OpenOffice results in E: Sub-process /usr/bin/dpkg returned an error code
Hello guys I've got a little problem, trying to install OpenOffice 3.4 I get dpkg error:
The following NEW packages will be installed
openoffice
0 upgraded, 1 newly installed, 0 to remove and 28 ...
0
votes
1answer
2k views
dpkg E: Sub-process /usr/bin/dpkg returned an error
I decided to shift around my partitions on my hard drive for a fresh install of Kubuntu.
I booted my Ubuntu 10.10 live disc, shifted everything around and attempted to install grub and it didn't work, ...
0
votes
1answer
152 views
Unable to upgrade Ubuntu Server as psa-imp won't uninstall
When I try to upgrade Ubuntu using
apt-get upgrade
I get the message
(Reading database ... 67729 files and directories currently installed.)
Removing psa-imp ...
Where it will hang for ages ...
1
vote
0answers
12k views
How to fix “Resource temporarily unavailable” error running “sudo apt-get update”? [duplicate]
Possible Duplicate:
Fixing “Could not get lock /var/lib/dpkg/lock”
When I try to run sudo apt-get update this is what it shows; what should I do?
E: Could not get lock ...
0
votes
0answers
34 views
I can't run apt-get -f install: lib & package errors [duplicate]
Possible Duplicate:
Upgrade from 11.10 failed
Here is the output when I try to run apt-get -f install:
root@ubuntu:~# apt-get -f install
Reading package lists... Done
Building ...
0
votes
0answers
39 views
How do I fix dpkg errors after a failed upgrade? libc6 [duplicate]
Possible Duplicate:
Why did my upgrade to 12.04 fail with “glibc not found” or “libc6” or “requires kernel 2.6.24” error?
root@ubuntu:~# dpkg --configure ...

