|
Bugzilla – Full Text Bug Listing |
| Summary: | missing alias when adding repository cause command to fail | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Pavel Nemec <pnemec> |
| Component: | YaST2 | Assignee: | Josef Reidinger <jreidinger> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | msvec |
| Version: | Alpha 3plus | ||
| Target Milestone: | --- | ||
| Hardware: | 64bit | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Pavel Nemec
2008-04-16 09:28:32 UTC
I'll adapt the help text and the man page to reflec the two possible argument variants for addrepo. The one-argument variant expects an URI to a .repo file. The other expects repository URI and an alias. I'll also try to display a meaningful error message if an expected .repo file was not found. fixed in svn current output (so less confusing I hope): ./zypper.sh ar ftp://sleposlab.suse.cz/install_sources/SLES-10-SP1-DVD-i386-GM-DVD1 If only one argument is used, it must be a URI pointing to a .repo file. addrepo (ar) [options] <URI> <alias> addrepo (ar) [options] <FILE.repo> Add a repository to the sytem. The repository can be specified by its URI or can be read from specified .repo file (even remote). Command options: -r, --repo <FILE.repo> Read the URI and alias from a file (even remote). -t, --type <TYPE> Type of repository (yast2, rpm-md, plaindir). -d, --disable Add the repository as disabled. -c, --check Probe URI. -x, --no-check Don't probe URI, probe later during refresh. *** Bug 381287 has been marked as a duplicate of this bug. *** done in zypper 0.11.0-8 |