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

Help! I can't install anything because of subprocess error [SOLVED]

I don't know what happened but suddenly with no reason no apps and packages could get installed. When i want to install a package with sudo apt-get install <package> I get this error: ...
25
votes
1answer
10k views

How do I install the latest version of Git with apt?

I read about a security flaw in Git, which was fixed in version 2.2.1. I currently have Git 2.1.0 on my system (Ubuntu 14.10), and tried to reinstall it with apt. However, apt told me that I currently ...
14
votes
3answers
6k views

apt-get or aptitude equivalent to yum whatprovides

Is there an equivalent to the yum "whatprovides" option in apt-get? For example on CentOS yum whatprovides /usr/share/gdm/themes/TreeFlower/background.png Tells me ...
1
vote
0answers
28 views

run sudo apt-get update and get error

Error message: Err:7 http://archive.canocical.com xenial InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) Fetched 14,7 kB in 1s (12,3 kB/s) Err:7 ...
0
votes
1answer
73 views

E: Sub-process /usr/bin/dpkg returned an error code (1) when installing libmariadbclient-dev in ubuntu 14.0.3 LTS

I have been trying to install mariadb on Ubuntu 14.04 I installed it some 4 months back, following a tutorial from mariadb website. I typed the following commands : sudo apt-get install ...
0
votes
0answers
16 views

Failed update 14.04

When I tried to update my system, a message appeared Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB] Ign http://ubuntu.retrosnub.co.uk trusty InRelease ...
1
vote
1answer
29 views

Skip apt-get update

After punching in sudo apt-get update everything starts updating and stops at 0% [Connecting to mega.nz (154.53.224.162)]. Mega.nz is banned in my country(Kazakhstan) and I believe that's why I can't ...
0
votes
1answer
39 views

broken owncloud php + repository

Yesterday I failed to successfully install owncloud on my ubuntu desktop. The current issue that I am facing is when I go to my owncloud page I get the error: PHP is configured to populate raw post ...
0
votes
2answers
264 views

Cannot install build-essential on ubuntu 16.04 [closed]

I am trying to install build-essential package on Ubuntu 16.04 (Xenial Xerus) but there is a dependency issue. root@server:~# apt-get install build-essential Reading package lists... Done Building ...
0
votes
0answers
11 views

ZSH - Packages cannot be authenticated (16.04) [duplicate]

I decided to try out a new shell program, thought i'd install ZSH... however i'm can't authenticate zsh-common zsh via apt get. My paranoia tells me not to install anything without auth and I've never ...
0
votes
1answer
570 views

How to fix error W: Target Packages (main/binary-amd64/Packages) is configured multiple times in my sources.list file?

I have Kubntu 16.04 Xenial Xerus and when I want to run commmand sudo apt-get update or sudo apt-get autoclean or sudo apt-get install (package name) or sudo apt-get install -f says me this : Citire ...
0
votes
1answer
28 views

What is the correct proxy for apt-get?

apt-get can't locate any packages, most probably as I am behind a corporate firewall and need to configure a proxy. My windows machine is functioning correctly. Is it possible to determine the correct ...
0
votes
4answers
2k views

Unable to locate mono packages in Ubuntu 14.04

After updating Linux with: sudo apt-get update I'm trying to install referenceassemblies-pcl and ca-certificates-mono as per this article respectively using the below commands: sudo apt-get ...
2
votes
0answers
116 views

New apt tool vs. aptitude

Ubuntu Utopic has recently introduced a new package management frontend named apt (manpage) which provides a sort of high-level interface to tools apt-get, apt-cache and some other tools in the apt-* ...
0
votes
1answer
52 views

Are apt-get commands being phased out?

It is now possible to use apt commands alongside apt-get commands within Ubuntu. In an attempt to answer a question on Ask Ubuntu I was informed that apt-get will soon become deprecated. Is this ...
1
vote
1answer
435 views

How can I force 16.04 to add a repository even if it isn't considered secure enough?

I really need to install Nvidia Cuda but I'm getting the error E: Failed to fetch file:/var/cuda-repo-7-5-local/Release No Hash entry in Release file ...
4
votes
1answer
54 views

Could I abort the install process on Ubuntu Software?

I rarely install applications from Ubuntu Software. I usually install applications from terminal or GDebi. In previous versions of Ubuntu Software Center, I can abort the installation process. But ...
0
votes
1answer
578 views

Unable to 'apt-get dist-upgrade' on a persistent Ubuntu 16.04 USB

I have created a USB stick with a persistent Ubuntu 16.04 (release version). I tried a couple of ways, using Startup Disk Creator and MultiSystem, but I get the same end result. When I boot into the ...
0
votes
2answers
4k views

problem with 'sudo apt-get upgrade'

When I run sudo apt-get upgrade, the following error rises: Reading package lists... Done Building dependency tree Reading state information... Done The following packages have been kept back: ...
0
votes
0answers
88 views

Upgrading to 16.04 failed due to unmet dependencies

Upgrading 15.10 -> 16.04 produced errors, but the upgrade went on. Now I can't install new packages, due to unmet dependencies. Libreoffice, PHP and probably other programs don't work now. Updating ...
5
votes
1answer
1k views

How can I mark all packages with installed dependents as “Automatically Installed”?

There are some similar questions, but here is precisely what I would like to achieve and the dots which I am having trouble connecting: Query a list of "Manually Installed" packages (apt-mark ...
14
votes
3answers
1k views

gpg: keyblock resource ‘/etc/apt/trusted.gpg.d//webupd8team-sublime-text-3.gpg’: resource limit

No matter what I do, I get the following error: gpg: keyblock resource ‘/etc/apt/trusted.gpg.d//webupd8team-sublime-text-3.gpg’: resource limit The original error(Dutch) Original Dutch sudo ...
0
votes
0answers
15 views

How do I remove Samba server but not client?

(I tried to looking for a duplicate of this, but haven't found anything. Maybe someone else has better search-fu than I.) I ran sudo netstat -tlnp: Active Internet connections (only servers) Proto ...
0
votes
0answers
32 views

Dependency error installing Ncurses

I am on Kubuntu 16.04 and I have been trying to install ncurses but I keep on getting dependency errors: libncurses5-dev : Depends: libtinfo5 (= 6.0+20160213-1ubuntu1) but 6.0+20160319-1 is to be ...
0
votes
0answers
11 views

How to install softwares kubuntu 15.10?

whenever I'm using sudo apt-get install software-center or anything else like gedit I'm getting these only Reading package lists... Done Building dependency tree Reading state information... ...
1
vote
0answers
22 views

Upgrade got stuck. How can I fix this?

Since other posts suggest this, I should mention that I cannot run dpkg --configure -a, even after killing the process. In any case, the Distribution Upgrade window blacked out, and when I try to ...
1
vote
1answer
571 views

Cant install libsdl2-dev or cmake glfw.. (libxinerama-dev problem)

So I was going to continue learning Opengl after switching to Ubuntu, I tried this explanation to compile glfw and use it, but I got this: -- Using X11 for window creation -- Using GLX for context ...
0
votes
0answers
32 views

How to fix software updater packages broken?

I have this trouble in Ubuntu 16.04 LTS: I don't know how to fix this. Why this problem happened? Please everybody help.
0
votes
0answers
28 views

14.04 hangs, suspicious broken dependency with libefl

Ubuntu's got a broken package dependency and I tried to fix it, but now it won't reboot. I have to admit I haven't been paying as much attention to my Ubuntu server as I should recently even though ...
1
vote
1answer
19 views

How to install additional packages that had ignored by --no-install-recommends flag?

--install-suggests is not a solution - it offers install suggested packages for all installed in system packages - I want to install recommends only for one particular package. P.S. Is there ...
0
votes
0answers
16 views

Change back default python in ubuntu 12.04

My default python version on my Ubuntu 12.04 is python 3. I remember, a long time ago, I asked someone to change the default python version to 3. I didn't really do a lot, so I had no problems. But ...
0
votes
0answers
18 views

unable to locate package phpmyadmin [duplicate]

Unable to locate package while installing phpmyadmin. $ sudo apt-get install phpmyadmin Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to ...
1
vote
2answers
122 views

CodeBlocks in a Xenial

I'm newbie in linux and I can't install the codeblocks in the xenial. These errors happen: The following packages have unmet dependencies: codeblocks: Depends: libcodeblocks0 (= ...
0
votes
1answer
221 views

Just installed Ubuntu 16.04 but no software center

Installed Ubuntu 16.04 here are my specs: OS: Ubuntu 16.04 LTS x86_64 Kernel: 4.4.0-21-generic Uptime: up 17 hours, 39 minutes Packages: 3268 Shell: /usr/bin/fish Resolution: 1366x768 Desktop ...
1
vote
0answers
1k views

apt-get update fails on Ubuntu 16.04 when I enable the google music manager ppa

Seems as if the pre-16.04 security key security is no longer sufficient. I'm not sure what to do to fix this. Or is this something google needs to fix on their end? moorepants@parvati:~$ sudo ...
11
votes
5answers
9k views

Wine 1.7 not installing on Xubuntu 15.10

So, after setting up my installation of Xubuntu yesterday, I tried to install Wine 1.7 using ppa:ubuntu-wine/ppa. However, after doing sudo apt-get install wine1.7, it keeps giving me this error: ...
1
vote
2answers
155 views

How to automatically update /etc/apt/sources.list with source URIs on Ubuntu 16.04?

The following command worked fine on Ubuntu 15.10: sudo apt-get build-dep emacs24 However, on Ubuntu 16.04 I get the following error when running it: Reading package lists... Done E: You must put ...
1
vote
1answer
42 views

'dpkg-source' unpack error on Ubuntu GNOME 16.04

After installing Ubuntu GNOME 16.04 with GNOME 3.20 in a VM I have found that if I run an apt-get source command such as: apt-get source apt I get the following errors after it has downloaded the ...
0
votes
1answer
130 views

Cannot install Nodejs 4 in Ubuntu 14.04

I've run the following commands in my Vagrant machine. As you can see, I have Node 0.10.40 and I cannot make it update it to 4.4.3 which is the current LTS version. ...
0
votes
0answers
29 views

Error while running apt-get

I ran apt-get command on terminal and I came across this error message: E:Encountered a section with no Package: header E:Problem with ...
2
votes
0answers
28 views

Error while updating

I am a new Ubuntu user running 14.04 LTS and I have a question that has been bugging me for 2 days. This is the error I get when I use $ sudo apt-get update: W:Failed to fetch cdrom://Ubuntu 14.04.4 ...
16
votes
2answers
8k views

VirtualBox 5.0 installation has broken VirtualBox packages on Kubuntu 15.04

Seeing that there was a new VirtualBox release, I tried to install it on Kubuntu 15.04... However, now all of my VBox 4.3 packages in the ubuntu repositories are broken (Virtualbox is provided by ...
1
vote
3answers
11k views

Told command dpkg cannot be found

On issuing the command sudo dpkg -i (package name) at chronos@localhost ~ $, I get the response sudo: dpkg: command not found. Anyone know why? I'm trying to load version 3 of network-manager and ...
0
votes
0answers
20 views

following packages have unmet dependencies

I want to update codelite on my computer, but when I download the new version and uninstall my previous one. However, when I add the deb file, the terminal said: The following packages have unmet ...
0
votes
1answer
89 views

sudo apt-get update failes due to Hash Sum mismatch

When I run sudo apt-get update I get four Hash Sum mismatch errors: W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages Hash Sum mismatch W: ...
0
votes
1answer
21 views

Mysql-common cannot be uninstalled

I'm trying to completely uninstall mysql to reinstall it later, after uninstalling all mysql-related packages, mysql-common seems to remain in a broken state. $ sudo dpkg -l | grep mysql pc ...
3
votes
1answer
81 views

E: GPG error: http://mega.nz ./ InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)

Running Xubuntu 14.04LTS Originally, I was getting the following error E: GPG error: http://mega.nz ./ Release: The following signatures were invalid: NODATA 1 NODATA 2 Did what this answer told ...
17
votes
3answers
29k views

“The package lists or status file could not be parsed or opened”

Everytime I sudo apt-get update it always not complete and will say in the end E: Read error - read (5: Input/output error) E: The package lists or status file could not be parsed or opened. Same ...
72
votes
7answers
28k views

No more updates for Google Chrome | apt-get update error

I am using Google Chrome 48.0 32-bit. Today when I launched Google Chrome, I got this message: This computer will soon stop receiving Google Chrome updates because this Linux system will no longer ...
1
vote
3answers
9k views

How to install again Update Manager after uninstalling it

I tried asking many times on few Ubuntu forums how to deal with my non-responsive Update Manager, but all I was getting was the same stuff (run it from the terminal, run some lines, apt-get update ...