Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Strawberry Perl, from 5.18 to 5.22

by EigenFunctions (Beadle)
on Jul 23, 2015 at 20:57 UTC ( [id://1136077]=note: print w/replies, xml ) Need Help??


in reply to Re: Strawberry Perl, from 5.18 to 5.22
in thread Strawberry Perl, from 5.18 to 5.22

Thanks to everyone for the suggestions. Right now I'm not sure how I'm going to recover from this debacle. So far, it has cost me nearly a days worth of wasted time at work and at best, that's disappointing. I'm hoping it won't take another day (or more) to get back to where I was this morning. I actually do have a list of installed modules that I think I can use, maybe.

Having said all I did about Perl in past posts, it remains a vital part of my Engineering toolbox that I use and need for everyday activities.

Long live Perl!

Thanks,

EigenFunctions
Win7 x64 Service Pack 1

Replies are listed 'Best First'.
Re^3: Strawberry Perl, from 5.18 to 5.22
by afoken (Chancellor) on Jul 24, 2015 at 07:12 UTC

    From Re^4: Strawberry Perl, from 5.18 to 5.22:

    Backing up the over 31k files and 1GB of space is NOT the answer for a standard installation. I have hundreds of applications installed and most of them don't need to be backed-up. Data needs to be backed-up, not static applications.

    and

    Perl is (was) a wonderful platform, but it has been going downhill at a rapid pace. Strawberry Perl is a good example of the decline.

    From Re^2: Strawberry Perl, from 5.18 to 5.22:

    Right now I'm not sure how I'm going to recover from this debacle. So far, it has cost me nearly a days worth of wasted time at work and at best, that's disappointing. I'm hoping it won't take another day (or more) to get back to where I was this morning.

    So, you did not have a backup of your computer, and now it takes you far more time than expected to recover. And that's Perl's fault?

    Really?

    As I said before: If you don't have a backup of your computer's files, those files can't be important.

    Here is what would have happened with a working backup:

    1. Install 5.22 over 5.18.1
    2. Notice that this was a bad idea
    3. Uninstall 5.22
    4. deltree /y c:\strawberry
    5. Start backup software
    6. Restore c:\strawberry from yesterday's backup
    7. Ask perlmonks how to upgrade strawberry without damaging or loosing all modules

    Total time: about 1 hour, and 5.18.1 still working.


    Quoting again Re^4: Strawberry Perl, from 5.18 to 5.22:

    Data needs to be backed-up, not static applications.

    Yes, this is correct. Static applications that can be reinstalled from some installation media, archive or setup program and just work after that don't need a backup. But of course, you should have a backup of the installation media / archive / setup program. Good examples for such an application are calculator, notepad and clock that came with Windows. All without relevant configuration, available on the CD/DVD, and all without data.

    Office does not fit, it is not static, because it has a lot of configuration settings, parts in the registry, parts in local files (normal.dot). So you should backup Office.

    Perl also does not fit, it is also not static. It adds files to its installation as soon as you install a module.

    Now you have two options: Decide for each and every application, or worse, for each and every file if it is worth to be backed up. Or just backup the entire computer, wasting a few Megabytes of backup space for applications that could also be restored from installation media.

    With the second option, you can simply restore anything you damaged from backup, no matter if the damaged applications are also present on installation media or not. With the first option, you will find that your backup is incomplete, you have to search for the installation media, and you have to reinstall the damaged applications after restoring from the backup.

    An external 4 TB USB 3.0 harddisk costs less than 120 €. It has more than enough space to store several full backups of a common desktop. With incremental backups, you usually don't have to think about disk space at all. 6 TB costs about 250 €, if your desktop has a lot of data. 12 TB costs less than 600 €, if you collect huge amounts of data on your desktop.

    Compare those prices with the cost of two days of work.

    Your computer can do backups automatically, you don't have to monitor it. It can do incremental backups, so only the first backup will take a long time and use a lot of disk space. The following backups just save your changes, this is fast and uses only a little bit of disk space.


    Yes, the Strawberry 5.22 installer should not have damaged the existing 5.18.1 installation. It should have refused to install over 5.18.1, and instead give you instructions how to upgrade.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
      Alexander,

      You said:
      Yes, the Strawberry 5.22 installer should not have damaged the existing 5.18.1 installation. It should have refused to install over 5.18.1, and instead give you instructions how to upgrade.
      IMHO - That's the only statement of any importance. The install MSI can easily know that there is a previous version installed (the vast majority of cases will be an upgrade) and can either show a warning (and give them the option to ignore the warning) or stop the installation altogether (but, I don't like to force them). Furthermore, the MSI should provide hints as to what to do (e.g., use autobundle, then uninstall previous version). Considering the consequences, that seems like a reasonable addition to the MSI process.

      Thanks,
        EigenFunctions
        OpSys: Win7 x64 Service Pack 1

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1136077]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (8)
As of 2024-03-28 12:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found