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.
132
questions
11
votes
1answer
1k 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?
8
votes
3answers
13k 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 ...
6
votes
1answer
763 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 ...
6
votes
1answer
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 ...
5
votes
1answer
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 ...
5
votes
1answer
4k 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 ...
5
votes
1answer
2k 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 ...
5
votes
2answers
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 ...
4
votes
2answers
4k 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/...
4
votes
1answer
4k 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?
4
votes
0answers
321 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 ...
3
votes
1answer
837 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 ...
3
votes
1answer
147 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 ...
3
votes
2answers
244 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 ...
3
votes
3answers
4k 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 ...
3
votes
1answer
299 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 ...
3
votes
1answer
273 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 ...
3
votes
1answer
226 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 ...
2
votes
3answers
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 ...
2
votes
4answers
10k 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 ...
2
votes
1answer
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 ...
2
votes
2answers
847 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 ...
2
votes
1answer
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 ...
2
votes
1answer
144 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 ...
2
votes
1answer
99 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 ...
2
votes
2answers
697 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 ...
2
votes
1answer
972 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 ...
2
votes
1answer
159 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: ...
2
votes
1answer
289 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 ...
2
votes
1answer
283 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 ...
2
votes
1answer
333 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....
2
votes
1answer
402 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 ...
2
votes
2answers
72 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
$...
2
votes
1answer
81 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 ...
2
votes
0answers
603 views
apt update fails with GPG Error for appcenter xenial InRelease no public key
since a few days I cannot apt update any more, it says
Hit:1 http://repo.steampowered.com/steam precise InRelease
Hit:2 http://de.archive.ubuntu.com/ubuntu xenial InRelease ...
2
votes
2answers
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-...
1
vote
1answer
110 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 ...
1
vote
1answer
7k 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 ...
1
vote
2answers
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 ...
1
vote
1answer
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/...
1
vote
2answers
1k 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 ...
1
vote
1answer
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 ...
1
vote
1answer
371 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 ...
1
vote
1answer
93 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 ...
1
vote
1answer
518 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/...
1
vote
1answer
421 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
...
1
vote
1answer
842 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!
...
1
vote
2answers
75 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 ...
1
vote
1answer
182 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-...
1
vote
1answer
250 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 ...