Formatting SD card ext4 - how do I upgrade kernel?
-
Hi all,
I started following the pivot-overlay instructions on one of the recent blog posts (https://onion.io/2bt-booting-from-an-sd-card/) then branched off to the formatting ext4 instructions. One of the first steps is to install some packages, and I keep failing there with some unmatche dependencies. I believe this is because some of the ext4 tools need a later kernel version. I am running firmware version (0.1.9 (b149), latest)
Any thoughts/feedback would be great!
opkg output follows.
root@Omega-5459:~# root@Omega-5459:~# opkg install kmod-usb-storage-extras e2fsprogs kmod-fs-ext4 -ash: root@Omega-5459:~#: not found root@Omega-5459:~# Upgrading kmod-usb-storage-extras on root from 4.4.42-1 to 4.4.46-1... -ash: Upgrading: not found root@Omega-5459:~# Downloading http://repo.onion.io/omega2/packages/core/kmod-usb-storage-extras_4.4.46-1_mipsel_24kc.ipk. -ash: Downloading: not found root@Omega-5459:~# Installing e2fsprogs (1.43.3-2) to root... -ash: syntax error: unexpected "(" root@Omega-5459:~# Downloading http://repo.onion.io/omega2/packages/base/e2fsprogs_1.43.3-2_mipsel_24kc.ipk. -ash: Downloading: not found root@Omega-5459:~# Installing libuuid (2.28-1) to root... -ash: syntax error: unexpected "(" root@Omega-5459:~# Downloading http://repo.onion.io/omega2/packages/base/libuuid_2.28-1_mipsel_24kc.ipk. -ash: Downloading: not found root@Omega-5459:~# Installing libext2fs (1.43.3-2) to root... -ash: syntax error: unexpected "(" root@Omega-5459:~# Downloading http://repo.onion.io/omega2/packages/base/libext2fs_1.43.3-2_mipsel_24kc.ipk. -ash: Downloading: not found root@Omega-5459:~# Upgrading kmod-fs-ext4 on root from 4.4.42-1 to 4.4.46-1... -ash: Upgrading: not found root@Omega-5459:~# Downloading http://repo.onion.io/omega2/packages/core/kmod-fs-ext4_4.4.46-1_mipsel_24kc.ipk. -ash: Downloading: not found root@Omega-5459:~# Configuring libuuid. -ash: Configuring: not found root@Omega-5459:~# Configuring libext2fs. -ash: Configuring: not found root@Omega-5459:~# Configuring e2fsprogs. -ash: Configuring: not found root@Omega-5459:~# Collected errors: -ash: Collected: not found root@Omega-5459:~# * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-storage-extras: -ash: *: not found root@Omega-5459:~# * kernel (= 4.4.46-1-265ffe2d05156b390c8cd85e8a5adf47) * -ash: syntax error: unexpected "(" root@Omega-5459:~# * opkg_install_cmd: Cannot install package kmod-usb-storage-extras. -ash: *: not found root@Omega-5459:~# * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-fs-ext4: -ash: *: not found root@Omega-5459:~# * kernel (= 4.4.46-1-265ffe2d05156b390c8cd85e8a5adf47) * -ash: syntax error: unexpected "(" root@Omega-5459:~# * opkg_install_cmd: Cannot install package kmod-fs-ext4. -ash: *: not found root@Omega-5459:~# opkg install kmod-usb-storage-extras e2fsprogs kmod-fs-ext4 Upgrading kmod-usb-storage-extras on root from 4.4.42-1 to 4.4.46-1... Downloading http://repo.onion.io/omega2/packages/core/kmod-usb-storage-extras_4.4.46-1_mipsel_24kc.ipk. Installing e2fsprogs (1.43.3-2) to root... Downloading http://repo.onion.io/omega2/packages/base/e2fsprogs_1.43.3-2_mipsel_24kc.ipk. Installing libuuid (2.28-1) to root... Downloading http://repo.onion.io/omega2/packages/base/libuuid_2.28-1_mipsel_24kc.ipk. Installing libext2fs (1.43.3-2) to root... Downloading http://repo.onion.io/omega2/packages/base/libext2fs_1.43.3-2_mipsel_24kc.ipk. Upgrading kmod-fs-ext4 on root from 4.4.42-1 to 4.4.46-1... Downloading http://repo.onion.io/omega2/packages/core/kmod-fs-ext4_4.4.46-1_mipsel_24kc.ipk. Configuring libuuid. Configuring libext2fs. Configuring e2fsprogs. Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-storage-extras: * kernel (= 4.4.46-1-265ffe2d05156b390c8cd85e8a5adf47) * * opkg_install_cmd: Cannot install package kmod-usb-storage-extras. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-fs-ext4: * kernel (= 4.4.46-1-265ffe2d05156b390c8cd85e8a5adf47) * * opkg_install_cmd: Cannot install package kmod-fs-ext4.
-
@matthew-yockney kmod-fs-ext4 and kmod-usb-storage-extras are already installed, there is no need to install or upgrade them. As you can see, opkg literally says
Upgrading kmod-usb-storage-extras on root from 4.4.42-1 to 4.4.46-1...
-- it couldn't upgrade something that didn't exist, which means it already exists and opkg just tries to upgrade it.
-
So you are saying there is not actually error?
That last line seems pretty clear?
Will try tonight, thank you.
-
Thanks @WereCatf . You were right, it was already configured. (You knew that, but whatev's!)
On another note, if anyone is interested, the distfeeds file for opkg was stillpointed at an old, cut down one. I noticed a .new version in the directory and swapped the configs around - opkg behaving much better now. Can install git and so on without it telling me it doesn't know it!
-
0.1.9 b149 is pretty old. I am one behind at b156, but it has been stable with some bugs worked out. Maybe download and install it, as a number of other packages have been upgraded since the release of b149. Or even to b157. Just a thought.