Results 1 to 5 of 5

Thread: What's the command to upgrade a single package?

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

    Default What's the command to upgrade a single package?

    Is it zypper in <package> or zypper up <package> or both?

  2. #2

    Default Re: What's the command to upgrade a single package?

    in = install
    up = update

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

    Default Re: What's the command to upgrade a single package?

    Quote Originally Posted by please_try_again View Post
    in = install
    up = update
    But if you use in you should get the same result.

  4. #4
    Join Date
    Jun 2008
    Location
    Moscow, Russia
    Posts
    3,000
    Blog Entries
    1

    Default Re: What's the command to upgrade a single package?

    zypper in <package>

  5. #5
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: What's the command to upgrade a single package?

    colao wrote:
    > please_try_again;2216702 Wrote:
    >> in = install
    >> up = update

    >
    > But if you use in you should get the same result.


    careful with the words you use, "upgrade" and "update" are not the same..

    open a terminal and type/enter

    Code:
    man zypper
    info zypper
    check, i may be wrong but i believe 'in' will install..

    while 'up' will *update* (not upgrade) what IS installed, if an update
    is available..

    and if you "up <package>" when no update is available it will fail..

    if you do not have <package> installed and type "up <package>" i think
    it will fail as there is nothing installed to update..

    if you have <package> installed and type "in <package>" i don't know
    what it does, maybe it asks if you want to RE-install it (that is lay
    newly downloaded code over what is already installed), or maybe it fails..

    *update* is done to make minor changes to fix a bug or repair a
    security problem...usually the version number changes very little,
    maybe just the build number changes....there is no boost in capability..

    *upgrade* changes the capability of the software, adds
    functions...always has a change in the version number..

    there is no way with zypper to upgrade (say) Firefox 2.0 to Firefox
    3.0 without changing the enabled repos..

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

Posting Permissions

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