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
5 votes
2 answers
5k views

Where can I get "DA360C64005E0276" public key for "ppa.launchpad.net maverick Release"?

When I apt-get update I get the following error: W: GPG error: http://ppa.launchpad.net maverick Release: The following signatures couldn't be verified because the public key is not available: ...
Ivan's user avatar
  • 57.2k
5 votes
1 answer
37k views

Failed to write (No space left on device) [duplicate]

I am working on an Ubuntu virtualbox and trying to install curl using sudo apt-get install curl -y. I got a response saying there were unmet dependencies and saying You might want to run 'apt-get -f ...
sisko's user avatar
  • 242
5 votes
2 answers
8k views

Why are there so many OpenBLAS packages and which one would yield fastest results?

In Ubuntu 20.04, there are many packages for OpenBLAS. ~$ apt search openblas p libopenblas-base - Optimized BLAS (linear algebra) library (transitional) ...
Archisman Panigrahi's user avatar
5 votes
3 answers
4k views

GPG KEYEXPIRED error in when updating repositories [duplicate]

Since yesterday afternoon I'm getting some GPG key expired errors from the official repositories (I checked my sources.list and the only sources are the official ones). The URL I'm getting the error ...
user593404's user avatar
5 votes
3 answers
12k views

apt-get: How to overwrite existing files from another package?

I'm trying to install Gnome3 for Natty, using the source deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu natty main, however the following error: $ sudo apt-get install -f ... Unpacking ...
Lenik's user avatar
  • 10.4k
5 votes
2 answers
7k views

"Error processing package" - apt upgrade cannot run due to package configuration errors

I know it has been asked many times before but none of those solutions helped me. Every time I am running sudo apt upgrade I get this error. dpkg: error processing package systemd (--configure): ...
Abhijeet Pal's user avatar
5 votes
2 answers
7k views

How to remove the packages causing GPG error at once [duplicate]

So there are two PPA causing GPG warning during sudo apt update W: GPG error: https://brave-browser-apt-release.s3.brave.com bionic InRelease: The following signatures couldn't be verified because ...
Abhijeet Pal's user avatar
5 votes
3 answers
7k views

"/etc/grub.d/README: 6: Syntax error: "(" unexpected" while upgrading grub package

I am facing a problem while installing any program. I get an error of Sub-process /usr/bin/dpkg returned an error code (1). Following is log of the output of apt-get -f install. Any idea what's wrong ...
Uthman's user avatar
  • 1,528
5 votes
2 answers
12k views

18.04: Cannot install texlive-full

I freshly installed Ubuntu 18.04 last week, meaning I have not upgraded from 16.04, rather formatted the hard drive and installed 18.04. I am trying to install texlive-full, but whenever I use: sudo ...
Manuel Uberti's user avatar
5 votes
1 answer
3k views

Upgrading Linux kernel without installing grub dependencies?

I installed Ubuntu 16.04 in a system that already uses rEFInd for booting. After installation, I removed all grub-related packages. However, each time a new kernel release comes out, it tries to ...
danielrs's user avatar
  • 211
5 votes
2 answers
12k views

Problems with apt dependencies after install of python 3.5

I downloaded and compiled the latest python, 3.5, and installed it with checkinstall. Now I am getting a ton of packages that have missing dependencies in apt. apt-xapian-index : Depends: python (&...
Jared Mackey's user avatar
5 votes
5 answers
29k views

E: Sub-process /usr/bin/dpkg returned an error code (1)

EDIT: I have appended the output of cat /etc/default/grub to the question below This was in fact the key to solving the issue. I think it's worth noting that not having quotes around the OS assigned ...
Totem's user avatar
  • 145
5 votes
1 answer
3k views

Unmet dependency while installing cnijfilter-mp550series package

I've been using my Canon MP550 printer for some Ubuntu versions now, and installation always worked: $ sudo add-apt-repository ppa:michael-gruz/canon-trunk $ sudo apt-get update $ sudo apt-get ...
pprats's user avatar
  • 53
5 votes
2 answers
8k views

Proxy Blocking apt-get, Allowing wget/curl

I'm having an issue getting passed my corporate proxy server. I had an exception put in place to allow my IP address to pass through, but haven't been able to get apt-get to work. wget can get to ...
Ryan Foley's user avatar
5 votes
5 answers
18k views

libXp.so.6 missing for ubuntu 17.04

mc@mc:~$ sudo apt-get install libXp.so.6 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libXp.so.6 E: Couldn't find any ...
Sachin Shet's user avatar
5 votes
1 answer
4k views

The following packages were automatically installed and are no longer required [duplicate]

After a fresh install of Ubuntu 12.04.1 (64bit), I get the following message when I want to install software via terminal: The following packages were automatically installed and are no longer ...
Ludima's user avatar
  • 71
5 votes
1 answer
981 views

Does apt have a directory where it stores all downloads?

I was wondering if apt has a directory where it stores all downloaded deb files through it. Any insight?
NerdOfCode's user avatar
  • 2,518
5 votes
2 answers
3k views

Problems upgrading to Python 3.3 and setting up Django

I'm new to Linux and am trying to set up Python / Django on my machine! I installed Python 3.3 from the source file and it was compiled into /usr/local/bin. Then I created a symbolic link between /...
user1881353's user avatar
5 votes
3 answers
4k views

Failed to fetch because of size mismatch error while upgrading

When I try to install updates from the update manager it says: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-3.0.0-13-generic_3.0.0-13.22_i386.deb Size mismatch ...
arun's user avatar
  • 51
5 votes
2 answers
22k views

How to install 32-bit deb package on 64-bit ubuntu?

I have Ubuntu 11.10 64-bit installed and I have to install 32-bit deb package on it. It depends on other 32 bit libraries. I overcome this with getlibs: sudo getlibs -i ./hp-netconnect_1.2-12_i386....
Yura Taras's user avatar
5 votes
1 answer
8k views

Cannot install PHP7.2-dev on Ubuntu 18 due to unmet dependencies

I have Ubuntu 18 distributive, but I need install php7.2-dev for PECL extenssions. mvolchkov@ias-su:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18....
max volchkov's user avatar
5 votes
1 answer
9k views

dpkg:error:parsing file '/var/lib/dpkg/status' near line 1146 package 'python-minimal'

I'm doing an upgrade with sudo apt-get upgrade After I press Enter: do you want to continue [y/n]? y debconf: apt-extracttemplates failed:No such file or directory extracting templates from package: ...
elvisvite's user avatar
4 votes
2 answers
2k views

How to get a list of all packages installed from PPAs even for PPA repositories that may have been removed

I've already seen this question: How to list all the packages which are installed from PPAs? It only works for packages installed from PPAs where the PPA repository is still added to the system. Is ...
goji's user avatar
  • 95
4 votes
1 answer
28k views

"apt-get -f install" fails with "/usr/bin/dpkg returned an error code (1)" [duplicate]

Possible Duplicate: Fixing Broken Packages I started out trying to install CVS: $ sudo apt-get install cvs Reading package lists... Done Building dependency tree Reading state information....
parsley72's user avatar
  • 368
4 votes
1 answer
6k views

Apt update failed because public key not available [duplicate]

Please help, how do I fix this? I can't update because it just says for one of the entries: The following signatures couldn't be verified because the public key is not available. How do I install the ...
randomperson123's user avatar
4 votes
2 answers
6k views

E: Repository 'http://security.ubuntu.com/ubuntu bionic-security InRelease' changed its 'Suite' value from 'bionic-updates' to 'bionic-security'

I am running Ubuntu 18.04. I wanted to install node and npm on my machine. The apt repository version of node is 8.x, whereas I wanted to have version 12.x (Current LTS version). I followed the guide ...
Maxim Blinov's user avatar
4 votes
2 answers
11k views

dpkg always try to install mysql-server-5.7

Whenever i try to install anything, it always install mysql-server-5.7. I tried sudo apt-get install php-mbstring but it tried to install mysql-server-5.7 first. I don't know what is going wrong. I ...
Bhaskar Dabhi's user avatar
4 votes
4 answers
17k views

E: Package 'apache2' has no installation candidate on Ubuntu 17.10

Got error E: Package 'apache2' has no installation candidate while installing apache2 with sudo apt-get install apache2 on Ubuntu 17.10. Here is the message displayed on terminal. sudo apt-get ...
Kiran Shahi's user avatar
4 votes
1 answer
249 views

Is it possible to know from apt if the package was installed explicitly or as a dependency of another package?

Let's say there are A, B and C package. A and C were installed manually with apt-get install, and B is a dependency of A and was installed by apt automatically. Is it possible to know that with some ...
zerkms's user avatar
  • 1,472
4 votes
2 answers
6k views

Problem installing ruby and gems

I just installed ruby using apt-get with the following command: sudo apt-get install ruby1.9.1-full But when I try to do sudo gem install ... it says that I have not installed gems and that I shoud ...
Javier Villanueva's user avatar
4 votes
2 answers
7k views

grub-efi-amd64-signed package post-installation script subprocess returned error exit status 127

My dual boot laptop runs Ubuntu 18.04.3 as my main OS after an upgrade, also with Windows. Whenever I attempt to install or update apps I get this error: Setting up grub-efi-amd64-signed (1.128+2.04-...
user avatar
4 votes
1 answer
850 views

Prevent packages 'on hold' to show up when I upgrade

I did sudo apt-mark hold nameofthepackage on 3 packages, but now I have an annoying remark when I upgrade with sudo apt-get upgrade : Following packages have been holded : package1 package2 ...
MrVaykadji's user avatar
  • 5,875
4 votes
2 answers
330 views

What will be the default set of package management tools in future versions of Ubuntu?

With the introduction of Ubuntu Software Centre, I remember reading, though I can't find any reliable source right now, that the various package managers were going to eventually be deprecated. Indeed,...
user avatar
4 votes
1 answer
1k views

Why does aptitude want to remove a bunch of files?

Recently I encountered dependencies resolve issues when using APTITUDE (it is my favorite). Nevertheless, I started to feel that APTITUDE does not behave as it is supposed to be in 64 bits systems ...
Hanynowsky's user avatar
  • 2,781
4 votes
2 answers
9k views

How do I fix invalid filename extension?

Ignoring file 'sublime-text.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Christian Nyembo's user avatar
4 votes
3 answers
9k views

Cannot install adobe flash player

I can't install Adobe Flash player. I tried terminal, Ubuntu Software Centre, and Synaptic Package Manager, but I got error message: flashplugin-installer: Depends: libnss3-1d but it is not going to ...
setyap's user avatar
  • 43
4 votes
2 answers
12k views

How to solve 'Oracle JDK 8 is NOT installed.' error, even though I have installed it before?

I have Java on my Ubuntu 16.04 system, but every time I try to install a program / package I get an error: Do you want to continue? [Y/n] y Setting up oracle-java8-installer (8u131-1~webupd8~2) ... ...
reza sohrabi's user avatar
4 votes
4 answers
10k views

Remove apt repository?

Some while ago I may have accidentally added an apt repository with an invalid URL. Now, every time I run sudo apt update, the following error message shows at the bottom: E: The repository 'http://...
thesilican's user avatar
4 votes
1 answer
14k views

sudo apt-get 'NOSPLIT Error'

I just moved to a different country (Namibia to Netherlands) and for some reason sudo apt-get update stopped working and gets an error (I'm pretty new to Ubuntu) Hit:1 http://security.ubuntu.com/...
BamBoo22's user avatar
4 votes
4 answers
16k views

E: Unable to locate package nordvpn

I tried installing nordvpn on Ubuntu 18.04 and Ubuntu 20.04 but keeps showing me the above error message. I've tried every possible option on the internet from forums to forums, still nothing. I used ...
FOBABS's user avatar
  • 421
4 votes
2 answers
6k views

apt-get aborts after I type Y to continue [closed]

After I use sudo apt-get update && sudo apt-get upgrade to check for updates via terminal, there's a small but weird problem. After I answer Y, I expect it to download and install updates. ...
Daniel Yunus's user avatar
4 votes
2 answers
10k views

Why do I see different versions of node and nodejs

I ran the following commands to install the stable version of node sudo npm cache clean -f sudo npm install -g n sudo npm install -g n Now, when I run node -v, I see v10.0.0, whereas nodejs -v ...
आनंद's user avatar
4 votes
8 answers
37k views

how to install Conky Manager on Ubuntu 18.04?

Recently I installed Ubuntu 18.04. Installing Conky Manager with these commands failed with "Dependency is not satisfiable: realpath". sudo apt install conky-all cp /etc/conky/conky.conf ~/.conkyrc ...
Nikolay Kyurchiyski 's user avatar
4 votes
1 answer
2k views

Read full dpkg database state without dpkg program

From a Live USB, and without using the installed Ubuntu's programs like dpkg, dpkg-query, dselect, aptitude, apt-get, or any other (as they are all broken Illegal instruction), how do I read the ...
cat's user avatar
  • 1,672
4 votes
1 answer
12k views

Can't connect to ubuntu archive when using apt-get update

I am trying to apt-get update but it gets stuck on 0% [Connecting to ph.archive.ubuntu.com (202.90.159.172)] and after a couple of minutes it gives me the following: Get:1 http://security.ubuntu....
DorkOrc's user avatar
  • 79
4 votes
1 answer
952 views

Recompile all packages and trigger on updates

I am using Ubuntu on a bespoke router and after seeing the latency drops capable with custom compiling on Gentoo, I would like to recompile all packages with CFLAGS="-march=atom". The guide for this ...
Metalshark's user avatar
4 votes
2 answers
2k views

What is the difference between php and php7.2 packages?

Shall I install both of them and both of its modules? apt-cache depends php php Depends: php7.2 And there is two packages for php cli: apt-cache policy php7.2-cli php7.2-cli: Installed: (none) ...
Daniyal Javani's user avatar
4 votes
6 answers
49k views

Errors encountered (by APT/dpkg) while processing linux-image-* packages [closed]

sudo apt-get upgrade returns: Errors were encountered while processing: linux-image-4.8.0-39-generic linux-image-4.8.0-41-generic linux-image-generic linux-firmware linux-signed-image-4.8.0-39-...
Chankin's user avatar
  • 51
4 votes
4 answers
4k views

GPG error : http://repos.rcn-ee.net

when I update using apt-get update on Beaglebone black, I got the following error, W: GPG error: http://repos.rcn-ee.net trusty InRelease: The following signatures couldn't be verified because the ...
Karteek's user avatar
  • 59
4 votes
1 answer
2k views

Failing to install doc-base

When trying to sudo apt-get install libbz2-dev I get an error related to doc-base Setting up doc-base (0.10.6) ... Segmentation fault (core dumped) dpkg: error processing package doc-base (--...
Nordlöw's user avatar
  • 703

1
21 22
23
24 25
55