You are not logged in.
Pages: 1
I noticed its not like 9.04 were its Super-u.
Is it apt-get update,,Then install updates from synaptic.
Or is there an easier way ?
Offline
well it is important to remember that this is only an alpha, so many things haven't been implemented yet but the script is here, (or /usr/bin/system-update), there shouldn't be a problem running it but i havent tried yet.
#!/bin/bash
# Print help
#===============================================================================
if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
echo "Usage:"
echo " -i, --interactive run system update"
echo " -n, --non-interactive run system update and only prompt"
echo " for root password"
echo " -f, --full run full system update including"
echo " any Kernel upgrades"
echo " -h, --help show this message and exit"
echo ""
exit
fi
# Run interactive update
#===============================================================================
if [ "$1" = "-i" ] || [ "$1" = "--interactive" ]; then
exec terminator --command="system-update --upgrade"
fi
if [ "$1" = "--upgrade" ]; then
echo "You are about to perform a system upgrade."
echo -n "Do you wish to continue? (Y|n) > "
read a
if [ "$a" = "y" ] || [ "$a" = "Y" ] || \
[ "$a" = "" ]; then
sudo apt-get update
sudo apt-get upgrade
echo ""
echo "-- System update complete! Exiting..."
sleep 4s
exit
fi
fi
# Run non-interactive update
#===============================================================================
if [ "$1" = "-n" ] || [ "$1" = "--non-interactive" ]; then
exec terminator --command="system-update --upgrade-now"
exit
fi
if [ "$1" = "--upgrade-now" ]; then
echo "Performing a system upgrade..."
sudo apt-get update
sudo apt-get -y upgrade
echo ""
echo "-- System update complete! Exiting..."
sleep 4s
exit
fi
# Run full update including any Kernel updates
#===============================================================================
if [ "$1" = "-f" ] || [ "$1" = "--full" ]; then
exec terminator --command="system-update --dist-upgrade"
exit
fi
if [ "$1" = "--dist-upgrade" ]; then
echo "You are about to perform a full system upgrade including any."
echo "Kernel updates."
echo -n "Do you wish to continue? (Y|n) > "
read a
if [ "$a" = "y" ] || [ "$a" = "Y" ] || \
[ "$a" = "" ]; then
sudo apt-get update
sudo apt-get dist-upgrade
echo ""
echo "-- System update complete! Exiting..."
sleep 4s
exit
fi
fi
# Run interactive system update if no arguements supplied
#===============================================================================
if [ "$1" = "" ];then
exec terminator --command="system-update --upgrade"
exit
fi
# Show help if arguement not recognised
#===============================================================================
echo "Oops! Invalid command. Have a clue..."
exec system-update -h
exit- - - - - - - - Wiki Pages - - - - - - -
#! install guide *autostart programs, modify the menu & keybindings
configuring Conky *installing scripts
Offline
I installed the script in usr/bin as a file and named it system-update.
Im not exactly sure how to run it.
This doesnt work,system-update --upgrade,,But im pretty sure im missing a step.
Offline
Did you make the file executable?
sudo chmod +x /usr/bin/system-updateNote: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
Did you make the file executable?
sudo chmod +x /usr/bin/system-update
Now what command is needed to run it.
Got it,,,You two Rule,,,This is what command i used and it works now.
system-update --upgrade
That did the trick,,,Now how would i turn it into Super-u keybind..
Is it as simple as using system-update --upgrade as the command like terminator in Edit RC XML.
Here is the keybind,,It works.
</keybind>
<keybind key="W-u">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Update</name>
</startupnotify>
<command>/usr/bin/system-update </command>
</action>
Last edited by charlie01 (2010-03-22 01:21:50)
Offline
Will there be any option of directly upgrading the current version of #! to Statler, or even Statler alpha? I would be strongly interested in this!
Offline
Will there be any option of directly upgrading the current version of #! to Statler, or even Statler alpha? I would be strongly interested in this!
Impossible.
Back up your data and install Statler fresh. 
/hugged
Offline
elumbella wrote:Will there be any option of directly upgrading the current version of #! to Statler, or even Statler alpha? I would be strongly interested in this!
Impossible.
Back up your data and install Statler fresh.
not impossible, just very difficult.
- - - - - - - - Wiki Pages - - - - - - -
#! install guide *autostart programs, modify the menu & keybindings
configuring Conky *installing scripts
Offline
snowpine wrote:elumbella wrote:Will there be any option of directly upgrading the current version of #! to Statler, or even Statler alpha? I would be strongly interested in this!
Impossible.
Back up your data and install Statler fresh.
not impossible, just very difficult.
That is great news! I have a very stable #! 9.04 system I would love to keep ticking without a reinstall. So don't be a tease... tell us how! This should definitely be stickied/wikied. 
/hugged
Offline
Upgrading from one distro to another distro, if even possible, is something I would never recommend. It would cause more problems than simply upgrading versions.
Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
It would be extreeeeemely frustrating to try! The installer on Crunchbang 10, though not as pretty and graphical as Ubuntu's, is certainly easy enough to follow. My Statler installed in less than 20 minutes, and that was with me reading everything twice to make sure I was choosing the right thing. It's not worth the trouble of trying to convert Ubuntu-based Crunchbang 9.04 into Statler. Not even the super-techno-geeks around here would bother trying when a re-install is so much faster and simpler!
-Robin
Offline
benj1 wrote:snowpine wrote:Impossible.
Back up your data and install Statler fresh.
not impossible, just very difficult.
That is great news! I have a very stable #! 9.04 system I would love to keep ticking without a reinstall. So don't be a tease... tell us how! This should definitely be stickied/wikied.
don't get your hope up, by difficult i mean working out all the package incompatibilities/naming differences between debian and ubuntu, which sounds easier than it is, its probably harder than creating a distro from scratch.
its theoretically possible to change from debian to slackware or red hat but i don't think anybodies going to attempt to write a program to do it.
- - - - - - - - Wiki Pages - - - - - - -
#! install guide *autostart programs, modify the menu & keybindings
configuring Conky *installing scripts
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.