User avatar
blachanc
Posts: 451
Joined: Sat Jan 26, 2013 5:03 am
Location: Quebec,canada(french)

install a jessie package on wheezy?

Sun Dec 01, 2013 2:34 pm

Hi,

DISCLAIMER: I am acting like mickey mouse in The Sorcerer's Apprentice. :lol:

I realized that the gcompris (educational games/activities) version available via apt-get is 12.01-1, but there is actual work being done on a more recent version (gcompris 12.11), that contains many new games, for jessie:

package_debian_gcompris

So, I downloaded all the required files, but when I try to install it, it complains about versions of various tools: " Unmet build dependencies".

Is what I am trying to do plain stupid, or is there some hope?



Code: Select all

Linux raspberrypi 3.6.11+ #538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l


[email protected] ~ $ dpkg-source -x gcompris_12.11-1.dsc
gpgv: keyblock resource `/home/pi/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Thu 18 Jul 2013 19:28:30 UTC using DSA key ID 5C33C1B8
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./gcompris_12.11-1.dsc
dpkg-source: info: extracting gcompris in gcompris-12.11
dpkg-source: info: unpacking gcompris_12.11.orig.tar.bz2
dpkg-source: info: unpacking gcompris_12.11-1.debian.tar.gz
[email protected] ~ $  cd gcompris-12.11/
[email protected] ~/gcompris-12.11 $ dpkg-buildpackage -rfakeroot -b
dpkg-buildpackage: source package gcompris
dpkg-buildpackage: source version 12.11-1
dpkg-buildpackage: source changed by Yann Dirson <[email protected]>
dpkg-buildpackage: host architecture armhf
 dpkg-source --before-build gcompris-12.11
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 6.0.7~) dh-buildinfo libxml2-dev gnuchess texinfo texi2html python-d     ev python-gtk2-dev libxml-parser-perl libxrandr-dev libxxf86vm-dev libsqlite3-dev libgtk2.0-dev (>= 2.4.0) libgstreamer0.10-dev i     ntltool librsvg2-dev python-cairo-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
actual version available:

Code: Select all

[email protected] ~/gcompris-12.11 $ apt-cache policy gcompris
gcompris:
  Installed: 12.01-1
  Candidate: 12.01-1
Thank you,

Ben


PS: please keep the broom away :-)
Autism/Asperger syndrome: what is your score on this quiz?
http://www.raspberrypi.org/forums/viewtopic.php?f=62&t=70191

User avatar
joan
Posts: 13925
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: install a jessie package on wheezy?

Sun Dec 01, 2013 2:45 pm

Wheezy is Debian's current stable release.

Jessie is Debian's current testing release (destined to become the next stable release).

Jessie will be using updated versions of all sorts of packages which are being tested. By their very nature these packages will not be available in (the stable) Wheezy.

You could try just downloading the source for the package and compiling it yourself. That might work.

User avatar
blachanc
Posts: 451
Joined: Sat Jan 26, 2013 5:03 am
Location: Quebec,canada(french)

Re: install a jessie package on wheezy?

Sun Dec 01, 2013 7:39 pm

Hi Joan,

Thank you for the feedback,
at least I wont waste my time on a dead end.

I explored a bit your suggestion:
I have search around a bit, but I do believe this is past my skills for now.
I an not even sure on how to git clone? /copy the right version, but i am not giving up. ;)
But, I have to admit that playing with makefiles (As I read is requiered on some forums) is not something I have experience with.

I will let you know if I rdo any kind of progress.

Thank you

Ben
Autism/Asperger syndrome: what is your score on this quiz?
http://www.raspberrypi.org/forums/viewtopic.php?f=62&t=70191

User avatar
DougieLawson
Posts: 35155
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: install a jessie package on wheezy?

Mon Dec 02, 2013 12:43 am

sudo apt-get install git
cd /tmp
git clone http://git.url.here/owner/git_directory_name_here.git # <== CHANGE ME
cd git_directory_name # obviously to the name of the directory you've cloned
./configure # usual stuff
make # usual way to build a source package
sudo make install # usual way to install it in /usr/local/...
Note: Having anything remotely humorous in your signature is completely banned on this forum.

Any DMs sent on Twitter will be answered next month.

This is a hippy & doctor free zone.

Nr90
Posts: 216
Joined: Sat Nov 26, 2011 12:39 pm

Re: install a jessie package on wheezy?

Mon Dec 02, 2013 1:21 am

To add to Dougie's post:
In this case:
pick a directory that you want to build in. /tmp is an option. Go to that directory with cd
git clone git://git.gnome.org/gcompris
A new folder is created called gcompris. In that folder is a file called README.installation.
Read that file for instruction on how to build. You may need to install some dependencies.
Install those with apt-get if available. If they are not available I would probably stop with this project, as it may require building a lot packages.

User avatar
blachanc
Posts: 451
Joined: Sat Jan 26, 2013 5:03 am
Location: Quebec,canada(french)

Re: install a jessie package on wheezy?

Mon Dec 02, 2013 5:09 am

Thanks guys for the help,

I made some progress ( and learned to add an external usb drive because it takes a llllllllooooooooottttt of space to compile manually.
I am at 1.05GiG, and I don't complete the ./autogen.sh part yet. (the old gcompris 12.01 installation is 156 MEG)
I was able to install most of the missing packages, but looks like the versions I installed are too old.

I guess I should stop here, or do you believe I should persist and git-clone the right versions of the three packages?

Code: Select all

tail -15 ../autogen.log

checking for GCOMPRIS... no
configure: error: Package requirements (  gtk+-2.0 >= 2.12.0   librsvg-2.0 >= 2.26.0   libxml-2.0 >= 2.6.16   gthread-2.0 ) were not met:

No package 'gtk+-2.0' found
No package 'librsvg-2.0' found
No package 'libxml-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
My install:

Code: Select all

[email protected] /mnt/newroot/gcompris/gcompris $ sudo apt-get install gir1.2-gtk-2.0
gir1.2-gtk-2.0 is already the newest version.

[email protected] /mnt/newroot/gcompris/gcompris $  sudo apt-get install librsvg2-2
librsvg2-2 is already the newest version.

[email protected] /mnt/newroot/gcompris/gcompris $ sudo apt-get install libxml2
libxml2 is already the newest version.


space used so far:

Code: Select all

[email protected] /mnt/newroot/gcompris/gcompris $ df -k
Filesystem     1K-blocks    Used Available Use% Mounted on
rootfs           2973328 2494324    327964  89% /
/dev/root        2973328 2494324    327964  89% /
[truncated by blachanc]
/dev/sda1        7693976 1051532   6251612  15% /mnt/newroot  <--------------
Autism/Asperger syndrome: what is your score on this quiz?
http://www.raspberrypi.org/forums/viewtopic.php?f=62&t=70191

User avatar
rpdom
Posts: 14134
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: install a jessie package on wheezy?

Mon Dec 02, 2013 11:47 am

Why build from source?

Download and install the Raspbian Jessie version and install that using dpkg -i whatever-the-file-is.deb

It will probably need some other files downloaded and installed too, which you will need to find on the Raspbian site.

I can start you off with http://mirrordirector.raspbian.org/rasp ... _armhf.deb

User avatar
blachanc
Posts: 451
Joined: Sat Jan 26, 2013 5:03 am
Location: Quebec,canada(french)

Re: install a jessie package on wheezy?

Mon Dec 02, 2013 1:17 pm

rpdom wrote:Why build from source?

Download and install the Raspbian Jessie version and install that using dpkg -i whatever-the-file-is.deb

It will probably need some other files downloaded and installed too, which you will need to find on the Raspbian site.
Thank you for your proposition,
I started (missing packages, but I am not giving up).
I honestly believe that I will hit the same wall as I did using the .dsc, but I am willing to explore your path.
I unfortunately need to leave for work now, more news later :D

Code: Select all

[email protected] /mnt/newroot/trial_db/packaages $  sudo dpkg -i gcompris-data_12.11-1_all.deb
(Reading database ... 77627 files and directories currently installed.)
Preparing to replace gcompris-data 12.01-1 (using gcompris-data_12.11-1_all.deb) ...
Unpacking replacement gcompris-data ...
Setting up gcompris-data (12.11-1) ...
Processing triggers for install-info ...


sudo dpkg -i  gcompris_12.11-1+b1_armhf.deb
(Reading database ... 78169 files and directories currently installed.)
Preparing to replace gcompris 12.11-1+b1 (using gcompris_12.11-1+b1_armhf.deb) ...
Unpacking replacement gcompris ...
dpkg: dependency problems prevent configuration of gcompris:
 gcompris depends on libfontconfig1 (>= 2.11); however:
  Version of libfontconfig1:armhf on system is 2.9.0-7.1.
 gcompris depends on libglib2.0-0 (>= 2.35.9); however:
  Version of libglib2.0-0:armhf on system is 2.33.12+really2.32.4-5.
 gcompris depends on libpango-1.0-0 (>= 1.14.0); however:
  Package libpango-1.0-0 is not installed.
 gcompris depends on libpangocairo-1.0-0 (>= 1.14.0); however:
  Package libpangocairo-1.0-0 is not installed.
 gcompris depends on libpangoft2-1.0-0 (>= 1.14.0); however:
  Package libpangoft2-1.0-0 is not installed.

dpkg: error processing gcompris (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for menu ...
Errors were encountered while processing:
 gcompris
[email protected] /mnt/newroot/trial_db/packaages $ ls -la
total 90096
drwxr-xr-x 2 pi   pi       4096 Dec  2 13:02 ./
drwxrwxrwx 4 root root     4096 Dec  2 13:02 ../
-rw-r--r-- 1 pi   pi     500994 Dec  2 12:46 gcompris_12.11-1+b1_armhf.deb
-rw-r--r-- 1 pi   pi   91745238 Dec  2 12:57 gcompris-data_12.11-1_all.deb
Thanks again for the help
Ben
Autism/Asperger syndrome: what is your score on this quiz?
http://www.raspberrypi.org/forums/viewtopic.php?f=62&t=70191

User avatar
rpdom
Posts: 14134
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: install a jessie package on wheezy?

Mon Dec 02, 2013 2:19 pm

Yes, I'm afraid you will hit quite a few of these dependencies using this method. The thing to do is download each *.deb file into a directory, then do a "sudo dpkg -i *.deb" to install the whole lot at once. I've found some more of the files you'll need

Code: Select all

http://mirrordirector.raspbian.org/raspbian/pool/main/f/fontconfig/fontconfig-config_2.11.0-1_all.deb
http://mirrordirector.raspbian.org/raspbian/pool/main/f/fontconfig/libfontconfig1_2.11.0-1_armhf.deb
http://mirrordirector.raspbian.org/raspbian/pool/main/g/glib2.0/libglib2.0-0_2.36.4-1_armhf.deb
http://mirrordirector.raspbian.org/raspbian/pool/main/p/pango1.0/libpango-1.0-0_1.36.0-1_armhf.deb
http://mirrordirector.raspbian.org/raspbian/pool/main/p/pango1.0/libpangocairo-1.0-0_1.36.0-1_armhf.deb
http://mirrordirector.raspbian.org/raspbian/pool/main/p/pango1.0/libpangoft2-1.0-0_1.36.0-1_armhf.deb
Of course the really easy way to do this is to completely switch your system from wheezy to jessie by editing the /etc/apt/sources.list and files under /etc/apt/sources.list.d, and then do apt-get update followed by apt-get upgrade or dist-upgrade, but that will download a lot of files.
Last edited by rpdom on Thu Dec 05, 2013 6:13 am, edited 1 time in total.

User avatar
blachanc
Posts: 451
Joined: Sat Jan 26, 2013 5:03 am
Location: Quebec,canada(french)

Re: install a jessie package on wheezy?

Thu Dec 05, 2013 2:02 am

Sorry for the delay in getting back to you,

I managed to try to install the packages you identified for me, but I believe you are right:

I should install jessie.

Unless you tell me that I should not worry about the following warning (seems it would break my installation, I will try to install jessie straight to another SD card.

quick question for you:
Background: At work, IT dep has installed various versions of GCC/ perl / tcl tk etc.
we just select the version we want and set the paths accordingly.

I guess that in this case (on the PI), installing all the *deb without affecting the original installation is not possible as this is updating the OS itself?

Code: Select all

[email protected] /mnt/newroot/gcompris/trial_db/packaages/depends $ sudo dpkg -i libglib2.0-0_2.36.4-1_armhf.deb
dpkg: regarding libglib2.0-0_2.36.4-1_armhf.deb containing libglib2.0-0:armhf:
 libglib2.0-0:armhf breaks glib-networking (<< 2.33.12)
  glib-networking:armhf (version 2.32.3-1) is present and installed.

dpkg: error processing libglib2.0-0_2.36.4-1_armhf.deb (--install):
[b] installing libglib2.0-0:armhf would break glib-networking:armhf, and[/b]
 deconfiguration is not permitted (--auto-deconfigure might help)
Errors were encountered while processing:
 libglib2.0-0_2.36.4-1_armhf.deb

Thank you for your help,

Ben
Autism/Asperger syndrome: what is your score on this quiz?
http://www.raspberrypi.org/forums/viewtopic.php?f=62&t=70191

User avatar
rpdom
Posts: 14134
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: install a jessie package on wheezy?

Thu Dec 05, 2013 7:04 am

Yes, looking at those dependencies I think you may have to go for jessie. Otherwise I suspect you will be upgrading most of your system a file at a time until everything works again :(

You could copy your system to a new SD card, then change all the "raspbian" entries in sources.list from wheezy to jessie, do apt-get update, apt-get upgrade and apt-get dist-upgrade. Then you will be running jessie.

It worked for me :)

It is possible to have different version of GCC etc installed, but they need the right libraries and other files.

An example from one of my Debian systems

Code: Select all

ii  gcc-4.6                                  4.6.3-14
ii  gcc-4.6-base                             4.6.3-14
ii  gcc-4.7                                  4.7.2-5
ii  gcc-4.7-base                             4.7.2-5

User avatar
blachanc
Posts: 451
Joined: Sat Jan 26, 2013 5:03 am
Location: Quebec,canada(french)

Re: install a jessie package on wheezy?

Thu Dec 05, 2013 2:16 pm

thank you for the feedback,

I learned more about packages in one week than in many years of random reading.

next step: vanilla install of jessie :)

I will keep updating this thread.

Ben
Autism/Asperger syndrome: what is your score on this quiz?
http://www.raspberrypi.org/forums/viewtopic.php?f=62&t=70191

Return to “Beginners”