Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 563850 - sys-apps/yum-3.4.3_p20130218-r1: File "/usr/bin/yum", line 30 ... SyntaxError: invalid syntax
Summary: sys-apps/yum-3.4.3_p20130218-r1: File "/usr/bin/yum", line 30 ... SyntaxError...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://www.linuxquestions.org/questio...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-23 07:49 UTC by WOLfgang Schricker
Modified: 2017-08-07 10:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description WOLfgang Schricker 2015-10-23 07:49:02 UTC
# yum
  File "/usr/bin/yum", line 30
    except KeyboardInterrupt, e:
                            ^
SyntaxError: invalid syntax

Reproducible: Always




# emerge -pv yum
[ebuild   R   ~] sys-apps/yum-3.4.3_p20130218-r1::gentoo  USE="{-test}" PYTHON_TARGETS="python2_7" 0 KiB

# eselect python list --python2 ; eselect python list --python3
Available Python 2 interpreters:
  [1]   python2.7 *
Available Python 3 interpreters:
  [1]   python3.4 *
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-08-03 20:10:38 UTC
# Michał Górny <mgorny@gentoo.org> (04 Aug 2017)
# sys-apps/yum is severely outdated (last bump 2013), unmaintained
# since 2010. It has vulnerabilities. Removal in 30 days. Bug #499328.
#
# app-arch/createrepo is the last unmasked dependency. Since it is not
# useful at all without yum, it is being removed as well. Bug #620992.
app-arch/createrepo
sys-apps/yum
Comment 2 Sergey Popov gentoo-dev 2017-08-07 10:53:03 UTC
commit e70e26dba37b28340c631ad00489863ddd412cc6
Author: Sergey Popov <pinkbyte@gentoo.org>
Date:   Mon Aug 7 13:49:04 2017 +0300

    sys-apps/yum: version bump

    Set Python shebang properly for /usr/bin/yum
    Add missing 'python' USE-flag to app-arch/rpm dependency
    Drop old vulnerable versions

    Gentoo-Bug: 499328
    Gentoo-Bug: 563850

    Package-Manager: Portage-2.3.6, Repoman-2.3.1