Refracta Development, Scripts, etc.
Post a reply
fsmithred

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

## Re: Ubuntu

Sat Sep 08, 2012 11:35 am

squeeze uses live-config-2.0.15, and wheezy uses 3.0~a43-1. I didn't change the dependencies, because the scripts work with the older versions in squeeze.
fsmithred

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

## Re: Ubuntu

Sat Sep 08, 2012 5:31 pm

Refractasnapshot will work in ubuntu-12.04. What it won't do is install. I had to unpack the .deb file and copy files into place.
Installed ubuntu-12.04 in virtualbox.
Unpacked the refractsnapshot-base deb in user's home.
Copy files:
refractasnapshot.conf goes in ,etc (Note: the comma represents a forward slash. We can't post paths on this forum. Somebody is too paranoid.)
refractasnaphsot directory goes in ,usr,lib
refractasnapshot script goes in ,usr,bin
I assume that the gui version would work, too. Copy the .desktop file to ,usr,share,applications and copy the script (refractasnapshot-gui) to ,usr,bin
The snapshot iso is 617 MB, and it boots in virtualbox.
Will have to think about whether live-config-sysvinit can be changed to a recommended package, instead of a required one. It won't install because it depends on sysvinit, which is not installable. Maybe live-config-sysvinit OR live-config-upstart will suffice. I'm not sure.
fsmithred

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

## Re: Ubuntu

Sat Sep 08, 2012 7:41 pm

This one installs on ubuntu - (refractasnapshot-base_9.0.6_all.deb)
http://distro.ibiblio.org/refracta/test ... .6_all.deb
I changed the dependencies to 'live-config-sysvinit | live-config-systemd | live-config-upstart'.
fsmithred

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

## Re: Ubuntu

Sun Sep 09, 2012 7:12 pm

New versions of refractasnapshot:
http://distro.ibiblio.org/refracta/testing/
refractasnapshot-base_9.0.6_all.deb
refractasnapshot-gui_9.0.6_all.deb
Note: uploaded at 19:08.02 UTC on 2012-09-09. If you downloaded the base package before this time, you should re-download it. Remove the previously installed 9.0.6 and install this one.
Changes:
* Added /var/spool/mail/* to excludes list.
* Replaced isolinux boot splash with galaxy image.
* Modified spacing on isolinux boot menu.
* expanded dependencies to include live-config-systemd or live-config-upstart
* in place of live-config-sysvinit
* Added test for editor if $edit_boot_menu is set to "yes".
* $text_editor and $gui_editor defined with full path.
.
fsmithred

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

## Re: Ubuntu

Sun Sep 09, 2012 7:45 pm

The scripts seem to be working correctly in Ubuntu-12.04.
I made a snapshot using refractasnapshot-gui-9.0.6 and then used that snapshot to install to (vbox) hard drive using refractainstaller-gui-9.0.5-3.
If you don't have geany installed, and you set the config file to allow you to edit the isolinux boot menu, you'll also need to set the gui_editor variable to your editor of choice (like maybe /usr/bin/gedit).
.
dux

- dux
- Posts: 14
- Joined: Thu Sep 06, 2012 6:01 am

## Re: Ubuntu

Mon Sep 10, 2012 2:14 am

It appears to have installed, Why does the GUI need to install gnome keying?
dux

- dux
- Posts: 14
- Joined: Thu Sep 06, 2012 6:01 am

## Re: Ubuntu

Mon Sep 10, 2012 2:18 am

The gui is broken, It is asking for a admin password, I gave the password, 3 times, it then says wrong password and then closes.
fsmithred

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

## Re: Ubuntu

Mon Sep 10, 2012 3:43 am

Code:
  `$ aptitude why gnome-keyring
  i gksu Recommends gnome-keyring
  `

You activated the root account in your ubuntu? I'm using a standard ubuntu install, so I gave the user password to start the gui scripts, and they worked. Anything else non-standard in your system?
Were you trying to start the gui script from a terminal or from the menu/search bar? The command that starts it from a menu (in /usr/share/applications/refractasnapshot.desktop) is

Code:
  `gksu /usr/bin/refractasnapshot-gui`

It should also start from a root terminal - I know it works in refracta (debian) with su. It works for me in ubuntu with root terminal obtained by running 'sudo -i' or from a user terminal with sudo, or from a user terminal with gksu and the user's password.
What got installed that you didn't want? To limit what gets installed, you can use the '--no-install-recommends' option with apt-get or the '-R' option with aptitude. I already installed over my original installation, and I didn't keep the history or take notes on everything that got installed. Didn't seem like a lot to me.
Here's the list of depends for refractasnapshot:

Code:
  `bash (>= 4.1),
  rsync (>= 3.0.7),
  squashfs-tools (>= 4.0),
  genisoimage (>= 1.1.11),
  gawk (>= 3.1.7) | mawk (>= 1.3.3),
  refractasnapshot-base (>= 9.0.6),
  zenity (>= 2.30.0),
  gksu (>= 2.0.2-5)`

and for refractainstaller:

Code:
  `bash (>=4.1),
  rsync (>=3.0),
  sed (>=4.2),
  grep (>=2.6),
  coreutils (>=8.5),
  e2fsprogs (>=1.41.12),
  mount (>=2.17.2),
  util-linux (>=2.17.2),
  grub-pc | grub-legacy,
  gparted (>=0.7.0),
  zenity (>=2.30.0),
  refractainstaller-base (>= 9.0.5-3),
  gksu (>= 2.0.2-5)`

A lot of the above will already be present in a standard installation.
J.T.Kirk

- J.T.Kirk
- Posts: 32
- Joined: Tue Sep 11, 2012 3:42 pm

## Re: Ubuntu

Tue Sep 11, 2012 3:44 pm

Hi
The refractasnapshot function with Ubuntu Lucid 10.04 with De Lxde?
Thanks
Regards
fsmithred

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

## Re: Ubuntu

Wed Sep 12, 2012 1:43 am

I've never tested with ubuntu 10.x, but it should work ok.
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.