|
Bugzilla – Full Text Bug Listing |
| Summary: | zypper shell: repo enable/disable/add ineffective | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.1 | Reporter: | Will Stephenson <wstephenson> |
| Component: | libzypp | Assignee: | E-mail List <zypp-maintainers> |
| Status: | RESOLVED WONTFIX | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Enhancement | ||
| Priority: | P3 - Medium | CC: | vuntz |
| Version: | RC 1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Will Stephenson
2011-09-19 09:03:07 UTC
Still in rc1... Repo actions directly operate on the .repo files in /etc/zypp.repos.d. Changing those files does not affect the current content loaded in memory, it affects the content loaded the next time zypper builds it's pool. As separate zypper calls, each call builds it's pool based on the current /etc/zypp.repos.d content, that's why it works. But 'zypper sh' loads the pool once on startup. Avoiding the pool loading was the reason for providing 'zypper sh'. We can think about an explicit 'rebuildpool' command to sync the /etc/zypp.repos.d changes bach to memory. But basically the behavior is not wrong. wontfix |