Skip to main content
7 votes

apt-get and add-apt-repository not working

Install Software Properties sudo apt install software-properties-common
Adell's user avatar
  • 93
7 votes

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

To solve the problem "public key is not available: NO_PUBKEY A74F73EFFE70B91C", import the key: wget -q "http://packages.elementary.io/key.asc" -O- | sudo apt-key add -
Carlos Vinícius Mori's user avatar
6 votes
Accepted

I extendedly removed apt package manager, how to fix?

0.4 loki You can download the package apt http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt_1.2.15ubuntu0.2_amd64.deb and install via the command line sudo dpkg --install ~/Downloads/apt_1.2....
lemonslice's user avatar
  • 4,512
6 votes
Accepted

Why is packagekitd is running?

Packagekitd is responsible for handling package operations (installation, uninstallation, updating, etc...) for AppCenter. It runs in the background so it can check for updates and await commands to ...
David Hewitt's user avatar
  • 1,429
6 votes
Accepted

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

Right click on the Files icon in Plank dock, select New Window As Administrator, go to /etc/apt/sources.list.d/ folder and edit the various files there related to each of the errors by changing ...
bitseater's user avatar
  • 2,288
4 votes

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

Following what I've found about these topics, I think you either need to remove the conflicting package, or you need to overwrite it explicitly (I have no idea why its not an option that pops up while ...
Mike Rodov's user avatar
4 votes
Accepted

Can't install elementary-tweaks on Juno

Follow this steps Open a terminal, then write and execute (by pressing ENTER) this commands, one at a time: sudo apt install software-properties-common will ask your password sudo add-apt-...
Sebastian's user avatar
  • 1,972
3 votes
Accepted

How do I resolve GPG NO_PUBKEY errors?

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <PUBKEY> where <PUBKEY> is 1F3045A5DF7587C3 in this scenario.
Lewis Goddard's user avatar
  • 4,939
3 votes

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

I do not have enough rep to comment on answers. So here it goes. That oneliner does the trick for you or anyone in same situation find /etc/apt/sources.list.d/ -type f -exec sed -i.bak -e 's/loki/...
thephilosoft's user avatar
3 votes
Accepted

apt update "does not have a Release file"

So, I was looking in the wrong path. The file I needed to edit was /etc/apt/sources.list. I just replaced loki to xenial and it worked.
lucaswxp's user avatar
  • 161
3 votes

Juno sources - no release file

I fix this replacing juno for bionic on /etc/apt/sources.list.d/appcenter.list /etc/apt/sources.list.d/patches.list /etc/apt/sources.list.d/elementary.list to find this list of files you can use ...
ikenshu's user avatar
  • 135
2 votes

Error update " Could not get lock /var/lib/dpkg/lock"

This could be a problem with broken dependencies. If you've added PPAs or other third-party software sources, various dependencies might be conflicting with one another. You could try running sudo ...
Ryan DeBeasi's user avatar
  • 2,131
2 votes

apturl doesn't work in Loki

Here's a quicker route for making the affiliation: sed -i '$a xdg-mime default org.pantheon.appcenter.desktop x-scheme-handler/apt' ~/.local/share/applications/mimeapps.list This appends x-scheme-...
wolf's user avatar
  • 4,334
2 votes

Why do I get these errors?

Actually these error messages tell you pretty much the problem: there are some source repositories that are defined twice, in the files /etc/apt/sources.list.d/elementary-os-ubuntu-os-patches-xenial....
lemonslice's user avatar
  • 4,512
2 votes
Accepted

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

As you can see there is a conflict between two packages (appstream-data-pantheon and appstream-data-pantheon-loki-stable) that both want to install a file (/usr/share/app-info/yaml/pantheon_xenial-...
lemonslice's user avatar
  • 4,512
2 votes
Accepted

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

Turns out gb.archive.ubuntu.com was returning weird html instead of gz files. Replacing {gb.archive.ubuntu.com} to {archive.ubuntu.com} fixed this for now.
AndrewVos's user avatar
  • 130
2 votes

How can I roll back Firefox back to previous version?

Install Synaptic Package Manager sudo apt install synaptic launch the program and search for firefox select it, then select Package at the top select Force Version... from the pull down select ...
pretz's user avatar
  • 2,310
2 votes

How can I roll back Firefox back to previous version?

I'm not sure if Sean Patterson's answer is enough to prevent it from being updated by the AppCenter in the future. Hence, I'd also mark the package as held back using ‘apt-mark’ command in terminal ...
Keke Mandela's user avatar
2 votes

apt-get is busted, linux noob

i fixed it by removing armhf using dpkg and restoring my apt directory by copying the entire folder from clean install media.
evanzazula's user avatar
2 votes
Accepted

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

I think so, I believe that is just the way that EOS says you are up to date. When that happened to me I was able to update without a problem later on. Thanks. PS, I am not an authority in EOS I am ...
Pookito's user avatar
  • 40
2 votes

apt-get: Unmet dependencies for almost every package

The "... does not have a Release file" part is quite common, looks like you have a ppa enabled / added that doesn't support Ubuntu Xenial, where elementary OS is build on. Please try to be careful ...
Peter Uithoven's user avatar
2 votes

Unable to update the system using apt

Try installing the GPG key $ wget -q "http://packages.elementary.io/key.asc" -O- | sudo apt-key add - , then $ sudo apt update
Sebastian's user avatar
  • 1,972
2 votes

Fresh installation - apt-get update fails with 403 forbidden

try removing the ppa sudo add-apt-repository --remove ppa:elementary-os/stable and then add it again, that way you'll get the key again sudo add-apt-repository ppa:elementary-os/stable -- this is ...
Sebastian's user avatar
  • 1,972
2 votes

Brave Browser and repo update

TLDR: Uninstall and remove brave from your source, then run this on the terminal if you are using Juno. curl https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key add - echo "...
mtsfaria's user avatar
  • 156
2 votes

Low disk space on file system

First Don't touch the kernel, please, if you need space there's other places you can chop and vandalize. There's a reason you always have two version of the kernel in the system. And apt always tells ...
Sebastian's user avatar
  • 1,972
2 votes

Update error unexpected size

As the log says, it may have been because the mirror was stuck while syncing. If you run your original sudo apt update command it should now be fine. If an error still occurs, you can try removing ...
Lewis Goddard's user avatar
  • 4,939
2 votes
Accepted

Can't install/remove, upgrade/update ANYTHING

It looks like the version of Libre office you try to install cannot work together with the version of Open Office you have. Try to boot into the recovery mode and fix broken packages from there. To ...
Bo rislav's user avatar
  • 1,304
2 votes
Accepted

postgress still showing in apt update even after uninstall

You will need to remove the PostgreSQL source from your apt list. Fortunately, it's not too difficult to do via the Terminal. Here's how you do it: Open Terminal (if it's not already open) Change ...
matigo's user avatar
  • 735
1 vote
Accepted

App Center package website down

Just wait, the error will be fixed soon
tSrH's user avatar
  • 74

Only top scored, non community-wiki answers of a minimum length are eligible