#楼主# 2021-9-27

跳转到指定楼层
有幸在S805上刷了Welcome to Debian Buster with Armbian Linux 3.10.36看到了能安装docker的希望。但是高兴太早了安装docker成了一个痛苦的过程,不知道是不是我这个armbian的问题,几乎花费我半天时间,到目前为止还是没有装上,过程记录一下。

刷机
拔电/插电

联网
SSH连上
先apt update 和apt upgrade 也可以是apt-get update 和 apt-get upgrade


安装docker一直提示要pyhton3 ,但是执行安装python3又说有其它两个要装,反正来回提示,简直吃了没有文化的亏
root@aml:~# apt install python3

提示
The following packages have unmet dependencies:
python3 : Depends: python3.5 (>= 3.5.3-1~) but it is not going to be installed
           Depends: libpython3-stdlib (= 3.5.3-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

那我就装啊
root@aml:~# apt install python3.5

又特么提示
The following packages have unmet dependencies:
python3.5 : Depends: libpython3.5-stdlib (= 3.5.3-1+deb9u4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

那我就继续
root@aml:~# apt install python3.5-stdlib

没完没了
The following packages have unmet dependencies:
libpython3.5-stdlib : Depends: libncursesw5 (>= 6) but it is not going to be installed
                       Depends: libtinfo5 (>= 6) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

没有技术只能都试
root@aml:~# apt install libncursesw5

又有新套路
The following packages have unmet dependencies:
libncursesw5 : Depends: libtinfo5 (= 6.0+20161126-1+deb9u2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

在此过程中,感谢百度及百度翻译
root@aml:~# apt install libtinfo5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  ncurses-base ncurses-term
The following NEW packages will be installed:
  libtinfo5
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  ncurses-base
0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
Need to get 288 kB of archives.
After this operation, 4,233 kB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
?] y
Abort.

这里记住,不是y不是n 不能复制Yes, do as I say! 不能大小写错误,只能认认真真的打上去,大小写标点符号都不能错,不然就是Abort.
别问我是怎么知道的。全是血泪史!!!

root@aml:~# apt install libtinfo5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  ncurses-base ncurses-term
The following NEW packages will be installed:
  libtinfo5
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  ncurses-base
0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
Need to get 288 kB of archives.
After this operation, 4,233 kB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
?] Yes, do as I say!
Get:1 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main armhf libtinfo5 armhf 6.0+20161126-1+deb9u2 [288 kB]
Fetched 288 kB in 1s (304 kB/s)
(Reading database ... 16307 files and directories currently installed.)
Removing ncurses-term (6.1+20181013-2+deb10u2) ...
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: this is an essential package; it should not be removed
Removing ncurses-base (6.1+20181013-2+deb10u2) ...
Selecting previously unselected package libtinfo5:armhf.
(Reading database ... 13464 files and directories currently installed.)
Preparing to unpack .../libtinfo5_6.0+20161126-1+deb9u2_armhf.deb ...
Unpacking libtinfo5:armhf (6.0+20161126-1+deb9u2) ...
Setting up libtinfo5:armhf (6.0+20161126-1+deb9u2) ...
Processing triggers for libc-bin (2.28-10) ...

继续补另一个
root@aml:~# apt install libncursesw5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Recommended packages:
  libgpm2
The following NEW packages will be installed:
  libncursesw5
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 94.8 kB of archives.
After this operation, 229 kB of additional disk space will be used.
Get:1 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main armhf libncursesw5 armhf 6.0+20161126-1+deb9u2 [94.8 kB]
Fetched 94.8 kB in 1s (153 kB/s)
Selecting previously unselected package libncursesw5:armhf.
(Reading database ... 13474 files and directories currently installed.)
Preparing to unpack .../libncursesw5_6.0+20161126-1+deb9u2_armhf.deb ...
Unpacking libncursesw5:armhf (6.0+20161126-1+deb9u2) ...
Setting up libncursesw5:armhf (6.0+20161126-1+deb9u2) ...
Processing triggers for libc-bin (2.28-10) ...

继续补
root@aml:~# apt install python3.5-stdlib
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libpython3.5-stdlib' for regex 'python3.5-stdlib'
The following additional packages will be installed:
  libmpdec2 libpython3.5-minimal mime-support
Recommended packages:
  file
The following NEW packages will be installed:
  libmpdec2 libpython3.5-minimal libpython3.5-stdlib mime-support
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,759 kB of archives.
After this operation, 13.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main armhf mime-support all 3.60 [36.7 kB]
Get:2 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main armhf libmpdec2 armhf 2.4.2-1 [69.6 kB]
Get:3 https://mirrors.tuna.tsinghua.edu.cn/debian-security stretch/updates/main armhf libpython3.5-minimal armhf 3.5.3-1+deb9u4 [568 kB]
Get:4 https://mirrors.tuna.tsinghua.edu.cn/debian-security stretch/updates/main armhf libpython3.5-stdlib armhf 3.5.3-1+deb9u4 [2,085 kB]
Fetched 2,759 kB in 6s (454 kB/s)
Selecting previously unselected package mime-support.
(Reading database ... 13483 files and directories currently installed.)
Preparing to unpack .../mime-support_3.60_all.deb ...
Unpacking mime-support (3.60) ...
Selecting previously unselected package libmpdec2:armhf.
Preparing to unpack .../libmpdec2_2.4.2-1_armhf.deb ...
Unpacking libmpdec2:armhf (2.4.2-1) ...
Selecting previously unselected package libpython3.5-minimal:armhf.
Preparing to unpack .../libpython3.5-minimal_3.5.3-1+deb9u4_armhf.deb ...
Unpacking libpython3.5-minimal:armhf (3.5.3-1+deb9u4) ...
Selecting previously unselected package libpython3.5-stdlib:armhf.
Preparing to unpack .../libpython3.5-stdlib_3.5.3-1+deb9u4_armhf.deb ...
Unpacking libpython3.5-stdlib:armhf (3.5.3-1+deb9u4) ...
Setting up mime-support (3.60) ...
Setting up libpython3.5-minimal:armhf (3.5.3-1+deb9u4) ...
Setting up libmpdec2:armhf (2.4.2-1) ...
Setting up libpython3.5-stdlib:armhf (3.5.3-1+deb9u4) ...
Processing triggers for libc-bin (2.28-10) ...

继续补
root@aml:~# apt-get install lsb-release
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  dh-python distro-info-data libpython3-stdlib python3 python3-minimal python3.5 python3.5-minimal
Suggested packages:
  libdpkg-perl lsb python3-doc python3-tk python3-venv python3.5-venv python3.5-doc binutils binfmt-support
The following NEW packages will be installed:
  dh-python distro-info-data libpython3-stdlib lsb-release python3 python3-minimal python3.5 python3.5-minimal
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,868 kB of archives.
After this operation, 7,770 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://mirrors.tuna.tsinghua.edu.cn/debian-security stretch/updates/main armhf python3.5-minimal armhf 3.5.3-1+deb9u4 [1,442 kB]
Get:2 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main armhf python3-minimal armhf 3.5.3-1 [35.3 kB]
Get:3 https://mirrors.tuna.tsinghua.edu.cn/debian-security stretch/updates/main armhf python3.5 armhf 3.5.3-1+deb9u4 [231 kB]
Get:4 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main armhf libpython3-stdlib armhf 3.5.3-1 [18.6 kB]
Get:5 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main armhf dh-python all 2.20170125 [86.8 kB]
Get:6 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main armhf python3 armhf 3.5.3-1 [21.6 kB]
Get:7 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main armhf distro-info-data all 0.36 [5,810 B]
Get:8 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main armhf lsb-release all 9.20161125 [27.1 kB]
Fetched 1,868 kB in 4s (531 kB/s)
Selecting previously unselected package python3.5-minimal.
(Reading database ... 14318 files and directories currently installed.)
Preparing to unpack .../python3.5-minimal_3.5.3-1+deb9u4_armhf.deb ...
Unpacking python3.5-minimal (3.5.3-1+deb9u4) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../python3-minimal_3.5.3-1_armhf.deb ...
Unpacking python3-minimal (3.5.3-1) ...
Selecting previously unselected package python3.5.
Preparing to unpack .../python3.5_3.5.3-1+deb9u4_armhf.deb ...
Unpacking python3.5 (3.5.3-1+deb9u4) ...
Selecting previously unselected package libpython3-stdlib:armhf.
Preparing to unpack .../libpython3-stdlib_3.5.3-1_armhf.deb ...
Unpacking libpython3-stdlib:armhf (3.5.3-1) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../dh-python_2.20170125_all.deb ...
Unpacking dh-python (2.20170125) ...
Setting up python3.5-minimal (3.5.3-1+deb9u4) ...
Setting up python3-minimal (3.5.3-1) ...
Selecting previously unselected package python3.
(Reading database ... 14428 files and directories currently installed.)
Preparing to unpack .../python3_3.5.3-1_armhf.deb ...
Unpacking python3 (3.5.3-1) ...
Selecting previously unselected package distro-info-data.
Preparing to unpack .../distro-info-data_0.36_all.deb ...
Unpacking distro-info-data (0.36) ...
Selecting previously unselected package lsb-release.
Preparing to unpack .../lsb-release_9.20161125_all.deb ...
Unpacking lsb-release (9.20161125) ...
Replaced by files in installed package linux-buster-root-aml-s805 (5.99) ...
Setting up python3.5 (3.5.3-1+deb9u4) ...
Setting up distro-info-data (0.36) ...
Setting up libpython3-stdlib:armhf (3.5.3-1) ...
Setting up python3 (3.5.3-1) ...
running python rtupdate hooks for python3.5...
running python post-rtupdate hooks for python3.5...
Setting up lsb-release (9.20161125) ...
Setting up dh-python (2.20170125) ...
Processing triggers for mime-support (3.60) ...
root@aml:~# curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
File '/usr/share/keyrings/docker-archive-keyring.gpg' exists. Overwrite? (y/N) y

到这里,才看到了希望


本帖被以下淘专辑推荐:

转播转播 分享淘帖
回复

使用道具

  • TA的每日心情
    萌哒
    2021-10-11 15:12
  • 156

    主题

    722

    帖子

    2012

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    2012

    最佳新人

    飞哥头很大 发表于 2021-9-27 15:41:36
    感觉附上图的话会更棒 瑞斯拜~
    回复

    使用道具 举报

  • TA的每日心情
    可爱
    4 天前
  • 96

    主题

    1510

    帖子

    95

    积分

    版主

    Rank: 7Rank: 7Rank: 7

    积分
    95

    热心会员最佳新人

    米老鼠 发表于 2021-9-27 16:52:00
    admin 发表于 2021-9-27 15:41
    感觉附上图的话会更棒 瑞斯拜~

    附图太痛苦了,文字能描述的不用图。
    回复

    使用道具 举报

  • TA的每日心情
    可爱
    4 天前
  • 96

    主题

    1510

    帖子

    95

    积分

    版主

    Rank: 7Rank: 7Rank: 7

    积分
    95

    热心会员最佳新人

    米老鼠 发表于 2021-9-27 17:22:00
    注意一个问题:安装libncursesw5会卸载ncurses-base
    重启后……哈哈哈,删除键变空格,其它很多按键很奇怪的!所以要手动安装回来
    apt install ncurses-base
    重启就好了
    回复

    使用道具 举报

  • TA的每日心情
    开心
    2021-8-30 13:14
  • 10

    主题

    1014

    帖子

    607

    积分

    小学生

    Rank: 2

    积分
    607

    最佳新人

    ( ̄︶ ̄)↗  发表于 2021-9-27 23:44:57
    Welcome to Armbian 20.12 Buster with Linux 5.9.0-rc7-aml-s812
    内核版本太低了,要5.9.0以上
    回复

    使用道具 举报

  • TA的每日心情
    可爱
    4 天前
  • 96

    主题

    1510

    帖子

    95

    积分

    版主

    Rank: 7Rank: 7Rank: 7

    积分
    95

    热心会员最佳新人

    米老鼠 发表于 2021-9-28 09:51:37
    ( ̄︶ ̄)↗  发表于 2021-9-27 23:44
    Welcome to Armbian 20.12 Buster with Linux 5.9.0-rc7-aml-s812
    内核版本太低了,要5.9.0以上 ...

    回复

    使用道具 举报

    该用户从未签到

    0

    主题

    1

    帖子

    7

    积分

    幼儿园

    Rank: 1

    积分
    7
    178****6206 发表于 2021-10-7 23:31:29
    刷5.10的包就行了 我现在跑个青龙跑个网心 美滋滋
    回复

    使用道具 举报