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

learn more… | top users | synonyms (2)

0
votes
2answers
31 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
794 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, ...
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 ...
0
votes
0answers
20 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
10 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
28 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
10 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
18 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
25 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
28 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
10 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
17 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
30 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 ...
0
votes
0answers
21 views

Unable to correct problems, you have held broken packages

trying to install this, I am getting the 'Unable to correct problems, you have held broken packages' error message. Apache version Server version: Apache/2.4.2 (Ubuntu) Server built: Jun 27 2012 ...
9
votes
4answers
4k views

Create deb repository with several versions of the same package

I want to create my own deb repository to store some packages. I've tried reprepro and it works fine, except for one fundamental feature. Reprepro can't store several versions of the same package in ...
3
votes
1answer
29 views

Install package from without adding PPA

Is there a way to install a package via a simple URL without having to add a PPA beforehand? Something like apt-get https://url.to.package.deb? Or perhaps some command line options that would add the ...
16
votes
3answers
5k views

What does it mean that a package is “set to manually installed?”

When packages are already installed and I run an apt-get install <package-name>, sometimes it will print a line <package-name> is set to manually installed. What does that mean?
0
votes
1answer
57 views

apt-get remove --purge wine* removed everything!

sudo apt-get remove --purge wine* opened the gates of hell and removed many things. I wasn't allowed to paste the output here, too big. I stopped the process, I wanted to save what's left of my ...
1
vote
1answer
26 views

Which package provides a given jar?

How can I determine which apt package I should install to have a certain jar file? BTW: I'm actually looking to solve XML parser factory has not been configured correctly: Provider ...
0
votes
1answer
15 views

Cannot install pidgin

I am trying to install pidgin-ppa from software centre but it's showing The installation or removal of a software package failed perl: warning: Setting locale failed. perl: warning: Please check that ...
0
votes
1answer
14 views

Crash in systemd-shim

Today we installed Ubuntu 13.10. Now a system error occurred: Systemerror Executable Path /usr/lib/I386-linux-gnu/systemd-shim Package systemd-shim 3+real-Oubuntu1 Problem ...
1
vote
3answers
100 views

Google-chrome Unity launcher with dpkg-divert [closed]

When I login as root, I cannot run Google-Chrome, because it has a built-in root-user check. I can run Google-Chrome by adding --user-data-dir /root/.config/google-chrome/ to the start script in ...
0
votes
0answers
31 views

The following packages have unmet dependencies. gstreamer1.0-plugins-bad [closed]

i found a lot of thems with this question, but noone helped me. Here is what i'm trying to do: apt-get install -f 'gstreamer1.0*' gstreamer0.10-ffmpeg ... The following packages have unmet ...
2
votes
1answer
30 views

How to Remove all packages which is installed by dpkg from debs

I used to install packages by dpkg -i *.deb as I have all deb (with dependencies) in one folder. Now Is there any Reverse process of dpkg -i *.deb to remove all packages installed from debs. (dpkg ...
0
votes
1answer
13 views

e17 installation and unmet dependencies

Every which way I try to correct unmet dependencies it gives me some long error. Trying to install packages I get evas-loaders : Depends: libefl (>= 201312241217) but it is not going to be ...
1
vote
1answer
20 views

Really installed packages in (K)ubuntu

1) First question How to list really installed packages in ubuntu? The problem of dpkg --get-selections (the command written in almost any forum) is that its second column (which is install / ...
2
votes
2answers
84 views

What does the output of apt-get install --dry-run mean?

I want to upgrade a server to make sure the recent OpenSSL bug gets patched. So, to check the versions of things I'll be installing, I run apt-get install --dry-run, and see a line like: Inst openssl ...
0
votes
0answers
10 views

Issues with python-pip and speedtest-cli

dpkg: error processing python-pkg-resources (--configure): subprocess installed post-installation script returned error exit status 137 dpkg: dependency problems prevent configuration of ...
0
votes
1answer
66 views

Problem with broken package system

Yesterday I found that the Code::Blocks 13.12 on my Ubuntu 12.04 LTS is broken, when I clicked the icon, it reacted nothing, so I tried to reinstall. I tried to use the instructions from codeblocks' ...
2
votes
1answer
377 views

How to check the required dependencies for a package?

I want to install the ndiswrapper packages (utils, -dkms and -common) in my Ubuntu 13.04 live-usb. However, since I don't have wi-fi while I'm on the Daily build, I can't install them directly, so I ...
17
votes
5answers
10k views

How can I check the available version of a package in the repositories?

How can I check the version of the available package in the Ubuntu repositories without installing it?
1
vote
0answers
9 views

Getting a ksplice error after installing from ubuntu software center

There's a red circular icon with a white horizontal dash in my taskbar which says : An error ocurred, please run package manager from the right-click menu or apt-get in a terminal to see what is ...
-1
votes
1answer
33 views

Managing a corrupted apt-get state [closed]

I'm extremely frustrated with apt-get (and probably dpkg also). At least once or twice per year my apt-get will mess things up on my server which requires a total reinstall of my Debian OS. This ...
0
votes
1answer
2k views

Sub-process /usr/bin/dpkg returned an error code (2)

dpkg: warning: 'ldconfig' not found in PATH or not executable. dpkg: error: 1 expected program not found in PATH or not executable. Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin ...
3
votes
2answers
67 views

How to find which installed packages are important?

I installed many additional packages on my PC. dpkg --get-selections command displays all the installed packages. From the installed packages how do I know which are important for system booting (if ...
1
vote
0answers
23 views

How to highlight an Warning message?

I want to hightlight the Warning message appears while running a specific command. If we accidentally run some specific commands(it may be removing essential system pacakges), it shows some warning ...
0
votes
1answer
22 views

detect broken packages

There are many pages on the web regarding "how to fix broken packages" but I can not find a command to find/detect/view the broken packages. I want to search for orphan packages such as lib*.
84
votes
10answers
38k 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 ...
4
votes
4answers
391 views

Why are some Open Office packages marked as “local or obsolete” in Synaptic

This is a follow up to this question. I have not installed Open Office manually. I doubt that Open Office has been dropped from the repositories. So why are Open Office packages marked as "local or ...
6
votes
4answers
1k views

What does “local or obsolete” mean in Synaptic

In the Synaptic Package Manager there is a category "Installed (local or obsolete)". For whatever reason I have a bunch of packages listed there. As you can see from the screenshot, the packages ...
23
votes
5answers
671 views

How can I check if a package is installed (no superuser privileges)?

At our university we can get almost any ubuntu package installed we want, but we are not superusers ourselves (we need to request packages being installed). With some libraries it is not always easy ...
1
vote
2answers
22 views

how to stop downgrading while installing from deb

I used to install deb packages by using command: dpkg -i *.deb as all deb's are in same folder. Sometimes dpkg shows warning of Downgrading dependencies to lower version. Because Later Version ...
0
votes
0answers
50 views

python-software-properties unmet dependencies Ubuntu 12.04

I just got a fresh Ubuntu 12.04 server and I am trying to get add-apt-repository. For that I need the package python-software-properties. However, when I try to install it with apt-get, I actually ...
1
vote
1answer
49 views

Problems with libudev0 libudev0:i386 libgudev-1.0-0 libgudev-1.0-0:i386, BREAKS

I get this problems when i run apt-upgrade The following packages have unmet dependencies: libudev0 : Breaks: libudev0:i386 (!= 175-0ubuntu9.4) but 175-0ubuntu9.5 is installed libudev0:i386 : Breaks: ...
0
votes
1answer
39 views

Can I use RPM packages in Ubuntu? [duplicate]

A friend of mine uses RPM and has many custom in house developed packages of his own and wants to switch to Ubuntu. The question he asked me was; Can I use RPM packages with Ubuntu instead of .deb ? ...
1
vote
5answers
11k views

Install applications on LiveCD/USB

I'm running Ubuntu off a USB drive and I can't install it to the hard-drive yet. Is there a way for me to install more applications on the USB drive so that everytime I boot I can use them without ...
2
votes
0answers
20 views

Is it possible to search and remove files that aren't part of a package?

So, I've wrecklessly installed tarballs into / and /usr thinking this is what I'm supposed to do! Apparently its not and updating now kind of is difficult. I'm wondering, save for a full blown ...