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
2answers
53 views

Unable to install libmotif4

While installing dependencies for Oracle 11g setup on Ubuntu, I got the following error: Package libmotif4 is not available, but is referred to by another package. This may mean that the package is ...
0
votes
0answers
10 views

Can I configure unattended-upgrades to reboot only for urgent issues?

This is how to configure unattended-upgrades to reboot the machine if needed: Unattended-Upgrade::Automatic-Reboot "true"; (in /etc/apt/apt.conf.d/50unattended-upgrades ) But is there no way to ...
1
vote
1answer
24 views

I am trying to use kivy on python with Pycharm

https://github.com/kivy/kivy/wiki/Setting-Up-Kivy-with-various-popular-IDE's I am following the instructions on this website. I install the linuxbrew and I pass the first and second part. brew ...
-1
votes
0answers
53 views

nvidia-current vs ubuntu-drivers for graphics card?

The Problem: I recently installed Ubuntu and I realized I'm probably not using the Nvidia drivers. I found that I could get the right driver via "Software and Updates," but wanted to learn how to do ...
0
votes
1answer
35 views

PHP not running on Apache ARM

I have installed ubuntu on a Beaglebone black. apache2 -v Server version: Apache/2.4.18 (Ubuntu) Server built: 2016-04-15T18:00:57 php -v PHP 7.0.4-7ubuntu2 (cli) ( NTS ) Copyright ...
3
votes
0answers
102 views

GRUB shows kernels from previous ubuntu version

I have just updated Ubuntu to 16.04 version and when I boot, grub shows the kernels from the previous Ubuntu version. How can I delete them? (not only in the grub list but to actually free that space ...
0
votes
2answers
40 views

unable to install youtube-dl

Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: youtube-dl 0 upgraded, 1 newly installed, 0 to remove ...
0
votes
1answer
113 views

Apt-get not working after attempting to install kde desktop [duplicate]

So, I tried to install the KDE Desktop in Ubuntu, but it failed (I couldn't grab output for here). Now whenever I try to use apt-get , it says that it fails, and to use sudo apt-get -f install . ...
0
votes
0answers
13 views

Hide hold back package from being listed in software updater and apt

I'm running 16.04 but downgraded the gedit package from 3.18.3 back to version 3.10.4 because of the new ugly and badly usable design, following this great answer by @Videonauth. His script installs ...
0
votes
0answers
156 views

permission error when installing ttf-mscorefonts-installer

I wanted to install the Microsoft fonts on 16.04 and ran the command below, but there are many errors (or only warnings?) about that the user _apt has no permissions on the downloaded .exe files. ...
0
votes
1answer
71 views

Problem installing package git-all

I am trying to install git-all using the following commands: sudo apt update sudo apt install git-all and I get the following results: jonathan@Aristotle:~$ sudo apt install git-all Reading ...
0
votes
2answers
27 views

Why 'apt-get install' acquires /var/cache/apt/archives/lock during download

The apt-get upgrade and apt-get install <packagename> commands acquire /var/cache/apt/archives/lock while both downloading and installing. I think it should be possible to download packages ...
0
votes
1answer
24 views

How to update a manually installed software package properly (here: Simplenote)?

I have installed Simplenote 1.0.0 for Ubuntu by downloading the .deb file and using the command line as explained here. As there is no ppa for this app, a notification now explains that I could update ...
0
votes
0answers
245 views

Ubuntu 16.04 apt-get update doesn't work with local repository

I have local repository of xenial in /CDs/ubuntu directory. My sources.list file: deb file:/CDs/ubuntu xenial main restricted universe multiverse Results of update: #apt-get update Get:1 ...
3
votes
2answers
222 views

Chrome - apt-get update Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Packages.bz2 Hash Sum mismatch

I'm running Chrome 50.0.2661.102 (64-bit) on Ubuntu 16.04 x64 and today sudo apt-get update failed with the following message: ... Err:28 http://dl.google.com/linux/chrome/deb stable/main amd64 ...
3
votes
0answers
466 views

Ubuntu 16.04 updating Google Chrome gets weak digest and hash sum mismatch messages

So for a while now whenever I run sudo apt-get update I have been getting some output regarding google-chrome similar to: W: http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg: Signature ...
2
votes
1answer
28 views

How to fully remove QEMU?

I have QEMU installed but as I don't really use it and it's recently had lots of security vulnerabilities discovered in it so I would like to fully remove it. I installed it with sudo apt-get install ...
0
votes
0answers
43 views

How to remove all garbage packages with aptitude

I am getting a big garbage package list obtained with the command: aptitude search ~g or aptitude search ?garbage (These commands Select packages that are not required by any manually ...
0
votes
1answer
71 views

Error : Running add-apt repository ppa:

I am using Ubuntu 16.04 and I'm running this command: sudo add-apt-repository ppa:paolorotolo/android-studio and I'm getting this error: I've even tried reinstalling ca-certificates, but after ...
1
vote
2answers
50 views

Install oracle-java7-installer showing error

I tried running the command in Ubuntu 16.04: sudo apt-get install oracle-java7-installer oracle-java7-set-default but it's showing an error: How can I install this package?
2
votes
1answer
40 views

How to install Estru3D - Structural Analysis Software?

I had problems installing Estru3D. It requires Gambas3 to be installed as a prerequisite. But it doesn't work with the newest Gambas3 installed in Ubuntu 16.04.
0
votes
0answers
19 views

is a file in /etc/network or in /etc/network-manager misconfigured?

Each time when I want to run sudo apt-get update then the system stucks and only following line appears : 0% [connection with dlink.com (12.130.207.110)] [connection with dlink.com:1024 ...
-1
votes
0answers
17 views

During installing LAMMPS , when we reached at command- lammps-daily < in.lj bash: in.lj: No such file or directory meassage comes in terminal

During LAMPPS installation after following commands: sudo add-apt-repository ppa:gladky-anton/lammps sudo apt-get update sudo apt-get install lammps-daily when i run, lammps-daily < in.lj ...
2
votes
1answer
47 views

Can't purge old kernels (dependency problems), but /boot is out of space

I'm running Ubuntu 14.04.4 LTS, and I'm trying to install a new package using apt-get. Unfortunately, whenever I try I get messages like: The following packages have unmet dependencies: ...
1
vote
0answers
78 views

Can't update Ubuntu 14.04 LTS

Sorry, there are thousands of posts with apt-get problems due to old repos. But 14.04 LTS is supposed to be a long term support release. When we try to install anything, or run "apt-get update" we ...
1
vote
1answer
30 views

How to cleanup themes/icons that I messed up

I've been playing a bit too much with my custom themes/icons. I started by copying them from /usr/share/themes (/icons) to ~/.themes (.icons). Then afterwards decided to delete the original files to ...
0
votes
1answer
60 views

How to downgrade smbclient

I'm trying to downgrade smbclient as is no longer working with backuppc. I have followed the instructions in this post How to downgrade packages on Ubuntu? but it doesn't seem to work. I ran sudo ...
0
votes
0answers
113 views

Hash Sum Mismatch that won't go away

I am not a very advanced user of Ubuntu. So the question may sound a bit naive. I recently got a new laptop: HP Probook G3 440. I have tried installing many previous versions of Ubuntu. They run ...
0
votes
2answers
76 views

Gnome-shell can't install - broken packages [duplicate]

I am trying to install gnome-shell but it shows me an error: $ sudo apt-get install gnome-shell ... Some packages could not be installed. This may mean that you have requested an impossible ...
0
votes
2answers
609 views

Unable to install MariaDB on Ubuntu 16.04 - unmet dependency

Here are the steps sudo apt-get install software-properties-common sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 $ sudo add-apt-repository 'deb ...
1
vote
1answer
123 views

MySQL installation on Ubuntu 16.4: no root password prompt and no `mysql` folders created

My server hard disk crashed and unfortunately my MySQL backup (which occurs once a day) was missing some important data, but I have the files from the folder /var/lib/mysql. On my new installation on ...
3
votes
0answers
70 views

Xenial with 4.4 kernel still requiring reboots

I'm seeing a 16.04 system with a 4.4 kernel requiring reboots upon upgrading the kernel. I had thought that with the 4.x kernel no more reboots would be required due to the hot patching support that ...
3
votes
0answers
42 views

List all packages available (and/or installed) from a specific source

How can I list all package names and their versions available from a specific package source (official repositories, PPAs or other repositories) ? Also, how can I filter only the installed packages ...
0
votes
0answers
17 views

ubuntu - prestage kdump-tools answers when installing package

When doing apt-get install kdump-tools on Ubuntu, there are 2 prompts that appear: one asking if kexec should handle reboots, if kdump should be started at boot I think. My question is on how ...
0
votes
1answer
31 views

apt-get upgrade always hangs at same percentage

I am currently trying to ugprade my server system using apt-get update && apt-get upgrade -y. However, the upgrade process always starts to hang at exactly 31%. First, I suspected a problem ...
-1
votes
2answers
32 views

permission denied to var/lib/dpkg [duplicate]

Following error output on apt-get install -f: E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you ...
0
votes
1answer
44 views

apt full-upgrade versus apt-get dist-upgrade

In accordance with manuals: apt has parameter full-upgrade and apt-get has dist-upgrade. It is same command? Btw, what is officially recommended command in Ubuntu 16.04? Apt or apt-get?
-1
votes
0answers
33 views

File installer broken (.deb broken) [closed]

Whenever I try to install or purge something I get this: E: The package vyprvpn needs to be reinstalled, but I can't find an archive for it. I have a chromebook with crouton and unity on it. My ...
0
votes
1answer
65 views

running apt-get install nvidia-current wants to downgrade the driver

When I run sudo apt-get install nvidia-current I get this: The following extra packages will be installed: libcuda1-304 nvidia-304 nvidia-opencl-icd-304 The following packages will be REMOVED: ...
1
vote
2answers
78 views

Error Using “sudo apt-get update”

I got the following error while using the sudo apt-get update command. :~$sudo apt-get update /etc/sudoers.d/90-cloudimg-ubuntu: syntax error near line 1 <<< sudo: parse error in ...
-1
votes
1answer
38 views

perfBroken dependencies in insralling opencv

I am receiving this error again and again. At the end, getting it has already installed. Please suggest how I can fix this. I tried all solutions mentioned on this question but got no solution. ...
0
votes
0answers
11 views

How do I fix malformed line 58 in source list (messed up the “fixing”)? [duplicate]

I'm very new to this, and very confused. I am getting an error that says this: Malformed line 58 in source list /etc/apt/sources.list (dist parse) The list of sources cannot be read. I then tried ...
6
votes
2answers
931 views

Can not install 'openjdk-9-jdk' because it tries to overwrite file aready included in 'openjdk-9-jdk-headless'

I'm running Ubuntu 16.04 Xenial desktop, 64 bit, and wanted to install openjdk-9-jdk (Java 9 development kit). The version available from the universe repository is 9~b114-0ubuntu1. Running the ...
0
votes
0answers
41 views

How to install gfortran 5 on Ubuntu 14.04

I want to install gfortran 5. As per how do I install gfortran, I tried sudo apt-get install gfortran but it installs 4.8.4 gfortran compiler. I searched and found this. When I wrote, sudo ...
0
votes
0answers
20 views

also unable to upgrade from 15.10>16.04 because of apt

I cannot get past " apt-1.0.10.2ubuntu2 not installed". Been reading for 2 days, tried everything I can find including all this upgrading from 15.10 to 16.04 apt not installed, downloaded ...
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
230 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
138 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:// ...