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)

4
votes
2answers
6k views

How can I install specific version of MYSQL

I'm trying to install mysql-server 5.0. because I want to install a program which depend on this version. I've surfed the net to find a solution but none of them worked. I'm really disappointed. I ...
0
votes
0answers
12 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 ...
3
votes
8answers
7k views

Installing Epson Printer but Interrupted by lsb Dependency Error

I am installing the Epson XP-310 driver from this website. When I attempt to install the downloaded .deb file, I get the following error: The Package System is broken ...
1
vote
0answers
11 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:~$ ...
0
votes
0answers
12 views

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

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
4 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
2answers
25 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 ...
75
votes
5answers
50k views

How do I show apt-get package management history via command line?

Is there a way to show the history of packages that were changed by apt-get via command line?
0
votes
1answer
13 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 ...
0
votes
0answers
14 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
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 ...
0
votes
0answers
15 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
0answers
11 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
19 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 ...
0
votes
1answer
46 views

apt-get -f install is trying to remove sudo

I was trying to get a program to work, and installed a different version of wine that overwrote the version of wine I already had. (That version ended up not working) So I tried installing the default ...
0
votes
0answers
15 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 ...
4
votes
1answer
312 views

Does pip overwrite packages installed by apt-get?

What happens if I accidentally pip install a package that I already installed using apt-get beforehand? Do I simply get to use the latest version (i.e. probably the one I installed using pip)? What ...
0
votes
0answers
9 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 ...
0
votes
2answers
72 views

Ubuntu 16.04 VIM without python support!

Although Ubuntu 16.04 release notes mention that: The default VIM package has been built against python3 instead of python2. Yet after I installed vim with the following command: sudo apt-get ...
0
votes
0answers
114 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
1answer
13 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
0answers
16 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 ...
0
votes
1answer
39 views

apt update not work under proxy [duplicate]

After updating my laptop to Ubuntu 16.04 I can't execute sudo apt update any more (I also ran sudo apt-get update). Here is my terminal output: $ sudo apt update Scaricamento di:1 ...
0
votes
1answer
33 views

Computer freeze when apt-get

I'm running Ubuntu 14.04 LTS and having a big problem for the last days. Each time I'm launching a package related command (apt-get install ..., apt-get upgrade, some dpkg commands etc..), it does ...
0
votes
0answers
25 views

Ubuntu won't startup after autoremove

I installed Ubuntu on my Toshiba PC 4 days ago. I have a wireless mouse and a keyboard that were not working so I ran this command in the terminal: sudo apt-get install xserver-xorg-input-all Then ...
0
votes
1answer
16 views

Unable to install npm on ubuntu 14.04 due to broken packages error

Tried installing npm on ubuntu 14.04 however the following error has occurred gwt@gwt-Aspire-E1-571:~$ sudo apt-get install npm Reading package lists... Done Building dependency tree Reading ...
32
votes
5answers
5k views

Why does apt-get not require restarts, where the update manager does?

Oftentimes I try to ‘beat’ the update manager by opening a console and entering the sequence sudo apt-get update sudo apt-get upgrade which, to the best of my knowledge, should update all packages ...
0
votes
1answer
92 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 ...
0
votes
0answers
8 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
3answers
3k views

How to quietly install LDAP on Ubuntu client

I'd like to install libpam-ldap to use ldap on a client machine and I was hopping to use sudo apt-get install -qq libpam-ldap to quietly install the package as part of a bash script used to ...
0
votes
2answers
37 views

How to handle missing package php5-cgi on Ubuntu Xenial?

apt-get install php5-cgi says: Package php5-cgi is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from ...
0
votes
0answers
38 views

Multiple packages configured error while using command sudo apt-get update

I recently did a fresh install of Ubuntu 16.04 and installed some softwares and themes. After using command sudo apt-get update, I get this as result. abskpr@abskpr-PC:~$ update Hit:1 ...
0
votes
1answer
44 views

Fix permissions after upgrade to 16.04

I updated a server from 14.04 to 16.04. Now apt-get update does not work anymore. I get the following errors: 0% [2 InRelease gpgv 11.5 kB] [Connecting to archive.ubuntu.com (91.189.91.26)] dpkg: ...
0
votes
0answers
9 views

Getting this error :Sub-process /usr/bin/dpkg returned an error code (1) when I try to run sudo apt-get install python-matplotlib

I tried installing matplotlib, to make graphs on python on Ubuntu 14.04 and am getting the following error. I am unable to resolve this error: (env)ubuntu@ubuntu-Inspiron-5423:~/tweepy$ sudo apt-get ...
5
votes
1answer
31k views

How can I install python-dev off apt-get?

I have tried this and this and this and this Well nothing works with me, i got my amd64 system, 14.04 up and runnig, as I try to install wagtail, a django cms, i get the error. pysass.c:4:20: ...
0
votes
1answer
360 views

Can't seem to get Pipelight to install

I've been able to complete all the steps from $ sudo add-apt-repository ppa:pipelight/stable $ sudo apt-get update $ sudo apt-get install pipelight-multi Reading package lists... Done Building ...
2
votes
2answers
943 views

No installation candidate for “libicu52” on 15.10

When I try to install sudo apt-get install libicu52, I get the following error. I'm using Ubuntu 15.10, 64 bit. Reading package lists... Done Building dependency tree Reading state ...
0
votes
0answers
10 views

Error in cqrlog install while processing cqrlog

I cannot install or remove cqrlog. Running apt-get I get this error: $ sudo apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done 0 ...
0
votes
0answers
10 views

Configure cron-apt to use smtp relay

I've setup cron-apt on Ubuntu 14.04.3 to automate updates. I'd like it to email notifications and have configured MAILTO="user@example.com", and MAILON="upgrade" options in /etc/cron-apt/config. I ...
0
votes
2answers
19 views

How to uninstall Image Magick?

I want to remove ImageMagick from Ubuntu 16.04. I've tried sudo apt-get remove imagemagick with no joy. I've tried to click the "remove" button in the Ubuntu Software app, but that doesn't remove ...
1
vote
1answer
39 views

cant install rhythmbox in xenial

when I try sudo apt install rhythmbox I get this: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean ...
0
votes
0answers
24 views

Apt-get update error: NO_PUBKEY

I am on Ubuntu 12.04. When I am using command sudo apt-get update then I am getting the following error: W: GPG error: http://ddebs.ubuntu.com precise-proposed Release: The following signatures ...
0
votes
0answers
27 views

apt-get gives disk space error but I have plenty of disk space [duplicate]

After a few hours of trying to install a desktop environment, I simply do not understand what I'm doing wrong. After I run sudo apt-get update and sudo apt-get upgrade, I get this error: Do you want ...
0
votes
1answer
82 views

16.04 Upgrade: Failed to fetch Empty files can't be valid archives

After upgrading from 15.10 to 16.04, I am receiving the following error on apt-get update: Reading package lists... Done E: Failed to fetch ...
0
votes
0answers
189 views

Empty files can't be valid archives when running sudo apt update

I have just make a fresh install of ubuntu 16.04. I've never seen this error on ubuntu 15.10. When I try to run sudo apt update: Hit:1 http://fr.archive.ubuntu.com/ubuntu xenial InRelease Hit:3 ...
46
votes
5answers
20k views

How can I remove the Translation entries in apt?

This is the output of aptitude update: Ign http://archive.canonical.com natty InRelease Ign http://extras.ubuntu.com natty InRelease Ign http://dl.google.com stable InRelease Ign ...
1
vote
1answer
4k views

Can't install php5 on Ubuntu 16.04

so I've recently installed my first Ubuntu, to be precise, a daily build of 16.04, on my new laptop since the hardware was to new for 15.10. Now I'm in the process of setting it up and I want to ...
0
votes
1answer
413 views

apt returns “E: Unmet dependencies” when I try to install a package, how can I diagnose the issue and find out why it occurs?

I'm trying to install a package, but the package manager (apt-get, software center, etc.) refuses to install it due unmet dependencies. Are my attempts to install the package causing the ...
4
votes
1answer
689 views

apt-upgrade kernel-image with custom kernel

I'm running a kernel I compiled myself (because of this) and I'm wondering what apt will do with kernel updates? The software updater currently lists (among others) these points: Conmplete Generic ...
-1
votes
0answers
15 views

I cannot upgrade from 15.10 to 16.04 unable to retrieve zw archive

Cannot upgrade from 15.10 to 16.04. Default repository ZW... how do I change this? I suspect that the upgrade is looking for a defunct repository ie ZW. I live in Zimbabwe and suspect that it is ...