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)

1
vote
0answers
11 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 ...
0
votes
0answers
7 views

Cant install libgl1-mesa-glx:i386

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. tried many ways and spent hours ...
1
vote
1answer
18 views

Short apt sources list on Xenial

I have two computers. One running 16.04 (installed a few days before the actual release). The other running 14.04. When I do sudo apt update on 14.04, I get a long list of sources being updated (about ...
0
votes
1answer
13 views

Upgrading kubuntu: error trying to overwrite package

I am trying to pgrade my kubuntu to the latest version. When running sudo apt-get dist-upgrade, I get: (Reading database ... 558588 files and directories currently installed.) Preparing to unpack ...
0
votes
0answers
15 views

How to install packages from “basic” with a “minimal” install?

Many servers we use come with a minimal install, but we expect many of the packages in a basic install to be present. It seems the recommended way to get a basic install from a minimal install is to ...
0
votes
0answers
14 views

I was able to do apt-get update in Ubuntu Touch without enabling RW mode. Is this normal?

I was taking a look at the terminal on Ubuntu Touch, and I was able to use the command sudo apt-get update. Strangelly, I was hoping to see Unable to write to /var/cache/apt and The Package lists or ...
2
votes
1answer
12 views

Cannot read repositories after update

This morning my system gave me a security update that I installed. Now I cannot read or update Repositories, either from Update Manager or Terminal with sudo apt-get update. I am getting the ...
0
votes
1answer
14 views

Version range in debian/control

When declaring dependencies in debian/control to create a package, I can specify a lower or upper bound on the version. For example, if I depend on libvtk6-dev being at least version 6.0.0 I can write ...
0
votes
1answer
33 views

apt-get being replaced with apt? [duplicate]

I was just reviewing this question: How do I fix a lot of broken packages? And I saw the comment by @HoussemGuesmi. He said, "use apt, as apt-get is being replaced with apt on 16.04" Is this really ...
0
votes
0answers
22 views

Ubuntu 14.04 System Settings: Bluetooth is disabled

I did something I don't know how to fix, and now I need help. I was trying to get bluetooth working, so I installed Bluez 5.39 with bluez-5.39.tar.xz from the download page with ./configure, make, and ...
1
vote
1answer
136 views

E: Malformed entry 54 in list file /etc/apt/sources.list (Component)

I'm relatively new to Ubuntu 16.04, and everything has been going fine until my OS threw this error today. Below is the source code from /etc/apt/sources.list for line 54: deb ...
1
vote
2answers
15 views

Expanding APT-GET Repositories

Wow, I'm here posting about Linux. Never thought I'd see the day, but I've been shown the light by a smart guy and a few VMs and man pages later and her I am. I think I've managed to get my Ubuntu ...
1
vote
0answers
11 views

Local apt repository skipping packages

I've created an apt repository for a few local files, generally obscure drivers or locally-created files for my own use. The repository is limited to my own internal network, so it can have non-free ...
1
vote
2answers
20 views

On Ubuntu, is there a way to find out what files are NOT associated with installed apt packages?

I know in RedHat, you can use find / –exec rpm -qf {} \; |grep "is not" to find files that are not associated with packages. One reason I need this is to find files that are installed from source so ...
0
votes
0answers
22 views

Exception: tostring() has been removed. Please call tobytes() instead

I try to install reddit on my 12.04 ubuntu server but I get a lot of errors. Here are the first instructions: $ git clone https://github.com/reddit/reddit.git Once this is done, you'll need to ...
2
votes
0answers
11 views

Apt proxy settings are not transmitting username/password

On a 12.04 server machine, I've got Apt configured to use a proxy to grab its packages. To wit, in /etc/apt.conf.d/80proxy, I have the two following lines: Acquire::http::Proxy ...
0
votes
0answers
7 views

Debian Packages | Post-Install - Configuration

In my Postinstall script i have a whiptail dialog popping up to fill in a password for MySQL. This password will be stored in my configuration file in /etc//.conf At this current moment i don't care ...
0
votes
0answers
9 views

Debian Packages | Maintainer Script - Postinst

Hey i'm having troubles with updating my packages (with patches using quilt). Whenever i'm updating the source everything is alright and the patches work. But when i want to update a maintainer script ...
0
votes
0answers
11 views

While installing HHVM, I don't understand what I am doing

I am using Ubuntu 15.10 with HHVM. I followed the instructions available here. Everything is working as intended. I understand most of the thing it is required to do but I don't understand the ...
3
votes
1answer
39 views

Xenial checking much fewer apt-get sites

Every since upgrading to 16.04, I've gone from dozens of sites in my apt-get updates to 6. I also get updates much less frequently, so I'm worried something broke. Is this normal behavior, or did I ...
-1
votes
0answers
25 views

Can't install aptitude on Ubuntu Gnome 16.04 LTS

Where I try to install aptitude, i get this: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct ...
0
votes
0answers
70 views

how to fix update problem on ubuntu 16.04

While update I have got error like this W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and ...
0
votes
0answers
59 views

pip use on Ubuntu 16.04

I installed python packages on Ubuntu Trusty using pip and was able to call the installed packages as expected, but on Ubuntu Xenial (installed in a virtual machine) I did the same thing using pip but ...
0
votes
1answer
10 views

Ubuntu 14.04 hangs at startup after installing CUDA toolkit 7.5

After installing CUDA toolkit 7.5.18 on my Ubuntu 14.04.4 system using the offline deb process (outlined here) I've found that when I reboot my system I got stuck at the Ubuntu splash screen. Using ...
1
vote
1answer
50 views

Why no more “python-support” in 16.04?

I'm curious why the python-support package no longer exists in 16.04 - is this related to changing Python3 to be the default? Furthermore, is there any package that "requires" it that actually doesn't ...
3
votes
1answer
11 views

Where can I find the source code for the apt package manager?

I would like to modify some functionalities in the apt-get package manager, but I can only find the apt-get binaries. Where is the source code for the package manager?
1
vote
0answers
39 views

Apt-get install -f and apt-get autoremove error

I've tried to install new software on Ubuntu and it told me to use that command apt-get install -f, but I get back an error message and I have no idea how to fix it. After that, I tried to use ...
-1
votes
0answers
33 views

how to fix ive tryed sudo apt-get update upgrade autoremove and autoclean still warning and erroe

W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:43 W: Target Packages (restricted/binary-all/Packages) is ...
0
votes
1answer
14 views

installed package with snap - command not available

I saw that tmux is available with snap find and apt-cache. I decided to install with snap. Howto use now tmux? I am normal desktop user, not cloud computing. # snap error: Please specify one ...
0
votes
1answer
21 views

Cannot install 32bit libs, even if it has its dependency [ubuntu 16.04 LTS]

I am trying to install 32bit libs but it wont install saying it has unmet dependency. When I try to install its dependency it says I already have it installed: ozcan@ozcan-P55-UD3L:~$ sudo apt-get ...
0
votes
1answer
80 views

The maas/stable/ubuntu xenial repository does not have a Release file

When I run sudo apt update on my Ubunutu 16.04 LTS Server with MAAS installed I get the following error message: graeme@MAAS:~$ sudo apt update Hit:1 http://gb.archive.ubuntu.com/ubuntu xenial ...
3
votes
1answer
270 views

upgrading from 15.10 to 16.04 apt not installed

on upgrading using the terminal, my upgrade stops. this the line showing in the terminal. the required dependency 'apt(>=1.0.10.2 ubuntu2)' is not installed. my problem is i don't know the command ...
1
vote
0answers
21 views

Can't install libSDL2-2.0-0:i386

I'm trying to run Star Conflict. It had troubles with libcurl, but I fixed that. Now, it wants the 32-bit version of libSDL2-2.0-0. No problem right? Well, this is what it says: dirk@SUBNETDEFENSE:~$ ...
-1
votes
1answer
22 views

How i can do for know what i have to do i this type of cases: root? [duplicate]

I receive that message when I want install or try to don know that was installed, after it's here : apt-get install linux-generic -(the error)- E: Could not open lock file /var/lib/dpkg/lock - open ...
0
votes
0answers
17 views

How to fix processing with runit and git-daemon-run

I'm trying to install Django using sudo apt-get install python-django But I'm getting error Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
0answers
16 views

Unmet dependencies error

When I try to install gparted Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have ...
0
votes
1answer
16 views

How can I see which packages were removed with apt-get autoremove?

Despite claims that autoremove is safe, I have, more than once, removed important packages and then finding what was removed has been a struggle. How do I find out what was removed with this command ...
1
vote
0answers
6 views

Trying to install gdl-coyote on Ubuntu 14.04

I am trying to install gdl-coyote on Ubuntu 14.04. I have installe gdl using the command apt-get install gnudatalanguages. Which installs version 9.4 I have downloaded the ...
-1
votes
1answer
70 views

Ubuntu 16.04 broken packages after fresh install

After fresh install of Ubuntu 16.04, i have broken packages and can not install most of applications. I tried from Synaptic "Fix broken packages" but it is not working. An example; sudu apt-get ...
0
votes
2answers
30 views

Can we install a package through a shell script?

I'm trying to write a shell script so that when I reinstall my Ubuntu again. I could just run script and retain all the packages. And I'm planning to pass password in form of argument. My question ...
0
votes
0answers
15 views

apt-get update stuck connecting to mega.nz

I'm running Ubuntu 16.04. When doing apt-get update, it gets hung up on 0% [Connecting to mega.nz . This issue has previously been raised here: Skip apt-get update (sorry I don't have the reputation ...
-1
votes
1answer
22 views

Install packages for older versions of Ubuntu?

So, I need to install a package on Ubuntu 16.04. Only problem is that they haven't updated it yet and the latest version is for Ubuntu 15.10. I know this might not be safe, but how can I install the ...
1
vote
3answers
66 views

16.04 : “aptitude” at the command line

After upgrading to 16.04 I tried to use "sudo aptitude update" at the command line and got the error that the command was not found. What do I need to do to be able to use it again?
0
votes
1answer
28 views

Error “problem unlinking” in apt-get clean

There's a problem whenever I try to use sudo apt-get clean: :~$ sudo apt-get clean W: Problem unlinking the file apt-fast - Clean (21: Is a directory) :~$ apt-fast clean W: Problem unlinking the file ...
1
vote
0answers
397 views

Update issues 16.04 - Failed to download repository information

I keep getting the old message that I experienced from previous upgrades of yonder. Changing the server and refreshing doesn't seem to work anymore. W:There is no public key available for the ...
0
votes
0answers
17 views

E: Package 'cassandra' has no installation candidate

Hi Everyone I try to install "Cassandra" on a 14.04 Ubuntu server. I enter the ff code in the terminal "apt-get install cassandra" but I get the ff response: Reading package lists... Done Building ...
1
vote
1answer
21 views

apt-get install r-base Gives 403 Forbidden Error

I am trying to install r-base in my just installed Ubuntu 14.04 system. However, I get the following error (only last few lines of output is shown here): 0 upgraded, 70 newly installed, 0 to remove ...
0
votes
1answer
18 views

When do apt-mark show architecture in package name?

Here apt-mark shows architecture only for i386 package, and does not show i386 package, if it is not specified as such: $ apt-mark showmanual libfontconfig1 libfontconfig1 $ apt-mark showmanual ...
0
votes
0answers
13 views

kubuntu-desktop dependencies problem, now forbidden icon

A week ago, one of my friends said that the kubuntu-desktop is cool. So I installed it. But now there are dependencies problem with kde-telepathy-minimal, and the forbidden icon turned up and said ...
1
vote
2answers
256 views

Key uses weak digest algorithm

I'am getting this kind of message while updating my ubuntu 16.04 LTS: W: http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg: Signature by key 4CCA1EAF950CEE4AB83976DCA040830F7FAC5991 uses ...