Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux.ubuntu > #186582

Re: fixing broken installation

From Bit Twister <BitTwister@mouse-potato.com>
Newsgroups alt.os.linux.ubuntu
Subject Re: fixing broken installation
Date 2016-01-24 22:42 +0000
Organization A noiseless patient Spider
Message-ID <slrnnaakv5.ise.BitTwister@wb.home.test> (permalink)
References <AC9py.159412$m53.24132@fx33.iad> <dgko04Fh314U2@mid.individual.net> <n83a7q$c8c$2@dont-email.me> <QVbpy.141145$K21.135174@fx02.iad>

Show all headers | View raw


On Sun, 24 Jan 2016 22:06:38 +0000, duncan smith wrote:
> On 24/01/16 19:58, philo wrote:

>> I am a firm believer in fixing rather than reinstalling but since it's a
>> new install I'd probably just do it again since it will probably be faster.
>
> I might do that. But there's also a whole bunch of Python stuff that I
> had to install via the command line

And if your drive dies next month, what then.  :(

Create a script, say, install_addons. Put your command line commands
in the script, set execute bit on it, and next install run
install_addons and your done with installing those extra packages.

> (in some cases after fixing the setup.py files), 

Yup. Anything I have to do a few times, I automate it as much as possible.
I create a whatever_changes script to fold in my changes.

Example: every time the ssh package update gives me a new /etc/ssh/sshd_config 
file, I run sshd_config_changes to fold in my changes.

> and some videos that took a while to transcode etc.

Sounds like you need to write a backup/restore procedure/script,
execute backup verify backup has desired files, test the restore
procedure/script. 


> It would take a good while to get up and running again.

Not when you get all your scripts working.  :)

The following is the results of a clean install on my Test Bed node.
$ grep -i elap tb_*
tb_official_5_day_one_install.rpt:Elapsed: 0 00:01:59 for 20 packages
tb_official_5_install_addons.rpt:Elapsed:  0 00:08:12 for 138 packages
tb_official_5_install_changes.rpt:Elapsed: 0 00:10:32 for 18 packages
tb_official_5_install_toys.rpt:Elapsed:    0 00:24:57 for 56 packages
tb_official_5_new_install.rpt:Elapsed:     0 00:02:57 for 38 packages

Number of configuration file changes:
$ ls /local/bin/*changes | wc -l
78

There you have it ~48 minutes after a clean install. 

Back to alt.os.linux.ubuntu | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

fixing broken installation duncan smith <duncan@invalid.invalid> - 2016-01-24 19:29 +0000
  Re: fixing broken installation Penny Tration <fedora_the_explora@asia.com> - 2016-01-24 19:36 +0000
    Re: fixing broken installation mike antipasto <pizzadude@mycomputerrox.org> - 2016-01-24 16:43 -0500
      Hey philo, here is what your fellow Linux users really think about you. mike antipasto <pizzadude@mycomputerrox.org> - 2016-01-25 18:09 -0500
  Re: fixing broken installation Mike Easter <MikeE@ster.invalid> - 2016-01-24 11:46 -0800
    Re: fixing broken installation philo <philo@privacy.net> - 2016-01-24 13:58 -0600
      Re: fixing broken installation duncan smith <duncan@invalid.invalid> - 2016-01-24 22:06 +0000
        Re: fixing broken installation Bit Twister <BitTwister@mouse-potato.com> - 2016-01-24 22:42 +0000
          Re: fixing broken installation duncan smith <duncan@invalid.invalid> - 2016-01-25 01:27 +0000
            Re: fixing broken installation Bit Twister <BitTwister@mouse-potato.com> - 2016-01-25 02:07 +0000
        Re: fixing broken installation philo <philo@privacy.net> - 2016-01-24 17:38 -0600
          Re: fixing broken installation "Dirk T. Verbeek" <dverbeek@xs4all.nl> - 2016-01-25 01:35 +0100
            Re: fixing broken installation mike antipasto <pizzadude@mycomputerrox.org> - 2016-01-24 19:38 -0500
  Re: fixing broken installation "Dirk T. Verbeek" <dverbeek@xs4all.nl> - 2016-01-24 21:56 +0100
    Re: fixing broken installation mike antipasto <pizzadude@mycomputerrox.org> - 2016-01-24 17:16 -0500
    Re: fixing broken installation duncan smith <duncan@invalid.invalid> - 2016-01-24 22:22 +0000
      Re: fixing broken installation "Dirk T. Verbeek" <dverbeek@xs4all.nl> - 2016-01-24 23:35 +0100
        Re: fixing broken installation "Dirk T. Verbeek" <dverbeek@xs4all.nl> - 2016-01-25 00:18 +0100
          Re: fixing broken installation duncan smith <duncan@invalid.invalid> - 2016-01-25 01:39 +0000
            Re: fixing broken installation "Dirk T. Verbeek" <dverbeek@xs4all.nl> - 2016-01-25 10:13 +0100

csiph-web