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)

2
votes
1answer
31 views

apt-get seems to be broken

I don't really know what happened, but it seems like my apt-get command in ubuntu is broken. No matter what I do, I cannot use it to either install or uninstall anything. Right now, I am for example ...
1
vote
0answers
34 views

error will do sudo apt-get -f install

I can't do the command sudo apt-get -f install its always ends with error code 1. This is the output when I run the command. emil@ubuntuServerEmil:~$ sudo apt-get -f install Läser paketlistor... ...
1
vote
1answer
251 views

E: Unable to locate package php5-imap

I am trying to install PHP imap on Ubuntu Server 16. Following the steps on: php5-imap on Ubunut 14.04 is not enabled $ sudo apt-get install php5-imap E: Unable to locate package php5-imap
0
votes
0answers
12 views

Upgrade dependencies while upgrading a package not included in a distribution

I am using a machine with Ubuntu 12.04 LTS and don't want to upgrade the OS. However I wish to upgrade a specific package to the latest version. The package in point is spyder: The version ...
1
vote
0answers
152 views

Ubuntu 16.04 LTS Server temporary failure resolving

Freshly install Ubuntu 16.04 LTS SERVER tty1 26 packages can be updated 12 updates are security updates. When I try to use sudo apt-get update This shows up Err:1 http:// ...
1
vote
0answers
49 views

Ubuntu 14.04 freezes after login if additional display is connected to my laptop

Ubuntu freezes after login if I have connected additional display to my laptop. Otherwise, I can normally boot without additional display. It also works fine if I connect monitor after I'm already in ...
0
votes
1answer
42 views

Bleachbit error messages

When I run Bleachbit Root through the terminal there is a message telling me that I do not have Administrative privileges, although I installed Bleachbit Root as Administrator. It does work and I can ...
0
votes
1answer
28 views

Is there a way to set up some sort of flag or tag to a command instead of referring to its full name in terminal?

I'm trying to figure out if theres a way to rename or use some sort of tag that points to a package instead of having to write the whole name of the package in the command line? because some packages ...
0
votes
1answer
76 views

Can't install Webmin from sources.list getting Hash Sum mismatch in 16.04 LTS

Installing Webmin echo "deb http://download.webmin.com/download/repository sarge contrib" > /etc/apt/sources.list.d/webmin.list cd /root wget http://www.webmin.com/jcameron-key.asc apt-key add ...
1
vote
1answer
24 views

apt-get autoremove does not see dependencies of a removed package?

I had ubuntu-sdk installed, /var/log/apt/history.log has to say this about it: Commandline: apt --no-install-recommends install ubuntu-sdk Install: python3-simplejson:i386 (3.3.1-1ubuntu6, ...
-3
votes
0answers
17 views

What is ^(caret) wildcard in apt-get a match for? [duplicate]

I installed lamp stack by using sudo apt-get install lamp-server^ after having it successfully installed i want to know what was the purpose of ^ in the command.
-1
votes
0answers
31 views

download an apt file

i've just installed the Ubuntu 16.04 and trying to download a file i'm getting these two messages: xenial-partner and this error message how am i gonna solve this?! thanks in adnvance!
0
votes
0answers
49 views

apt-get install “maven” or “maven3”

I need some clarification on how to install the latest version of maven. When I run this command on a new Ubuntu 16.04 server machine (I haven't installed maven yet) I get the following message: ...
0
votes
2answers
30 views

Script to enable “source” downloads in a deterministic manner

I wrote a couple of scripts to help users pull their current kernel source package, apply some patches of mine, and build it as a .deb package with make-kpkg. One of the few steps that requires manual ...
0
votes
1answer
32 views

pip and apt-get install commands [duplicate]

I would like to ask what the command pip does? Does it install a new application? If the answer is 'yes', so why do we have to type "apt-get install" after using "pip"?
1
vote
0answers
51 views

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing

Error: autoroot@autoroot:/etc/apt/sources.list.d$ sudo apt-get install python-xlib [sudo] password for autoroot: Reading package lists... Done Building dependency tree Reading state ...
5
votes
1answer
31 views

How to reverse '-proposed' channel package upgrade?

I have an Ubuntu GNOME 16.04 with GNOME 3.18 64-bit VM, and in that VM I needed to test something in the xenial-proposed channel so I activated it in the software-properties-gtk, ran sudo apt-get ...
0
votes
0answers
17 views

Apt is unsure whether a package is or isn't installed when doing a command-not-found

I wanted to install python virtualenv for python3.3+, and tried this command: $ pyvenv-3.4 The program 'pyvenv-3.4' is currently not installed. You can install it by typing: sudo apt-get install ...
1
vote
0answers
84 views

How to install Boost 1.60 on 12.04 LTS?

I am trying to work out how to install Boost 1.60 under Travis CI, which runs Ubuntu 12.04 LTS Server Edition 64-bit. I tried adding the debian-sid repo as an apt source so I could install ...
-1
votes
1answer
44 views

New software can't be installed because there is a problem with the software currently installed--trying to install Loggerpro for Ubuntu

When I try to install loggerpro, this is the message I get. I looked on the forum and tried the following commands: sudo apt-get install --reinstall deconf and then it says: unable to access ...
0
votes
2answers
146 views

How to remove php 5.6

I just went ahead and added PHP7 to my server following a guide by using ondej's PPA. Now I want to remove the old php so obviously I did sudo apt-get remove --purge php5 and ti seemed like everything ...
-1
votes
1answer
49 views

Unable to install Tomcat 7 on Ubunu 12.04 [duplicate]

I am trying to install Tomcat 7 on my Dell Dimention 3000 running Wubi 12.04 (not a server). I found instructions here: http://www.liquidweb.com/kb/how-to-install-apache-tomcat-7-on-ubuntu-12-04/, but ...
1
vote
1answer
94 views

Adding a PPA to add-apt-repository

I'm trying to add the ubuntu-toolchain-r/test with: sudo add-apt-repository ppa:ubuntu-toolchain-r/test But it comes back with: Cannot add PPA: 'ppa:ubuntu-toolchain-r/test'. Please check that the ...
1
vote
0answers
27 views

apt-get install rsyslog fails due to possible version mismatch: how to fix/report?

I ran this code in a vagrant box (which hasn't changed in weeks) yesterday with no problem. Today it fails: add-apt-repository ppa:adiscon/v8-stable && apt-get update Contains the ...
0
votes
0answers
11 views

remove Duplicate sources.list [duplicate]

How to remove Duplicate sources.list entry? Can anyone help me fix this I am running elementary OS but it should work like Ubuntu Duplicate list
3
votes
1answer
35 views

Why doesn't Ubuntu need to download package that you have previously had installed on your system

When I install, for example, Chromium, for the first time, it takes a while and is clearly getting the files from the web servers. Then, I remove it, it assures me that it was removed. Then, when I ...
-1
votes
0answers
40 views

Ubuntu Dedicated Server can't install anithing (apt-get) because various errors

Hello guys yesterday I unistalled mysql server because I bought a dedicated server and it was already installed but host from I bought it didn't gave password for root access. so I decided to delete ...
-1
votes
2answers
212 views

Updated to VBox 5.0.20, now cant install guest additions [closed]

I cloned a fresh copy of kali2, did apt-get update. apt-get dist-upgrade(installed fine). Tried with and without installing dkms. (dkms is installed on host(ubuntu) before virtualbox upgrade). Then ...
0
votes
1answer
50 views

How to uninstall apt-get?

Since the package manager deals with removing packages, what can be done to remove the package manager (and then install a custom built version of apt-get for example)?
0
votes
1answer
22 views

Unable to import PostgreSQL database in Ubuntu

I need one help i need to import my database file to ubuntu using PostgreSQL.When i am checking my database its looking like below. When i am trying to import my database file using the following ...
1
vote
0answers
13 views

Why does Ubuntu package node.js packages?

I've been looking through this list of node.js packages provided by Ubuntu, and it's confused me a little. Why do any of these exist beyond node.js and npm itself? The majority of these packages ...
0
votes
1answer
41 views

Help error apt-get

sudo apt-get clean && sudo apt-get update Atingido:1 http://download.virtualbox.org/virtualbox/debian lucid InRelease Atingido:2 http://br.archive.ubuntu.com/ubuntu xenial InRelease ...
0
votes
2answers
35 views

Difference between 2 commands

What is the difference between 1: sudo add-apt-repository ppa:ppaname & 2: sudo -E add-apt-repository ppa:ppaname When I was using ubuntu 14.04, I had to use sudo -E add-apt-repository ...
1
vote
2answers
543 views

(K)Ubuntu 16.04 can't install mysql server unmet dependencies

When I try to sudo apt-get install mysql-server I keep getting following error: The following packages have unmet dependencies: mysql-server : Depends: mysql-community-server (= ...
0
votes
1answer
81 views

MongDB installation failed on Ubuntu 16.04

I followed instructions given on the official MongoDB website (https://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/) and I get this error when trying to install MongoDB. How to fix this ...
0
votes
1answer
25 views

How to make Apt/Aptitude prefer a more recent virtual package over a real one

I've recently built a package which provides multiple virtual ones, more specifically snmp which provides libsnmp-base, libsnmp30 and so on: Version: 5.8~git20160427.8d07349f-14 Depends: ... ...
0
votes
0answers
14 views

Installing cuda 6.5: likely some package issues

So I had successfully install Cuda 7.5. Turns out I needed something pre 6.5, and I was having difficulty installing it. Seemed like no matter what i did it stayed there, so I did a good search for ...
-1
votes
1answer
64 views

Supreme error while updating to KDE on Ubuntu 16.04 [duplicate]

So here's the problem. I've deleted LibreOffice, and installed OpenOffice instead. All good there. Then, I've installed KDE Plasma. Looks like this guy has a thing for LibreOffice and KDE-TELEPATHY. ...
0
votes
2answers
48 views

Ubuntu 15.04 LTS tablet cannot parse or open package lists

I just got an Ubuntu Tablet M10 through BQ (see Ubuntu site for details). I am trying to get things set up so I can properly use the tablet. I want to get wine installed so I can use Amazon Kindle ...
0
votes
1answer
82 views

Samba won't install becuase of broken packages

I am running Ubuntu Server 14.04.4 and I didn't install Samba with the original OS setup. I would like to install it now but I keep getting a error about broken packages. It appears that the main ...
0
votes
0answers
18 views

Problem upgrading unity mail - dpkg error

I was trying to update unity mail but it kept failing saying it couldn't delete packages. I got the following error when I ran sudo apt upgrade and sudo apt install unity-mail Errors were encountered ...
0
votes
1answer
225 views

Is the Openstack Cloud Installer broken? [duplicate]

I am running Ubuntu 16.04 and am up to date. When I follow the instructions here for a single machine installation: Openstack Single Installer Guide Here is the sequence: Add the PPA repo ...
0
votes
0answers
11 views

Could not initialize the package information. An unresolvable problem occurred while initializing the package information [duplicate]

Recently I had an update prompt while working on my Dell Vostro Machine with Linux(Ubuntu) 12.04 LTS, after complying with the same when the package was getting downloaded, suddenly an error message ...
2
votes
1answer
59 views

python and package manager are broken

After upgrading Ubuntu from 15.04 to 16.04, python and package manager are broken. When running apt-get update I receive the message use apt-get -f install, but when running this command I get ...
0
votes
1answer
23 views

apt-get install fails because of libmagic1

my apt-get install is failing because of following error with respect to libmagic1. My Ubuntu version is 12.04 LTS. Can you please help if anyone aware of it? I need to fix this to update some ...
0
votes
1answer
146 views

Unable to locate pipelight-multi package [duplicate]

sudo apt-get install --install-recommends pipelight-multi Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package pipelight-multi I got ...
0
votes
0answers
9 views

Can't install package 'monit' [duplicate]

sorry for the noob question but I can't get what is wrong with my setup. When I run sudo apt-get install monit I see the following output: Reading package lists... Done Building dependency tree ...
0
votes
0answers
20 views

How to make pre-depends install packages in debian packaging

I am building a package that depends on package X, Y, Z. So i put them into the control file und der Pre-Depends: X, Y, Z However, this doesn't install the packages it just says my package can't ...
1
vote
1answer
36 views

“loop involving service”: apt-get install breaks dpkg

One apt-get install went bad, now every apt command results in it trying to get apache2 into a consistent state, which of course crashes. I'm not sure that the package that did it matters, but it was ...
1
vote
0answers
18 views

Cant install libgl1-mesa-glx:i386

I was trying to get wine to work and end up screwing up the system. Steam used to work but now it keeps saying I need libgl1-mesa-glx:i386 which I cant get it to install. I tried many ways and spent ...