Slackbuild.org updates - Slackware

This is a discussion on Slackbuild.org updates - Slackware ; If a newer version of a slackbuild becomes available, do I have to uninstall the relevant app first and then run the new slackbuild or can I just run the new slackbuild and be done? regards, -- Robert...

+ Reply to Thread
Results 1 to 5 of 5

Thread: Slackbuild.org updates

  1. Slackbuild.org updates

    If a newer version of a slackbuild becomes available, do I have to uninstall
    the relevant app first and then run the new slackbuild or can I just run
    the new slackbuild and be done?

    regards,
    --
    Robert






  2. Re: Slackbuild.org updates

    On Tue, 07 Oct 2008 14:55:54 +0100, Robert wrote:

    > If a newer version of a slackbuild becomes available, do I have to uninstall
    > the relevant app first and then run the new slackbuild or can I just run
    > the new slackbuild and be done?
    >
    > regards,
    >

    I think the general procedure is as follows:

    1. Download relevent files. Verify signatures, etc.
    2. Compile package using the slackbuild script. This generates a tgz
    package.
    3. Install or upgrade package, depending on whether the package
    is being upgraded or installed as new package.

    Here is one way to proceed...

    # P=/tmp/some_software.tgz
    # upgradepkg --dry-run $P

    This will give an output message which contains either, "would upgrade" or
    "no installed"

    If the message for the package is "would upgrade", then go ahead and
    upgrade the package:

    # upgradepkg $P

    If the message is "no installed", then install the package.

    # installpkg $P

    HTH

    --
    Douglas Mayne

  3. Re: Slackbuild.org updates

    Douglas Mayne wrote:

    > I think the general procedure is as follows:


    [...]

    > # upgradepkg --dry-run $P


    [...]

    That was it Douglas, worked fine thank you.

    regards,
    --
    Robert



  4. Re: Slackbuild.org updates

    On Tue, 07 Oct 2008 14:55:54 +0100, Robert wrote:

    >If a newer version of a slackbuild becomes available, do I have to uninstall
    >the relevant app first and then run the new slackbuild or can I just run
    >the new slackbuild and be done?


    upgradepkg ...

    Grant.
    --
    http://bugsplatter.id.au/

  5. Re: Slackbuild.org updates

    On Tue, 07 Oct 2008 16:19:34 +0100, Robert wrote:

    > Douglas Mayne wrote:
    >
    >> I think the general procedure is as follows:

    >
    > [...]
    >
    >> # upgradepkg --dry-run $P

    >
    > [...]
    >
    > That was it Douglas, worked fine thank you.
    >
    > regards,
    >

    Later, I remembered that there is another switch to use with the
    upgradepkg command which simplifies some install caeses. The switch,
    --install-new, simplifies the problem of installing in the case
    where the specified package should be installed if it is not already
    installed, and upgraded if another version is present.

    man upgradepkg.

    --
    Douglas Mayne


+ Reply to Thread