LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-14-2014, 04:48 PM   #1
5883
Member
 
Registered: Aug 2004
Posts: 173

Rep: Reputation: 0
Design question: how to create installation package to cover all cases


Embedded system running ubuntu, this system is a blackbox to the user, you
can use web to see its status, but no console outputs until developers fly
there.

My design question is a general question, not for ubuntu only.

we want to build the installation package for our application,
each time user installs the new package in the running system, it's a black
box to them. Our installation should cover all kinds of cases.

Things i can think of:
1. what's the best/standard package creation procedure for ubuntu 12.04 ?
any website ?
seems there're different ways from web.

2. if this time my app is ver 1.1, next time it'll be 1.2, where to put
this version info ?

3. if this board will be in the field for 20 years, will never come back,
once a while we can install new kernel/file system/app in it, how to make
sure this install can always work ? (think about windows update, things can
get messed up, certain app version won't work with certain kernel/fs etc.) should be a dependency somewhere ?

4. what happens if in the middle of install, the board lost power, how to
make sure it can still come back online when power is back ?

5. how to do rollback ? assume apt-get/dpkg has some commands ?

Many thanks !

Last edited by 5883; 02-14-2014 at 04:51 PM.
 
Old 02-16-2014, 12:42 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
I suggest that you set up 2 software systems on the device and dual boot. When you update a system only do one system at a time. That way you can fall back on the other system if an upgrade goes badly wrong. You would also have to build in a way to fix a broken system from the good system.

--------------------
Steve Stites
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome panel "Create Launcher" question - bug or just poor design taylorkh Linux - Newbie 5 05-19-2010 07:52 AM
[SOLVED] Try to remove previous installation and create a package but got an error ethereal1m Linux - Newbie 4 04-09-2010 12:08 PM
Create a package out of an Installation, preserving the correct path Alexvader Slackware 5 12-21-2009 05:49 PM
Processor Installation: What to do with the plastic cover? anindyanuri Linux - Hardware 2 12-31-2006 10:45 PM
LXer: Create your own book cover art with open source software LXer Syndicated Linux News 0 09-07-2006 05:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration