Bug 208955 - reposync fails import error
Summary: reposync fails import error
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-02 19:24 UTC by Stephanos Manos
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-10-03 22:58:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stephanos Manos 2006-10-02 19:24:48 UTC
Description of problem:
when running reposync fails with the following error

Traceback (most recent call last):
  File "/usr/bin/reposync", line 43, in ?
    from repomd.packageSack import ListPackageSack
ImportError: No module named repomd.packageSack

Version-Release number of selected component (if applicable):
yum-utils-0.6-5.fc6

How reproducible:
Always

Steps to Reproduce:
1. run reposync --help

Actual results:
the above message

Expected results:
the commands usage

Additional info:
replasing from repomd.packageSack import ListPackageSack
with from yum.packageSack import ListPackageSack

works

Comment 1 Stephanos Manos 2006-10-03 22:48:26 UTC
Sees totaly broken
when giving an actual command i get 

[root@ghost ~]# reposync -r development -p /srv/mirrors/fedora/core
Loading "installonlyn" plugin
Downloading ElectricFence-2.2.2-20.2.2.i386.rpm
Traceback (most recent call last):
  File "/usr/bin/reposync", line 194, in ?
    main()
  File "/usr/bin/reposync", line 190, in main
    repo.get(relative=remote, local=local)
AttributeError: 'YumRepository' object has no attribute 'get'
[root@ghost ~]# 


Comment 2 Seth Vidal 2006-10-03 22:58:31 UTC
all of these bugs you've been filing against yum-utils are fixed in cvs and will
be corrected in the next upstream release.




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