Advanced Packaging Tool, the package manager for Debian-based distributions. It is also the most used tool for installing packages in Ubuntu. Questions about using any of the apt tools should use this tag.

learn more… | top users | synonyms (1)

0
votes
1answer
371 views

Failed upgrading 12.10-14.04, error with fontconfig

I'm running 12.10 on a VPS, and realizing it's not supported anymore, I tried upgrading. I followed a thread from the forum here, and did the following: Updated the sources.list file: ###### Ubuntu ...
1
vote
1answer
415 views

Update Manager doesn't work “ImportError: No module named 'codecs'”

Hello, Dear awesome community Each time I try sudo update-manager it returns Fatal Python error: Py_Initialize: Unable to get the locale encoding Traceback (most recent call last): File ...
0
votes
0answers
12 views

Correct way to fix missing (wrong/old) dependencies when running apt-get install?

I know there are many variations of this question, but I've browsed different threads and tried everything listed in the answers, but I am still not able to resolve my wrong dependencies. I am on ...
4
votes
5answers
77 views
+50

Unable to insall libgtk2.0-dev on ubuntu 12.04

I am using opencv 3 on ubunut 12.04 and while displaying an image the error message asks me to build the library with libgtk2.0-dev. I tried sudo apt-get install libgtk2.0-dev but I get the following ...
1
vote
0answers
14 views

Can no longer use apt-get to install due to error with apport

I am working on a Windows 7 PC with a Xubuntu (Ubuntu 14.04.2 LTS, 64-bit) Virtual Box. Lately I have been having problems using the 'apt-get' command, and also the Software Updater. The Software ...
0
votes
0answers
11 views

Problem installing Mod_Mono on Ubuntu

I am trying to install mod_mono on Ubuntu (Ubuntu 14.4 LTS, Monodevelop 5.9, Mono JIT compiler version 4.0.1). I tried below command as per this article and this question: sudo apt-get install ...
1
vote
1answer
9 views

Installing development libraries on 14.04

I am trying to build some application for both amd64 and i386 architectures. Host architecture is amd64. So i compile and link with -m32. Compilation is done ok but linker cannot find libraries. ...
481
votes
16answers
698k views

How to list all installed packages?

I'd like to output a list of all installed packages into a text file, so that I can review it and bulk-install on another system. How to do this?
0
votes
0answers
13 views

Declutter Other Software sources

I recently upgraded from 14.04 to 15.04 (with a brief stop in 14.10) and need some help understanding how to manage software sources in Ubuntu. When I look at the 'Other Software' tab in Software and ...
0
votes
0answers
8 views

OpenStack - obsolete packages

I use a nagios plugin to monitor for package updates - This morning it is reporting that a number of nova openstack packages are now obsolete: /usr/lib/nagios/plugins/check_packages WARNING: 7 ...
1
vote
1answer
13 views

python-pip package not found on ubuntu 15.04 running as live usb

I'm trying to install python-pip using apt-get on ubuntu 15.04, but I get an error saying it's not found. ubuntu@ubuntu:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu ...
0
votes
0answers
31 views

New to Linux. Cannot install anything; missing dependencies

I am on a new installation of Ubuntu and I'm trying to download programs like Synaptic and Gparted but whenever I try and download through the terminal I get: The following packages have unmet ...
7
votes
3answers
140 views

How do I exclude specific packages from installation with apt-get?

I would like to exclude specific packages from installation with apt-get, that is, install a metapackage without the list of specific packages, preferably with one invocation of apt-get. For example, ...
0
votes
1answer
25 views

How can I upgrade packages on a broken ubuntu installation from a live usb?

I downgraded from linux-image-3.19.0-18-generic to linux-image-3.19.0-16-generic and then stupidly removed 3.19.0-18 without thinking. When I rebooted I was unable to load unity and my network ...
3
votes
2answers
2k views

How Do I manually remove malformed Packages?

I tried to install typo3 via the apt-get package manager on Ubuntu 13.10 Saucy. During the installation the Package typo3-dummy could not be configured and remained in status: half-installed sudo ...
4
votes
1answer
10k views

Unable to locate package python-pip

Hi I am trying to install electrum in my ubuntu live usb. Please forgive me because I am very new to this OS. I have also made a presistence 4GB space for future installation sofwares. How can I get ...
0
votes
0answers
12 views

“start-stop-daemon: user 'solr' not found” error on un-install and re-install jetty

I tried to installed Ckan with jetty on my Ubuntu 14.04LTS, following these instructions but i was getting a 500 error when trying to open localhost:8089/solr. I was told to follow these instructions ...
0
votes
1answer
18 views

Installing libgirepository-1.0-1:i386 leads to strangeness

This apt-get exchange leaves me befuddled (on a 64-bit CPU): $ lsb_release -a ...
0
votes
0answers
6 views

Will Biosdevname stay disabled when I update my system?

I wanted my server, 14.04.2, to use the old style of network interface naming, e.g. eth0. I used the Biosdevname part of the answer found here, editing /etc/default/grub but not purging the ...
1
vote
1answer
42 views

Trouble Installing Package from a Local Apt Repo

I am having some issues installing a package from a local apt-repo. I followed the guide below to set up the apt repo and it seems to be working fine. When I run the update-debs command and apt-get ...
5
votes
1answer
124 views

Vivid apt-get update huge Package files in /var/lib/apt/lists/partial

ls -Ssh /var/lib/apt/lists/partial | head total 88G 46G security.ubuntu.com_ubuntu_dists_vivid-security_main_binary-amd64_Packages.bz2 42G ...
0
votes
0answers
12 views

Why are samba packages held back while upgrading newly installed system?

I've recently freshly installed Ubuntu 14.04 Server. I allowed updating of packages during the installation process. After initial installation, I've run: apt-get update followed by apt-get ...
0
votes
0answers
19 views

How does 'upgrade packages during installation' affect point release and kernel updates?

I've recently freshly installed Ubuntu Server 14.04, allowing package updates by internet on installation. This was installed from the 14.04 disc image, downloaded before any of the 14.04.1 and ...
9
votes
4answers
25k views

What is the command line equivalent for the update manager?

When I do sudo apt-get update sudo apt-get upgrade Sometimes the Ubuntu GUI Update Manager will still have some items left. e.g. “Complete Generic Linuux kernel”. I know there's also sudo apt-get ...
2
votes
2answers
23 views

Disk space issue after apt-get update

I did a system update with sudo apt-get update and rebooted. After the reboot an error came up showing that i'm out of disk space. was barly able to access my desktop. I checked the space util and ...
0
votes
2answers
576 views

Postgres uninstall: “server.key has group or world access” error

I'm trying to uninstall postgresql, but its really complaining. I suspect something is broken. I'm on 12.04, installed via apt-get. sudo apt-get remove postgresql returns: Reading package ...
0
votes
0answers
10 views

apt-get upgrade for Dokuwiki

I just installed Ubuntu 14.04 LTS desktop and installed dokuwiki via apt. It's on version: 2013-12-08 That's quite old. The latest release is: 2014-09-29d How can I use apt to upgrade the ...
1
vote
2answers
21 views

problem running apt-get and dpkg command in ubuntu14

I am new to Ubuntu and I have used the apt-get and dpkg -i command to install a software via command line quiet a few times. But because of some unknown reasons I am getting some errors, which I ...
16
votes
1answer
28k views

How to install Tomcat 7.0.42 on Ubuntu 12.04.3 LTS?

The sysadmin gave me a virtual machine which I access through terminal. I have root access and it got Ubuntu 12.04.3 LTS. The command apt-cache policy tomcat7 informs: tomcat7: Installed: (none) ...
9
votes
2answers
13k views

Why after fresh Ubuntu 12.04 installation update aren't being installed?

I've installed Ubuntu 12.04 on a computer. Everything is fine without update. Just after the installation, it was showing about 200 MB updates to download. Since then I'm trying to install all the ...
1
vote
1answer
16 views

Ubuntu 14.04, dpkg-reconfigure select option unattended

Via a script I am attempting to configure x11-common. Manually I have been able to run the command: sudo dpkg-reconfigure x11-common then selected Anybody which worked. I would like to ...
0
votes
1answer
13 views

How do I overcome a dpkg error caused by deleting a file in /usr/share/doc-base?

Whenever I run something through APT at the command line I get the following error message: Setting up doc-base (0.10.6) ... Processing 2 added doc-base files... Cannot open file ...
0
votes
0answers
16 views

Change the way packages are downloaded with local repository?

I plan to set up my own custom repository for some Linux software to be used for the local network only (computers on local network to only use that repository). However, there are few things that I ...
2
votes
1answer
23 views

clear situation of python installations with different versions

I have a confusing situation with my python installation on ubuntu. $ python --version Python 3.4.0 $ python2 --version Python 3.4.0 $ python3 --version Python 3.4.0 $ ls -la /usr/bin/python2 ...
0
votes
1answer
68 views

strange code appears in terminal

So I was trying to install openfoam on ubuntu 14.04 and there are two problems I need your help with. One, a strange code appears everytime I run the terminal(I've attached a picture of it). Two, I ...
0
votes
0answers
47 views

apt-get crashed during navis installation, how to repair apt-get?

I was setting up a nagios/nagvis/thruk server on a Ubuntu 14.04 LTE. During the installation the apt-get stucks at this step: [Tue Apr 21 13:59:38.493058 2015] [alias:warn] [pid 19412] AH00671: The ...
2
votes
2answers
2k views

How to resolve that error when I try to install build-essential?

I can't install build-essential on my laptop : It shows error: The following packages have unmet dependencies: build-essential : Depends: g++ (>= 4:4.4.3) but it is not going to be installed ...
4
votes
1answer
83 views

How can I see which packages will be updated from apt?

I see on my server at the login, that a few updates are available. How can I see which packages will be updated on my server without starting the update?
0
votes
2answers
1k views

OpenJDK-7-JRE throws “broken packages” error (14.04 LTS)

I have an application that requires the Java JRE. I decided to go ahead and install the JRE from the repositories. Normally, the only issue I would have with this is it taking forever and a day to ...
1
vote
1answer
31 views

How to prompt the execution of a custom script after a task has been completed

I have created a script called checkrest and I have placed it with executable rights in the /bin directory. The script checks if a restart is required by an application, and if so, it checks which ...
0
votes
0answers
13 views

What is wrong with the iDutch package?

I wanted to try ispell in dutch, so I tried installing idutch, yet it gave me a huge list of warnings. Basically every word in the dictionary contained the illegal character '. Did I use an incorrect ...
0
votes
1answer
19 views

Apt wants to remove ubuntu-mate-desktop

To preface my question, I already know about this question, but it doesn't have any answers (plus it's for an older version), so I'm opening this one, because this is becoming a pretty big issue for ...
1
vote
2answers
25 views

PPA removed and purged but still showing available upgrades

This is on Ubuntu 14.04 (SERVER, so no GUI) Ok so earlier today I was asked to upgrade GCC to GCC 4.9 (current available is GCC 4.8 for Trusty). So following these directions I installed the PPA ...
0
votes
1answer
19 views

Installing Oracle Java SE SDK 8u31 via apt-get

How can I install the Oracle Java SE SDK 8u31 via apt-get on Ubuntu 12.04 (prevcise)? I tried: apt-get install oracle-java8-installer from ppa:webupd8team/java, but it installed 8u45. After ...
0
votes
0answers
29 views

Kernel questions

I'd like to install kernel 4.0.4 on my 14.04. I want to do it mainly for educational purposes. In fact, I want to learn how to install the binary kernel and how to compile it from sources. I found ...
0
votes
1answer
11 views

Using POV-Ray installed via the APT

I installed POV-Ray by running sudo apt-get install povray but now whenever I run: povray Jmol.pov.ini I get the error: povray: cannot open the user configuration file ...
0
votes
1answer
15 views

apt-get upgrade failure on libglib2.0-bin

im having problem updating my ubuntu 12.04 (64 bit) ran below command apt-get update && apt-get upgrade resulted to: Setting up libglib2.0-bin (2.32.4-0ubuntu1) ... rmdir: failed to ...
1
vote
0answers
9 views

sudo apt-get install “libgcc1:i386” fails in Juju install hook but working manually

I am trying to install "libgcc1:i386" through my Juju install hook but the command is failing with the below error: 2015-05-26 08:59:23 INFO unit.wxs/0.install logger.go:40 sudo: unable to resolve ...
0
votes
0answers
8 views

sources.list is broken in Saucy [duplicate]

I'm trying to update the packages on my Ubuntu Server 13.10 (x32) via the following command: sudo apt-get update. But I'm getting the 404 errors like this: W: Failed to fetch ...
0
votes
1answer
396 views

pyvenv vs venv vs python-virtualenv vs virtualenv and python 3

malikarumi@Tetouan2:~$ pip install virtualenv Collecting virtualenv Downloading virtualenv-12.0.7-py2.py3-none-any.whl (1.8MB) 100% |################################| 1.8MB 330kB/s ...