Questions about the management of packages, in particular the `dpkg` system.

learn more… | top users | synonyms (2)

166
votes
13answers
144k views

How do I resolve unmet dependencies?

How do I resolve unmet package dependencies? Occasionally, when I'm installing stuff, I get an error like the following: Some packages could not be installed. This may mean that you have requested ...
21
votes
6answers
23k views

How do I remove a malformed line from my sources.list?

I have unistalled and reinstalled the Ubuntu Software Center as per info I found in a similar thread and I got the same response about line 91 or something like that. I just tried to upload a screen ...
16
votes
3answers
9k views

How do I fix this “E:Type '*' is not known on line * in source list …” update error?

Every once in a while I see users having issues to update due to errors like this: E:Type 'ain' is not known on line 1 in source list /etc/apt/sources.list.d/some-ppa.list' with varying types/line ...
71
votes
9answers
35k views

How to prevent updating of a specific package?

Because of bug #693758 I'd like to prevent apt-get upgrade and Update Manager from updating the "libgtk2.0-0" package. How can this be achieved?
85
votes
10answers
39k views

Best way to backup all settings, list of installed packages, tweaks, etc?

If I want to make a backup of everything I have done since the fresh install of Ubuntu, what are the possible options? What all should I backup? I want to get all the settings that I changed, all the ...
5
votes
8answers
6k views

Failed to download repository information due to missing CDROM

When updating I got this error message: W:Failed to fetch cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)/dists/oneiric/main/binary-i386/Packages Please use apt-cdrom to make this ...
16
votes
4answers
80k views

How do I enable the “Universe” repository?

How do I get to Universe Repository of Ubuntu software as mentioned in Ubuntu 12.04 LTS? I am installing 12.04 Ubuntu. Please help.
9
votes
2answers
13k views

Fixing software center catalog

I'm new to Ubuntu, it looks like it is better than Windows. Last day I tried to install Kget (the download manager) but during the process my computer suddenly stopped working. So I had to switch it ...
40
votes
3answers
41k views

Requires installation of untrusted packages?

I tried installing VLC Player yesterday, and I got the Requires installation of untrusted packages error. I searched for hours for a solution to this problem, and finally came upon a suggestion that ...
22
votes
10answers
10k views

How do I install and manage RPMs?

I have a burning desire to install RPMs onto my Ubuntu installation - is this possible? Can I use Yum - or another RPM Package Management tool?
56
votes
11answers
7k views

Why can't I update applications without upgrading the whole OS?

In Ubuntu, once a release is out the software one has installed receives security updates only. In Windows, I can get new versions of programs with new features. How can Windows do this and why can't ...
10
votes
2answers
21k views

How do I enable the “multiverse” repository?

I keep seeing places refer to the "multiverse" repository as a place I can get software, how can I enable this repository? Please specify how to do this graphically and via command line.
7
votes
3answers
7k views

Cannot install any software from the Software Center due to ttf-mscorefonts-installer package error

When I try to install any software from ubuntu software center it comes with error: An unhandled error occured There seems to be a programming error in aptdaemon. This is the software that allows you ...
24
votes
5answers
16k views

How do I enable the “partner” repository?

I keep seeing places refer to the "partner" repository as a place I can get software, how can I enable this repository? Please specify how to do this graphically and via command line.
10
votes
4answers
57k views

trying to overwrite '/usr/bin/opencv_haartraining', which is also in package libopencv2.3-bin 2.3.1+svn6514+branch23-12~oneiric

After installing some packages and libraries I have an error on Package Manager, I can't run any update because it says: The package system is broken If you are using third party repositories ...
47
votes
6answers
135k views

How do I install Adobe Acrobat Reader?

I am new to Ubuntu, but I believe I have Ubuntu 11.10 installed correctly. I am trying to install Acroread using AdbeRdr9.4.6-1_i386linux_enu.deb that I downloaded from the Adobe web site. How do I ...
27
votes
1answer
61k views

How can you completely remove a package?

I am trying to do a clean install of the octave3.2 package. To do this, I removed it, then tried to reinstall it. When I reinstalled, an error occurred. It could be a bug in the package, but I ...
35
votes
5answers
8k views

How do I find the package that provides a file?

Simple enough question: is there some shell command (or GUI method) I can use that, given the path to a file on my system, tells me what package put it there? Assuming the file did in fact come from a ...
89
votes
6answers
28k views

Is aptitude still considered superior to apt-get?

When I first started with Ubuntu using aptitude was the 'in-thing', with some stated improvements over apt-get. Am I correct in saying that apt-get has now 'caught up' with aptitude, and it makes ...
4
votes
6answers
16k views

Package system is broken. How to fix it?

I just recently bought an arduino and requires gcc-avr/avrdude to compile the software. I installed avr for another microprocessor component a while ago but is obviously an outdated version (gcc ...
7
votes
2answers
4k views

dpkg error: “trying to overwrite file, which is also in…”

For example: $ sudo apt-get install curl Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The ...
2
votes
3answers
7k views

What should I do when the GETDEB repository is down?

I'm trying to install programs/files from the getdeb repo but get a "check your internet connection" error. Programs than I've tried include Qbittorrent and Mozilla-Plugin-VLC. Through the ...
19
votes
6answers
7k views

How do I remove all packages from a certain repository?

For a smooth upgrade from 10.04 to 10.10, I would like to remove all packages which are not in the default repositories (e.g. chromium PPA and third-party repositories). What is the easiest way ...
16
votes
4answers
32k views

How do I re-install Network Manager without an internet connection?

I have only wireless connection, one computer with a connection and 4gb usb . My second computer has no network connection, because I have deleted it from the software center. However, now I want to ...
10
votes
2answers
5k views

APT wedged by kernel version mismatch

Apt is seemingly unable to do anything useful for me, repeatedly giving messages of this form: dpkg: dependency problems prevent configuration of linux-server: linux-server depends on ...
13
votes
3answers
2k views

How do I add the “proposed” repository?

I'm trying to either test a fix that's been proposed or I want to volunteer to test stable release updates before they are pushed out to general users, how can I enable the "proposed" repository?
11
votes
7answers
73k views

How to configure proxy authentication to work with Ubuntu Software Center?

I have tried put in apt config Acquire::http::proxy, and in Network>Network proxy with and without user:password@server:port and using environment variables http_proxy and https_proxy. Nothing seems ...
16
votes
0answers
6k views

How to find and delete duplicated sources list entries? [duplicate]

Is there a command line to find and delete duplicated entries in the /etc/apt/sources.list file? or is this possible via synaptic perhaps?
143
votes
10answers
95k views

“The following packages have been kept back:” Why and how do I solve it?

I just added a PPA repository for the development version of the GIMP, but I get this error The following packages have been kept back: gimp gimp-data libgegl-0.0-0 libgimp2.0 Why and how can I ...
91
votes
9answers
4k views

What's the difference between package managers?

I know Ubuntu/Kubuntu has several programs that can be used to install packages, such as apt-get, aptitude, and synaptic (and perhaps others). What are the differences between them, and which one is ...
13
votes
2answers
20k views

How do I enable the “backports” repository?

How to enable the backports repository so I can get newer versions of software?
7
votes
6answers
11k views

How can I install 'restricted-extras' offline?

I currently don't have internet access in the house which means I have to go the cafe after a fresh 11.04 install, can anyone provide a link where I can get a .deb package (amd64) of ...
0
votes
1answer
952 views

error occured while running sudo apt-get install -f

I get this error Sub-process /usr/bin/dpkg returned an error code (1) so I tried sudo apt-get clean and autoclean. When I ran sudo dpkg --configure -a: Errors were encountered while processing: ...
11
votes
3answers
17k views

How do I enable the “Universe” repository from the command line?

How do you use terminal to enable Universe source? Or any those 4 from Software Sources: Main, Universe, Restricted, Multiverse Main is on by default and Restricted is on if durring Ubuntu ...
75
votes
6answers
45k views

How can I install just security updates from the command line?

sudo apt-get upgrade installs all updates, not just security updates. I know that I can use Update Manager to select only important security updates, but is there a way to do this from the command ...
23
votes
3answers
13k views

How can I restore configuration files?

I would like to restore LightDM to its default state, because for some reason /etc/lightdm/unity-greeter.conf is now an empty file. Deleting /etc/lightdm/unity-greeter.conf and then running sudo ...
14
votes
6answers
12k views

Adding Debian Sid as Package Repository?

I am running 12.04 Precise beta (upgraded from 11.10 Oneiric) and I added the following line to my /etc/apt/source.list: deb http://http.us.debian.org/debian unstable main contrib non-free In order ...
4
votes
4answers
6k views

Unable to use package manager due to “exclusive lock” error

My synaptic package manager in ubuntu10.10 is giving error: Unable to get exclusive lock This usually means that another package management application(like apt-get or aptitude) is already ...
13
votes
1answer
3k views

Should I use tasksel, tasks in APT or install regular metapackages?

Tasksel or plain Apt? In the past I've always used tasksel to install so-called "tasks". It seems, however, that this has been integrated in APT: apt-cache dumpavail | grep ^Task [...] snip Task: ...
22
votes
6answers
26k views

How to uninstall a .deb package?

Suppose I download a .deb package from a website and install it. (I assume that when I double click the .deb file, the package is installed through a GUI that interfaces with dpkg right?) How can I ...
12
votes
4answers
46k views

Where are my installed applications? [duplicate]

I have installed skype in ubuntu but duuno where to start the installed the skype application .Similarly I have installed netbeans and many applications but after installing them their icon's are not ...
9
votes
8answers
26k views

How to check if Network Proxy is really applied?

I'm trying to set Network Proxy to use my LAN's internet connection to update packages. while the proxy settings works on my firefox, but the package manager still cannot connect to Internet. I have ...
18
votes
4answers
10k views

How to list package dependencies (reverse dependencies)?

In order to research what caused the installation of a given package, I'd like to get a list of packages which depend on that package. I couldn't find anything obvious in man dpkg.
13
votes
3answers
4k views

What is the easiest way to strip a desktop edition to a server edition?

We have installed Ubuntu desktop edition on our development server. Now that we have it in a data center we would like to strip it down to a server edition. Is there an easy way of doing so rather ...
5
votes
3answers
25k views

How to resolve “Failed to download repository information”?

Whenever I try to install anything with the Ubuntu Software Center, the following error appears. Failed to download repository information Check your Internet connection. E:Unable to ...
4
votes
2answers
14k views

E: Unable to correct problems, you have held broken packages

I am using Ubuntu 13.04 which I installed few days back. I am trying to install nodejs and npm. I tried to install from command line first and then uninstalled it. Then something broke. sudo apt-get ...
2
votes
3answers
4k views

Unable to install any packages due to unrecoverable fatal error /var/lib/dpkg/diversions

I am currently unable to install any packages. I receive the following error: dpkg: unrecoverable fatal error, aborting: too-long line or missing newline in `/var/lib/dpkg/diversions I have ...
50
votes
1answer
6k views

What is the difference between upstream and downstream when referring to who to go to as a developer?

What is the difference between upstream and downstream when referring to who (or where) to go to as a developer or packager?
36
votes
10answers
20k views

How can I strip down Ubuntu?

I'm trying to fix what I consider a bloated install of Ubuntu. When I install Ubuntu on a machine, I get things that I don't want - web browsers, office applications, media players, accessibility ...
9
votes
3answers
4k views

How to set up an apt-cacher server?

I have more than 500 systems running ubuntu 10.04, ubuntu 10.10 and ubuntu 11.04. It is difficult for us to install new packages to these machines from internet, because of the high bandwidth usage. I ...