Hi, On 06-04-2022 05:39, Bo YU wrote:
Running setup script /usr/share/autopkgtest/setup-commands/setup-testbed... Unknown architecture, assuming PC-style ttyS0 OK, we must ensure the autopkgtest relevant scripts support riscv64 maybe. Bo
Maybe, but the code actually says this: # Note that whichever console is specified *last* is the one we will get # if we open /dev/console. See # <https://www.kernel.org/doc/Documentation/admin-guide/serial-console.rst> and # Let's make /dev/hvc0 the primary console for new architectures consoles="console=tty0 console=ttyS0 console=hvc0"So, at least it's not ttyS0, but hvc0. I have no clue what this will mean for riscv64.
sh: Setting apt sources from $AUTOPKGTEST_APT_SOURCES E: in source file /etc/apt/sources.list has error(type)(I re-wirte here) E: can not read sources.list ```
I wonder if it doesn't like these warnings if I run $(apt upgrade) on this host: W: Skipping acquire of configured file 'main/source/Sources' as repository 'http://deb.debian.org/debian-ports unstable InRelease' does not seem to provide it (sources.list entry misspelt?) N: Skipping acquire of configured file 'main/binary-riscv64/Packages' as repository 'http://mirrors.tuna.tsinghua.edu.cn/debian sid InRelease' doesn't support architecture 'riscv64' N: Skipping acquire of configured file 'contrib/binary-riscv64/Packages' as repository 'http://mirrors.tuna.tsinghua.edu.cn/debian sid InRelease' doesn't support architecture 'riscv64' N: Skipping acquire of configured file 'non-free/binary-riscv64/Packages' as repository 'http://mirrors.tuna.tsinghua.edu.cn/debian sid InRelease' doesn't support architecture 'riscv64' W: Skipping acquire of configured file 'main/source/Sources' as repository 'http://deb.debian.org/debian-ports sid InRelease' does not seem to provide it (sources.list entry misspelt?)
I fixed it too: root@MiWiFi-R4A-srv:/etc/apt# cat sources.list deb https://deb.debian.org/debian-ports unstable main deb-src https://deb.debian.org/debian unstable main deb-src https://deb.debian.org/debian-ports unreleased maindebootstrap is very slow on this host, let's see what it makes of my changes (it's running now).
Paul
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature