Refracta Development, Scripts, etc.
Post a reply
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## refracta-6.0.6_beta1 bugs

Tue Sep 20, 2011 2:43 pm

1. Forgot to update repsit (the software installer) to the latest version. Save the following file as
/usr/local/bin/repsit
https://raw.github.com/fsmithred/refrac ... repsit-0.7
dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

## Re: refracta-6.0.6_beta1 bugs

Tue Sep 27, 2011 2:17 pm

Just tried the latest Refracta and did a "real" HD install. I'm pleased to see xterm included, refracta stuff "debianized" and I like the layout of the new installer. Everything is fine now but there were a few problems, and observations:
INSTALLER
In the zenity dialogs, ticks in the boxes don't show, instead the box just goes a slightly darker grey and shifts slightly to the left. Not easy to see, however it works.
Problem with editing sudoers (might have had something to do with not changing the keyboard) Nano opened and I could not navigate it normally, could not even get out with CTRL+x Fortunately desperate random keystrokes closed it and the installer continued. Never mind, I know how to do that manually. Why not just disable sudo in the installed system automatically? "Ubuntu-style" sudo is quite un-Debian anyway, unless you really want that...
I didn't notice a dialog to set new passwords and had to do that post-install. Maybe my error.
I configured the installer to not do bootloader. I use grub-legacy and don't want my carefully-customised menus and MBR trashed. No problem there, I can sort that myself. However I noticed, unfortunately for me, that the new installer depends on grub-pc. I seem to remember before, it did not, and would work for a snapshot with grub-legacy.
As the commands <update-grub> and <grub-install> are the same, the dependency could be "grub-pc|grub-legacy"
OTHER
I noticed that live-config and live-config-sysvinit are not installed. They are important packages used to recreate (some) "live" systems/snapshots. Also /usr/share/initramfs-tools/scripts/live (a component of live-boot-initramfs-tools) is missing. Any reason for this?
If the initrd is updated for whatever reason it seems almost certain that a snapshot (or a "live" image made by other means) from won't boot because /scripts/live will not be there. Unless live-boot-initramfs-tools (possibly live-boot also) is reinstalled before <update-initramfs -u> is run. I haven't actually tested this yet or tried to do a snapshot. See this debianuserforums thread for more info: http://www.debianuserforums.org/viewtop ... f=7&t=1288
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: refracta-6.0.6_beta1 bugs

Wed Sep 28, 2011 12:22 am

Thanks for the testing and the report, dzz. About the missing scripts/live - that occured because of the way the snapshot_exlcude.list is formatted. Change '- live' to '- /live' (or possibly '- live/') or comment out that line altogether, and the file will be copied to the snapshot. The live folder only exists and needs to be excluded if you're going to make a snapshot while running the live-CD. That's fixed in beta2.
One of the first things I tried as a remedy for the unbootable iso was to add the live script to the system before making a snapshot. It didn't fix the problem. I ended up doing what nadir did, more or less. I purged live-boot and live-boot-initramfs-tools and reinstalled them, combined with some reboots.
The previous refracta (604/605) was started as an iso created by live-build. This version was started as a minimal debian install in vbox. The only reason live-config and live-config-sysvinit are not installed is because I wanted to see how little was really needed for snapshot to run. I'm planning to rebuild the debs anyway, so I can easily change the dependencies. I will change grub-pc to grub | grub-pc. Thanks for catching that.
zenity checklist boxes:
The difficulty in seeing which boxes are checked is due to the desktop theme I chose. There will be more themes available in beta2. If I get really ambitious, maybe I'll tweak the current theme to fix that.
keyboard:
You can get to 'dpkg-reconfigure keyboard-configuration' through the system menu. It's set to generic-105 and USA. I'll have to rely on you foreigners to tell me if it needs to be different. But I don't think that the keyboard was your problem.
editing /etc/sudoers:
I recall running into this, and right now, I can't remember what I did to fix it, but I'm pretty sure I broke it again. Also pretty sure it has to do with the command in refractainstaller.desktop. Testing that now.
Only reason sudo is not disabled is tradition. I've considered eliminating sudo, and I haven't ruled it out entirely.
dialogue to set new user password:
Shows up if you checked the box for "Change user name". Except if you killed the terminal to get out of sudoers. Also, if you ran the non-gui installer, there's no way to change the user name, but you can run change-username after you boot into the new system.
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: refracta-6.0.6_beta1 bugs

Wed Sep 28, 2011 12:43 am

In /usr/share/applications/refractainstaller.desktop, make it:

Code:
  `Exec=su -c /usr/bin/refractainstaller-gui`

That will let you keep control of the terminal, needed for entering passwords and editing /etc/sudoers. The down side is that you now have to enter the root password to start the script.
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## Re: refracta-6.0.6_beta1 bugs

Wed Sep 28, 2011 3:52 am

> In the zenity dialogs, ticks in the boxes don't show, instead the box just goes a slightly darker grey and shifts slightly to the left. Not easy to see, however it works.

I got the same problem, but with all apps (with tick boxes).
Changing the gtk-engines solves it. I think its a bit of a drawback, and would use a different gtk-engine per default, so it can easily be seen.
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: refracta-6.0.6_beta1 bugs

Wed Sep 28, 2011 2:29 pm

Check boxes are fixed. I modified Xfce-4.4-Custom1 and Custom2 so that the highlight bar is gray instead of blue. (Note: the only difference between those two is the text color on the desktop icons. One is light text for a dark background, and the other is dark text for a light background.)
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.