Issues with installation using YUM " KeyboardInterrupt error

Issues related to applications and software problems
Post Reply
Kunwar
Posts: 55
Joined: 2014/08/28 23:21:43

Issues with installation using YUM " KeyboardInterrupt error

Post by Kunwar » 2015/09/21 15:11:13

I tried installing squid at first and came across same issue. Now when I am trying to update I am getting the same error. Any help will be highly appreciated.

Code: Select all

root@localhost ~]# yum -y update 
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.nayatel.com
 * extras: mirrors.nayatel.com
 * updates: mirrors.nayatel.com
(1/2): updates/7/x86_64/primary_db                                                                                   | 3.9 MB  00:00:05     
Traceback (most recent call last):                      54% [========================-                    ]  58 kB/s | 5.0 MB  00:01:11 ETA 
  File "/usr/libexec/urlgrabber-ext-down", line 75, in <module>======================-                    ]  52 kB/s | 5.0 MB  00:01:20 ETA 
    main()
  File "/usr/libexec/urlgrabber-ext-down", line 61, in main
    fo = PyCurlFileObject(opts.url, opts.filename, opts)
  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1258, in __init__
    self._do_open()
  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1589, in _do_open
    self._do_grab()
  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1723, in _do_grab
    self._do_perform()
  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1517, in _do_perform
    raise KeyboardInterrupt
KeyboardInterrupt



aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: Issues with installation using YUM " KeyboardInterrupt e

Post by aks » 2015/09/21 16:17:00

The keyboard is sending an interrupt (like ctrl+c)?

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Issues with installation using YUM " KeyboardInterrupt e

Post by avij » 2015/09/21 17:54:03

You are likely having network problems (despite the error message). Try to download http://mirror.centos.org/centos/7/os/x8 ... noarch.rpm to your server (perhaps with wget or curl -O), then run rpm -Fvh python-urlgrabber-3.10-6.el7.noarch.rpm on the downloaded file. This won't fix your network problems, but it might show you better error messages on subsequent yum update attempts.

I'm not sure if the new python-urlgrabber requires some other packages as well. If it does, download those packages as well and put them on the same rpm command line.

Kunwar
Posts: 55
Joined: 2014/08/28 23:21:43

Re: Issues with installation using YUM " KeyboardInterrupt e

Post by Kunwar » 2015/12/05 10:45:53

Thanks Aks. It was a bad keyboard.

Post Reply