Questions tagged [apt]

APT is short for 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 commands should use this tag.

Filter by
Sorted by
Tagged with
2 votes
1 answer
1k views

QEMU is displayed in dpkg but I cant uninstall it

I am using UBUNTU 16.04 LTS on HP probook. I recently installed QEMU and now I want to uninstall it. However when I use the following command sudo apt-get purge --auto-remove qemu-system-x86_64 I ...
new2Ubuntu's user avatar
2 votes
1 answer
2k views

can't install both packages duplicity and python-gi [duplicate]

Both packages duplicity and python-gi are no longer available in the repositories. I'm using Ubuntu 16.04 LTS. Can anyone suggest a solution? Thank you in advance. ~$ sudo apt-get install duplicity ...
uthiho's user avatar
  • 21
2 votes
1 answer
9k views

How do I fix "'module' object has no attribute 'required_version'" for "gi.require_version('Gtk', '3.0')"?

I'm working with some people to build a fake news detecting program and have made some great progress but out of 5 members of the group only 1 person can run the Python program. I am running a clean ...
Neil Boyd's user avatar
2 votes
2 answers
18k views

Microsoft ODBC drivers not fully installed and no way to unistall them

I've downloaded this debian package: curl https://packages.microsoft.com/ubuntu/16.04/prod/pool/main/m/msodbcsql/msodbcsql_13.1.4.0-1_amd64.deb -o msodbcsql_13.1.4.0-1_amd64.deb Then I have run the ...
TPPZ's user avatar
  • 123
2 votes
2 answers
11k views

What does "sudo apt-get dist-upgrade" do? [duplicate]

I would like to know more about this command: sudo apt-get dist-upgrade
abu abu's user avatar
  • 337
2 votes
2 answers
2k views

Ubuntu 16.04.3 "still" takes 1.5 minutes to boot after successful clone to SSD and with noatime and trim and AHCI boot?

Appreciate any help. Very slow boot on Ubuntu 16.04.3 with SSD still. when I run systemd-analyze blame I get 40.044s snapd.refresh.service 29.529s apt-daily.service 6.510s ...
jon anotter88998889's user avatar
2 votes
2 answers
3k views

Ubuntu 16.04.3 update GPG error (public key not available) [duplicate]

I'm using Ubuntu 16.04.3 LTS. I've been using it for over a year, updating every couple of months with no problems. Today I updated and I got these strange public key errors. I have no idea what this ...
MadHatter's user avatar
  • 146
2 votes
1 answer
2k views

How to update linux kernel automatically?

I have unattended upgrades installed, and it does job well, updating all the packages (except for kernel). When I run sudo apt-get upgrade it returns: The following packages have been kept back: ...
Ilya's user avatar
  • 143
2 votes
1 answer
4k views

How to install packages to external drive (and run them)?

I am running Xenial 16.04 and looking to install packages to an external drive - my computer has a 32gb SSD so it would be very useful to me to be able to use an external drive. In a quick search I ...
andersan's user avatar
2 votes
1 answer
789 views

Why would my server's SSH key regenerated on an apt-get upgrade? [closed]

I manage a few servers at DigitalOcean and have been upgrading computers many times and never had a problem. Today, I did the usual upgrade sequence: sudo apt-get update sudo apt-get upgrade sudo ...
Alexis Wilke's user avatar
  • 2,707
2 votes
3 answers
32k views

How can I install Likewise-open in ubuntu 17.04

$ sudo apt-get install likewise-open Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package likewise-...
Tấn Bảo Nguyễn's user avatar
2 votes
3 answers
15k views

Unable to install postgresql 9.6 on Ubuntu 15.04

To install postgresql 9.6 on Ubuntu 15.04, I have followed steps from here and here I am getting this error while installing. Preparing to unpack .../postgresql-contrib_9.6+180.pgdg16.04+1_all.deb ....
Hiren patel's user avatar
2 votes
1 answer
12k views

I Can't install PhpMyAdmin

Whenever I install phpMyAdmin, it gives the following error :- After this operation, 0 B of additional disk space will be used. Setting up phpmyadmin (4:4.5.4.1-2ubuntu2) ... /var/lib/dpkg/info/...
Ch Muhammad Sohaib's user avatar
2 votes
1 answer
969 views

Failed to download repository information on Ubuntu Unity 16.04 LTS [duplicate]

When I ran Software Updater I was given an error message saying Failed to download repository information, check your internet connection. This is what it says: W:The repository 'http://ppa....
drexit's user avatar
  • 23
2 votes
1 answer
200 views

Running apt upgrade downgrades kernel from `4.8.0.40.51` to `4.8.0.39.50`

When executing apt upgrade (after running update first), is displays information that packages linux-generic linux-headers-generic linux-image-generic linux-libc-dev are going to be downgraded. ...
PeterM's user avatar
  • 694
2 votes
1 answer
5k views

How do I install sipclients or sip simple?

How do I install sipclients? SIP SIMPLE Client SDK Copyright (c) 2008-2016 AG Projects http://ag-projects.com Description SIP SIMPLE client SDK is a Software Development Kit for easy ...
Thufir's user avatar
  • 4,551
2 votes
1 answer
7k views

Is it possible to set up CUDA 8 on Ubuntu 14.04 using apt-get nvidia driver?

I'm trying to set up CUDA 8 on my Ubuntu 14.04. However, I cannot normally install the nvidia driver using the .run file from nvidia website, because installing it causes the login loop and there ...
yakovenko-denis's user avatar
2 votes
2 answers
586 views

Does installing Google Chrome as a package from Google's website keep it up to date?

Apparently the simplest way to install Chrome is to go to google.com/chrome and download the package but does this keep it up-to-date? As far as I know if I install some software this way it doesn't ...
842Mono's user avatar
  • 9,770
2 votes
1 answer
125 views

upgrade from 16.04 to 16.04.1 does not happen

Voilla, after some pain about 14.04 not being able to start the upgrade, once started it finished fine: But now: $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=...
matanox's user avatar
  • 2,293
2 votes
1 answer
2k views

Unable to find a source package for linux-lts-vivid

As part of the install process for the Intel Realsense package, a script tries to run the line: $ apt-get source linux-image-$(uname -r) I understand that this should get the source code for the ...
Bill Cheatham's user avatar
2 votes
1 answer
2k views

apt-get doesn't get latest kernel

One day I noticed that I have installed on my system the linux-headers packages until version 3.13.0-92. On the contrary, linux-image packages are only installed until version 3.13.0-39. apt-get ...
Marco Sulla's user avatar
2 votes
2 answers
616 views

Cannot download build-dep for indicator-sound [duplicate]

I'm trying to do this, but when I execute sudo apt-get build-dep indicator-sound, i get E: You must put some 'source' URIs in your sources.list. I did not get this error in pervious ubuntu versions, ...
Dusan Milosevic's user avatar
2 votes
1 answer
977 views

perf broken after apt upgrade

After running sudo apt upgrade, my perf was broken: $ perf /usr/lib/linux-tools/4.4.0-28-generic/perf: error while loading shared libraries: libbfd-2.26-system.so: cannot open shared object file: No ...
user14717's user avatar
  • 265
2 votes
1 answer
291 views

How do I create a program similar to 'fortune', that can be installed using apt-get install

I am trying to create a program, let's call it abcd like http://linux.die.net/man/6/fortune that can simply be installed like $ sudo apt-get install abcd. Now for the specifics, my program simply is ...
tsaebeht's user avatar
  • 121
2 votes
1 answer
340 views

How can I update a particular software through Terminal without sudo apt-get update?

For general updates I use: sudo apt-get update But I want to update my Ovito software from 2.3.2 to 2.6.2, which is not achieved by the above command. How can I update a particular software ...
SumitSharma's user avatar
2 votes
1 answer
1k views

Installing with Software Centre vs apt-get

I am trying to understand the difference between installing an application with the Ubuntu Software Centre, and installing an application with apt-get. For example, I want to install the Latex ...
Karnivaurus's user avatar
  • 1,024
2 votes
1 answer
774 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 ...
Bunjip's user avatar
  • 815
2 votes
1 answer
1k 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 ...
Sybil's user avatar
  • 2,107
2 votes
2 answers
10k 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; sudo apt-get ...
al0s's user avatar
  • 549
2 votes
2 answers
2k views

Want LibreOffice instead of OpenOffice, accidentally installed both

I installed OpenOffice, but it realized my old files probably used LibreOffice because the functions I had in them suddenly returned errors. So, I followed step on a website to replace OpenOffice ...
dgood1's user avatar
  • 177
2 votes
2 answers
430 views

Why is there no "purge" command in apt's manpage

CLI for apt. Basic commands: list - list packages based on package names search - search in package descriptions show - show package details - ...
JulianLai's user avatar
  • 1,572
2 votes
3 answers
3k views

Not able to install Virtual box in Ubuntu

I followed this Ask Ubuntu guide, I manually downloaded virtual box from this link and tried to install like: $ dpkg -i virtualbox-5.0_5.0.16-105871~Ubuntu~trusty_amd64.deb But no success, I got ...
Amul Bhatia's user avatar
2 votes
1 answer
2k views

All installations extremely slow- 14.04

I had to re-install a fresh 14.04 LTS version. First of all, it took me a whole night(or nearby) to install it. Every installation of package (via ubuntu library or via sudo apt-get update ... sudo ...
Laurent06000's user avatar
2 votes
1 answer
1k views

Whenever I install or update I get this error (screenshot added below) The MATLAB interface needs to know where MATLAB is installed?

In the screen it asks for matlab installed directory, I don't have MATLAB and I don't want to buy it. I'm running ubuntu 14.04 LTS
Gaurav Anand's user avatar
2 votes
1 answer
110 views

How can I keep a package but discard its configuration?

I know I can use this to remove a package but keep configuration: sudo apt-get remove $package I know I can also use this to remove a package and discard its configuration files: sudo apt-get purge ...
badp's user avatar
  • 12.4k
2 votes
1 answer
4k views

Removing Chrome

I am having trouble getting Google Chrome off my system. I installed from Google's website (probably a bad idea) and it appeared to work, but I was never able to launch the program. Any time I do any ...
user avatar
2 votes
2 answers
13k views

W: Some index files failed to download. They have been ignored, or old ones used instead

i am new to Ubuntu and have probably done something stupid. trying to update, and gets an annoying error. Reading package lists... Done W: Failed to fetch http://archive-canonical....
Jman's user avatar
  • 33
2 votes
2 answers
4k views

Failed to create a symbolic link

akhil@akhil-Aspire-E1-571:~$ sudo apt-get install gcc-arm-linux-gnueabi [sudo] password for akhil: Reading package lists... Done Building dependency tree Reading state information... Done gcc-...
nahasapeemapetilon's user avatar
2 votes
1 answer
17k views

Safely removing *unused* packages

After various linux beginner's experiments my Kubuntu system keeps telling me that there are unused packages that are not needed anymore and that should be removed. This sounds like a good idea to me. ...
Silicomancer's user avatar
2 votes
3 answers
10k views

I can't seem to install libsodium in the Docker ubuntu:vivid image

I installed software-properties-common then did the add-apt-repository `deb http://archive.ubuntu.com/ubuntu vivid universe then tried apt-get install libsodium -- and that failed. How do I fix ...
Alan Robertson's user avatar
2 votes
1 answer
448 views

What's the difference between removing and then installing, and just reinstalling?

For instance, as apt-get relies on some packages in coreutils, if you do: sudo apt-get remove coreutils You will not be able to reinstall it by then running: sudo apt-get install coreutils But if ...
user avatar
2 votes
2 answers
6k views

What is the cause for apt-get failing with returncode 137?

I'm trying to build 0ad on the travis-ci service and I'm randomly experiencing failures of apt-get install (or apt-get dist-upgrade) with returncode 137 without any further information. travis-ci is ...
Kalle Richter's user avatar
2 votes
1 answer
614 views

gcc is gone probably after an update

gcc was installed in my system at the start, I still remember using it but after some time it was gone and replaced by some other versions of gcc. When I type in gcc from the terminal several ...
krato's user avatar
  • 1,068
2 votes
1 answer
65 views

How to retrieve screenshots of a package in ubuntu

i'm developing an application which manipulates packages in ubuntu. I'm working with python. I need to retrieve screenshots of packages by using package-name. For example, say that package-name is ...
metis's user avatar
  • 197
2 votes
1 answer
20k views

what are linux-image-extra and linux-image-generic? [duplicate]

Every time I use sudo apt-get upgrade, I get errors with the linux-image-extra and linux-image-generic. I am new to Ubuntu so I would like to know if these "image" files are the same as in Windows? ...
Giulo Figlio's user avatar
2 votes
1 answer
1k views

Is it possible to find all the config file replacements done during apt-get?

When you perform a do-release-upgrade, or just a dist-upgrade, if a package contains a new config file for a program, you get prompted what to do. Now, you can pick whether you want to accept ...
Apache's user avatar
  • 5,030
2 votes
1 answer
421 views

Big size difference between apt-get install and binary file of apache Maven

I am installing Apache Maven onto my Ubuntu 12.04; and sudo apt-get install maven gives me 229 MB of file to download. On the other hand, going to Apache Maven site, I can download a 7 MB file. What ...
Andromeda's user avatar
  • 135
2 votes
1 answer
5k views

Dependency problems installing steam

I'm having some dependency trouble trying to install steam on Ubuntu 14.04. I got the steam-launcher.deb-Package from http://media.steampowered.com/client/installer/steam.deb and installed it: eva@...
red_trumpet's user avatar
  • 1,849
2 votes
1 answer
806 views

Package dependencies could not be resolved

I am trying to install java in Ubuntu but it is giving me this error: $ sudo apt-get install default-jre Reading package lists... Done Building dependency tree Reading state information... ...
xitas's user avatar
  • 123
2 votes
1 answer
235 views

How to avoid upgrade the package(s) in upgrading? [duplicate]

When I run sudo apt-get upgrade some of my installed packages also upgrading, but I don't want to upgrade them. Is there any way to avoid upgrade them. Reverse of this question
αғsнιη's user avatar
  • 35.7k

1
94 95
96
97 98
351