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
Printable View
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
On Tue, 07 Oct 2008 14:55:54 +0100, Robert wrote:
[color=blue]
> 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,
>[/color]
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
Douglas Mayne wrote:
[color=blue]
> I think the general procedure is as follows:[/color]
[...]
[color=blue]
> # upgradepkg --dry-run $P[/color]
[...]
That was it Douglas, worked fine thank you.
regards,
--
Robert
On Tue, 07 Oct 2008 14:55:54 +0100, Robert <frostie@fastmail.co.uk> wrote:
[color=blue]
>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?[/color]
upgradepkg ...
Grant.
--
[url]http://bugsplatter.id.au/[/url]
On Tue, 07 Oct 2008 16:19:34 +0100, Robert wrote:
[color=blue]
> Douglas Mayne wrote:
>[color=green]
>> I think the general procedure is as follows:[/color]
>
> [...]
>[color=green]
>> # upgradepkg --dry-run $P[/color]
>
> [...]
>
> That was it Douglas, worked fine thank you.
>
> regards,
>[/color]
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