Meego Wiki
Views

OBS Light Installation

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(For Ubuntu 11.04)
(Replaced content with "OBS Light has moved! It's now located at openSUSE: [http://en.opensuse.org/openSUSE:OBS_Light_Installation http://en.opensuse.org/openSUSE:OBS_Light_Installation]")
 
(35 intermediate revisions not shown)
Line 1: Line 1:
-
= OBS Light Deliverable =
+
OBS Light has moved! It's now located at openSUSE:
-
== Introduction ==
+
[http://en.opensuse.org/openSUSE:OBS_Light_Installation http://en.opensuse.org/openSUSE:OBS_Light_Installation]
-
[[OBS Light]] project deliverable which are available are listed on this page. Publication of the information will follow the progress of the implementation (yes, we do publish early draft versions, using them is at your risk)
+
-
 
+
-
A command line version of any individual feature will generally precede its implementation as an OSC plugin (when applicable) and creation of a UI will come last.
+
-
Please note that once a command will have been published as an osc plugin the stand alone command will be deprecated.
+
-
 
+
-
== Packaged versions ==
+
-
Packaged versions of the OBS Light client (still in development) are available for OpenSUSE, MeeGo, Debian and Ubuntu.
+
-
=== For OpenSUSE 11.4 ===
+
-
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ here].
+
-
There are 3 packages:
+
-
* ''obslight-base'', which contains only the commandline version
+
-
* ''obslight-gui'', which contains the graphical user interface
+
-
* ''obslight-utils'', which contains [[obstag | obstag, obs2obscopy and obsextractgroups]]
+
-
To install ''obslight-base'', you will need the meego Tools:
+
-
zypper ar http://repo.meego.com/MeeGo/tools/repos/opensuse/11.4/ meegoTools
+
-
zypper --gpg-auto-import-keys ref
+
-
 
+
-
zypper ar http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/Project%3aOBS_Light.repo
+
-
zypper --gpg-auto-import-keys ref
+
-
zypper in obslight-base
+
-
To install the GUI, you will need PySide:
+
-
zypper ar http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/shiboken/openSUSE_11.4/ pyside
+
-
zypper --gpg-auto-import-keys ref
+
-
 
+
-
zypper in obslight-gui
+
-
 
+
-
=== For Ubuntu 11.04 ===
+
-
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.04/ here].
+
-
There is only one package, ''obslight'', which contains the commandline, the GUI and the utilities. Add these lines to your '''/etc/apt/sources.list''' file (or to a new file '''/etc/apt/sources.list.d/obslight.list'''):
+
-
deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.04/ ./
+
-
deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_11.04 ./
+
-
You also need a recent version of [http://www.pyside.org/ PySide]:
+
-
sudo apt-add-repository ppa:pyside/ppa
+
-
Refresh the APT database and install OBS Light:
+
-
wget http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_11.04/Release.key -O - | sudo apt-key add -
+
-
sudo apt-get update
+
-
sudo apt-get install obslight
+
-
Add yourself to the '''users''' group:
+
-
sudo usermod -a -G users `whoami`
+
-
You should log out so that the system takes into account your new group.
+
-
If you don't want to log out, you can use "''newgrp users''" before running obslight (but it will only work in the current console).
+
-
 
+
-
=== For MeeGo 1.2.0 ===
+
-
[''Not tested''] The repository is [http://repo.pub.meego.com/home:/ronan:/OBS_Light/MeeGo_1.2.0_standard/ here].
+
-
 
+
-
=== For Debian ===
+
-
[''Not tested'']
+
-
The repository is [http://repo.pub.meego.com/home:/ronan:/OBS_Light/Debian_6.0/ here].
+
-
 
+
-
''Note'': the '''obslight''' package has a dependency to [http://www.pyside.org/ PySide], which is neither included in Debian stable nor in Debian testing. So you will need Debian unstable if you want to test.
+
-
 
+
-
== Usage ==
+
-
To get a brief overview of all available commands, just type:
+
-
obslight --help
+
-
 
+
-
 
+
-
== Troubleshooting ==
+
-
 
+
-
=== <tt>"Problem: nothing provides X needed by Y"</tt> ===
+
-
This message appears when adding packages in ARM chroot. It may come from a broken version of zypper/libzypp in your chroot, which do not see '''noarch''' packages. This problem was reported with zypper 1.5.3 and libzypp 8.12.1. We suggest you to update your zypper version to 1.6+. For convenience, we pre-built zypper 1.6.15 and libzypp 9.10.2 to Meego 1.2.0.
+
-
 
+
-
==== How to install zypper 1.6.15 from our repository ====
+
-
First add our repository to your chroot's zypper configuration file:
+
-
obslight addRepoInChRoot --projectLocalName $ProjectName --url http://repo.pub.meego.com/home:/fvennetier:/zypper-backport/MeeGo_1.2.0_standard/ --alias "Zypper_1.6.15_backport"
+
-
Then go to the chroot and update '''zypper''':
+
-
obslight goToChRoot --projectLocalName $ProjectName
+
-
  # zypper update zypper
+
-
  # exit
+
-
 
+
-
=== <tt>"error: Architecture is not included: armv8el"</tt> ===
+
-
The '''build''' package of your chroot does not support armv8el builds. Consider using another version, like the 2011.03.29 of MeeGo repositories.
+
-
 
+
-
==== How to install '''build''' version 2011.03.29 in a MeeGo 1.2.0 chroot ====
+
-
First add the MeeGo building tools repository to your chroot's zypper configuration file:
+
-
obslight addRepoInChRoot --projectLocalName $ProjectName --url http://download.meego.com/live/Tools:/Building/MeeGo_1.2.0/ --alias "Tools:Building_MeeGo_1.2.0"
+
-
Then go to the chroot and update '''build''':
+
-
obslight goToChRoot --projectLocalName $ProjectName
+
-
  # zypper update build
+
-
  # exit
+
-
 
+
-
=== <tt>"chroot: failed to run command `sh': No such file or directory"</tt> ===
+
-
This appears when '''binfmt_misc''' is not or badly configured.
+
-
Launch qemu's binfmt configuration script (as root):
+
-
qemu-binfmt-conf.sh
+
-
If you still get the same message, try this (as root):
+
-
echo -1 > /proc/sys/fs/binfmt_misc/arm
+
-
echo ":arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:`which qemu-arm`:" > /proc/sys/fs/binfmt_misc/register
+
-
 
+
-
=== gnomekeyring.IOError ===
+
-
This error appears on Ubuntu when running obslight from a console, without a graphical environment. At the moment, the only known solution is to run obslight only from a graphical environment (e.g. Gnome).
+
-
 
+
-
== OBS Tagging and Project copying ==
+
-
One of the problem that any user of a private OBS will quickly face, is the need to tag specific version of a project and allow the copy of the project from an OBS to an other OBS or from one project to an other project.
+
-
 
+
-
More details on obstag and obs2obscopy can be found [[obstag | here]]
+
-
 
+
-
= Links =
+
-
* [[OBS Light | OBS Light main page]]
+
-
* [[OBS_Light_FAQ | OBS Light Frequently Asked Questions]]
+
-
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]
+
-
* [https://build.pub.meego.com/project/show?project=home%3Aronan%3AOBS_Light OBS Light project on MeeGo build service]
+

Latest revision as of 12:33, 12 June 2012

OBS Light has moved! It's now located at openSUSE: http://en.opensuse.org/openSUSE:OBS_Light_Installation

Personal tools