[OS] Debian Stretch

Post Reply
rookieist
Posts: 5
Joined: Sun Jan 17, 2021 3:02 am
languages_spoken: english, German
ODROIDs: Odroid HC1
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Stretch

Post by rookieist »

Thanks - will redo with the Buster image on a new SD card...

rookieist
Posts: 5
Joined: Sun Jan 17, 2021 3:02 am
languages_spoken: english, German
ODROIDs: Odroid HC1
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Stretch

Post by rookieist »

"df -h" gives me:
Filesystem Size Used Avail Use% Mounted on
udev 931M 0 931M 0% /dev
tmpfs 200M 11M 189M 6% /run
/dev/mmcblk1p2 29G 712M 28G 3% /
tmpfs 998M 0 998M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 998M 0 998M 0% /sys/fs/cgroup
/dev/mmcblk1p1 71M 51M 21M 71% /boot

"mount" says for /:
/dev/mmcblk1p2 on / type ext4 (rw,noatime,discard,errors=remount-ro,data=ordered)

User avatar
meveric
Posts: 11438
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 63 times
Been thanked: 457 times
Contact:

Re: [OS] Debian Stretch

Post by meveric »

everything looks fine.. no ro, disk space is fine.. everything should work :)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

rookieist
Posts: 5
Joined: Sun Jan 17, 2021 3:02 am
languages_spoken: english, German
ODROIDs: Odroid HC1
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Stretch

Post by rookieist »

Switched to a new (and better) SD card and to Debian Buster as well. Looks good so far... Only error message I could find after apt-get update and upgrade:

ln: failed to create hard link '/boot/initrd.img-4.14.180+.dpkg-bak' => '/boot/initrd.img-4.14.180+': Operation not permitted
update-initramfs: Generating /boot/initrd.img-4.14.180+

What does it tell me?

User avatar
meveric
Posts: 11438
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 63 times
Been thanked: 457 times
Contact:

Re: [OS] Debian Stretch

Post by meveric »

that is fine and can be ignored.
It tries to create a hard link on the bootfs, but since that is a fat partition it doesn't support hard links.. it's harmless and can be ignored.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

rookieist
Posts: 5
Joined: Sun Jan 17, 2021 3:02 am
languages_spoken: english, German
ODROIDs: Odroid HC1
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Stretch

Post by rookieist »

Great, thanks! Installed nextcloud successfully... Now struggling with installation of OMV, producing error messages around nginx - but this is probably another thread...

odro-volti
Posts: 80
Joined: Fri Apr 12, 2019 4:35 pm
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: [OS] Debian Stretch

Post by odro-volti »

Hi again!

Tried to install wireguard on the buster .img, but it always ends with "broken pipe"

Code: Select all

 apt install wireguard
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libnl-3-200 libnl-genl-3-200 libnl-route-3-200 libpcsclite1
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  binutils binutils-arm-linux-gnueabihf binutils-common bzip2 cpp cpp-8 dkms dpkg-dev gcc gcc-8 libasan5
  libatomic1 libbinutils libcc1-0 libgcc-8-dev libgomp1 libisl19 libmpc3 libmpfr6 libubsan1 make
  wireguard-dkms wireguard-tools xz-utils
Suggested packages:
  binutils-doc bzip2-doc cpp-doc gcc-8-locales python3-apport menu debian-keyring gcc-multilib manpages-dev
  autoconf automake libtool flex bison gdb gcc-doc gcc-8-doc libgcc1-dbg libgomp1-dbg libitm1-dbg
  libatomic1-dbg libasan5-dbg liblsan0-dbg libtsan0-dbg libubsan1-dbg libmpx2-dbg libquadmath0-dbg make-doc
  openresolv | resolvconf
Recommended packages:
  fakeroot sudo linux-headers-686-pae | linux-headers-amd64 | linux-headers-generic | linux-headers
  lsb-release build-essential libalgorithm-merge-perl libc6-dev | libc-dev libc6-dev
The following NEW packages will be installed:
  binutils binutils-arm-linux-gnueabihf binutils-common bzip2 cpp cpp-8 dkms dpkg-dev gcc gcc-8 libasan5
  libatomic1 libbinutils libcc1-0 libgcc-8-dev libgomp1 libisl19 libmpc3 libmpfr6 libubsan1 make wireguard
  wireguard-dkms wireguard-tools xz-utils
0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded.
Need to get 23.7 MB of archives.
After this operation, 70.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.debian.org/debian buster/main armhf bzip2 armhf 1.0.6-9.2~deb10u1 [46.7 kB]
Get:2 http://ftp.debian.org/debian buster/main armhf xz-utils armhf 5.2.4-1 [181 kB]
Get:3 http://ftp.debian.org/debian buster/main armhf binutils-common armhf 2.31.1-16 [2073 kB]
Get:4 http://ftp.debian.org/debian buster/main armhf libbinutils armhf 2.31.1-16 [302 kB]
Get:5 http://ftp.debian.org/debian buster/main armhf binutils-arm-linux-gnueabihf armhf 2.31.1-16 [2101 kB]
Get:6 http://ftp.debian.org/debian buster/main armhf binutils armhf 2.31.1-16 [56.7 kB]                     
Get:7 http://ftp.debian.org/debian buster/main armhf libisl19 armhf 0.20-2 [455 kB]                         
Get:8 http://ftp.debian.org/debian buster/main armhf libmpfr6 armhf 4.0.2-1 [731 kB]                        
Get:9 http://ftp.debian.org/debian buster/main armhf libmpc3 armhf 1.1.0-1 [33.8 kB]                        
Get:10 http://ftp.debian.org/debian buster/main armhf cpp-8 armhf 8.3.0-6 [6790 kB]                         
Get:10 http://ftp.debian.org/debian buster/main armhf cpp-8 armhf 8.3.0-6 [6790 kB]                         
Get:11 http://ftp.debian.org/debian buster/main armhf cpp armhf 4:8.3.0-1 [19.4 kB]
Get:12 http://ftp.debian.org/debian buster/main armhf libcc1-0 armhf 8.3.0-6 [38.9 kB]
Get:13 http://ftp.debian.org/debian buster/main armhf libgomp1 armhf 8.3.0-6 [64.8 kB]
Get:14 http://ftp.debian.org/debian buster/main armhf libatomic1 armhf 8.3.0-6 [6740 B]
Get:15 http://ftp.debian.org/debian buster/main armhf libasan5 armhf 8.3.0-6 [336 kB]
Get:16 http://ftp.debian.org/debian buster/main armhf libubsan1 armhf 8.3.0-6 [103 kB]
Get:17 http://ftp.debian.org/debian buster/main armhf libgcc-8-dev armhf 8.3.0-6 [612 kB]
Get:18 http://ftp.debian.org/debian buster/main armhf gcc-8 armhf 8.3.0-6 [7229 kB]
Get:19 http://ftp.debian.org/debian buster/main armhf gcc armhf 4:8.3.0-1 [5204 B]                          
Get:20 http://ftp.debian.org/debian buster/main armhf make armhf 4.2.1-1.2 [327 kB]                         
Get:21 http://ftp.debian.org/debian buster/main armhf dpkg-dev all 1.19.7 [1773 kB]                         
Get:22 http://ftp.debian.org/debian buster/main armhf dkms all 2.6.1-4 [74.4 kB]                            
Get:23 http://ftp.debian.org/debian buster-backports/main armhf wireguard-dkms all 1.0.20201221-1~bpo10+1 [254 kB]
Get:24 http://ftp.debian.org/debian buster-backports/main armhf wireguard-tools armhf 1.0.20200827-1~bpo10+1 [78.9 kB]
Get:25 http://ftp.debian.org/debian buster-backports/main armhf wireguard all 1.0.20200827-1~bpo10+1 [8192 B]
Fetched 19.6 MB in 1min 1s (320 kB/s)                                                                       
Selecting previously unselected package bzip2.
(Reading database ... 44008 files and directories currently installed.)
Preparing to unpack .../00-bzip2_1.0.6-9.2~deb10u1_armhf.deb ...
Unpacking bzip2 (1.0.6-9.2~deb10u1) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../01-xz-utils_5.2.4-1_armhf.deb ...
Unpacking xz-utils (5.2.4-1) ...
Selecting previously unselected package binutils-common:armhf.
Preparing to unpack .../02-binutils-common_2.31.1-16_armhf.deb ...
Unpacking binutils-common:armhf (2.31.1-16) ...
Selecting previously unselected package libbinutils:armhf.
Preparing to unpack .../03-libbinutils_2.31.1-16_armhf.deb ...
Unpacking libbinutils:armhf (2.31.1-16) ...
Selecting previously unselected package binutils-arm-linux-gnueabihf.
Preparing to unpack .../04-binutils-arm-linux-gnueabihf_2.31.1-16_armhf.deb ...
Unpacking binutils-arm-linux-gnueabihf (2.31.1-16) ...
Selecting previously unselected package binutils.
Preparing to unpack .../05-binutils_2.31.1-16_armhf.deb ...
Unpacking binutils (2.31.1-16) ...
Selecting previously unselected package libisl19:armhf.
Preparing to unpack .../06-libisl19_0.20-2_armhf.deb ...
Unpacking libisl19:armhf (0.20-2) ...
Selecting previously unselected package libmpfr6:armhf.
Preparing to unpack .../07-libmpfr6_4.0.2-1_armhf.deb ...
Unpacking libmpfr6:armhf (4.0.2-1) ...
Selecting previously unselected package libmpc3:armhf.
Preparing to unpack .../08-libmpc3_1.1.0-1_armhf.deb ...
Unpacking libmpc3:armhf (1.1.0-1) ...
Selecting previously unselected package cpp-8.
Preparing to unpack .../09-cpp-8_8.3.0-6_armhf.deb ...
Unpacking cpp-8 (8.3.0-6) ...
Selecting previously unselected package cpp.
Preparing to unpack .../10-cpp_4%3a8.3.0-1_armhf.deb ...
Unpacking cpp (4:8.3.0-1) ...
Selecting previously unselected package libcc1-0:armhf.
Preparing to unpack .../11-libcc1-0_8.3.0-6_armhf.deb ...
Unpacking libcc1-0:armhf (8.3.0-6) ...
Selecting previously unselected package libgomp1:armhf.
Preparing to unpack .../12-libgomp1_8.3.0-6_armhf.deb ...
Unpacking libgomp1:armhf (8.3.0-6) ...
Selecting previously unselected package libatomic1:armhf.
Preparing to unpack .../13-libatomic1_8.3.0-6_armhf.deb ...
Unpacking libatomic1:armhf (8.3.0-6) ...
Selecting previously unselected package libasan5:armhf.
Preparing to unpack .../14-libasan5_8.3.0-6_armhf.deb ...
Unpacking libasan5:armhf (8.3.0-6) ...
Selecting previously unselected package libubsan1:armhf.
Preparing to unpack .../15-libubsan1_8.3.0-6_armhf.deb ...
Unpacking libubsan1:armhf (8.3.0-6) ...
Selecting previously unselected package libgcc-8-dev:armhf.
Preparing to unpack .../16-libgcc-8-dev_8.3.0-6_armhf.deb ...
Unpacking libgcc-8-dev:armhf (8.3.0-6) ...
Selecting previously unselected package gcc-8.
Preparing to unpack .../17-gcc-8_8.3.0-6_armhf.deb ...
Unpacking gcc-8 (8.3.0-6) ...
Selecting previously unselected package gcc.
Preparing to unpack .../18-gcc_4%3a8.3.0-1_armhf.deb ...
Unpacking gcc (4:8.3.0-1) ...
Selecting previously unselected package make.
Preparing to unpack .../19-make_4.2.1-1.2_armhf.deb ...
Unpacking make (4.2.1-1.2) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../20-dpkg-dev_1.19.7_all.deb ...
Unpacking dpkg-dev (1.19.7) ...
Selecting previously unselected package dkms.
Preparing to unpack .../21-dkms_2.6.1-4_all.deb ...
Unpacking dkms (2.6.1-4) ...
Selecting previously unselected package wireguard-dkms.
Preparing to unpack .../22-wireguard-dkms_1.0.20201221-1~bpo10+1_all.deb ...
Unpacking wireguard-dkms (1.0.20201221-1~bpo10+1) ...
Selecting previously unselected package wireguard-tools.
Preparing to unpack .../23-wireguard-tools_1.0.20200827-1~bpo10+1_armhf.deb ...
Unpacking wireguard-tools (1.0.20200827-1~bpo10+1) ...
Selecting previously unselected package wireguard.
Preparing to unpack .../24-wireguard_1.0.20200827-1~bpo10+1_all.deb ...
Unpacking wireguard (1.0.20200827-1~bpo10+1) ...
Setting up binutils-common:armhf (2.31.1-16) ...
Setting up libgomp1:armhf (8.3.0-6) ...
Setting up bzip2 (1.0.6-9.2~deb10u1) ...
Setting up libasan5:armhf (8.3.0-6) ...
Setting up make (4.2.1-1.2) ...
Setting up libmpfr6:armhf (4.0.2-1) ...
Setting up xz-utils (5.2.4-1) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
Setting up libmpc3:armhf (1.1.0-1) ...
Setting up libatomic1:armhf (8.3.0-6) ...
Setting up wireguard-tools (1.0.20200827-1~bpo10+1) ...
wg-quick.target is a disabled or a static unit, not starting it.
Setting up libubsan1:armhf (8.3.0-6) ...
Setting up libisl19:armhf (0.20-2) ...
Setting up libbinutils:armhf (2.31.1-16) ...
Setting up cpp-8 (8.3.0-6) ...
Setting up binutils-arm-linux-gnueabihf (2.31.1-16) ...
Setting up libcc1-0:armhf (8.3.0-6) ...
Setting up binutils (2.31.1-16) ...
Setting up dpkg-dev (1.19.7) ...
Setting up libgcc-8-dev:armhf (8.3.0-6) ...
Setting up cpp (4:8.3.0-1) ...
Setting up gcc-8 (8.3.0-6) ...
Setting up gcc (4:8.3.0-1) ...
Setting up dkms (2.6.1-4) ...
Setting up wireguard-dkms (1.0.20201221-1~bpo10+1) ...
Loading new wireguard-1.0.20201221 DKMS files...
Building for 4.14.180+
Building initial module for 4.14.180+
client_loop: send disconnect: Broken pipe
After reconnecting via ssh and starting again, it always ends in "broken pipe"

Code: Select all

dpkg --configure -a
Setting up wireguard-dkms (1.0.20201221-1~bpo10+1) ...
Removing old wireguard-1.0.20201221 DKMS files...

------------------------------
Deleting module version: 1.0.20201221
completely from the DKMS tree.
------------------------------
Done.
Loading new wireguard-1.0.20201221 DKMS files...
Building for 4.14.180+
Building initial module for 4.14.180+
client_loop: send disconnect: Broken pipe
Any ideas?
kind regards

volti

User avatar
meveric
Posts: 11438
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 63 times
Been thanked: 457 times
Contact:

Re: [OS] Debian Stretch

Post by meveric »

you could install screen and start the process in screen session..
even if you end up with a broken pipe the session keeps running.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

odro-volti
Posts: 80
Joined: Fri Apr 12, 2019 4:35 pm
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: [OS] Debian Stretch

Post by odro-volti »

Hi again!

On the Buster 0.9 image I did "apt update" and in the end I got:

Code: Select all

...
Get:86 http://ftp.debian.org/debian buster-backports/non-free Sources [9124 B]                                      
Get:87 http://ftp.debian.org/debian buster-backports/contrib Sources [4572 B]                                       
Get:88 http://ftp.debian.org/debian buster-backports/main armhf Packages [423 kB]                                   
Fetched 16.0 MB in 13s (1246 kB/s)                                                                                  
Reading package lists... Done
Building dependency tree       
Reading state information... Done
15 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Repository 'http://ftp.debian.org/debian buster InRelease' changed its 'Version' value from '10.7' to '10.8'
N: Repository 'http://www.deb-multimedia.org buster InRelease' changed its 'Version' value from '10.7' to '10.8'
Should I be concerned/do something before/after a "apt full-upgrade"?
kind regards

volti

User avatar
meveric
Posts: 11438
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 63 times
Been thanked: 457 times
Contact:

Re: [OS] Debian Stretch

Post by meveric »

nope looks fine.. the last lines just mean that the point release version of Debian 10 changed from 10.7 to 10.8.
It's fine, nothing to worry about.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

odro-volti
Posts: 80
Joined: Fri Apr 12, 2019 4:35 pm
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: [OS] Debian Stretch

Post by odro-volti »

meveric wrote:
Mon Jan 25, 2021 1:40 am
you could install screen and start the process in screen session..
even if you end up with a broken pipe the session keeps running.
finally and in the end the half-installed dkms blocked apt full-upgrade so I plugged in monitor/keyboard and started

Code: Select all

dpkg --configure -a
first it started and rebooted quite quickly, afterwards I did "dpkg --configure -a" again and this time it succeeded.

Now wireguard is up and running

Code: Select all

wg show
interface: wg0
  public key: key=
  private key: (hidden)
  listening port: 12345

peer: key2=
  endpoint: 10.10.10.29:65432
  allowed ips: 10.1.9.2/32
  latest handshake: 1 minute, 8 seconds ago
  transfer: 175.41 KiB received, 800.74 KiB sent
:-D

...hope the next full-upgrade will run headless via ssh, but I fear it will fail again when installing wireguard.
kind regards

volti

odro-volti
Posts: 80
Joined: Fri Apr 12, 2019 4:35 pm
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: [OS] Debian Stretch

Post by odro-volti »

fwiw, updating this Buster image to a 5.10 kernel will actually end in catch 22, as then no wireguard will be possible at all, as no wireguard-tools are in the Buster repos... wuuuuhh....
kind regards

volti

User avatar
meveric
Posts: 11438
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 63 times
Been thanked: 457 times
Contact:

Re: [OS] Debian Stretch

Post by meveric »

Yeah, upstream doesn't quite work yet.
Even if you build specific Kernel for Exynos, it's missing some features.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 2 guests