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

learn more… | top users | synonyms (2)

17
votes
2answers
9k views

How to set up and use a virtual python environment in Ubuntu?

Python virtual environments are used to create isolated python environments to avoid dependency and version conflicts, and also indirectly takes care of permission issues. But what is the easiest way ...
8
votes
2answers
759 views

Why does apt think it needs this extra dependency?

I'm working on some machine setup instructions, and I was surprised to find out that apt-get install A B can behave differently than apt-get install A && apt-get install B. My specific ...
0
votes
1answer
44 views

Update Manager, Software Center, Synaptic Package Manager segfault

I made and ran a shell script made up of the following: wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add - sudo wget http://deb.playonlinux.com/playonlinux_precise.list -O ...
17
votes
6answers
4k views

How do I list installed software with the installed size?

I would like to have a list the installed software on my machine, with the disk space consumed by them alongside. I would prefer to be able to order by largest/smallest, but that is not a necessity. ...
4
votes
1answer
187 views

Annotating packages at installation to ease maintenance with apt / aptitude

I manage my packages with aptitude. I occasionally go through my list of packages, removing obsolete applications (in the sense that I do not want to use them any more). For example, while I have a ...
3
votes
1answer
21 views

How to understand apt.log?

First, a little context: I have a machine with Ubuntu 13.10 64bit with Unity, that i use for development. As such, i updated several packages manually, and even installed/compiled some from sources ...
2
votes
1answer
3 views

Ubuntu Update Manager fails

I have Ubuntu desktop installed. Every time Update Manager runs it fails: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gnutls26/libgnutls26_2.12.14-5ubuntu3.6_amd64.deb 404 Not ...
0
votes
0answers
15 views

E: Unable to lock the administration directory (/var/lib/dpkg/), Error [duplicate]

why do i get - E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? when trying to install any software through terminal? and how to solve it ?
1
vote
0answers
63 views

Package system is broken (oxideqt-codecs-extra) ubuntu 14.04

So last night I tried to update using the update manager and I couldn't because I encountered an error halfway through (error:brokencount>0). Today I wanted to install a package with ubuntu software ...
0
votes
1answer
515 views

How to fix dpkg: error processing fusion-icon?

This is what I got after upgrading Ubuntu 12.10 to Ubuntu 13.04: santos@santos:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... ...
1
vote
1answer
31 views

When should I use apt-get and aptitude or apt-fast? [on hold]

Is there any difference between installing by apt-get, apt-fast and aptitude? Which is recommended to use while installing and removing package? In other words, which command is preferable while ...
0
votes
2answers
2k views

Unable to fix broken package system

After I (painfully) managed to install Skype on my Ubuntu 12.04 LTS, I'm experiencing since months ago a packages issue I cannot fix. Have a look to my last post in order to know what caused this ...
1
vote
1answer
52 views

How to identify the name of the package?

Lets say I want to download the 'Full GNOME Desktop Environment, with extra components' in the image below. What is the name of the package? is it 'gnome' or 'Full GNOME Desktop Environment, with ...
2
votes
2answers
436 views

Trying to uninstall vmware packages but get 'unmet dependencies' error

So when I do dpkg --get-selections | grep vmware I get... vmware-tools-core install vmware-tools-esx-nox install vmware-tools-foundation install ...
0
votes
1answer
67 views

Ubuntu 14.04 asks to downgrade packages?

I'm new to ubuntu, so please excuse any naive questions. After a fresh install of 14.04, I was adding apps from the Software Center, but most of them continued to fail because "Package Dependencies ...
0
votes
2answers
30 views

Trouble downloading packages

When I try to download any of the following package, it shows error. sudo apt-get install libelf-dev sudo apt-get install tcl-dev sudo apt-get install tk-dev Reading package lists... Building ...
0
votes
1answer
34 views

ubuntu 14.04 getdeb installation problems

I installed Ubuntu 14.04. Later I tried to install getdeb with sudo dpkg -i getdeb-repository_0.1-1~getdeb1_all.deb. It got stuck at Connecting to archive.getdeb.net.. I aborted this with (ctrl+c) ...
14
votes
3answers
323 views

How can I know what programs does some apt-get package contains?

I would like to know what does some specific package install, for example, when installing ncurses, I have found that TAB key expands: sudo apt-get install ncurses- to show: ncurses-base ...
0
votes
0answers
12 views

libc6-amd64 dependency problem

I'm trying to install fglrx manually from the AMD website however it keeps complaining that it's missing the dependency "libc6-amd64". When I run the fglrx package through gdebi I get this message: ...
170
votes
14answers
146k 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 ...
1
vote
0answers
8 views

12.04 Computer crashed, now I get update error below

installArchives() failed: (Reading database ... dpkg: warning: files list file for package `libgnome-keyring-common' missing, assuming package has no files currently installed. dpkg: warning: files ...
2
votes
0answers
31 views

Aptitude - Both 64 & 32-bit packages being selected

In aptitude, I selected the xubuntu-desktop task and was presented with a large number of package conflicts, per this example: It seems that both the 32- and 64-bit versions of packages are being ...
0
votes
1answer
23 views

How to remove specified versions of package using aptitude

I have a small issue with libc6 package. There is some output: root@xubuntu:/# aptitude versions libc6 Package libc6: p 2.17-93ubuntu4 saucy 500 H 2.18-4 ...
0
votes
1answer
61 views

unable to install mediaelch on Ubuntu 14.04

I am trying to install MediaElch after the upgrade from 13.XX removed it. I followed the instructions from the MediaElch website (http://www.kvibes.de/en/mediaelch/download/) sudo ...
0
votes
1answer
40 views

Update manager not worknig and Red icon on my menu panel

I've been upgrading my ubuntu 13.10 to 14.04 LTS,during the installation process, I accidentally lost power after this i try to turnon my machine, it shows red icon with Error message Here is the ...
4
votes
3answers
15k 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 ...
0
votes
0answers
11 views

`apt` log files: is there a log for `apt-add-repository ppa:…`?

The apt command has the nice behavior to log all what you request it to do in /var/log/apt/history* file. This is quite handy, because in case of reinstall you can see which packages you have ...
2
votes
2answers
95 views

Arch linux like way to remove package and dependencies?

I have within the last year started to experiment with linux in an effort to learn the technical underpinnings as well as the fact that I strongly support the whole idea of open source software. ...
2
votes
0answers
428 views

Boot Repair - 'Close all package managers…' Dual Boot Installation

After almost a week I've just about manged to install Ubuntu 12.04.3 LTS alongside Windows 8 on a Dell XPS 14 Ultrabook. I have created a partition in Windows to store Ubuntu, rebooted from Windows ...
0
votes
2answers
317 views

When attempting upgrade from 13.10 to 14.04 upgrade halted and will not allow 2nd attemp

During the upgrade process the upgrade process halted and I can not restart the updater. It seems to be related to samba. I ran sudo apt-get install -f and got the following result: Reading package ...
0
votes
0answers
20 views

Simple APT binary-repository doesn't work [on hold]

I created a simple APT binary-repository so that Debian users could easily install my software package. The repository doesn't work. Following these instuctions, I essentially did the following on a ...
0
votes
1answer
31 views

Can't upgrade past 11.10 - libc6 dependency errors

Since upgrading to 11.10 I can't upgrade any further (trying to get my web server to latest version.) I'm aware of How do I resolve unmet dependencies? and have tried up to the point of running this: ...
0
votes
0answers
27 views

How to transition from alpha/beta to stable apt source repository?

Is there a preferred method of transitioning from development to stable apt repositories? I've used apt pinning in the past on debian with mixed success with the development repo's priorities at ...
53
votes
6answers
42k views

How do I get a list of installed files from a package?

I want to know where I can find my installed application when I installed it on Ubuntu using package manager. I installed RabbitMQ and ran locate rabbitmq which gave me following result: ...
0
votes
2answers
47 views

How do you fix a gcc compile 127 error? sudo apt-get install g++ doesn't work

*emphasized text*when I try to run a program I get the following error. ubuntu@ubuntu-VirtualBox:~/Desktop$ make g++ -Wall -Wno-switch -I. -g -c -o pass.o pass.cpp make: g++: Command not found ...
2
votes
3answers
854 views

View progress of a package installation in terminal

When I am using the Ubuntu Software Updater to install or upgrade packages, I can see a progress bar that shows how much of the installation is complete. When I am using the command line apt-get tool, ...
91
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 ...
0
votes
0answers
27 views

I already have the newest version of g++ but I still get a 127 error what do I do?

I have done the following. I just don't know what to try next. I supposedly have the newest version of gcc by following these directions sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo ...
0
votes
0answers
11 views

Is there a package manager which allows arbitrary queries for status, name, last change timestamp

I imagine at least stable sortable columns (or better columns with sort priority) to show information for the equivalent of a query like "show me installed packages whose status changed today, sorted ...
0
votes
1answer
34 views

mumble-server i386 depends on libqt4-core and libssl0.9.8 [duplicate]

I am trying to use apt-get and i get this error. It also doesnt allow me to install devs. root@ubuntu:~# sudo apt-get install mumble Reading package lists... Done Building dependency tree Reading ...
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 ...
1
vote
1answer
11 views

Why `dpkg -S /var/lib/dpkg` shows “base-files, dpkg”?

I'm curious to know which package provides the /var/lib/dpkg directory, so i run this command $ dpkg -S /var/lib/dpkg base-files, dpkg: /var/lib/dpkg The resulted output displays the package which ...
0
votes
1answer
33 views

dpkg google-chrome corrupt invalid status

I can't get this to resolve itself, can I get some help? Setting up google-chrome-stable (34.0.1847.116-1) ... update-alternatives: error: /var/lib/dpkg/alternatives/google-chrome corrupt: invalid ...
0
votes
2answers
2k views

all packages keep unmeting dependencies all the time

All problems begin when I was trying to install graphics card driver. My desktop wanished. I paniced and reinstalled (with apt-get) a lot of packages including Ubuntu desktop, Unity, Xserver, etc. I ...
0
votes
0answers
27 views

jockey-text is not working

I have Ubuntu 12.04, just learning Linux. I ran jockey-text --list and got no results. Then I ran jockey-text -u and got the following results: emmett@emmett-linux:~$ jockey-text -u Traceback (most ...
0
votes
1answer
41 views

Sub-process /usr/bin/dpkg returned an error code (1) after installing octave

I was trying to install the octave signal package with sudo apt-get install octave-signal But I get the following wall of text. I have to idea where to begin and how to fix it. What would you ...
0
votes
0answers
11 views

removing libraries after uninstallation

I removed abiword, from software center, and did autoremove and autoclean. I wanted to upgrade my system and it shows that Libabiword and abiword-common needs to be upgraded. I was surprised to see ...
0
votes
0answers
19 views

How to delete broken download package?

I wanted to install eclipse from the software center on 12.04, after download the software center shows an error and said something like "connection broke" (I do not remember the exact error). Also, ...
12
votes
1answer
6k views

How do I check only security updates from the command-line?

Is there a way to quickly check for the availability of security updates from the command line? On my 12.04 system running apt-get update fetches 20MB of data about available packages every time I ...
0
votes
1answer
42 views

How to remove a package after incorrect installation attempt

I was trying to install PostgreSQL 9.3 from the downloaded installer: postgresql-9.3.4-3-linux-x64.run Still learning the ropes with Linux, I believe I originally installed it using an incorrect ...