Page 1 of 2

opkg (package manager)

PostPosted: Sat May 04, 2013 11:34 am
by gfi
We can start build package based expansion of rootfs.
Note: You need to have upgraded MOI to FW version 1.1

As first, install opkg manager - lightweight version of ipkg.

1. Unpack zip file and copy folder "opkg" to USB Stick.
2. Put USB Stick to MOI

3. Over ssh type:
cd /mnt/usb/opkg
./install-opkg.sh

Done.

Note:
If You want uninstall opkg from system in the future, some way, but:
3. Over ssh type:
cd /mnt/usb/opkg
./remove-opkgopkg

Re: opkg (package manager)

PostPosted: Wed Jun 05, 2013 4:04 pm
by marcelp1
Above process does not work,
see below:

# cd /mnt/usb/opkg

# pwd
/mnt/usb/opkg

# ls -ila
total 208
112 drwxrwxrwx 2 root root 8192 Jun 4 05:04 .
1 drwxrwxrwx 9 root root 8192 Dec 31 1969 ..
116 -rwxrwxrwx 1 root root 400 Apr 27 10:12 install-opkg.sh
117 -rwxrwxrwx 1 root root 174080 Apr 27 10:12 opkg-moi.tar.gz
118 -rwxrwxrwx 1 root root 226 Apr 27 10:12 remove-opkg.sh

# ./install-opkg
-sh: ./install-opkg: not found
#

Re: opkg (package manager)

PostPosted: Wed Jun 05, 2013 5:29 pm
by rezo
./install-opkg.sh

Re: opkg (package manager)

PostPosted: Wed Jun 05, 2013 5:52 pm
by gfi
rezo Wrote:./install-opkg.sh


My mistake, corrected.

Re: opkg (package manager)

PostPosted: Sun Aug 25, 2013 5:28 am
by jtrefil
Hi gfi

A plea, you cannot download the .zip opkg is removed.
Please, can you make it available?
Thanks.. JT

Re: opkg (package manager)

PostPosted: Thu Sep 12, 2013 10:55 pm
by someguy
"The selected attachment does not exist anymore."

Please fix it !

Re: opkg (package manager)

PostPosted: Wed Nov 13, 2013 1:21 am
by gfi
someguy Wrote:"The selected attachment does not exist anymore."

Please fix it !


Fixed

Re: opkg (package manager)

PostPosted: Thu Apr 03, 2014 8:43 pm
by akakiz
Can't install with new kernel.

Problem? there are several problems.

uname -a
Linux MOI-12 2.6.35.7 #1 PREEMPT Mon Apr 8 19:33:59 CST 2013 armv7l GNU/Linux

tar xvf opkg-moi.tar.gz
tar: no gzip/bzip2/xz magic

looks like fthis file is only tar, so I rename it as opkg-moi.tar, change sh file content with requirements. Then it's installed. But trying run opkg no joy:
-sh: opkg: not found

same time it exists in /usr/bin and executable.
So what I need to do?

Re: opkg (package manager)

PostPosted: Wed May 28, 2014 11:17 am
by Fant
Сheck please,

root@Moi:/usr/bin# ls -l opk*
lrwxrwxrwx 1 root root 7 Apr 19 05:02 opkg -> opkg-cl
-rwxr-xr-x 1 root root 11156 Apr 20 2013 opkg-cl
-rwxr-xr-x 1 root root 1671 Apr 20 2013 opkg-key
root@Moi:/usr/bin# ./opkg-cl
-sh: ./opkg-cl: not found
root@Moi:/usr/bin# ./opkg
-sh: ./opkg: not found

opkg-cl <-- bad file, please to correct archive.

Re: opkg (package manager)

PostPosted: Thu Jul 10, 2014 12:50 pm
by rurotil
i have the same error, can everone fix it?