Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
"Unauthorized packages" error in Ubuntu's (Ubuntu MATE xenial) Software Updater
As mentioned in the title, whenever I use the Ubuntu software updater I get an "unauthorized packages" error. It says this in a window without any extra details and gives me the option to change settings (none of which look like they'd help at all) and restart the update, or the "OK" button which cancels the entire update.
I'd like to know which program(s) are being problematic, how I can fix the issue, and how to prevent this from happening in the future.
Thanks in advance!
As mentioned in the title, whenever I use the Ubuntu software updater I get an "unauthorized packages" error. It says this in a window without any extra details and gives me the option to change settings (none of which look like they'd help at all) and restart the update, or the "OK" button which cancels the entire update.
Hi...
Does the actual error message say: "Requires Installation of Untrusted Packages?" If so, take a look at the solutions here or here and see if they help.
If not, please post back with a screenshot of the actual error message you're receiving.
Hi! Thank you for the reply, and sorry for the wait!
Unfortunately neither of these solutions worked, though you were right with it saying "Requires installation of untrusted packages".
Trying the first solution gave me this output:
Quote:
W:The repository 'http://ppa.launchpad.net/aheck/ppa/ubuntu xenial Release' does not have a Release file., Wata from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:GPG error: http://download.opensuse.org/reposit.../xUbuntu_16.04 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0FAD31CA8719FCE4, W:The repository 'http://download.opensuse.org/repositories/home:/stevenpusser/xUbuntu_16.04 Release' is not signed., Wata from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:Failed to fetch http://dansh.org/deb/dists/games/InRelease Could not resolve 'dansh.org', E:Failed to fetch http://ppa.launchpad.net/aheck/ppa/u...amd64/Packages 404 Not Found, W:Some index files failed to download. They have been ignored, or old ones used instead.
Trying the second solution more or less did the same thing as I mentioned in my first post.
I also attempted the third solution mentioned on both pages (entering sudo apt-get update && sudo apt-get upgrade into the terminal), which also didn't work (it never prompted me about installing untrusted packages), and gave me this output:
Quote:
Reading package lists... Done
W: GPG error: http://download.opensuse.org/reposit.../xUbuntu_16.04 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0FAD31CA8719FCE4
W: The repository 'http://download.opensuse.org/repositories/home:/stevenpusser/xUbuntu_16.04 Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://ppa.launchpad.net/aheck/ppa/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Failed to fetch http://dansh.org/deb/dists/games/InRelease Could not resolve 'dansh.org'
E: Failed to fetch http://ppa.launchpad.net/aheck/ppa/u...amd64/Packages 404 Not Found
W: Some index files failed to download. They have been ignored, or old ones used instead.
Thank you for providing the outputs, they gave me a better understanding of what's going on. The servers of two APT addresses mentioned appear to be down or no longer available.
Ok, if you would, please open the Synaptic package manager and click on "Settings" on the upper left hand corner. Then click "Repositories" from the drop down menu. After doing so, a window should come up that's called "Software & Updates." Click on the "Other Software" tab and uncheck the following entries in the white field...
After doing this, make sure to allow Synaptic to update or refresh the repositories list upon closing the window. Another window should come up offering to do this. If it doesn't, run the following command in a terminal...
Code:
sudo apt-get update
Disclaimer: Be careful with these commands. Ones that are prefaced with "su" or "sudo" will essentially allow root access to your system. Mistakes could possibly damage or even destroy your OS.
Let us know how it goes.
Regards...
Last edited by ardvark71; 10-08-2016 at 01:32 PM.
Reason: Corrections/Added information.
It worked! Thank you very much! I would have never guessed that was the issue.
You're welcome, glad it worked! If you would, please mark this thread as "SOLVED" by clicking on "Thread Tools" directly above your initial post. Thanks!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.