Bug 845170 - Yum : OSError: [Errno 12] Cannot allocate memory
Summary: Yum : OSError: [Errno 12] Cannot allocate memory
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 17
Hardware: arm
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Fedora Packaging Toolset Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-02 05:31 UTC by Onuralp SEZER
Modified: 2014-01-21 23:23 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-02 08:46:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Onuralp SEZER 2012-08-02 05:31:59 UTC
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 08:46:10 UTC
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 12:31:51 UTC
Yeah I did update with "init 3" but normally is XFCE just eat so many RAM ?

Comment 3 Onuralp SEZER 2012-08-02 12:39:36 UTC
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.