tbird wrote:Well for me Its like back to my early experimental days. I have learned by plenty of mistakes and have 1 750GB + 2 externals with important stuff on it and 2 x 250GBs where I have multi operating systems on them and not care if I mess up.
BTW my Ubuntu has turned into Ukubuntu as it has a lot of the Kubuntu stuff on it now.
But I honestly do not care. Nothing is gained without....
Well done for Softpedia
#1 error in "Automatix" is fixed - implemented in Ultamatix 1.8.0-4, a bit of work to say the least solid python...
- Code: Select all
def checkConflicts():
"""determine if any conflicting programs are running..."""
if(testOutput('ps -U root -u root u | grep "synaptic" | grep -v grep')):
return ("Synaptic","<b>Synaptic is running</b>\nPlease close Synaptic and restart Ultamatix. ")
if(testOutput('ps -U root -u root u | grep "update-manager" | grep -v grep')):
return ("Update-Manager","<b>Ubuntu Update Manager is running</b>\nPlease close Ubuntu Update Manager and restart Ultamatix. ")
if(testOutput('ps -U root -u root u | grep "apt-get" | grep -v grep')):
return ("Apt","<b>Apt-get is running</b>\nPlease close Apt-get and restart Ultamatix. ")
if(testOutput('ps -U root -u root u | grep "adept" | grep -v grep')):
return ("Adept","<b>Adept is running</b>\nPlease close Adept and restart Ultamatix. ")
if(testOutput('ps -U root -u root u | grep "ultamatix.py" | grep "/usr/bin/python" | grep -v grep | grep -v %s'%os.getpid())):
return ("another Ultamatix session","<b>Ultamatix is already running</b>\nOnly one Ultamatix session may be run at any time. ")
""" get the APT lock //major bug in automatix, will not exist in ultamatix
try_acquire_lock"""
return None
def exclusive_lock():
try:
apt_pkg.PkgSystemLock()
except SystemError:
return ("Unable to get Exclusive Lock","<b>A package manager is running</b>\nPlease close and restart Ultamatix. ")
else:
return None
def unlock_apt():
"""unlock here to make sure that lock/unlock are always run pair-wise (and don't explode on errors)"""
try:
apt_pkg.PkgSystemUnLock()
except SystemError:
print "WARNING: trying to unlock a not-locked PkgSystem"
pass
Results of the above code... if a user has synaptec open it detects it tells the user to shut it down and exits graciously same for gdebi, apt, dpkg, adept update manager or another ultamatix, this is where it gets even better, if you are running ultamatix and try to fire up and of those listed it says another package manager is already running and exits, so no chance for the end user to bork their system even if they try or are unaware.
Exclusive lock:
- Have a exclusive lock (Ultamatix owns it)
- I don't think so 1 at a time ;)
The above was the #1 complaint of the ubuntu team, so they can now shut their pie hole
Current changelog:
Ultamatix:
1.8.0-4- Exclusive lock subroutine written (making the possibility of package breakage impossible)
- Tons of python code cleanup
- Total restructor of file layout to comply with "debian standards" (/etc/
- more to follow
File layout (no more dumping files into users /etc/ folder as Automatix did (now standard /usr/share/doc/ etc.):
- Code: Select all
./
usr/
usr/bin/
usr/bin/ultamatix
usr/bin/ultamatix.py
usr/lib/
usr/lib/ultamatix/
usr/lib/ultamatix/resin_ui.py
usr/lib/ultamatix/resin_ui.pyc
usr/lib/ultamatix/xml_functions.py
usr/lib/ultamatix/resin_controllers.pyc
usr/lib/ultamatix/resin_config.pyc
usr/lib/ultamatix/class_script.pyc
usr/lib/ultamatix/tray.pyc
usr/lib/ultamatix/class_script.py
usr/lib/ultamatix/startup.pyc
usr/lib/ultamatix/xml_functions.pyc
usr/lib/ultamatix/distro_helpers.pyc
usr/lib/ultamatix/terminal.py
usr/lib/ultamatix/terminal.pyc
usr/lib/ultamatix/extra_functions.pyc
usr/lib/ultamatix/main_interface.pyc
usr/lib/ultamatix/resin_controllers.py
usr/lib/ultamatix/startup.py
usr/lib/ultamatix/main_interface.py
usr/lib/ultamatix/extra_functions.py
usr/lib/ultamatix/resin_config.py
usr/lib/ultamatix/tray.py
usr/lib/ultamatix/distro_helpers.py
usr/share/
usr/share/ultamatix/
usr/share/ultamatix/conf/
usr/share/ultamatix/conf/songbird.desktop
usr/share/ultamatix/conf/Auto_Thumbnail
usr/share/ultamatix/conf/dvdshrink.desktop
usr/share/ultamatix/conf/swiftdove.desktop
usr/share/ultamatix/conf/sources.list
usr/share/ultamatix/conf/root-nautilus-here
usr/share/ultamatix/conf/swiftdoveversion
usr/share/ultamatix/conf/autorepo
usr/share/ultamatix/conf/MountISO
usr/share/ultamatix/conf/pp.py
usr/share/ultamatix/conf/saw.wav
usr/share/ultamatix/conf/gedit-root
usr/share/ultamatix/conf/MakeUsplash
usr/share/ultamatix/conf/apt.conf
usr/share/ultamatix/conf/Nautilus
usr/share/ultamatix/conf/MakeGDM
usr/share/ultamatix/conf/Binchunk
usr/share/ultamatix/conf/Terminal-Here
usr/share/ultamatix/conf/songbirdversion
usr/share/ultamatix/conf/search-here
usr/share/ultamatix/conf/swiftweasel.desktop
usr/share/ultamatix/conf/swiftweaselversion
usr/share/ultamatix/resin_glade.glade
usr/share/ultamatix/ultamatix.png
usr/share/ultamatix/pixmaps/
usr/share/ultamatix/pixmaps/tiletracer.png
usr/share/ultamatix/pixmaps/amarok.png
usr/share/ultamatix/pixmaps/security.png
usr/share/ultamatix/pixmaps/k3b.png
usr/share/ultamatix/pixmaps/dialog-information.png
usr/share/ultamatix/pixmaps/firefox.png
usr/share/ultamatix/pixmaps/eyecandy.png
usr/share/ultamatix/pixmaps/dialog-warning.png
usr/share/ultamatix/pixmaps/misc.png
usr/share/ultamatix/pixmaps/ET.xpm
usr/share/ultamatix/pixmaps/web.png
usr/share/ultamatix/pixmaps/kvirc.png
usr/share/ultamatix/pixmaps/dialog-error.png
usr/share/ultamatix/pixmaps/legends.ico
usr/share/ultamatix/pixmaps/tweak.png
usr/share/ultamatix/pixmaps/gapps_active.png
usr/share/ultamatix/pixmaps/gapps.png
usr/share/ultamatix/pixmaps/splash2.png
usr/share/ultamatix/pixmaps/kapps_active.png
usr/share/ultamatix/pixmaps/fusion-icon.png
usr/share/ultamatix/pixmaps/wine.png
usr/share/ultamatix/pixmaps/frostwire.png
usr/share/ultamatix/pixmaps/logo2.gif
usr/share/ultamatix/pixmaps/songbird.xpm
usr/share/ultamatix/pixmaps/alien-arena.png
usr/share/ultamatix/pixmaps/window.png
usr/share/ultamatix/pixmaps/view_icon.png
usr/share/ultamatix/pixmaps/chat.png
usr/share/ultamatix/pixmaps/q3ut.ico
usr/share/ultamatix/pixmaps/about_splash2.jpg
usr/share/ultamatix/pixmaps/ultimate_icon.png
usr/share/ultamatix/pixmaps/prog.png
usr/share/ultamatix/pixmaps/mail.png
usr/share/ultamatix/pixmaps/skype.png
usr/share/ultamatix/pixmaps/buzz.gif
usr/share/ultamatix/pixmaps/wop.png
usr/share/ultamatix/pixmaps/splash2.gif
usr/share/ultamatix/pixmaps/automatix_icon.png
usr/share/ultamatix/pixmaps/splash2.jpgbak
usr/share/ultamatix/pixmaps/about_splash.jpg
usr/share/ultamatix/pixmaps/picasa.xpm
usr/share/ultamatix/pixmaps/os.png
usr/share/ultamatix/pixmaps/kapps.png
usr/share/ultamatix/pixmaps/gimp.png
usr/share/ultamatix/pixmaps/ArmyOps.xpm
usr/share/ultamatix/pixmaps/background1.jpg
usr/share/ultamatix/changelog
usr/share/ultamatix/gutsy.autoscript
usr/share/ultamatix/key_data.xml
usr/share/ultamatix/version.xml
usr/share/ultamatix/gutsy.xml
usr/share/ultamatix/category_data.xml
usr/share/ultamatix/init_master
usr/share/ultamatix/conf_data.xml
usr/share/ultamatix/script_data/
usr/share/ultamatix/script_data/gutsy.xml
usr/share/applications/
usr/share/applications/ultamatix.desktop
usr/share/doc/
usr/share/doc/ultamatix/
usr/share/doc/ultamatix/README
usr/share/doc/ultamatix/copyright
usr/share/doc/ultamatix/changelog
once I have solved 100% of "
all issues", currently above 90%. I will begin on adding additional software & set it off the hook. The individualsthat are cluesless on the net think it is the same automatix, because it looks the same, I wish they could see the changes I have made under the hood. Pisses me off when I hear there is no need for ultamatix as well, hmm sudo apt-get install return to castlewolfenstein, americas army... the list goes on... Repo issues is the next in line (not asking the end user if they want thier sources modified as well as asking them if they would like them restored on ultamatix exit).
It is not currently perfect, but will be. The Automatix team gave me alot of work in just cleaning up their code... Once I get all issues resolved, I am going to install "debian" and run it through the ringers. I look for this to be a "must have" program when I have it completed.
TheeMahn
Home of Ultimate Edition. Got a question? Please review the
F.A.Q. Browse the
How to section.
Main O/S: Builder of O/S Guess.
Mainboard: ASUS Hero VI (AM4)
CPU: AMD 1700X water cooled (Deepcool Captain Genome Cooling tower)
Ram: 16 GB GSkill Trident RGB Series Dual Channel DDR4 3200
Video: MSI RX470 8GB Gaming card.
Hard Disks: MASSIVE on the network.(10 Gigabit, 48 port, multiple servers)
Monitors: Dual 4K 43" LG, 4K Samsung 28"
750 Watt modular PSU (Rosswell)
1100 Watt Amp & 4 X 600 Watt speakers
Servers in the basement.