leitbogioro / Tools

Something about tools
3.1k stars 480 forks source link

[Error] Unknown architecture. 请求支持s390x架构 #97

Open mzbgf opened 7 months ago

mzbgf commented 7 months ago
bash InstallNET.sh -debian
rm: cannot remove '/swapspace': Operation not permitted

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Hit:1 https://download.docker.com/linux/ubuntu jammy InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (11.1.0ubuntu4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
grep: /etc/yum.repos.d/: No such file or directory
InstallNET.sh: line 1378: yum: command not found
cat: /etc/redhat-release: No such file or directory
cat: /etc/system-release: No such file or directory
InstallNET.sh: line 1395: apk: command not found

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
Package 'kdump-tools' is not installed, so not removed
Package 'kexec-tools' is not installed, so not removed
Package 'inetutils-ping' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
Package dmidecode is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package efibootmgr is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'dmidecode' has no installation candidate
E: Package 'efibootmgr' has no installation candidate
InstallNET.sh: line 1457: yum: command not found
ping: connect: Network is unreachable
ping: connect: Network is unreachable
ping: connect: Network is unreachable
ping: connect: Network is unreachable
ping: connect: Network is unreachable
ping: connect: Network is unreachable
ping: connect: Network is unreachable
ping: connect: Network is unreachable
InstallNET.sh: line 1061: efibootmgr: command not found
ls: cannot access '/sys/firmware/efi/efivars/': No such file or directory
ls: cannot access '/sys/firmware/efi/vars/': No such file or directory
ls: cannot access '/sys/firmware/efi/runtime-map/': No such file or directory
ls: cannot access '/sys/firmware/efi/mok-variables/': No such file or directory
InstallNET.sh: line 1304: virt-what: command not found
InstallNET.sh: line 1315: dmidecode: command not found

[Error] Unknown architecture.
 Usage:
    bash InstallNET.sh  -debian          [dists-name]
                -ubuntu          [dists-name]
                -kali            [dists-name]
                -alpine          [dists-name]
                -centos          [dists-name]
                -rockylinux      [dists-name]
                -almalinux       [dists-name]
                -fedora          [dists-name]
                -windows         [dists-name]
                -architecture    [32/i386|64/amd64|arm/arm64]
                --ip-addr/--ip-gate/--ip-mask
                -apt/-yum/-mirror
                -dd/--image      [image-url]
                -pwd             [linux-password]
                -port            [linux-ssh-port]