Re: ow to update a minimal local repo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux