Welcome! Log In Create A New Profile

Advanced

dpkg error with Linux Kernel 5.4.179 Oxnas (OX820) Pogo V3 package

Posted by rsavera 
dpkg error with Linux Kernel 5.4.179 Oxnas (OX820) Pogo V3 package
August 11, 2022 10:26PM
Hey, I'm really happy to see continued development for these awesome little devices. I first learned about this place about 7 years ago and enjoyed setting up a couple of Pogoplugs as network shares. Then life happened and they were eventually boxed up and shelved for a few years.

I dusted one of them off today and it started up as if they were online just yesterday! I ended up needing to update the uBoot because I wanted netconsole and that worked out well as far as I can tell.

Now, I'm trying to update the kernel but I'm stuck at step 4:

Linux Black 4.4.38-oxnas-tld-5 #1 SMP PREEMPT Sun Dec 11 17:32:48 PST 2016 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

Last login: Fri Aug 12 08:55:27 2022 from 192.168.199.249

root@Black:~# cd /boot

root@Black:/boot# ls -l

total 62252
drwxr-xr-x  4 root root     4096 Aug 12 08:52 .
drwxr-xr-x 22 root root     4096 Aug 11 22:41 ..
drwxr-xr-x  2 root root     4096 Aug 12 08:41 backup
-rw-r--r--  1 root root   142130 Feb 15 11:35 config-5.4.179-oxnas-tld-1
drwxr-xr-x  2 root root     4096 Mar  1  2021 dts
-rw-r--r--  1 root root 31733414 Aug 12 08:51 linux-5.4.179-oxnas-tld-1.bodhi.tar.bz2
-rw-r--r--  1 root root   160063 Feb 15 12:52 linux-5.4.179-oxnas-tld-1.patch
-rw-r--r--  1 root root    61440 Feb 15 12:35 linux-dtb-5.4.179-oxnas-tld-1.tar
-rw-r--r--  1 root root 11311708 Feb 15 12:25 linux-headers-5.4.179-oxnas-tld-1_1.0_armel.deb
-rw-r--r--  1 root root 14676152 Feb 15 12:26 linux-image-5.4.179-oxnas-tld-1_1.0_armel.deb
-rwxr-xr-x  1 root root  5533336 Feb 15 12:21 zImage-5.4.179-oxnas-tld-1

root@Black:/boot# dpkg -i linux-image-5.4.179-oxnas-tld-1_1.0_armel.deb

dpkg-deb: error: archive 'linux-image-5.4.179-oxnas-tld-1_1.0_armel.deb' contains not understood data member control.tar.xz, giving up
dpkg: error processing linux-image-5.4.179-oxnas-tld-1_1.0_armel.deb (--install):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 linux-image-5.4.179-oxnas-tld-1_1.0_armel.deb

Am I missing something obvious here? I feel like I am.
Re: dpkg error with Linux Kernel 5.4.179 Oxnas (OX820) Pogo V3 package
August 12, 2022 12:08AM
rsavera,

> Am I missing something obvious here? I feel like I
> am.

Nothing obviously wrong. What Debian version are you at?
cat /etc/debian_version
If it is too old, try upgrading Debian first.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: dpkg error with Linux Kernel 5.4.179 Oxnas (OX820) Pogo V3 package
August 12, 2022 04:23AM
> What Debian version are you at?

Thanks for the reply. It was on 7.11, wow.

I prepared a fresh USB drive with Debian-4.14.180-oxnas-tld-1-rootfs-bodhi.tar.bz2 and upgraded the kernel with linux-5.4.179-oxnas-tld-1.bodhi.tar.bz2

U-Boot 2015.10-tld-2 (Oct 21 2017 - 22:00:02 -0700)
OXNAS OX820
Last login: Wed Dec 31 16:00:48 PST 1969 on ttyS0
Linux Configs 5.4.179-oxnas-tld-1 #1.0 SMP PREEMPT Mon Feb 14 21:50:21 PST 2022 armv6l
root@Configs:~# cat /etc/debian_version
10.12

I remember now that the only issue I had with these devices (to use as network shares) was the lack of an RTC. I also remember that a workaround would be to prioritize NTP in the boot process with a static IP so I'll be exploring either that or adding in a hardware RTC.

The maker space/community is far more established today than it was 7 years ago so I'm expecting a hardware RTC shouldn't cost more than a dollar or two — hopefully.

Thanks again bodhi, you're a legend!
Re: dpkg error with Linux Kernel 5.4.179 Oxnas (OX820) Pogo V3 package
August 12, 2022 03:06PM
Cool!

Also, you can use fake-hwclock package instead.

-bodhi
===========================
Forum Wiki
bodhi's corner
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: