Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in package installation #14

Open
ylogx opened this issue Nov 25, 2017 · 0 comments
Open

Errors in package installation #14

ylogx opened this issue Nov 25, 2017 · 0 comments

Comments

@ylogx
Copy link
Owner

ylogx commented Nov 25, 2017

TASK [ubuntu : Install libraries using package manager] ************************
ok: [localhost] => (item=ack-grep)
failed: [localhost] (item=bash) => {"cache_update_time": 1511572167, "cache_updated": false, "changed": false, "failed": true, "item": "bash", "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"     install 'bash'' failed: E: There are problems and -y was used without --force-yes\n", "rc": 100, "stderr": "E: There are problems and -y was used without --force-yes\n", "stderr_lines": ["E: There are problems and -y was used without --force-yes"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nSuggested packages:\n  bash-doc\nThe following packages will be upgraded:\n  bash\n1 upgraded, 0 newly installed, 0 to remove and 134 not upgraded.\nNeed to get 575 kB of archives.\nAfter this operation, 0 B of additional disk space will be used.\nWARNING: The following packages cannot be authenticated!\n  bash\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "Suggested packages:", "  bash-doc", "The following packages will be upgraded:", "  bash", "1 upgraded, 0 newly installed, 0 to remove and 134 not upgraded.", "Need to get 575 kB of archives.", "After this operation, 0 B of additional disk space will be used.", "WARNING: The following packages cannot be authenticated!", "  bash"]}
failed: [localhost] (item=curl) => {"cache_update_time": 1511572167, "cache_updated": false, "changed": false, "failed": true, "item": "curl", "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"     install 'curl'' failed: E: There are problems and -y was used without --force-yes\n", "rc": 100, "stderr": "E: There are problems and -y was used without --force-yes\n", "stderr_lines": ["E: There are problems and -y was used without --force-yes"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following extra packages will be installed:\n  libcurl3\nThe following packages will be upgraded:\n  curl libcurl3\n2 upgraded, 0 newly installed, 0 to remove and 133 not upgraded.\nNeed to get 296 kB of archives.\nAfter this operation, 2048 B of additional disk space will be used.\nWARNING: The following packages cannot be authenticated!\n  curl libcurl3\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following extra packages will be installed:", "  libcurl3", "The following packages will be upgraded:", "  curl libcurl3", "2 upgraded, 0 newly installed, 0 to remove and 133 not upgraded.", "Need to get 296 kB of archives.", "After this operation, 2048 B of additional disk space will be used.", "WARNING: The following packages cannot be authenticated!", "  curl libcurl3"]}
ok: [localhost] => (item=git)
ok: [localhost] => (item=htop)
ok: [localhost] => (item=nmap)
ok: [localhost] => (item=python3)
^C [ERROR]: User interrupted execution

On manual apt install

recsys% sudo apt-get install bash
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  bash-doc
The following packages will be upgraded:
  bash
1 upgraded, 0 newly installed, 0 to remove and 134 not upgraded.
Need to get 575 kB of archives.
After this operation, 0 B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  bash
Install these packages without verification? [y/N]

Known Fix

Manually run sudo apt update, then rerun installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant