sidux.com
Menu

News

Give back
Last 3 Contributions
06-09-2008 100.00
25-08-2008 20.00
20-08-2008 15.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
h2
Post subject: smxi script: information and updates: maintenance script  PostPosted: Nov 30, 2006 - 06:06 PM



Joined: Nov 28, 2006
Posts: 4128

Status: Offline
This thread is for letting you know the latest updates to smxi

Bug Reports - Feature Requests
Please post bug reports / and / or feature requests in the bug report / feature request thread.

Debian Netinstall
Read the netinstall thread for a basic howto. ( netinstall conversion is no longer officially supported - but don't let that stop you if you want to try! Just no support for that.)

Script Home Page
Script home page here. Here you can get various script first time installation options, including the new zip method, which is the easiest if it's not currently in sidux-scripts:
Code:
cd /usr/local/bin; wget techpatterns.com/smxi.zip;unzip smxi.zip;smxi

Just copy and oaste that into a root terminal/console, and hit enter, and it will install all the script compents, ready to go.

smxi, sgfxi, and svmi documentation
Recently added, besides the information you get in the sidux manual pages, there is now are now official script documentation pages. These will expand over time, but currently they explain some common options, some advanced hard setting of options, developer tricks and tools.

smxi irc channel: irc.oftc.net #smxi
With factoids, using Amy bot. I'll put anything I can think of in the factoids. For category list, do: !categories
From beginner to advanced levels, including dev information. Most people will want to check out the !main section first. Be patient if posting bugs or questions, I'm not tracking this 24/7, and I will usually be logged in during the day, pacific usa time (about 18:00-05:00 gmt). If you don't see an h2 present, I won't see your question, so wait until an h2 is there to post, or use the factoids or ask someone. Any good questions will be made into factoids themselves.

Why Init 3? Why no GUI?
Read this thread for explanation of why sm will never be a gui app, and why dist-upgrades should never be run in x/kde/gnome.

Basic smxi / script philosophy
While responding to some user feedback, I ended up creating what is basically the core smxi mission statement and philosophy. I think my long comment in that thread explains how smxi works and is developed, the ideals that drive it, etc, quite well.

Some Option stuff...
Please check the available script options by starting the script in your console with this: smxi -h
You don't need to be root, and you don't need to be in init 3 to view the help options.

See option documentation for more complete information and explanations.

Code:
The following allow you skip parts of the du script:
-d Skips dist-upgrade if you also select the w option.
-e Skips some of the 'Please hit enter to continue' questions.
-g Skips the graphics install question.
-i Skips the system information section.
-k Skips the kernel install question.
-s Skips some parts of script that require an internet connection.
   Avoid using this since it disables almost all script functionality.
-S Skips the internet connection test. Use this if script fails connection test
   but you know your connection is fine.
-t Skips the Post dist-upgrade options section.
-w Skips the du warnings section. (avoid using this in general unless you
    also skipping the upgrade section.)

The following are advanced script options:
-K Advanced Kernel Install. If newer test kernels are available, they will show
   in the advanced kernel install options. Install advanced kernels at your own risk!
-m Runs the option to change debian mirrors in /etc/apt/sources.list
-M Runs the option to change default kernel Mirrors for smxi
-N Runs the option to remove or install sidux kernel metapackages.
-p Runs apt-get update without using pdiffs. Good for fast connections.
-P Run script with Proxy settings for connection, requires this syntax:
   -P http://[<username><:password>@]<server><:port> Argument is required.
-U Forces an Update of script before it runs again.
-x Runs extra script features that are not core to central functionality.

The following can be run in X/kde:
-h Prints this help menu.
-v Prints version and system information, including distro version,
  . current kernel, apt update and dist-upgrade last used, and last use of smxi.
-W shows last warnings or configs. Requires arguments: -W w (show only
    warnings); -W c (show only configs), or -W wc (show first warnings, then
    configs). If you start smxi as root with -W option, it will also update the
    information, otherwise it uses the last ones downloaded, if present.

_________________
sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [using rdiff-backup]: rd-h2.sh


Last edited by h2 on Aug 27, 2008 - 10:53 PM; edited 29 times in total
 
 View user's profile Send private message  
Reply with quote Back to top
h2
Post subject: RE: du-fixes information and updates  PostPosted: Dec 01, 2006 - 03:04 AM



Joined: Nov 28, 2006
Posts: 4128

Status: Offline
Version 4.6.0: Added sidux support in all modules and main script. Abstracted away from Kanotix specific to more generalized, and added basic sidux version detection.

Also updated all techpatterns.com directories to reflect this more generalized schema, now instead of everything being located in techpatterns.com/downloads/kanotix/... it's in techpatterns.com/downloads/distro/....

Also updated all backend support stuff on techpatterns.com.

_________________
sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [using rdiff-backup]: rd-h2.sh
 
 View user's profile Send private message  
Reply with quote Back to top
h2
Post subject: RE: du-fixes information and updates  PostPosted: Dec 02, 2006 - 12:39 AM



Joined: Nov 28, 2006
Posts: 4128

Status: Offline
Version 4.7.0: Added option to setup sidux /etc/apt/sources.list and add new sidux-keyrings.

Basically, it's just this: http://sidux.com/PNphpBB2-viewtopic-t-3.html
scripted.

Currently this option will only be offered to script users if you start the script with the -X option. Of course, remember, to get this new option, you must first update the script, then restart it. You can updated it by starting it with the -u option, then exit the script with ctrl+c, then restart it like this:
du-fixes-h2.sh -X

This will give all kanotix users the option to update system to sidux sources.

During your first dist-upgrade, you will be asked if you want to keep your 'distro' file. Answer 'y' to that, and it will update many system internals to reflect the new sidux packages and system configs.

Hope this is helpful to early adopters.

Remember, this is very early in sidux testing, so the new sidux apt repositories are fairly rough. But since slh maintained the kanotix ones, I have confidence that the new ones will be pretty solid from the beginning.

Ok, welcome to sidux kanotixers.

_________________
sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [using rdiff-backup]: rd-h2.sh
 
 View user's profile Send private message  
Reply with quote Back to top
hubi
Post subject: RE: du-fixes information and updates  PostPosted: Dec 02, 2006 - 12:52 AM



Joined: Nov 30, 2006
Posts: 3122
Location: Budapest
Status: Offline
h2,

just a stupid question. Do I understand it correctly, that I can upgrade your script by doing
Code:
sh du-fixes-h2.sh -u
?

I have yesterday's snapshot of your script on /root. That option would be very conveniant.

hubi

_________________
Bonitas stultitiaque sodales sunt.
 
 View user's profile Send private message  
Reply with quote Back to top
devil
Post subject: RE: du-fixes information and updates  PostPosted: Dec 02, 2006 - 01:00 AM
Team Member


Joined: Nov 24, 2006
Posts: 2643
Location: berlin
Status: Offline
hubi,
yes, that will update it, after that kill with ctrl -c , then call the script with -X , that will promt you to change sources to sidux.

greetz
devil

_________________
>>we are sidux - resistance is futile - you will be assimilated<<
 
 View user's profile Send private message  
Reply with quote Back to top
hubi
Post subject: RE: du-fixes information and updates  PostPosted: Dec 02, 2006 - 01:09 AM



Joined: Nov 30, 2006
Posts: 3122
Location: Budapest
Status: Offline
devil,

I suppose I can skip -X, the first thing I did on all boxes, was changing the sources.list (kicking kanotix and related, adding sidux). Just after that I ran h2's script. So transfer is done and -u sufficiant?

The publishable part of my sources.list looks like that:
Quote:
# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.

# Unstable
deb http://ftp.hu.debian.org/debian/ sid main contrib non-free
# deb-src http://ftp.hu.debian.org/debian/ unstable main contrib non-free

# Testing
deb http://ftp.hu.debian.org/debian/ testing main contrib non-free
# deb-src http://ftp.hu.debian.org/debian/ testing main contrib non-free

# Experimental
# deb http://ftp.hu.debian.org/debian/ experimental main contrib non-free
# deb-src http://ftp.hu.debian.org/debian/ experimental main contrib non-free

# sidux
deb http://sidux.com/debian/ sid main contrib non-free fix.main fix.contrib fix.non-free vdr

# sidux temporarily
deb http://sidux.com/repo/transitional/ sid main contrib non-free
deb http://sidux.com/repo/compat/ sid main contrib non-free
hubi

_________________
Bonitas stultitiaque sodales sunt.
 
 View user's profile Send private message  
Reply with quote Back to top
phen
Post subject: RE: du-fixes information and updates  PostPosted: Dec 02, 2006 - 01:58 AM



Joined: Nov 30, 2006
Posts: 302
Location: Berlin
Status: Offline
what do you mean with "updating the h2-script"? after i startet it, it looked up a newer version and dl'ed it and restarted - am i wrong?
 
 View user's profile Send private message  
Reply with quote Back to top
hubi
Post subject: RE: du-fixes information and updates  PostPosted: Dec 02, 2006 - 02:09 AM



Joined: Nov 30, 2006
Posts: 3122
Location: Budapest
Status: Offline
phen,

so it works without the -u option? Even better Very Happy

Just getting customized to all the new options,
hubi

_________________
Bonitas stultitiaque sodales sunt.
 
 View user's profile Send private message  
Reply with quote Back to top
h2
Post subject: RE: du-fixes information and updates  PostPosted: Dec 02, 2006 - 02:33 AM



Joined: Nov 28, 2006
Posts: 4128

Status: Offline
The script always updates itself if there is a new version, but if you are trying to use a new option it won't work until you restart. -u just forces update no matter what.

The script will always move to /usr/local/bin no matter where you store it, and that's where all its modules will also be found, so unless you want to keep an older version around, there's little point in installing anywhere other than /usr/local/bin

I would recommend running it with the -X option at least one time because that will also turn off some kanotix specific updating stuff as well permanently.

If you have already updated your sources.list manually, the script will detect that and not try again, but it will set a preference to skip kanotix keyrings install etc.

phen, no you are right, that's exactly what it does, downloads latest version, checks to see if it's newer, restarts if it is.

_________________
sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [using rdiff-backup]: rd-h2.sh
 
 View user's profile Send private message  
Reply with quote Back to top
hubi
Post subject: RE: du-fixes information and updates  PostPosted: Dec 02, 2006 - 02:42 AM



Joined: Nov 30, 2006
Posts: 3122
Location: Budapest
Status: Offline
h2,

great info on a massive script.

thx,
hubi

_________________
Bonitas stultitiaque sodales sunt.
 
 View user's profile Send private message  
Reply with quote Back to top
acheronta.movebo
Post subject: RE: du-fixes information and updates  PostPosted: Dec 02, 2006 - 12:33 PM



Joined: Dec 01, 2006
Posts: 69
Location: Berlin
Status: Offline
Hey h2,

thank you for your script. Never used it in former times. Works very fine.


hubi,

our FF-Dialogue-Problem is solved. Very Happy

_________________
sidux, 2.6.19-slh-up-1: BenQ S72, Dothan 1,86 GHz, ATI X600 (1280x768), AC'97 Audio Controller
 
 View user's profile Send private message ICQ Number 
Reply with quote Back to top
oduffo
Post subject: RE: du-fixes information and updates  PostPosted: Dec 02, 2006 - 03:33 PM



Joined: Dec 01, 2006
Posts: 439
Location: Berlin
Status: Offline
h2,

I just used your script - for the first time ever - to switch to sidux and to install a new kernel. Everything went smoothly. No problems at all.

Thank you very much for a great tool.

Gruß
oduffo
 
 View user's profile Send private message  
Reply with quote Back to top
eislon
Post subject:   PostPosted: Dec 02, 2006 - 09:03 PM



Joined: Dec 02, 2006
Posts: 58
Location: Veendam, Netherlands
Status: Offline
the h2 script worked perfect for me today, all repository's have been changed to sidux.
and I got a new kernel running.

_________________
---
eislon - a sidux manual/meta package translator.
 
 View user's profile Send private message Visit poster's website ICQ Number 
Reply with quote Back to top
Oddball
Post subject:   PostPosted: Dec 02, 2006 - 11:30 PM



Joined: Dec 02, 2006
Posts: 493
Location: Övarp
Status: Offline
This is my first post here.

I also used h2:s script to transfer to sidux, I think it went all right but I can't really see any difference from before (Kanotix) and I don't really understand whats written here before, so excuse me for the following question.

How can I see that I'm running sidux and not Kanotix?

_________________
"Crazy! I mean like so many positive waves maybe we can't lose! You're on!"
 
 View user's profile Send private message  
Reply with quote Back to top
Crest
Post subject:   PostPosted: Dec 02, 2006 - 11:47 PM



Joined: Dec 02, 2006
Posts: 173
Location: Berlin
Status: Offline
I think actually it's more some sort of 'internal' change which is needed for future updates, not so much what you can see everywhere. And I'm probably right that the change can't be that big since also Kanotix is/was Debian Sid right now.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 1 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux is Free Software released under the GNU/GPL license and other compatible licenses.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed by w3you.