Sponsored Content
Full Discussion: Rolling Back an Update
Operating Systems Linux Rolling Back an Update Post 302634795 by mark54g on Thursday 3rd of May 2012 09:49:32 PM
Old 05-03-2012
It is not untenable. All you have to do is make the script take input and save the selections somewhere.

If the chosen destination is /opt/yoursoftware/version

you can easily create an /opt/yoursoftware/latest that is a link to the version installed.

Windows does not have the major advantage here. Sure you can play games with the registry, but *nix has been more flexible for decades. Nobody is suggesting you build an alternative to deb or rpm files, but you don't have to use them at all, and it makes it even simpler for dealing with any ELF compatible UNIX.

you have a tgz file, and then it explodes into a directory. That then has an install.sh and perhaps an uninstall.sh and perhaps an upgrade.sh script inside.
They do the right thing, and create backups, and the version management and voila.

If you run uninstall.sh, it then asks if you want to save your current version. If so, you can easily archive it off, because /opt/yoursoftware/latest points to the one they just installed.

This is the way *nix works.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Rolling back time

Hi all, Have a small problem. Back in October the pervious sys-admin (of a client's company) made the necessary adjustments to the system clock for daylight savings (Sydney time - +11 GMT). As far as I can gather, they just amended the time - NO TIMEZONE !?! Is there an effective and safe... (5 Replies)
Discussion started by: Cameron
5 Replies

2. AIX

back to back printing in UNIX

Hi , Can you suggest me how to back to back printing in UNIX? Is there any way? Kindly advise. Regards Vijaya Amirtha Raj (3 Replies)
Discussion started by: amirthraj_12
3 Replies

3. Shell Programming and Scripting

log rolling

Hi, I'm thinking of running a script via cron (every hour) to do the log rolling. The file is "file.txt" and there going to be 10 files rolling (file.txt.n). The file is being written constantly by an application. The script will do the following: 1. cat file.txt > file.txt.0 2. cat... (0 Replies)
Discussion started by: chaandana
0 Replies

4. IP Networking

Back-to-Back Connection using HBAs

Hi every body, Is it possible to connect two servers Back-to-Back (Point-to-Point) using HBA adapters & using Fiber. Note it is direct connection & there is no switches between the servers. I'm concern about using HBA adapters, it is possible or not. Thanks in advance. :) (3 Replies)
Discussion started by: aldowsary
3 Replies

5. AIX

rolling back Technology Level

Hi, is it possible to roll back currently updated Technology level ? what are steps required? Regards, Manoj (2 Replies)
Discussion started by: manoj.solaris
2 Replies

6. UNIX for Dummies Questions & Answers

Rolling back SQL transaction

Can some one help me related to .sql file issue. I have a .sqlfile and tried to read the file thru unix. In the .sqlfile I have error rows as well and when error comes I dont want to proceed further and need to roll back all the transactions. sample .sql file below insert into test... (2 Replies)
Discussion started by: sri_aue
2 Replies

7. UNIX for Dummies Questions & Answers

Middled Rolling average

Dear Help, The input file is below --- 13 2238422.00000 101083.00000 0.89024 0.00416 0.00467 14 2238318.00000 101090.00000 0.89100 0.00416 0.00467 15 2238209.00000 101100.00000 0.90964 0.00424 0.00466 16 2238104.00000 101104.00000 0.97568 0.00463 0.00475 17 2237991.00000 101113.00000... (8 Replies)
Discussion started by: Indra2011
8 Replies

8. What is on Your Mind?

SEO Update: Back On Page 1 for Google SERPs (between #6 and #8)

Well, good news... Just checked a number of browsers set to the US region of Google , NCR https://www.google.com/ncr unix.com was back on the first page, between #6 and #8. Will be interesting to see if we can make it back to our highest #4 ranking in 2019. Google Webmaster Tools... (4 Replies)
Discussion started by: Neo
4 Replies
gst-compprep-0.8(1)						   User Commands					       gst-compprep-0.8(1)

NAME
gst-compprep-0.8, gst-compprep - create the registry for gst-complete SYNOPSIS
gst-compprep-0.8 [gst-std-options] gst-compprep [--gst-list-mm] [--gst-mm=string] [--print] [gst-std-options] DESCRIPTION
gst-compprep-0.8 builds a registry of GStreamer elements and their features, which is used by gst-complete to perform context-sensitive tab completion of gst-launch command lines. By default, the registry is stored in /etc/gstreamer/compreg.xml. Whenever the available gstreamer plugins are modified, the registry should be regenerated by running gst-compprep as the root user. gst-compprep is a wrapper script that runs the latest installed version of gst-compprep-X.X. For example, if both gst-compprep-0.7 and gst- compprep-0.8 are installed on your system, gst-compprep runs gst-compprep-0.8. OPTIONS
The following options are supported by gst-compprep-0.8 and gst-compprep: gst-std-options Standard options available for use with most GStreamer applications. See gst-std-options(5) for more information. The following options are supported by gst-compprep only: --gst-list-mm List found major/minor versions. This option displays the versions that are available. --gst-mm=string Force major/minor version. This option enables you to specify a specific version to run, if you do not want to run the default version. --print Print wrapped command line. This option displays the command that will be run, and then runs the command. EXAMPLES
Example 1: Running the Wrapper Script and Displaying the Command Name example% gst-compprep --print /usr/bin/gst-compprep-0.8 FILES
The following files are used by this application: /usr/bin/gst-compprep-0.Executable to create the registry for gst-complete /usr/bin/gst-compprep Wrapper script that runs the latest installed version of gst-compprep-X.X /etc/gstreamer/compreg.xRegistry generated by gst-compprep and used by gst-complete ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-media | +-----------------------------+-----------------------------+ |Interface stability |External | +-----------------------------+-----------------------------+ SEE ALSO
gst-complete(1), gst-feedback(1), gst-inspect(1), gst-launch(1), gst-launch-ext(1), gst-md5sum(1), gst-register(1), gst-thumbnail(1), gst- typefind(1), gst-xmlinspect(1), gst-xmllaunch(1), gstreamer-properties(1), libgstreamer-0.8(3), libgstgetbits(3), gst-std-options(5) NOTES
Original man page written by the GStreamer team at http://gstreamer.net/. Updated by Brian Cameron, Sun Microsystems Inc., 2004. SunOS 5.10 14 Oct 2004 gst-compprep-0.8(1)
All times are GMT -4. The time now is 06:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy