Questions related to dpkg, the system that powers most software installs. (Note: apt-get is a very similar tag.)

learn more… | top users | synonyms

0
votes
2answers
74 views

unable to install any software using sudo command

I am unable to install any software using sudo command; rahul@rahul-VPCEA33EN:~$ sudo apt-get install vlc E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: ...
1
vote
1answer
197 views

dpkg is broken, how to recover?

When I ran apt-get, the system said that dpkg is broken, use sudo dpkg --configure -a to recover, but when I ran sudo dpkg --configure -a, it showed the following error message: dpkg: error: ...
1
vote
0answers
615 views

How Do I fix my particular broken package system?

So I'm having a bit of trouble with my Ubuntu 13.10 installation. I cannot for the life of me figure out what I did to break it, I think it had something to do with an update not finishing. Anyways, ...
0
votes
1answer
271 views

How to fix dpkg configure errors?

I get the following error. How to fix it? root@santanu-Compaq-Presario-C700-Notebook-PC:/home/santanu# sudo dpkg --configure gconf2 dpkg: error processing gconf2 (--configure): package gconf2 is ...
0
votes
0answers
17 views

How to fix the apt-get -f install error [duplicate]

I am getting continuous error when I run the command sudo apt-get -f install The output of the command is as follows: Reading package lists... Done Building dependency tree Reading state ...
0
votes
0answers
42 views

while installing kde 4.11 through terminal showing error while 'processing initramfs-tools'

the full output is------- Setting up initramfs-tools (0.103ubuntu0.2.1) ... update-initramfs: deferring update (trigger activated) Processing triggers for initramfs-tools ... update-initramfs: ...
1
vote
0answers
239 views

Installing a .deb package to /usr/local directory using dpkg(1)?

I want to install a binary .deb package under the "/usr/local" directory rather than the default "/usr" directory but I can't because the database "/usr/local/var/lib/dpkg" doesn't exist: $ sudo dpkg ...
2
votes
1answer
1k views

Using dpkg to install upgrade and dist-upgrade packages

So I'm playing around with offline package installation on 12.04 Server, having downloaded packages by retrieving and wgetting their URIs using the instructions here: ...
1
vote
0answers
35 views

non interactive reconfigure x11

I need to be able to allow all console users to call xinit in a non interactive way. So I would like to "automate" (meaning find a way with no user interaction) that runs dpkg-reconfigure -f ...
0
votes
0answers
181 views

An error occurred. Please run package manager. Broken dependencies I can't fix or remove

I have installed Ubuntu 13.10 and everything seemed to be working great for about a day and 1/2. Then, programs such as Firefox, Thunderbird, synoptic etc. started crashing. I notice a red circle on ...
0
votes
1answer
95 views

Can't (re)install lazarus

I had Lazarus installed (from website, not USC), while upgrading to 13.10 and after that, it posted some error message (which I can't remember) at every start. I decided it shouldn't suffer, so I ...
0
votes
0answers
142 views

apt locked by corrupt library package in ubuntu 13.10

I have tried a little hacky way to solve my question by downloading some Debian library file directly from lunchpad. And after that my apt is locked and I can't move forward. I have tried, sudo ...
1
vote
0answers
240 views

dpkg Unmet dependency linux-image-generic 13.10

I've upgraded a few of my boxes to 13.10 and have started to see the following error on them when running apt-get update and apt-get upgrade: Setting up linux-image-3.11.0-13-generic (3.11.0-13.20) ...
0
votes
0answers
23 views

Problem with upgrading a package

I've added some PPAs then i did sudo apt-get update && sudo apt-get upgrade after that there was some packages wasn't installed so I did sudo apt-get dist-upgrade after that I had a problem ...
1
vote
1answer
315 views

problems during installing Brother DCP-J140W printer

I am new Ubuntu user My Laptop is "Vaio VPCEB1M0E " I couldn't install the printer "Brother DCP-J140W", and I tried all the steps in this related questions and topics 1,2, and 3. When I did the ...
1
vote
0answers
163 views

Cannot Install or update, problem with apt-get Ubuntu 12.04.03 Server

I am unable to install anything on my Ubuntu server. When I do, i get the suggestion to run apt-get -f install When I try running apt-get -f install I get: apt-get -f install Reading package ...
0
votes
0answers
78 views

Apache still running after uninstalling

I am trying to uninstall apache to install nginx, but it doesn't seem to work. $ ps aux | grep httpd root 22348 0.0 0.2 167252 8864 ? Ss 14:33 0:00 /usr/sbin/httpd -k start -DSSL ...
2
votes
1answer
292 views

upgrade to 13.10 stalled and restart failed

I had 13.04 before. In response to a popup to upgrade to 13.10, I clicked yes, and the whole thing went on autopilot overnight. Woke up this morning, and it's stuck at "unpacking X.org". I forced the ...
0
votes
0answers
23 views

unable remove/reinstall libxss1:amd

Whenever I try to install anything (software-center or apt-get) I get an error report stating that libxss1:amd is in a very bad inconsistent state (translated from German) and that I should reinstall ...
7
votes
1answer
246 views

What can cause “Missing Package: header, Problem with MergeList, The package lists or status file could not be parsed or opened” errors?

I write tests for my company's application. One of these tests tries to upgrade the application from a previous version to a new version to make sure nothing breaks. When I am installing an old ...
-2
votes
1answer
1k views

Need to resolve dependencies for installation

I'm trying to install librhythmbox-core8 but when I run the commands it fails. apt-get install Reading package lists... Done Building dependency tree Reading state information... Done You ...
0
votes
1answer
94 views

Cannot apt-get upgrade Ubuntu Server

I tried to a upgrade this morning and encountered errors. Ran apt-get -f install and got this error below. I don't recall installing any quantal packages. dpkg: dependency problems prevent ...
0
votes
2answers
577 views

Can you help me fix my broken packages?

I would like to upgrade from 13.04 to 13.10, but some broken packages are preventing upgrade success: grep Broken /var/log/dist-upgrade/apt.log output: Broken libwayland-client0:amd64 Conflicts on ...
1
vote
2answers
34 views

Installation of a package with parameters being prompted on cli

Say, I need to install a package using "dpkg -i" option, which would prompt user for some values say username and password. I can easily get it, as user enters, from terminal and proceed with ...
-1
votes
1answer
61 views

while installing any software I get this message

Package operation failed The installation or removal of a software package failed. installArchives() failed: Selecting previously unselected package libidn11:i386. (Reading database ... (Reading ...
1
vote
2answers
815 views

“Invalid command 'Order'” after deleting /etc/apache2

I'm having a hell of a time setting up a dev environment for Wordpress. I messed everything up a couple weeks ago and this afternoon wanted to start over. I tried to reset Apache by uninstalling ...
0
votes
0answers
213 views

Error in apt-get install -f after trying CUPS manual installation

I've tried to install a newer version of cups 1.6.4 in my Ubuntu 12.04 I've screw up installing it over version 1.5.4 (.configure/make/sudo make install) Then I've unistalled it with sudo make ...
2
votes
1answer
307 views

sudo apt-get check gives me the following error

sudo apt-get check Reading package lists... Error! E: Read error - read (21: Is a directory) E: The package lists or status file could not be parsed or opened Please let me know how to resolve this ...
2
votes
1answer
96 views

How to list installed packages with security patches?

I would like to list all packages installed on a Ubuntu Server 10.04 that were upgraded for security reasons. Is there any tool that will list all security packages installed on a system? Any help ...
50
votes
1answer
57k views

Install Teamviewer using a 64-bits system but I get a dependency error

I was trying to install Teamviewer, but I was getting a dependencies error. I tried to install them but with no luck. I'm getting this Error: Unpacking teamviewer (from teamviewer_linux_x64.deb) ... ...
0
votes
2answers
1k views

Unable to install google chrome in ubuntu12.04 via “google-chrome-stable_current_i386.deb”

after typing the command " sudo dpkg -i google-chrome-stable_current_i386.deb " The follwing error occurs. How can I fix this? Can somebody help me. Please...!! ...
0
votes
0answers
336 views

while installing google-chrome-stable -i386.deb?

While updating it told to try running apt-get -f install. On doing this i'm facing the following error: Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
0answers
17 views

how to install lsb-rpm [duplicate]

I am trying to install Oracle 11g. I have downloaded the lsb-rpm package from http://security.ubuntu.com/ubuntu/pool/universe/r/rpm/lsb-rpm_4.7.2-1lubuntu0.1_amd64.deb. But I get the following errors ...
1
vote
1answer
640 views

dpkg returns error 10 when processing package php5-common [closed]

I'm having trouble installing php in 13.04. Seems like the package manager can't (re)configure the php package. I already tried purging every php* package, removing the cache files in ...
0
votes
0answers
305 views

Apt-get and dpkg missing and/or broken, software center has segmentation fault

I've gotten into a real bind here, I'm not exactly certain when this happened but I've been really perplexed on how to fix this issue. At the moment I can't get apt-get to work at all. As in, there is ...
1
vote
0answers
41 views

How do you deal with backports in production?

I run 12.04 on my production servers. Often I will run into a situation where I want the latest version of a certain critical piece of software for a certain role, such as nginx, and often that ...
0
votes
1answer
2k views

I get this error after upgade. please help

dpkg: dependency problems prevent configuration of initramfs-tools: initramfs-tools depends on initramfs-tools-bin (<< 0.99ubuntu13.2.1~); however: Version of initramfs-tools-bin on system is ...
-1
votes
2answers
351 views

After distr upgrade trying to install firefox or any other program

after distr upgrade from ubuntu server 10.10 to 12.10 i get error messages tryind to install firefox or any other program and when in terminal i am runnning: apt-get install firefox My output is: ...
1
vote
1answer
69 views

sbuild multiarch: warning: can't parse dependency libogg0:i386

a question regarding multiarch. On my build server running Ubuntu 12.04.3 I try to build a package of a game with a precompiled i386 executable for ubuntu 13.10 (using a schroot). sbuild fails ...
1
vote
3answers
286 views

/etc/environment: line 2: PATH: No such file or directory

I'm running Ubuntu 12.04. Recently I've noticed that Ubuntu Software Centre fails to install/remove packages to/from my computer. Here is the error description. installArchives() failed: Setting up ...
1
vote
1answer
330 views

Using `dpkg --set-selections` to copy package config to a new server

I'm trying to create a test server with all the same packages on as the live server, following the instructions here (and similar instructions elsewhere) But when I run the apt-get -u dselect-upgrade ...
0
votes
0answers
55 views

How to avoid installing custom packages twice on Ubuntu 12.04

I have created a custom packages using dpkg --build . In the DEBIAN dir I have placed all the required files for package installation namely control,preinst,postinst,prerm etc. When I try to ...
1
vote
1answer
541 views

How can I fix “dpkg: error: parsing file”?

... and what is sudo and where/how would I type the scripts I've seen in some related answers? Yes I am very new to Linux, and am using Ubuntu 12.04 LTS. All updates are failing with ...
1
vote
0answers
702 views

Ubuntu Server: dpkg returned an error code (1)

I have experienced this error in the past but have been able to resolve it by running 'sudo apt-get -f install'; however, that is no longer the case. I have spent about 4 hours looking into this and ...
2
votes
1answer
558 views

initramfs fail after upgrade to 13.04, cant update system with apt-get / dpkg

The other night I received the prompt suggesting for me to upgrade from 12.10 to 13.04. I figured why not, and accepted the upgrade. I had very little interaction, just clicked the accept button, and ...
1
vote
1answer
38 views

Is it possible to know from apt if the package was installed explicitly or as a dependency of another package?

Let's say there are A, B and C package. A and C were installed manually with apt-get install, and B is a dependency of A and was installed by apt automatically. Is it possible to know that with some ...
3
votes
1answer
148 views

Get list of installed packages - from damaged partition

I'm running 13.04 on VMWare Fusion 6 on top of OS X, which has some serious stability problems, necessitating hard reboots (power cycling) at least once/day if not more. Since VMWare is lame and ...
1
vote
3answers
3k views

Package operation failed Errors were encountered while processing: xserver-common-lts-raring

Before starting with my problem description, I would like to say that this is my very first time using Ubuntu or anything related to Linux! Now my question! I have installed the very last ...
2
votes
1answer
919 views

Trouble using command: sudo dpkg-reconfigure $(dpkg -l | awk '{print $2}'|grep “^xserver”|tr '\n' ' ')

I type: sudo dpkg-reconfigure $(dpkg -l | awk '{print $2}'|grep "^xserver"|tr '\n' ' ') ouput: /usr/sbin/dpkg-reconfigure: xserver-xorg is broken or not fully installed I type: sudo apt-get ...
0
votes
0answers
48 views

how to dbkg-preconfigure login manager

I've written a script that installs several desktops with a menu loop. I have also redirecteed the output to /dev/null, Now every Time when it comes to dpk login manager selection the script doesn't ...