Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Fix apt error on Ubuntu 16.04 #127

Closed
wants to merge 1 commit into from
Closed

Conversation

ph4r5h4d
Copy link

@ph4r5h4d ph4r5h4d commented Jan 8, 2019

In Ubuntu 16.04 I faced an error while installing Grafana .

fatal: []: FAILED! => {"cache_update_time": 1546944105, "cache_updated": true, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"     install 'grafana=3.1.1-*'' failed: E: There were unauthenticated packages and -y was used without --allow-unauthenticated\n", "rc": 100, "stderr":"E: There were unauthenticated packages and -y was used without --allow-unauthenticated\n", "stderr_lines": ["E: There were unauthenticated packages and -y was used without --allow-unauthenticated"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following NEW packages will be installed:\n  grafana\n0 upgraded, 1newly installed, 0 to remove and 2 not upgraded.\nNeed to get 40.7 MB of archives.\nAfter this operation, 118 MB of additional disk space will be used.\nWARNING: The following packages cannot be authenticated!\n  grafana\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following NEW packages will be installed:", "  grafana", "0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.", "Need to get 40.7 MB of archives.", "After this operation, 118 MB of additional disk spacewill be used.", "WARNING: The following packages cannot be authenticated!", "  grafana"]}

With this simple change it's fixed.

@wiktor2200
Copy link
Contributor

I've already submitted problem with repo. #124, #125. Check my solution. Maybe it will work with your problem. It's not recommended to install unauthorized packages without verification.

@paulfantom
Copy link
Member

Should be solved by #125. New release will be created after merging #121.

@paulfantom paulfantom closed this Jan 8, 2019
@lock
Copy link

lock bot commented Mar 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants