Changes

Jump to navigation Jump to search
author, cut superfluous material
Line 457: Line 457:     
  iain@wheezy-box:~$ sudo apt-get install gnome-packagekit
 
  iain@wheezy-box:~$ sudo apt-get install gnome-packagekit
  Reading package lists... Done. Building dependency tree. Reading state information... Done
+
   
The following extra packages will be installed:
  −
  gnome-packagekit-data gnome-settings-daemon gstreamer0.10-pulseaudio
  −
  libasound2-plugins libgnomekbd-common libgnomekbd7 libpackagekit-glib2-14
  −
  libspeexdsp1 libxklavier16 packagekit packagekit-backend-aptcc pulseaudio
  −
  pulseaudio-esound-compat pulseaudio-module-x11 pulseaudio-utils python-packagekit
  −
  rtkit
  −
Suggested packages:
  −
  gnome-screensaver packagekit-backend-smart pavumeter pavucontrol paman paprefs
  −
 
   
  iain@wheezy-box:~$ sudo apt-get install packagekit-backend-smart  
 
  iain@wheezy-box:~$ sudo apt-get install packagekit-backend-smart  
  The following NEW packages will be installed:
+
   
  gnome-packagekit gnome-packagekit-data gnome-settings-daemon
  −
  gstreamer0.10-pulseaudio libasound2-plugins libgnomekbd-common libgnomekbd7
  −
  libpackagekit-glib2-14 libspeexdsp1 libxklavier16 packagekit
  −
  packagekit-backend-aptcc pulseaudio pulseaudio-esound-compat pulseaudio-module-x11
  −
  pulseaudio-utils python-packagekit rtkit
  −
0 upgraded, 18 newly installed, 0 to remove and 18 not upgraded.
  −
Need to get 10.6 MB of archives.
  −
After this operation, 29.3 MB of additional disk space will be used.
  −
Do you want to continue [Y/n]? y
  −
 
  −
Installed without reported error until
  −
 
  −
PulseAudio configured for per-user sessions ... (warning).
  −
 
  −
Remainder of trace edited out.
  −
 
  −
iain@wheezy-box:~$ sudo apt-get install pavumeter pavucontrol paman paprefs
  −
 
  −
Cut trace. Installed without reported error.
  −
 
   
Restart machine.
 
Restart machine.
   Line 516: Line 487:  
Restart machine.
 
Restart machine.
   −
iain@wheezy-box:~$ sweets dextrose/sugar:emulator
+
I have cut a certain amount of output generated by inexperience. During the process I did try
-- Download http://download.sugarlabs.org/sweets/dextrose/sugar-artwork/sugar-artwork-0.88.1-r2-src.tar.gz
  −
-- Download http://download.sugarlabs.org/sweets/dextrose/sugar/sugar-0.88.1-r13-src.tar.gz
  −
-- Download http://download.sugarlabs.org/sweets/dextrose/sugar-base/sugar-base-0.88.0-r4-src.tar.gz
  −
-- Download http://download.sugarlabs.org/sweets/dextrose/sugar-toolkit/sugar-toolkit-0.88.1-r2-src.tar.gz
  −
-- Download http://download.sugarlabs.org/sweets/dextrose/sugar-datastore/sugar-datastore-0.88.0-r2-src.tar.gz
  −
-- Download http://download.sugarlabs.org/sweets/dextrose/sugar-presence-service/sugar-presence-service-0.88.0-r2-src.tar.gz
  −
-- Solve dextrose/sugar-base for building                                     
  −
-- Solve dextrose/sugar-toolkit for building   
  −
-- Solve dextrose/sugar-presence-service for building
  −
-- Solve dextrose/sugar-datastore for building       
  −
-- Solve dextrose/sugar-artwork for building 
  −
-- Solve dextrose/sugar for building       
  −
-- Install python-gtk2-dev python-xklavier libxt-dev libxss1 xdg-user-dirs-gtk libxv-dev python-wnck telepathy-salut python-gobject-dev libxfont-dev libxres-dev libxfixes-dev libdrm-dev libxdmcp-dev python-dev libxcomposite-dev libxss-dev libfontenc-dev intltool hal libice-dev python-cjson python-decorator libxdamage-dev libxmu-dev libcairo2-dev libxpm-dev libgtk2.0-dev libxxf86dga-dev libgconf2-dev libx11-dev libasound2-dev python-rsvg libxext-dev gnome-common python-telepathy libxau-dev libxft-dev libxcursor-dev libfs-dev libtool libxi-dev python-dateutil libdmx-dev python-hippocanvas libxtst-dev metacity libdmx1 libxxf86vm-dev libxp-dev icon-slicer xserver-xephyr libxinerama-dev libxp6 libxkbfile-dev libxrender-dev libxvmc-dev icon-naming-utils libxrandr-dev python-gtksourceview2 libsm-dev telepathy-gabble pkg-config
  −
-- org.freedesktop.DBus.Error.InvalidArgs: Type of message, `(as)', does not match expected type `(bas)'
  −
-- Use -D argument for debug info, -DD for full debuging output and tracebacks 
  −
 
  −
Install further packages called for.
  −
 
  −
iain@wheezy-box:~$ sudo apt-get install  python-gtk2-dev python-xklavier libxt-dev libxss1 xdg-user-dirs-gtk libxv-dev python-wnck telepathy-salut python-gobject-dev libxfont-dev libxres-dev libxfixes-dev libdrm-dev libxdmcp-dev python-dev libxcomposite-dev libxss-dev libfontenc-dev intltool hal libice-dev python-cjson python-decorator libxdamage-dev libxmu-dev libcairo2-dev libxpm-dev libgtk2.0-dev libxxf86dga-dev libgconf2-dev libx11-dev libasound2-dev python-rsvg libxext-dev gnome-common python-telepathy libxau-dev libxft-dev libxcursor-dev libfs-dev libtool libxi-dev python-dateutil libdmx-dev python-hippocanvas libxtst-dev metacity libdmx1 libxxf86vm-dev libxp-dev icon-slicer xserver-xephyr libxinerama-dev libxp6 libxkbfile-dev libxrender-dev libxvmc-dev icon-naming-utils libxrandr-dev python-gtksourceview2 libsm-dev telepathy-gabble pkg-config
  −
 
  −
Cut trace. Installed without reported error.
  −
 
  −
But the following "Suggested packages" were also called for.
  −
 
  −
  autoconf2.13 autoconf-archive gnu-standards autoconf-doc dh-make
  −
  docbook-xsl-doc-html docbook-xsl-doc-pdf docbook-xsl-doc-text
  −
  docbook-xsl-doc libsaxon-java libxalan2-java libxslthl-java
  −
  docbook-xsl-saxon fop xalan dbtoepub gettext-doc git-daemon-run
  −
  git-daemon-sysvinit git-doc git-el git-arch git-cvs git-svn git-email
  −
  git-gui gitk gitweb libasound2-doc libcairo2-doc libglib2.0-doc
  −
  libgtk2.0-doc libtool-doc libpango1.0-doc automaken gfortran
  −
  fortran95-compiler gcj gnome-control-center gnome-themes libmail-box-perl
  −
  python-cjson-dbg devhelp libgtksourceview2.0-dev
  −
 
  −
Then, rightly or wrongly, I set about adding most of the suggested packages. A few packages I recognised that I did not need, but 90% of the suggested packages I installed. There were some errors reported, but I felt it would be ok to omit packages that reported an error, on the basis that the package would be asked for later, if actually required.
  −
 
  −
During the process I did try
      
  iain@wheezy-box:~$ sweet upgrade
 
  iain@wheezy-box:~$ sweet upgrade
Line 559: Line 493:  
  iain@wheezy-box:~$ sweet dextrose/sugar:emulator
 
  iain@wheezy-box:~$ sweet dextrose/sugar:emulator
    +
Frequently a xephyr window was produced for 5 seconds and collapsed.
 
The common error message was
 
The common error message was
 
:ImportError: No module named hippo
 
:ImportError: No module named hippo
 
+
I produced a logfile thus:
 
  −
iain@wheezy-box:~$ sweets upgrade                             
  −
-- Scan ftp://download.sugarlabs.org/sweets/sweets for updates
  −
-- No need in upgrading                                       
  −
-- sweets launcher was installed to /home/iain/.local/bin
  −
-- sweets-index service was installed to /home/iain/.local/share/dbus-1/services
  −
 
  −
iain@wheezy-box:~$ sweets -R dextrose/sugar:emulator
  −
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
  −
/home/iain/.cache/0install.net/implementations/sha1new=c19654b00070887627e457daaaaaafbdeafb380a/.sweets/local/bin/sugar: 51: /home/iain/.cache/0install.net/implementations/sha1new=c19654b00070887627e457daaaaaafbdeafb380a/.sweets/local/bin/sugar: [[: not found
  −
/home/iain/.cache/0install.net/implementations/sha1new=c19654b00070887627e457daaaaaafbdeafb380a/.sweets/local/bin/sugar: 109: /home/iain/.cache/0install.net/implementations/sha1new=c19654b00070887627e457daaaaaafbdeafb380a/.sweets/local/bin/sugar: [[: not found
  −
ls: cannot access /usr/lib*/xulrunner-1.*: No such file or directory
  −
E: [pulseaudio] pid.c: Daemon already running.
  −
E: [pulseaudio] main.c: pa_pid_file_create() failed.
  −
Traceback (most recent call last):
  −
  File "/home/iain/.cache/0install.net/implementations/sha1new=c19654b00070887627e457daaaaaafbdeafb380a/.sweets/local/bin/sugar-session", line 304, in <module>
  −
    main()
  −
  File "/home/iain/.cache/0install.net/implementations/sha1new=c19654b00070887627e457daaaaaafbdeafb380a/.sweets/local/bin/sugar-session", line 247, in main
  −
    from jarabe.desktop import homewindow
  −
  File "/home/iain/.cache/0install.net/implementations/sha1new=c19654b00070887627e457daaaaaafbdeafb380a/.sweets/local/src/jarabe/desktop/homewindow.py", line 26, in <module>
  −
    from jarabe.desktop.meshbox import MeshBox
  −
  File "/home/iain/.cache/0install.net/implementations/sha1new=c19654b00070887627e457daaaaaafbdeafb380a/.sweets/local/src/jarabe/desktop/meshbox.py", line 24, in <module>
  −
    import hippo
  −
ImportError: No module named hippo
  −
Window manager warning: Fatal IO error 11 (Resource temporarily unavailable) on display ':30'.
  −
 
  −
This did produce xephyr window for 5 seconds.
  −
 
  −
iain@wheezy-box:~$ sweets -D sdk/sugar:emulator
  −
-- Solve sdk/sugar-artwork for building
  −
-- Solve sdk/sugar-base for building   
  −
-- Solve sdk/sugar-toolkit for building
  −
-- INFO (PackageKit) PackageKit dbus service found
  −
-- INFO (root) Scheduling new task: quitter
  −
-- INFO (root) Task 'quitter' stopping and waiting for '(<Blocker:Resolve PackageKit names>,)'
  −
-- INFO (root) Running set([Task(quitter)]) due to triggering of 'Resolve PackageKit names'
  −
-- Solve sdk/sugar-datastore for building
  −
-- Solve sdk/telepathy-mission-control for building
  −
-- INFO (root) Scheduling new task: quitter       
  −
-- INFO (root) Running quitter
  −
-- INFO (root) Task 'quitter' stopping and waiting for '(<Blocker:Resolve PackageKit names>,)'
  −
-- INFO (root) Running set([Task(quitter)]) due to triggering of 'Resolve PackageKit names'
  −
-- Solve sdk/sugar for building 
  −
-- Install libdbus-glib-1-dev libtelepathy-glib-dev
  −
-- INFO (PackageKit) Obtain authentication for org.freedesktop.packagekit.package-install
  −
-- org.freedesktop.DBus.Error.InvalidArgs: Type of message, `(as)', does not match expected type `(bas)'
  −
-- Use -DD argument for full debuging output and tracebacks                                             
  −
 
  −
Install further packages called for.
  −
 
  −
iain@wheezy-box:~$ sudo apt-get install libdbus-glib-1-dev libtelepathy-glib-dev
  −
[sudo] password for iain:
  −
Reading package lists... Done
  −
Building dependency tree     
  −
Reading state information... Done
  −
The following packages were automatically installed and are no longer required:
  −
  libgail-common libatspi1.0-0 at-spi libxalan2-java-gcj
  −
Use 'apt-get autoremove' to remove them.
  −
Suggested packages:
  −
  libtelepathy-glib-doc
  −
The following NEW packages will be installed:
  −
  libdbus-glib-1-dev libtelepathy-glib-dev
  −
0 upgraded, 2 newly installed, 0 to remove and 20 not upgraded.
  −
97 not fully installed or removed.
  −
Need to get 1,355 kB of archives.
  −
After this operation, 5,926 kB of additional disk space will be used.
  −
 
  −
Cut trace. Installed without reported error.
  −
 
  −
This is an example of another install instruction being given:
  −
 
  −
iain@wheezy-box:~$ sweets dextrose/sugar:emulator                           
  −
-- Solve dextrose/sugar-artwork for building
  −
-- Install python-rsvg python-wnck libcairo2-dev libcairo2 libdrm2
  −
-- org.freedesktop.DBus.Error.InvalidArgs: Type of message, `(as)', does not match expected type `(bas)'
  −
-- Use -D argument for debug info, -DD for full debuging output and tracebacks           
  −
 
  −
iain@wheezy-box:~$ sudo apt-get install python-rsvg python-wnck libcairo2-dev libcairo2 libdrm2
  −
[sudo] password for iain:
  −
Reading package lists... Done
  −
Building dependency tree     
  −
Reading state information... Done
  −
libcairo2 is already the newest version.
  −
libcairo2 set to manually installed.
  −
libcairo2-dev is already the newest version.
  −
python-rsvg is already the newest version.
  −
python-wnck is already the newest version.
  −
libdrm2 is already the newest version.
  −
libdrm2 set to manually installed.
  −
0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
  −
iain@wheezy-box:~$
  −
 
  −
"28 not upgraded" - not fully resolved.
      
  iain@wheezy-box:~$ sweets -DD --logfile=27 dextrose/sugar:emulator         
 
  iain@wheezy-box:~$ sweets -DD --logfile=27 dextrose/sugar:emulator         
Line 687: Line 529:  
  -- DEBUG (PackageKit) Ask PackageKit to install ['python-rsvg;2.32.0-4+b2;i386;testing', 'python-wnck;2.32.0-4+b2;i386;testing', 'libcairo2-dev;1.10.2-6.2;i386;testing', 'libcairo2;1.10.2-6.2;i386;testing', 'libdrm2;2.4.29-1;i386;testing'] packages
 
  -- DEBUG (PackageKit) Ask PackageKit to install ['python-rsvg;2.32.0-4+b2;i386;testing', 'python-wnck;2.32.0-4+b2;i386;testing', 'libcairo2-dev;1.10.2-6.2;i386;testing', 'libcairo2;1.10.2-6.2;i386;testing', 'libdrm2;2.4.29-1;i386;testing'] packages
 
  -- INFO (PackageKit) Obtain authentication for org.freedesktop.packagekit.package-install
 
  -- INFO (PackageKit) Obtain authentication for org.freedesktop.packagekit.package-install
  −
At this point the following commands would typically open an emulator window for a few seconds before it would collapse.
  −
iain@wheezy-box:~$ sweets -S dextrose/sugar:emulator
  −
  −
iain@wheezy-box:~$ sweets -S sdk/sugar:emulator                   
  −
A typical trace:
  −
iain@wheezy-box:~$ sweets -R sdk/sugar:emulator                         
  −
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
  −
ls: cannot access /usr/lib*/xulrunner-1.*: No such file or directory
  −
Traceback (most recent call last):
  −
  File "/home/iain/.cache/0install.net/implementations/sha1new=e6ac62730d13a301adf8942e05c4af7c1542fd79/.sweets/local/bin/sugar-session", line 288, in <module>
  −
    main()
  −
  File "/home/iain/.cache/0install.net/implementations/sha1new=e6ac62730d13a301adf8942e05c4af7c1542fd79/.sweets/local/bin/sugar-session", line 227, in main
  −
    from jarabe.desktop import homewindow
  −
  File "/home/iain/.cache/0install.net/implementations/sha1new=e6ac62730d13a301adf8942e05c4af7c1542fd79/.sweets/local/src/jarabe/desktop/homewindow.py", line 25, in <module>
  −
    from jarabe.desktop.meshbox import MeshBox
  −
  File "/home/iain/.cache/0install.net/implementations/sha1new=e6ac62730d13a301adf8942e05c4af7c1542fd79/.sweets/local/src/jarabe/desktop/meshbox.py", line 24, in <module>
  −
    import hippo
  −
ImportError: No module named hippo
  −
Window manager warning: Fatal IO error 11 (Resource temporarily unavailable) on display ':30'.
  −
Produced a 3 second window which would collapse.
      
=== Bug Fix ===
 
=== Bug Fix ===
687

edits

Navigation menu