opkg help

473 views
Skip to first unread message

Markos Vakondios

unread,
Mar 22, 2011, 5:10:33 AM3/22/11
to biffe...@googlegroups.com
Hello to all,

I flashed the latest firmware (openWRT) to my BB and I was to install some kernel packages (kmod-usb-serial etc.) using opkg.

After flashing I tried to install packages kmod-usb-serial and kmod-usb-serial-option as shown below:

root@OpenWrt:/# opkg update
.
.
.
success!


Then:

root@OpenWrt:/# opkg install kmod-usb-serial
Installing kmod-usb-serial (2.6.32.33-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/rdc/packages/kmod-usb-serial_2.6.32.33-1_rdc.ipk.
Multiple packages (kernel and kernel) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kernel and kernel) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using latest.
Upgrading kernel on root from 2.6.32.20-1 to 2.6.32.33-1...
Downloading http://downloads.openwrt.org/snapshots/trunk/rdc/packages/kernel_2.6.32.33-1_rdc.ipk.
Configuring kernel.
Configuring kmod-usb-serial.

and finally:

root@OpenWrt:/# opkg install kmod-usb-serial-option
Installing kmod-usb-serial-option (2.6.32.33-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/rdc/packages/kmod-usb-serial-option_2.6.32.33-1_rdc.ipk.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-serial-option:
 *     kernel (= 2.6.32.33-1) *
 * opkg_install_cmd: Cannot install package kmod-usb-serial-option.

Since the new kernel was installed (as per output above), I rebooted but the running kernel is still 2.6.32.20.

Am I missing something?

Any help will be much appreciated.

Thanks.

Markos

Panagiotis Atmatzidis

unread,
Mar 22, 2011, 5:24:22 AM3/22/11
to biffe...@googlegroups.com, biffe...@googlegroups.com
Hello,

I'm having hard time upgrading packages on the Bifferboard also.

What is the default procedure for upgrading and dealing withs deps?

iPhone client
Panagiotis Atmatzidis
eMail(s): atmosx@me.com
GnuPG:  at...@convalesco.org

The wise man said: "Never argue with an idiot. He brings you down to his level and beat you with experience"
--
To unsubscribe send email to bifferboard...@googlegroups.com

nicolas le falher

unread,
Mar 22, 2011, 5:29:25 AM3/22/11
to biffe...@googlegroups.com
Hello,

Best way is not to compile your own package from source ?

2011/3/22 Panagiotis Atmatzidis <p.atma...@gmail.com>:


> Hello,
> I'm having hard time upgrading packages on the Bifferboard also.
> What is the default procedure for upgrading and dealing withs deps?
> iPhone client
> Panagiotis Atmatzidis
> Blog: www.convalesco.org

> eMail(s): atm...@me.com

--

Nicolas Le Falher.

Markos Vakondios

unread,
Mar 22, 2011, 6:45:51 AM3/22/11
to biffe...@googlegroups.com
and where do I find sources for the kernel packages kmod-XXXX ?

nicolas le falher

unread,
Mar 22, 2011, 7:04:51 AM3/22/11
to biffe...@googlegroups.com
You can start with this documentation from Bifferboard site.
http://sites.google.com/site/bifferboard/Home/openwrt-git
And select the pkg you need in menuconfig, make an image, and flash it.

If you don't want reflash your bifferboard, you can get Openwrt source
of your revision (showing at login console).
Get source with : svn co -r 22299 svn://svn.openwrt.org/openwrt/trunk r22299

Make a compilation, select pkgs, and get package from bin/rdc/packages.

2011/3/22 Markos Vakondios <mvako...@gmail.com>:

Andrew Scheller

unread,
Mar 22, 2011, 7:40:29 AM3/22/11
to biffe...@googlegroups.com
As you've discovered, you *can't* use opkg to install kernel or kernel
module packages from the OpenWRT repositories - this is because the
kernel version used in the online repositories is different to that
used in the bifferboard fork of OpenWRT.
However any 'normal' packages (i.e. non-kernel) should install using
opkg just fine.

As Nicolas points out you need to compile your own kernel module
packages from source (alternatively, you could build the required
functionality directly into your kernel via the 'make
kernel_menuconfig' option).

If you can't reflash your bifferboard, but still want to install your
own custom-compiled kernel-related ipks, take a look at the (very old)
page I wrote:
http://sites.google.com/site/bifferboard/Home/howto/install-opkg-files

Lurch

Markos Vakondios

unread,
Mar 22, 2011, 8:23:56 AM3/22/11
to biffe...@googlegroups.com
I can confirm that non-kernel packages are installing properly using opkg (tried several yesterday).

For the kernel ones, I will build from branch and install manually.

It is all clear to me now.

Thanks for the help to all of you!


Markos





--
Reply all
Reply to author
Forward
0 new messages