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
0answers
14 views

Problem in invoke sudo make install in python script

I have written the following code to configure yara package in my script, but when it call sudo make install, python give me error. How can I fix it? def yara_installation(self): os.chdir("...
0
votes
0answers
9 views

Cannot connect to internet or sudo apt-get in Ubuntu Server

I installed Ubuntu Server on an old windows laptop. I have my computer connected through an ethernet and I absolutely cannot get anything to work through sudo apt-get. Im very new to Linux, but I ...
2
votes
1answer
43 views

Can't install Programs Through APT

Since I last reinstalled ubuntu 16.04 I am having issues using apt. When I try (ubuntu-desktop (fixing another error), unity-tweak-tool etc) I get the error saying that there's unmet dependencies ...
0
votes
2answers
36 views

Installing ubuntu packages within python script

I want to install following packages within my python script : python-pip python-sqlalchemy mongodb python-bson python-dpkt python-jinja2 python-magic python-gridfs python-libvirt python-bottle ...
1
vote
2answers
69 views

apt-get install not working [E: Read error - read (5: Input/output error)]

I have an old problem (since a week) with apt-get which prevents me from installing and upgrading packages. I have Ubuntu 16.04. I am receiving this message on the top bar: Error: opening the cache (...
0
votes
0answers
24 views

Unable to install any package with apt-get

When I am trying to install git using apt-get. I am using a Pre-Configured VM machine in my laptop which is configured for hadoop (CDH) environment. I got it from my coaching institute. It is Ubuntu ...
1
vote
1answer
33 views

How to install Python 3.4.5 from apt?

I have Python 3.5 installed.I previously installed Python 3.4 from source and managed to uninstall it somehow. Now if I try to install Python 3.4 through apt-get install python3.4 , it returns ...
0
votes
0answers
13 views

Python problem with Let's Encrypt

When trying to use the following command to setup my certs: ./letsencrypt-auto --apache -d example.com I get this error from Python: dpkg: dependency problems prevent configuration of python-...
0
votes
0answers
12 views

Can't access sudo apt update and sudo apt upgrade [duplicate]

After I Update and Install Ubuntu Software Like this enter image description here I can't process apt update, and get this error E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource ...
0
votes
0answers
7 views

Having issues with mime-support and apt

This error is being reported with any instance of apt or apt-get that I run: package mime-support 3.59ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error ...
-1
votes
0answers
14 views

How to trick apt-get into believing a package version is different?

The package I want to upgrade "is already the newest version". But I am using a previous version of it and what to see what happens if I upgrade it now. This package comes preinstalled on Linux ...
0
votes
1answer
11 views

Unable to update any software packages in VMWare Ubuntu

I want to understand why I am unable to install any packages. I am trying to install hadoop, but for that Ubuntu 14.04 & Java 7 or above are prerequisite and I cannot install them: sudo apt-get ...
0
votes
0answers
37 views

No GUI after upgrade in Kali linux [on hold]

I have upgraded my system yesterday using synaptic. I have continued installing even though some files were missing after download. Then after restarting, there is no GUI. The screen stops at Kali ...
0
votes
0answers
22 views

Can not update Restricted extras

The message that I receive when trying to play any audio file: Required plugin could not be found Videos requires to install plugins to play media files of the following type: MPEG-1 Layer ...
0
votes
0answers
12 views

Software center error, tried recommended commands, no dice [duplicate]

Software center just closes, error message sent. Here is what I am left with. Thanks in advance. rustybucket@rustybucket:~$ sudo apt-get autoclean [sudo] password for rustybucket: Reading package ...
0
votes
0answers
8 views

failed to remove dnscrypt-proxy

I am trying to remove dnscrypt-proxy from my system I tried to run sudo apt-get remove dnscrypt-proxy and then i get this error Removing dnscrypt-proxy (1.6.1-1pmo3~xenial) ... Failed to stop ...
1
vote
1answer
27 views

Webupd8 Oracle Java8 on rpi missing javaws.policy

I'm trying to install Oracle java8 on my raspberry pi 3. My script follows the instructions at http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html. I tried both the option of ...
0
votes
0answers
27 views

Avoid updating system while installing Ubuntu 14.04

I'd like to install Ubuntu 14.04 with Preseed out of a local archive. While installing, the routine wants to enter directory "trusty-updates" and can't find it just because it is not in the archive. ...
0
votes
0answers
33 views

Ubuntu 16.04 Error Processing archive mysql-common

I've a problem when I'm tried to run apt-get update, error appears as follows: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run '...
1
vote
1answer
21 views

How can I install php5-mcrypt

When I try to use sudo apt-get install php5-mcrypt to install php5-mcrypt, I receive the following error. I used sudo apt-get install lamp-server^ to install the php5 ahmad@ubuntu:/var/www/html$ sudo ...
0
votes
0answers
21 views

Unable to downgrade GNOME from 3.20 to 3.18

I'd like to downgrade GNOME because 3.20 on my Ubuntu 16.04 is a mess. There are countless sources on the Internet (including askubuntu) saying how to do this, and it's always: sudo ppa-purge ppa:...
1
vote
0answers
25 views

How do I install an older version of Google Chrome?

I'm not to familiar with Ubuntu, but I need to install the previous version because the current one has some bugs. I went to here and found the version that I wanted: http://www.ubuntuupdates.org/...
0
votes
0answers
21 views

sudo apt-get install virtualbox downloading the android studio [duplicate]

I am using kubuntu and I used this command yesterday to download android studio sudo apt-get install android-studio and then I saw it installing the same file android-studio zip file that I have ...
0
votes
2answers
15 views

Package [zfsnap] installed incorrectly - what's what?

On Ubuntu Xenial server, installing zfsnap exists with error status 0. However, the package isn't properly installed: $ zfsnap zfsnap: command not found $ $ sudo dpkg -p zfsnap dpkg-query: package '...
0
votes
0answers
16 views

At Login says security update and package upgrade available but unable to install [duplicate]

When i login i see 8 packages can be updated. 7 updates are security updates. When i try apt-get update Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease Hit:2 http://us.archive....
0
votes
0answers
14 views

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

Yesterday,I ran the command sudo apt-get autoremove pythonby mistake,and Toady something bad happened when I startup my machine.My desktop missed.Therefore,I run sudo apt-get install ubuntu-desktop,...
0
votes
1answer
14 views

How to get a list of all packages installed from PPAs even for PPA repositories that may have been removed

I've already seen this question: How to list all the packages which are installed from PPAs? It only works for packages installed from PPAs where the PPA repository is still added to the system. Is ...
0
votes
0answers
20 views

Upgrade to 15.04 didn't finish correctly: how to resolve failed issues? [on hold]

I upgraded Ubuntu from 12.04 to 15.04, and during the upgrade - I noticed that the setting of changing keyboard's language direction (from L2R to R2L) failed, along with the upgrades/installation of ...
0
votes
2answers
28 views

Verifying installation: 'apt-cache policy' vs 'which'

I have searched for every variation of this question for days and I have not been able to find a clear explanation therefore I come to the collective knowledge here in the hopes of resolving my ...
1
vote
2answers
31 views

Accidentally deleted current kernel [duplicate]

I've been very stupid and while trying to free space on /boot, I think I've accidentally deleted my current kernel. How it happened: >>uname -i linux-image-extra-4.4.0-24-generic now uname ...
0
votes
0answers
16 views

apt does not show package that is available in my repository

I'm running a 64 bit proc, and I'm trying to install lib64stdc++6 using apt-get. I have the repository deb http://ftp.fr.debian.org/debian/ jessie main and it does contain http://ftp.fr.debian.org/...
0
votes
0answers
30 views

sudo apt-get update issue for Ubuntu 16.04 [duplicate]

I am trying to use the sudo apt-get update command through the terminal and I am receiving the following message at the end: W: The repository 'cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 ...
1
vote
0answers
18 views

schroot and apt-get

This a question to clarify my different searching. I have an Arm64, to be precise aarch64. Which is missing certain number of packages. I tried building from source but did not manage for all. ...
0
votes
1answer
91 views

dpkg: error processing (--configure) on Ubuntu 16.04 live USB

I'm using Ubuntu 16.04 on a live USB, under a intel NUC. I've used YUMI for creating the live USB and I have other SO's as lives on the USB. When I boot the USB, I get a pop up error, that says ...
0
votes
0answers
5 views

How to install php with our desired version [duplicate]

I am using ubuntu 16.06lts. Whenever i try installing php using sudo apt-get install php, php7.0 is getting installed. But i want php5.0 to work. I tried using sudo apt-get install php5.0 and it ...
5
votes
1answer
40 views

How to install new versions of G++ that use the corresponding C++ standard library?

I am trying to install multiple versions of the g++ compiler for testing purposes. I would like to be able to install g++ 4.9.3,5.1.0, 5.2.0, and 6.1.0. I know that I can do sudo add-apt-...
0
votes
2answers
39 views

Problems fully updating my system [duplicate]

Every time I try updating my system with sudo apt-get update, I'm prompted with this: E: Failed to fetch http://ppa.launchpad.net/pasgui/ppa/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not ...
0
votes
1answer
17 views

I started trying to install MariaDB MySQL. Now I have a mess, looks like I can't install packages now

First of all, I don't know very much about Ubuntu. It's Ubuntu 16.04 Server (64 bits). I needed to install a MySQL database, using apt-get install mariadb-server. It worked, it's been installed but ...
0
votes
0answers
8 views

Set the fastest mirror from preseed

So, choosing the best mirror in the /etc/apt/sources.list can be simply done by removing the country prefix before "archive.ubuntu.com" (i.e. "us."). For a new installation, it should be possible to ...
0
votes
1answer
17 views

apt-get upgrade service unavailable 503 [on hold]

I try to upgrade my ubuntu, but get an error message: Failed to fetch http://fi.archive.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.157.2_all.deb 503 Service Unavailable ...
0
votes
1answer
65 views

I can't install softwares after failed removal of Python 3 (python3-pkg-resources)

I have two python in my computer 2.7 and 3.4. I stupidly assumed that 2.7 is the default python in ubuntu and tried to uninstall python3 using this command sudo apt-get remove python3 While in the ...
1
vote
1answer
24 views

Installing a previous version of proftpd on ubuntu

I am trying to install a previous version (1.3.5) of proftpd on ubuntu to exploit an inherit vulnerability and following this thread. For checking what versions are available to apt-get, I ran apt-...
0
votes
1answer
37 views

How do I fix this Apt error? [duplicate]

When I try updating my system this error pops up. Can anyone help? E: Failed to fetch http://ppa.launchpad.net/pasgui/ppa/ubuntu/dists/xenial/main/binary-amd64/Packages
1
vote
1answer
34 views

How to fix the “Unable to calculate upgrade” issue from command line when upgrading from 12.04 to 14.04?

I'm running Ubuntu 12.04 on DigitalOcean server. I would like to upgrade it to later releases (12.04->14.04->16.04), but fail to do so due to the mentioned mistake. DigitalOcean provides a tutorial ...
0
votes
1answer
36 views

Error on sudo apt-get update [duplicate]

Please help me recover this error. I am using UBUNTU 16.04 LTS and I am suddenly getting this error while I do sudo apt-get update from my terminal. It fails to update any existing packages too. E:...
0
votes
1answer
10 views

System failure during aptitude upgrade resulted in broken package: No such file or directory: '/usr/lib/python3.5/distutils/filelist.py'

My system was upgrading when an error ocurried and it rebooted. Once I got into busybox, I had to run fsck /dev/sda1 and confirm each correction. So far, so good. When I got Ubuntu back, I tried to ...
0
votes
0answers
24 views

Can't update any software in 14.10 and can't install any software packages by terminal or from software center [duplicate]

I can't update or upgrade as well as can't install any software in Ubuntu 14.10. When trying to install from terminal I receive the same error as via command line: Updating cache… Then after ...
0
votes
0answers
32 views

upgrade protobuf 2.6.1 to 3.0.0-b3?

I'm testing tensorflow, which is based on protobuf 3.0.0-b3/30.0-b2. But current Ubuntu 16.04 repository comes with protobuf 2.6.1 ... So when I tested my tensorflow code, I run into this error ...
1
vote
0answers
14 views

is manually installed better than auto installed with regards to dependencies?

There is a VERY good question and answer here: Should I use tasksel, tasks in APT or install regular metapackages? (which incidentally I got to from here: What's the easiest way to set up a LAMP ...
1
vote
0answers
34 views

Apt-get seems to be broken. Cannot install anything

How can I fix this? rimmer@local:/$ sudo apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically ...