Bug 845170 - Yum : OSError: [Errno 12] Cannot allocate memory
Yum : OSError: [Errno 12] Cannot allocate memory
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
arm Linux
unspecified Severity high
: ---
: ---
Assigned To: Fedora Packaging Toolset Team
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-08-02 01:31 EDT by Onuralp SEZER
Modified: 2014-01-21 18:23 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-08-02 04:46:10 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Onuralp SEZER 2012-08-02 01:31:59 EDT
Description of problem: Raspberry-PI Fedora 17 Remix (Yum Problem)

Version-Release number of selected component (if applicable): 

yum --version : 3.4.3

How reproducible:

Steps to Reproduce:
1. yum update command result  :

Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 319, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 227, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 559, in doTransaction
    problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb) 
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2190, in downloadPkgs
    self.plugins.run('predownload', pkglist=pkglist)
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 187, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/presto.py", line 633, in predownload_hook
    (problems, more) = downloadPkgs(conduit, pinfo, download_pkgs)
  File "/usr/lib/yum-plugins/presto.py", line 321, in downloadPkgs
    delta = getDelta(po, presto, conduit, conf_mp)
  File "/usr/lib/yum-plugins/presto.py", line 244, in getDelta
    if not verifyDelta(delta['sequence'], po.arch):
  File "/usr/lib/yum-plugins/presto.py", line 77, in verifyDelta
    "-C", "-s", sequence], close_fds=True):
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1143, in _execute_child
    self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory

Actual results: yum cannot update

Expected results: yum normally update packages
Comment 1 Zdeněk Pavlas 2012-08-02 04:46:10 EDT
Well, yum needs memory.  You may try to:

- disable presto plugin (/etc/yum/pluginconf.d/presto.conf)
- stop other programs, or add some swap..
Comment 2 Onuralp SEZER 2012-08-02 08:31:51 EDT
Yeah I did update with "init 3" but normally is XFCE just eat so many RAM ?
Comment 3 Onuralp SEZER 2012-08-02 08:39:36 EDT
Also After update It's not booting anymore.

Note You need to log in before you can comment on or make changes to this bug.