On Wed, 2008-07-16 at 02:06 +0300, Muayyad AlSadi wrote: > the attached file is my trial, > > I need to know how to populate the Sack after enableing/disabling some repos > and where should repos.close() be put changes below: # return to default repos for repo in my.repos.listEnabled(): repo.sack.close() repo.close() my.repos.disableRepo('*') for i in repos_id: my.repos.enableRepo(i); my.repos.disableRepo('local*') Try that. -sv _______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxxxxx https://lists.dulug.duke.edu/mailman/listinfo/yum