Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [apt]

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.

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

Can I use aptitude instead of apt-get without problems?

I would like to use aptitude since its parameters are more consistent. You can install it with: sudo apt-get install aptitude Are there any reasons not to use it with elementary OS?
davidak's user avatar
  • 786
9 votes
3 answers
16k views

Error while doing 'sudo apt update': no Release file

Whenever I do sudo apt update, I get the following response: Ign:1 http://ppa.launchpad.net/elementary-os/stable/ubuntu loki InRelease Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease ...
Bilesh Ganguly's user avatar
6 votes
1 answer
882 views

Can I restore apt-get sources to the default?

I'm new with elementary OS but I have used ubuntu for a while before. I was trying to install Steam and I had a problem, I had to install a lib of 32bits (ia32-libs) and all good, but today, I was ...
Jeo Gonzalez's user avatar
6 votes
1 answer
3k views

Is it safe to use "apt-get autoremove"?

Months ago i read a note like "not use autoremove because it break the meta package on Freya", is it safe to use now? I have so many packages which are no longer needed. EDIT: Thank you so much ...
user avatar
6 votes
1 answer
3k views

Why can I not install dconf-tools?

Whenever I try to install dconf-tool I get this error: Reading package lists... Done Building dependency tree Reading state information... Done Package dconf-tools is not available, but is ...
user avatar
5 votes
1 answer
2k views

"apt-get upgrade" fails with errors (E: Encountered a section with no Package: header) and (W: Duplicate sources.list entry)

Distro: elementary OS Freya 0.3 (no modifications apart from installing bumblebee and proprietary video drivers) Laptop: MSI ghost GS60 2PC I have, for about the last month, been getting messages ...
ElementaryWatson's user avatar
5 votes
1 answer
5k views

"could not find a distribution template for Ubuntu/n/a" error in elementary OS

I got message like this : root@ferryready-Satellite-L510:/home/ferryready# curl -sL http://i-hate-farms.github.io/spores/install | sudo bash - Installing the repository... OK Traceback (most recent ...
ferry's user avatar
  • 107
5 votes
2 answers
2k views

Cannot install wine and playonlinux

sudo apt-get install wine Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you ...
user avatar
4 votes
2 answers
6k views

How to fix gpg: keyblock resource `/etc/apt/trusted.gpg.d/<key>.gpg': resource limit

I frequently receive errors as follows while running apt-get update: [...] gpg: keyblock resource `/etc/apt/trusted.gpg.d/pdfmod-team-ppa.gpg': resource limit gpg: keyblock resource `/etc/apt/...
orschiro's user avatar
  • 2,116
4 votes
1 answer
5k views

Why is packagekitd is running?

I look into processes on my laptop. It is T420. There is one process in top five. It is packagekitd. /usr/lib/packagekit/packagekitd. I don't understand why do I need packagekitd running?
vrcmr's user avatar
  • 268
4 votes
0 answers
327 views

Can't open Software Center [closed]

I am a beginner on Linux so I don't know what went wrong but the Software Center wont open anymore, if I click it it will open and close immediately. Also, on the top bar it will appear the message on ...
Mia's user avatar
  • 51
3 votes
1 answer
875 views

Unable to install skype on elementary OS

I am using elementary os freya. I followed this post to install skype. ravan@ravan:~$ sudo apt-get install skype Reading package lists... Done Building dependency tree Reading state ...
Ravan's user avatar
  • 7,877
3 votes
1 answer
150 views

How can I install indicator-session without pulling in extra packages?

I removed indicator-session by accident. Now, when I try to install it again through apt-get I get this. The following NEW packages will be installed: indicator-session libaccount-plugin-1.0-0 ...
Harshit Jain's user avatar
3 votes
2 answers
245 views

Adobe Flash Plugin Vulnerable

I'm having trouble with the Adobe Flash Plugin. Firefox, with which I substituted Midori, blocks it. I have tried to re-install it from the software center, I have installed flashplugin-installer, I ...
ZenoCosini's user avatar
3 votes
3 answers
5k views

Error installing OS updates -- "Too few items to process"

I was downloading OS updates as per usual while working, and when I finished working I realized the installation had gotten stuck. I was trying to install another package and wanted to use apt, which ...
Kyle's user avatar
  • 185
3 votes
1 answer
307 views

App Center package website down [closed]

I upgraded the App Center to 0.2.3, but then the site, http://packages.elementary.io/appcenter, the packages are hosted on is reporting a bad gateway. The App Center isn't showing anything other than ...
Ross's user avatar
  • 33
3 votes
1 answer
422 views

Strategies for dealing with horribly out of date software in the Ubuntu repos

It's been about 5 years since I've used an Ubuntu based distro as my daily driver and now I'm starting remember some of the reasons why I ditched it for Arch Linux; horribly out of date software ...
Sysfu's user avatar
  • 771
3 votes
1 answer
327 views

Everything hangs on installing wine

I have tried to install wine (using apt-get install wine) up today. However, after working a bit, the whole desktop decided to hang and I couldn't move the mouse. IIRC, it was showing up "processing ...
asu's user avatar
  • 141
2 votes
3 answers
2k views

Why is my Elementary OS Not Updating via terminal / Apps are not updating from App Center?

I am not able to update apps or the OS. While upgrading from the terminal, I am getting this error message: Do you want to continue? [Y/n] y (Reading database ... 271161 files and directories ...
Abhay Bh's user avatar
2 votes
4 answers
12k views

How can I run a Terminal command as "root"?

I tried to install Git using this command apt-get install git, but getting this: E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration ...
Sergey Molyak's user avatar
2 votes
1 answer
3k views

Cannot install OpenJDK 8

I am trying to install OpenJDK 8 in Freya but I can't find in any repository. If I try sudo apt-get install openjdk-8-jdk I get Unable to locate package And when I try to search it via sudo ...
Petr Mensik's user avatar
2 votes
2 answers
1k views

Brave Browser and repo update

I have tried to add the repo for Brave Browser. It adds fine, but then I get this problem with it being insecure. How can I add this repo to an exceptions list? I understand apt is going to phase out ...
Andy Meza III's user avatar
2 votes
1 answer
5k views

apt update "does not have a Release file"

I'm trying to fix this issue when running sudo apt update: E: The repository 'https://download.docker.com/linux/ubuntu loki Release' does not have a Release file. N: Updating from such a repository ...
lucaswxp's user avatar
  • 161
2 votes
1 answer
177 views

is it safe to leave packages held back?

I'm running elementary OS freya and have a very stable system, just the way I like it. Today I did an apt-get update and apt-get upgrade and the following message appeared: The following packages ...
vim_usr's user avatar
  • 454
2 votes
1 answer
139 views

Can't install/remove, upgrade/update ANYTHING

I use OpenOffice, but got curious why so many Linux users and distributions are more into LibreOffice, so I downloaded it to check it out. When I tried to install it (a while back) I got an error ...
Joy's user avatar
  • 85
2 votes
2 answers
904 views

Fresh installation - apt-get update fails with 403 forbidden

I am quite new to Linux. After I did fresh install from iso and update system components from AppCenter(appcenter) I wanted to install net-tools using apt-get. firstly I did sudo apt-get update but ...
MightyPolo's user avatar
2 votes
1 answer
991 views

I've added the Daily PPA and Appstream causes an error when trying to upgrade

I've added the Daily PPA (don't worry, I have another partition with a stable elementary, this is just for learning) and when I try to apt upgrade -f (or the same without the -f) I get the following ...
Maccer's user avatar
  • 1,984
2 votes
1 answer
163 views

Mine apt-get update gives an error?

After i type sudo apt-get update ubuntu shows the following error. W: Failed to fetch http://archive.canonical.com/dists/freya/partner/binary-amd64/Packages 404 Not Found [IP: 91.189.92.150 80] W: ...
user3893686's user avatar
2 votes
1 answer
298 views

Missing index files from elementary repo

After doing a package update I get a 404 error when it's trying to fetch http://ppa.launchpad.net/elementary-os/os-patches/ubuntu/dists/freya/main/binary-i386/Packages How can I solve that missing ...
Maccer's user avatar
  • 1,984
2 votes
1 answer
579 views

Problems with broken packages and apt-related issues

At the moment I'm unable to update my system or install/uninstall any package. The source of the problem seems to be a broken package (tv-maxe installed from ppa:venerix/pkg) with unmet dependencies ...
Giulio Sant's user avatar
  • 1,423
2 votes
1 answer
359 views

Haskell Platform last version

I have installed the latest available version of the Haskell platform on Elementary with apt-get But the actual version is pretty old: > sudo apt-get install haskell-platform Reading package lists....
Marco Turchetto's user avatar
2 votes
1 answer
458 views

Error while adding PPA on elementary OS freya

Whenever i try to add any PPA it shows me the following error Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 91, in sp = SoftwareProperties(options=options) File ...
Ankur Dubey's user avatar
2 votes
2 answers
77 views

Warning Notification Updates

since two days ago, there's some warning icon appear on my top bar like this I've try click Show Updates but said my system already updated (last action bout two days ago too) This is my apt lists $...
Ferri Sutanto's user avatar
2 votes
1 answer
93 views

Graphic glitch after interrupted apt upgrade?

I'm new to this forum, so sorry for any mistakes.. Today I booted my Elementary OS into this (see the screenshot). Blurred or missing texts, no text in menus... But pages and menus a rendering ...
Ondřej Janeček's user avatar
2 votes
2 answers
1k views

Accidentally created a bad source list- How to delete it?

I'm new to Linux and was attempting to install the Brave Browser using the instructions on the website, listed below: curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-...
user16493's user avatar
1 vote
1 answer
5k views

apt-get and add-apt-repository not working

When I try to use the command sudo apt-get install chromium-browser, I get the output Reading package lists... Done Building dependency tree Reading state information... Done You might want to ...
Artillect's user avatar
  • 111
1 vote
1 answer
115 views

I extendedly removed apt package manager, how to fix?

I have removed apt as I was removing keyring with the Synaptic Package Manager. Removed the following ESSENTIAL packages: apt Completely removed the following packages: ubuntu-keyring Removed the ...
MyAvatar's user avatar
1 vote
1 answer
8k views

Can't install elementary-tweaks on Juno

I'm trying to install elementary-tweaks on Juno but adding the ppa is causing an error. Here is my console output... Err:7 http://ppa.launchpad.net/philip.scott/elementary-tweaks/ubuntu bionic ...
Martin Linklater's user avatar
1 vote
2 answers
5k views

How do I resolve GPG NO_PUBKEY errors?

After attempting to update within the command line, the system ends with these errors. Reading package lists... Done W: GPG error: https://repo.skype.com/deb ...
Lewis Goddard's user avatar
  • 4,939
1 vote
1 answer
2k views

Juno sources - no release file

I have just installed Juno but cannot update. sudo apt update [sudo] password for cipeos: Sorry, try again. [sudo] password for cipeos: Ign:1 http://ppa.launchpad.net/elementary-os/...
user avatar
1 vote
2 answers
2k views

Hash Sum Mismatch Error

I am getting a hash sum mismatch error. I have several ppa's hopefully this is not the cause. tweaks, libreoffice, and caffeine, vivaldi, opera I followed the instructions Update error (sudo apt-get ...
Bhikkhu Subhuti's user avatar
1 vote
1 answer
1k views

Update error unexpected size

Input code : sudo apt update Output with error : Get:1 http://bd.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease ...
Rajesh Sarker's user avatar
1 vote
1 answer
755 views

Low disk space on file system

Low disk space on file system message on: Elementary: elementary OS Freya (64-bit) Built on "Ubuntu 14.04 LTS" File manager: Files 0.2.4 I want to create more disk space and running the command df-h ...
Taketime's user avatar
1 vote
1 answer
109 views

apt-get is busted, linux noob

elementary os hasn't been able to update for a long time now. Apt get update works, but i get a bunch of 404 errors. The errors are only for arm64 packages and im on an AMD64 system so i havnt been ...
evanzazula's user avatar
1 vote
1 answer
540 views

`apt update` is broken and appcenter doesn't show any apps

I haven't done anything weird I don't think. Haven't changed any of my sources or anything like that. When trying an apt update I get this: [~] ∞ sudo apt update Hit:1 http://ppa.launchpad.net/...
AndrewVos's user avatar
  • 130
1 vote
1 answer
460 views

Unmet Dependencies and Broken Packages

When attempting to install Steam, I get this error message: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable ...
ans318's user avatar
  • 19
1 vote
1 answer
2k views

apt search does not work

I run elementary OS on my laptop and after I did the usual update and upgrade, sudo apt search stopped working. I've been looking everywhere for an answer and nobody seems to have had this problem! ...
Nyx Protogenoi's user avatar
1 vote
2 answers
433 views

Error when trying sudo apt-get update

I have the Hera OS 5.1. Now when I want to run sudo apt-get update I got the following errors. What can I do? Thanks in advance. Err:16 http://ppa.launchpad.net/djart/minidlna/ubuntu bionic Release ...
ohspinoza's user avatar
1 vote
1 answer
535 views

(SOLVED) apt-get is trying to uninstall everything I've ever installed!

This evening, I installed the latest stable release (version 10) of LLVM, Clang, etc.. I used these commands: sudo apt-get install libllvm-10-ocaml-dev libllvm10 llvm-10 llvm-10-dev llvm-10-doc llvm-...
watson's user avatar
  • 21
1 vote
1 answer
520 views

add-apt-repository not working

When I try running sudo add-apt-repository ppa:openrazer/stable it hangs. I am on Elementary OS 5.1 Hera. No other repositories work. I have install software-properties-common and its dependencies. If ...
Russell Hynes's user avatar