hi,
I installed on HD Sparky Linux 3.6 Razor-Qt i586.
All works fine.
I can install/upgrade packages with apt-get or synaptic but when i launch "System Upgrade" I receive this error message:
"
It's Live System!
Install Sparky on a hard drive then upgrade it.
Exiting now...
"
note:
I have a multi OS system with several linux distro.
During Sparky installation I choose to install grub on the first sector of root partition.
After reboot, in another linux OS, I copied the Sparky /boot/grub/grub.cfg menuentries on my personal 40_custom and I updated grub on MBR.
may depend on it?
I think not, but...
ciao
s.
Hi
What user name have you created for the sparky installation?
The computer name is ste-ms-7360
less /etc/hosts
127.0.0.1 localhost
127.0.1.1 ste-ms-7360
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
/etc/hosts (END)
my user name is ste
The script check is 'live' user registered in the installed system.
If yes - it displays the message you've seen.
If not just pass the step and makes upgrading.
What you can do is:
Edit, as root the file:
/usr/bin/sparky-aptus-upgrade
Remove or comment out the lines:
# if Live system just quit, don't upgrade
TESTMODE=`grep "1000" /etc/passwd | grep -v "Live"`
if [ "$TESTMODE" = "" ]; then
$DIALOG $TITLE"$TITLETEXT" $MSGBOX $TEXT"It's Live system!\nInstall Sparky on a hard drive then upgrade it.\n\nExiting now..."
exit 1
fi
It's temporary solution only.
Ah! :)
After installation i have changed my UID and my GID for compliance with other OS.
In the script /usr/bin/sparky-aptus-upgrade I change 1000 with the correct number and now works!
thank you very much
s.
Cool