[LUGOS] Familiar 0.7.2 on ipaq + vpn

Gregor Malensek gregor.malensek at abakus.si
Tue Jul 13 09:49:56 CEST 2004


Zdravo.

Ce koga zanima, kako mi je uspelo instalirati freeswan si preberite tole :

Sem probal instalirati gawk pa mi javi :

root at lipaq:/mnt/card# ipkg install gawk
ERROR: Package gawk (parent gawk) is not available from any configured src.
Failed to download gawk. Perhaps you need to run 'ipkg update'?

No ker gawk-a ocitno ni v listi paketov :

root at lipaq:/mnt/card# ipkg list | grep gawk

sem ga zdownloadov in instaliral :

root at lipaq:/mnt/card# ipkg install gawk_3.1.0-3_arm.ipk
Package debianutils wants to install file /bin/run-parts
        But that file is already provided by package debianutils
Package debianutils wants to install file /usr/bin/which
        But that file is already provided by package debianutils

Poskusal sem tudi "forcat" instalacijo :

root at lipaq:/mnt/card# ipkg -force-overwrite -noaction install
gawk_3.1.0-3_arm.ipk

Izgleda OK. Probam brez -noaction opcije :

root at lipaq:/mnt/card# ipkg -force-overwrite install gawk_3.1.0-3_arm.ipk
/usr/lib/ipkg/info/gawk.postinst: 4: install-info: not found
postinst script returned status 127
ERROR: gawk.postinst returned 127

Hm ocitno nimam ukaza install-info na sistemu. Pogledam kaj pise v
/usr/lib/ipkg/info/gawk.postinst :

root at lipaq:/mnt/card# cat /usr/lib/ipkg/info/gawk.postinst
#!/bin/sh -e

install-info --quiet --section "General Commands" "General Commands" \
        /usr/share/info/gawk.info.gz

install-info --quiet --section "General Commands" "General Commands" \
        /usr/share/info/gawkinet.info.gz

update-alternatives --quiet --install /usr/bin/awk awk /usr/bin/gawk 10 \
  --slave /usr/share/man/man1/awk.1.gz awk.1.gz
/usr/share/man/man1/gawk.1.gz \
  --slave /usr/bin/nawk nawk /usr/bin/gawk \
  --slave /usr/share/man/man1/nawk.1.gz nawk.1.gz
/usr/share/man/man1/gawk.1.gz
for badlink in /usr/man/man1/awk.1 /usr/man/man1/nawk.1; do
  if [ -L $badlink ]; then
    if ! ls -l $(ls -l $badlink | cut -d">" -f2) &>/dev/null; then
      rm -f $badlink; fi; fi; done

if [ "$1" = "configure" ]; then
      if [ -d /usr/doc -a ! -e /usr/doc/gawk \
          -a -d /usr/share/doc/gawk ]; then
              ln -sf ../share/doc/gawk /usr/doc/gawk
      fi
fi

exit 0

A se komu sanja, kaj dela in kje naj bi se nahajal tale install-info. Po
ukazni vrstici sodec gre za le za instalacijo info prirocnika, ki pa ga na
iPAQ-u nimam.

No, kakorkoli sedaj gawk obstaja in zgleda OK :

root at lipaq:/mnt/card# gawk
Usage: gawk [POSIX or GNU style options] -f progfile [--] file ...
Usage: gawk [POSIX or GNU style options] [--] 'program' file ...
POSIX options:          GNU long options:
        -f progfile             --file=progfile
        -F fs                   --field-separator=fs
        -v var=val              --assign=var=val
        -m[fr] val
        -W compat               --compat
        -W copyleft             --copyleft
        -W copyright            --copyright
        -W dump-variables[=file]        --dump-variables[=file]
        -W gen-po               --gen-po
        -W help                 --help
        -W lint[=fatal]         --lint[=fatal]
        -W lint-old             --lint-old
        -W non-decimal-data     --non-decimal-data
        -W profile[=file]       --profile[=file]
        -W posix                --posix
        -W re-interval          --re-interval
        -W source=program-text  --source=program-text
        -W traditional          --traditional
        -W usage                --usage
        -W version              --version

To report bugs, see node `Bugs' in `gawk.info', which is
section `Reporting Problems and Bugs' in the printed version.

Poskusim se instalirati freeswan-a pa mi javi isto kot pri gawk :
root at lipaq:/mnt/card# ipkg install freeswan
/usr/lib/ipkg/info/gawk.postinst: 4: install-info: not found
postinst script returned status 127
ERROR: gawk.postinst returned 127

No, vendar se freeswan zinstalira. Sedaj je samo se stavr konfiguracije
freeswana.


> -----Original Message-----
> From: Jaka Jančar [mailto:jaka at kubje.org]
> Sent: Monday, July 12, 2004 2:24 PM
> To: lugos-list at lugos.si
> Subject: Re: [LUGOS] Familiar 0.7.2 on ipaq + vpn
>
>
> Mislil sem force-at - "prisilit" :>
> Z ipkg je to -force-depends, se mi zdi. Drugace pa probaj gawk.
>
> Gregor Malensek wrote:
>
> > Sem tudi ze probal instalirati awk paket, vendar ga na
> > ipkgfind.handhelds.org strani ne najdem.
> > Oprosti moji nevednosti, kaj pomeni "forcat" instalacija?
> >
> >
> >>-----Original Message-----
> >>From: Jaka Jančar [mailto:jaka at kubje.org]
> >>Sent: Monday, July 12, 2004 2:09 PM
> >>To: lugos-list at lugos.si
> >>Subject: Re: [LUGOS] Familiar 0.7.2 on ipaq + vpn
> >>
> >>
> >>Najverjetneje mores z ipkg instalirati awk paket. Trenutno imas samo
> >>busybox, ki pa mogoce ne zadosca. Lahko pa probis tudi kako "forcat"
> >>instalacijo freeswana.
> >>
> >>Gregor Malensek wrote:
> >>
> >>>Zdravo.
> >>>
> >>>Ali je komu uspelo inštalirati freeswan na ipaq linux Familiar
> >>
> >>0.7.2? Meni
> >>
> >>>pri inštalaciji javlja :
> >>>
> >>>root at lipaq:~# ipkg install freeswan
> >>>ERROR: Cannot satisfy the following dependencies for freeswan:
> >>>         awk
> >>>
> >>>Če poskušam pognati awk dobim tole :
> >>>
> >>>root at lipaq:~# awk
> >>>BusyBox v1.00-pre3 (2003.09.06-16:47+0000) multi-call binary
> >>>
> >>>Usage: awk [-v var=val][-F sep] { -f progname | 'programtext' }
> >>
> >>[FILE ...]
> >>
> >>>Options:
> >>>        -v var=val      assign value 'val' to variable 'var'
> >>>        -F sep          use 'sep' as field separator
> >>>        -f progname     read program source from file 'progname'
> >>>
> >>>Zdej mi pa ni jasno zakaj mi inštalacija javlja, da ne obstaja
> >>
> >>dependancij,
> >>
> >>>če awk je na sistemu.
> >>>
> >>>Ali mogoče obstaja še kakšen drug način za vzpostaljanje VPN povezave z
> >>>iPAQ-a preko gprs povezave?
> >>>
> >>>Hvala.
> >>>
> >>>
> >>>
> >
> >
> >
> >




More information about the lugos-list mailing list