Results 1 to 3 of 3

Thread: What's the zypper command to change alias name of a repo?

  1. #1
    Join Date
    Oct 2009
    Location
    Dhaka,Bangladesh
    Posts
    251

    Cool What's the zypper command to change alias name of a repo?

    What's the zypper command to change alias name of a repo?
    This changes the descriptive name not the alias of a repo.
    Code:
    zypper mr -n new-name old-name

  2. #2
    Join Date
    Jun 2008
    Location
    /dev/swat
    Posts
    1,181

    Default Re: What's the zypper command to change alias name of a repo?

    Code:
    zypper nr old-name new-name
    nr = rename repo
    old-name = Old name of the repo (also can provide repo number, like 3 or 5 etc)
    new-name = New name for the repo
    Linux[openSUSE, KDE], PHP, MySQL, Wordpress, Tech News, etc :
    http://anl4u.com

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,146

    Default Re: What's the zypper command to change alias name of a repo?

    The man page says:
    renamerepo (nr) <alias|name|#|URI> <new-alias>
    Assign new alias to the repository specified by alias, name, number, or URI.
    Example:
    Rename repository number 8 to 'myrepo' (useful if the repo has some dreadful alias which is not usable on the command line).
    $ zypper nr 8 myrepo
    You can not access man pages?
    Henk van Velden

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •