Re: [debian] Installing *.ipk/*.opk part 2: apt-get-file

2009-05-12 Thread kimaidou
Ok, after some more searches, I found that a apt-get -f install with no package name after forced the installation of these packages. I will try with different ipk packages and report here. 2009/5/12 Rask Ingemann Lambertsen r...@sygehus.dk On Mon, May 11, 2009 at 12:13:39PM +0200, kimaidou

Re: [debian] Installing *.ipk/*.opk part 2: apt-get-file

2009-05-11 Thread kimaidou
Thanks for your help i change sh into bash, and it works now. My last pbm is my hackable apt-get wich does not want to install some packages.. but it is not related to your script. Thanks a lot 2009/5/11 Stefan Monnier monn...@iro.umontreal.ca debian-gta02:~# apt-get-file install

Re: [debian] Installing *.ipk/*.opk part 2: apt-get-file

2009-05-11 Thread Rask Ingemann Lambertsen
On Mon, May 11, 2009 at 10:55:39AM +0200, kimaidou wrote: My last pbm is my hackable apt-get wich does not want to install some packages.. but it is not related to your script. Did you add the repository from part 1? # echo /etc/apt/sources.list.d/ril-oedepmappings.list \ # 'deb

Re: [debian] Installing *.ipk/*.opk part 2: apt-get-file

2009-05-11 Thread kimaidou
No I did not. But now it it done, and after a apt-get update, I still get: You might want to run `apt-get -f install' to correct these: The following packages have unmet dependencies: ledclock: Depends: python-pygtk but it is not going to be installed Depends: python-subprocess but

Re: [debian] Installing *.ipk/*.opk part 2: apt-get-file

2009-05-11 Thread Rask Ingemann Lambertsen
On Mon, May 11, 2009 at 12:13:39PM +0200, kimaidou wrote: No I did not. But now it it done, and after a apt-get update, I still get: You might want to run `apt-get -f install' to correct these: The following packages have unmet dependencies: ledclock: Depends: python-pygtk but it is not

[debian] Installing *.ipk/*.opk part 2: apt-get-file

2009-05-10 Thread Rask Ingemann Lambertsen
For part 1, please see the mailing list archive: http://lists.openmoko.org/pipermail/community/2009-March/043753.html Below you will find a shell script to install a package from a .deb, .opk or .ipk file on a Debian system. It will - download the package if necessary. -

Re: [debian] Installing *.ipk/*.opk part 2: apt-get-file

2009-05-10 Thread kimaidou
Waou ! This is great ! Thanks for this Hum, I just tried and I got this error: debian-gta02:~# apt-get-file install http://projects.openmoko.org/frs/download.php/575/ledclock_0.6_all.ipk trap: 26: ERR: bad trap Any clue ? 2009/5/10 Rask Ingemann Lambertsen r...@sygehus.dk For part 1,

Re: [debian] Installing *.ipk/*.opk part 2: apt-get-file

2009-05-10 Thread Rask Ingemann Lambertsen
On Sun, May 10, 2009 at 06:48:20PM +0200, kimaidou wrote: Waou ! This is great ! Thanks for this Hum, I just tried and I got this error: debian-gta02:~# apt-get-file install http://projects.openmoko.org/frs/download.php/575/ledclock_0.6_all.ipk trap: 26: ERR: bad trap Any clue ?

Re: [debian] Installing *.ipk/*.opk part 2: apt-get-file

2009-05-10 Thread Stefan Monnier
debian-gta02:~# apt-get-file install http://projects.openmoko.org/frs/download.php/575/ledclock_0.6_all.ipk trap: 26: ERR: bad trap Any clue ? The script uses /bin/sh but actually relies on bashisms, so if your /bin/sh is actually something else (like dash, according to my crystal ball), you