Bug 428347 - stops with File exists: '/home/pungi/repodata-i386'
Summary: stops with File exists: '/home/pungi/repodata-i386'
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: pungi
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Dave Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-10 23:33 UTC by Patrice Dumas
Modified: 2013-01-10 01:46 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-02-28 21:30:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
pungi log (1.36 MB, text/plain)
2008-01-10 23:34 UTC, Patrice Dumas
no flags Details
kickstart file (1.35 KB, text/plain)
2008-01-10 23:35 UTC, Patrice Dumas
no flags Details

Description Patrice Dumas 2008-01-10 23:33:21 UTC
Description of problem:

I am trying to use pungi, but it stops with:
Pungi.Pungi:INFO: Running /usr/bin/createrepo --quiet --database --groupfile
/home/pungi/work/i386/Fedora-20080110-comps.xml --cachedir
/var/cache/pungi/createrepocache --baseurl media://1200007468.811834 --outputdir
/home/pungi/20080110/i386/os-disc1 --basedir /home/pungi/20080110/i386/os
/home/pungi/20080110/i386/os
Pungi.Pungi:INFO: Creating media repo file.
Traceback (most recent call last):
  File "/usr/bin/pungi", line 188, in <module>
    main()
  File "/usr/bin/pungi", line 101, in main
    mypungi.doCreateIsos(split=opts.nosplitmedia)
  File "/usr/lib/python2.5/site-packages/pypungi/pungi.py", line 444, in
doCreateIsos
    'repodata-%s' % self.config.get('default', 'arch')))
  File "/usr/lib/python2.5/shutil.py", line 196, in move
    copytree(src, dst, symlinks=True)
  File "/usr/lib/python2.5/shutil.py", line 110, in copytree
    os.makedirs(dst)
  File "/usr/lib/python2.5/os.py", line 172, in makedirs
    mkdir(name, mode)
OSError: [Errno 17] File exists: '/home/pungi/repodata-i386'

I started it like that:
pungi -c pl-fedora.ks --nosource --force


I'll try to remove the files by hand and see if the issue is
still there.

Version-Release number of selected component (if applicable):
pungi-1.2.6-1.fc9


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Patrice Dumas 2008-01-10 23:34:38 UTC
Created attachment 291338 [details]
pungi log

Comment 2 Patrice Dumas 2008-01-10 23:35:14 UTC
Created attachment 291339 [details]
kickstart file

Comment 3 Patrice Dumas 2008-01-11 00:30:40 UTC
I can confirm that after I removed the repo directory that was in the
directory it proceeds.

Comment 4 Jesse Keating 2008-02-28 21:30:57 UTC
I think I fixed this with a commit I made upstream.  We'll see in next release.


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