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

learn more… | top users | synonyms

3
votes
2answers
21 views

Splitting a large package into smaller ones/upgrade path for users?

I maintain a couple of large packages that we use internally and starting with the next release I would like to split those into smaller packages. These packages are already installed in a number of ...
4
votes
1answer
161 views

apt-get upgrade fails with `Permission denied`

I have recently installed 12.04 and all seemed to be well, until today when I got a series of errors when trying to run apt-get upgrade: $ sudo apt-get upgrade Reading package lists... Done ...
0
votes
1answer
40 views

Error while installing package - Ubuntu 12.04

Below is the error i am getting. when i install or upgrade , i have been struggling for a while to solve . sudo apt-get upgrade Reading package lists... Done Building dependency tree ...
1
vote
2answers
339 views

dpkg: error processing linux-headers-3.2.0-35

Whenever I install, update or uninstall a program in the terminal, this comes up sudo apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... ...
1
vote
2answers
83 views

list all suggested packages for currently installed packages

Every time I install a package: sudo apt-get install <pkg> apt-get displays a list of suggested packages. I have simply ignored these so far, but some of these suggestions are actually good ...
4
votes
1answer
342 views

How can I fix dependency problems with firefox? [duplicate]

Possible Duplicate: How do I resolve unmet dependencies? I can't do anything from Ubuntu Software Center or from Terminal This is what i get from command line: deus@comp:~$ sudo apt-get ...
2
votes
2answers
280 views

nginx dependency problem trying to upgrade

Trying to upgrade my Ubuntu 12.04 vps I get the following error: henrik@neung:~$ sudo apt-get upgrade [sudo] password for henrik: Reading package lists... Done Building dependency tree ...
1
vote
0answers
173 views

I'm having a multi-arch problem. How can I fix it?

Running the following commands give me the same abrupt ending, any ideas? 1. sudo apt-get -f install -y Reading package lists... Done Building dependency tree Reading state information... ...
0
votes
0answers
35 views

Invalid url:`var/lib/lock/dpkg/lock`given,existing No `:`in the uri

This is the error from the lock. From Perl I get: you have not cofigured a urlist for CPAN mirrors/blocked urlist.pm yaml not installed. The error console is full of: unknown property word-break, ...
0
votes
0answers
21 views

phpmyadmin stuck in apt-get [duplicate]

Possible Duplicate: How do I fix a “Could not get lock /var/lib/dpkg/lock” problem? So I tried to install PHPmyadmin, but it got stuck, so I needed to force shut it down ... Now when I try ...
5
votes
1answer
906 views

How to resolve package conflicts installing LibreOffice 3.6.4?

The latest release of LibreOffice is 3.6.4, however only 3.6.2 is available in the software centre. I have installed the file available at ...
1
vote
0answers
386 views

How to resolve dpkg error code (1)?

I get the following apt-get error message: sudo apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to ...
3
votes
0answers
142 views

libgtk-3-0 dependency issues

I've been trying to update standard packages on my Ubuntu box. There's literally nothing extra on this box except for VirtualBox for some Windows stuff I run. Here's one output: $ sudo apt-get update ...
0
votes
1answer
66 views

Having a Problem After Installing Mac-osx Theme and setting it up With Cairo dock

When i write sudo apt-get upgrade This message Shows Up:"dpkg: error: cannot scan updates directory `/var/lib/dpkg/updates/': No such file or directory E: Sub-process /usr/bin/dpkg returned an error ...
3
votes
1answer
759 views

linux-image-generic seems to be broken

I'm using Ubuntu 12.04. Recently I can't install anything anymore. I always get the following error message: Setting up linux-image-3.2.0-34-generic (3.2.0-34.53) ... Running depmod. ...
4
votes
2answers
473 views

How do I become a “superuser”?

The following command fails with an error: $ dpkg -i libmotif*i386.deb dpkg: error: requested operation requires superuser privilege How do I become a superuser? I thought I was the superuser?
0
votes
1answer
56 views

I can't install any packages without it failing - I get an error about config.dat being locked - how can I fix this?

I had a power failure on my laptop, so I ended up crashing in the middle of a package installation. How do I fix this error? jrg@atlantis:~$ sudo apt-get upgrade --fix-missing Reading package ...
0
votes
1answer
183 views

At the time of Gnome desktop installation ubuntu software center removed, unable to install anymore

At the time of Gnome desktop installation, it has removed all the dependencies of sso login python and ubuntu software center. I've tried to rebuilt them using sudo apt-get update, sudo apt-get ...
0
votes
0answers
198 views

Ubuntu 12.04 - dpkg: error processing sasl2-bin (--configure):

Something goes wrong while installing sasl2-bin in Ubuntu 12.04 root@j064:~# sudo apt-get install kvm libvirt-bin sasl2-bin Reading package lists... Done Building dependency tree Reading state ...
2
votes
1answer
1k views

Internal Error - Trying to install Valve's Steam client via Ubuntu Software Center

Valve's steam client is now Open to all said a link and so I decided to install Steam Client on my Ubuntu 12.04 machine to try it out. I downloaded the deb file from this page. Once after the ...
4
votes
1answer
485 views

How do I fix a “Unknown configuration key `foreign-architecture' found in your `dpkg' configuration files.” error?

Always when I install something, I get the following error multiple times: Unknown configuration key 'foreign-architecture' found in your 'dpkg' configuration files. This warning will become a ...
1
vote
1answer
192 views

I am unable to solve this error in My Ubuntu 12.04 '/var/lib/dpkg/status' near line 1050 package 'swish++'

When I tried to update my system and installing new program. It failed because of following error. I tried to remove Swish++, but that also failed. So currently I am not able to ...
0
votes
0answers
11 views

error: parsing file '/var/lib/dpkg/available' near line 13 package 'python-pkg-resources' [duplicate]

Possible Duplicate: dpkg: error: parsing file ‘/var/lib/dpkg/available’ near line 13 package 'python-pkg-resources error dpkg: error: parsing file '/var/lib/dpkg/available' near line 13 ...
0
votes
0answers
177 views

What does this error mean: “E: Sub-process /usr/bin/dpkg returned an error code (1)” - related to the installation of activity-log-manager ?

What I see is this: incredible@incredible-Inspiron-N5010:~$ sudo apt-get -f install [sudo] password for incredible: Reading package lists... Done Building dependency tree Reading state ...
0
votes
1answer
110 views

Why dpkg says 'illegal package name in specifier' when I try to remove a package?

Whenever I type into the terminal the command: sudo dpkg -r '/home/brentonhorne/Downloads/virtualbox.deb' I receive the error: dpkg: error: --remove needs a valid package name but ...
0
votes
1answer
39 views

Filesystem owner changed by mistake

I ran this command on my ubuntu 12.04 by mistake: chown someuser / -R On RHEL it would be fixed by this command: rpm --setugids -a Is there anyway to fix it in ubuntu server?
0
votes
1answer
177 views

dpkg: xml2-config is different from the same file on the system

I followed this procedure to restore a previously exported list of packages in a new system. At the end of the procedure, after sudo apt-get dselect-upgrade -y I got this message: [cut]lot of output, ...
0
votes
0answers
291 views

dpkg: error: parsing file '/var/lib/dpkg/available' near line 13 package 'python-pkg-resources error

I got frustraded and re-installed ubuntu server. I'm at the point in the cmd line: sudo apt-get update .. done sudo apt-get upgrade .. done sudo apt-get install linux-image-server ...
0
votes
0answers
180 views

E:sub-process /usr/bin/dpkg returned an error code (2) error [duplicate]

I got frustrated and re-instaled Ubuntu server .. I'm at the CLI sudo apt-get update .. done sudo apt-get upgrade .. done sudo apt-get install linux-image-server linux-headders-server ...
2
votes
1answer
43 views

How do I specify a string to display in the Ubuntu software-center when creating a package with dpkg-deb?

When I open *.deb packages downloaded from the internet in the Ubuntu software-center, it displays a "nice" name for the package (including upper- and lowercase, spaces, special characters, ...). ...
0
votes
2answers
579 views

How to solve dpkg-source source problem when building a package?

Has anyone here had some experience creating a Debian / Ubuntu package? I am trying to backport the lammps package (http://packages.ubuntu.com/quantal/lammps) from Ubuntu 12.10 (Quantal) to Ubuntu ...
3
votes
1answer
73 views

How to get a list of files for a package I haven't installed yet?

apt-cache search returns list of available packages. In my case I would like to look at the list of files that would be installed on my PC in case I install the package usb-creator-gtk. Something ...
3
votes
2answers
309 views

Install usblib package - Ubuntu

I need the package libusb for another package I am installing. I tried the following which seemed to install the package, sudo apt-get install libusb-dev but when I try to install the other ...
3
votes
2answers
382 views

Cannot use apt-get/dpkg — Input/output error

I have bumped into an issue that doesn't allow me to do anything related to apt-get: install, remove, etc. Whenever I try to do something (e.g. sudo apt-get install firefox -f) it gives me the same ...
0
votes
1answer
91 views

libxml2 package installed but cannot include, building libaiml

I am trying to build a library (libaiml). I was having problems installing the library using normal methods: ./configure ; make ; make install In the README, the author says you should use this ...
0
votes
1answer
140 views

Software centre neither update does not work on 12.04

m@samsung:~$ sudo rm /var/lib/apt/lists/* -vf [sudo] password for m: rm: cannot remove `/var/lib/apt/lists/partial': Is a directory m@samsung:~$ sudo apt-get clean m@samsung:~$ sudo apt-get update N: ...
2
votes
1answer
118 views

How to uninstall .deb python module

I have python2.7 default n ubuntu(64bit) , I have wrongly installed a python module (UNO module) which is for 32bit arch. how I have installed wget (uno-module32-version).deb dpkg -i ...
2
votes
3answers
418 views

Reinstall Ubuntu keeping my data intact

I have recently upgraded my desktop OS from Ubuntu 12.04 to 12.10 (complete re-install). Before the switch I made a list of all programs installed on my Ubuntu 12.04. sudo dpkg --get-selections > ...
1
vote
2answers
3k views

Cannot install Skype due to dependency errors; dpkg doesn't install dependencies [closed]

I'm trying to install the newest Skype version (4.1) on my Linux. I have downloaded the skype-ubuntu-lucid_4.1.0.20-1_i386.deb package from the official Skype site. I removed all installed versions ...
0
votes
1answer
344 views

Offline MySQL installation (Using deb file and no internet connection)

I downloaded MySQL's installation package and ran the following command after installing a fresh Ubuntu server. dpkg -i mysql-5.5.28-debian6.0-x86_64.deb It installed fine and then I tried starting ...
2
votes
1answer
437 views

Install deb package with all dependencies in same folder?

I need to install multiple deb files of same software from apt cache in another ubuntu installation. For example, I have all deb files of vlc in same folder(/var/cache/apt/archives). I need to ...
1
vote
1answer
173 views

I Can't Install or Remove Any Application

when i try to install or remove an application via either software center or apt-get install they both fail and give some debconf errors below is the log please help.Sorry some of the text is not ...
0
votes
2answers
181 views

I can't install any package, dependency problems

The apt-get command doesn't work. When I try this sudo dpkg --configure -a, I get this: dpkg: dependency problems prevent configuration of libc6:amd64: libc6:amd64 depends on libgcc1; however: ...
2
votes
1answer
151 views

error processing software-center after upgrading precise to quantal

After upgrading precise to quantal I am totally unable to run apt-get upgrade or apt-get -f install sam@ubuntu-vm:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree ...
0
votes
1answer
58 views

What to look for when reviewing dpkg status for indicator of an error? [closed]

I am reviewing the dpkg status file to see if there is an error that might be keeping me from upgrading. My first time of really looking at a log file, generates the following questions: install ok ...
0
votes
2answers
115 views

How can I install dpkg-dev without installing gcc 4.6?

I have manually installed gcc/g++ 4.7 on my Ubuntu 12.04 When I run sudo apt-get install dpkg-dev it's trying to download and install g++ 4.6 which would obviously break 4.7. How can I install ...
0
votes
0answers
302 views

Fixing check if the 'dpkg-dev' package is installed

How do you I fix error Check if the 'dpkg-dev' package is installed ? I'm trying to run apt-get source php5 which fails with following error sh: 1: dpkg-source: not found Unpack command 'dpkg-source ...
0
votes
1answer
152 views

java2-runtime virtual package not considered installed by dpkg/apt-get

Did a fresh install of Quetzal Server, installed all updates. Installed default-jre-headless which pulled in OpenJDK 7 JRE without any X11-related packages. So far so good. Now I try to install ...
2
votes
1answer
207 views

unstripped binary or object creating debian package

I'm new to package creation and I'm trying to create a .deb package and keep getting 'unstripped-binary-or-object' on all my libraries and executables. I have everything setup in the directory tree ...
3
votes
2answers
461 views

fern-wifi-cracker “Exec format error” breaks packaging system

root@cunix:/home/cunix# sudo apt-get remove fern-wifi-cracker Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically ...

1 2 3 4 5 9