最新記事

元の質問
debian
raspberry-pi
arm
64bit
32bit

元の質問

元の質問 私はaarch64Raspberry arm64Pi 3 B +(2017)またはPi 4(ここの画像を使用してください)。今、私はいくつかのアプリケーション/ライブラリの32ビット(armhf/)バージョンを実行したいがarmv7機能しないようです。これは特にraspistillRaspbery Piユーザーエリアアプリケーションではそうです。 質問:可能であればraspistill(および他の32ビットArmバイナリ)を64ビットOSで実行するにはどうすればよいですか? 私が試したこと: 以下で複数のアーキテクチャを有効にしてください。この Debian HOWTO ガイド。 私も追加しましたarmhf Raspberry Piのリソース この手順は、この質問で提供された回答と似ています。64ビットDebian / Ubuntuで32ビットプログラムを実行するにはどうすればよいですか? 次のインストール手順を試しましたraspistill。https://raspberrypi.stackexchange.com/a/67157。 正しく接続されていることを確認しようとするとエラーが発生しますnot a dynamic executable。 バイナリを実行するとNo such file or directoryエラーが発生します。 raspistillインストールを試しましたが、apt-get上記のエラーが発生しました。 また、シェルスクリプトを使ってMinicondaをインストールしてみましたarmv7l(Miniconda3-latest-Linux-armv7l.shここから)。次のエラーが発生します。 cannot execute native linux-armv7l binary, output from 'uname -a' is: Linux rpi4-20201112 5.9.0-0.bpo.2-arm64 #1 SMP Debian 5.9.6-1~bpo10+1 (2020-11-19) aarch64 GNU/Linux さらに取るべき措置 libc6:armhをインストールしてみてください。 ラズベリーパイソースを使う libc6:armh以下を使用してインストールしようとしましたが、sudo apt-get install libc6:armhf次のメッセージが表示されます。 Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libc6:armhf : Depends: libgcc1:armhf but it is not going to be installed E: Unable to correct problems, you have held broken packages. すると、インストールするsudo apt-get install libc6:armhf libgcc1:armhf追加または新しいパッケージ、推奨パッケージ、および削除するパッケージの長いリストが表示されます。メッセージの最後の部分では、これを明確に説明します。 WARNING: The following essential packages will be removed. This should NOT be done unless you know exactly what you are doing! apt adduser (due to apt) gpgv (due to apt) libapt-pkg5.0 (due to apt) libc6 (due to apt) libgcc1 (due to apt) libgnutls30 (due to apt) libseccomp2 (due to apt) libstdc++6 (due to apt) base-files base-passwd libdebconfclient0 (due to base-passwd) bash libtinfo6 (due to bash) debianutils (due to bash) bsdutils libsystemd0 (due to bsdutils) coreutils libacl1 (due to coreutils) libattr1 (due to coreutils) libselinux1 (due to coreutils) dash dpkg (due to dash) debconf (due to dash) diffutils libbz2-1.0 (due to dpkg) liblzma5 (due to dpkg) zlib1g (due to dpkg) tar (due to dpkg) e2fsprogs libblkid1 (due to e2fsprogs) libcom-err2 (due to e2fsprogs) libext2fs2 (due to e2fsprogs) libss2 (due to e2fsprogs) libuuid1 (due to e2fsprogs) fdisk libfdisk1 (due to fdisk) libmount1 (due to fdisk) libncursesw6 (due to fdisk) libsmartcols1 (due to fdisk) findutils grep libpcre3 (due to grep) gzip hostname init systemd-sysv (due to init) init-system-helpers (due to init) perl-base (due to init-system-helpers) libc-bin login libaudit1 (due to login) libpam0g (due to login) libpam-runtime (due to login) libpam-modules (due to login) mount util-linux (due to mount) ncurses-bin sed sysvinit-utils libcap-ng0 (due to util-linux) libudev1 (due to util-linux) 0 upgraded, 3 newly installed, 272 to remove and 1 not upgraded. Need to get 2534 kB of archives. After this operation, 718 MB disk space will be freed. You are about to do something potentially harmful. To continue type in the phrase 'Yes, do as I say!' デフォルトの Debian ソースの使用 今、私はraspbianソースを削除し/etc/apt/sources.list、アーキテクチャが有効になっているデフォルトのDebianソースのみを使用すると思いますarmhf。次の例sources.list:deb [arch=arm64,armhf] http://deb.debian.org/debian buster main contrib non-free。 今実行すると、sudo apt-get install libc6:armhfエラーメッセージが表示されますpackage architecture (armhf) does not match system (arm64)。sudo apt-get update、、、upgradeおよびdist-upgradeを実行した後もcleanこのエラーが発生しますautoclean。 Get:2 http://deb.debian.org/debian buster/main armhf libgcc1 armhf 1:8.3.0-6 [37.2 kB] Get:3 http://deb.debian.org/debian buster/main armhf libc6 armhf 2.28-10 [2390 kB] Get:4 http://deb.debian.org/debian buster/main armhf libunistring2 armhf 0.9.10-1 [368 kB] Get:5 http://deb.debian.org/debian buster/main armhf libidn2-0 armhf 2.0.5-1+deb10u1 [74.3 kB] Fetched 3060 kB in 2s (1430 kB/s) Preconfiguring packages ... dpkg: error processing archive /var/cache/apt/archives/gcc-8-base_8.3.0-6_armhf.deb (--unpack): package architecture (armhf) does not match system (arm64) dpkg: error processing archive /var/cache/apt/archives/libgcc1_1%3a8.3.0-6_armhf.deb (--unpack): package architecture (armhf) does not match system (arm64) dpkg: error processing archive /var/cache/apt/archives/libc6_2.28-10_armhf.deb (--unpack): package architecture (armhf) does not match system (arm64) dpkg: error processing archive /var/cache/apt/archives/libunistring2_0.9.10-1_armhf.deb (--unpack): package architecture (armhf) does not match system (arm64) dpkg: error processing archive /var/cache/apt/archives/libidn2-0_2.0.5-1+deb10u1_armhf.deb (--unpack): package architecture (armhf) does not match system (arm64) Errors were encountered while processing: /var/cache/apt/archives/gcc-8-base_8.3.0-6_armhf.deb /var/cache/apt/archives/libgcc1_1%3a8.3.0-6_armhf.deb /var/cache/apt/archives/libc6_2.28-10_armhf.deb /var/cache/apt/archives/libunistring2_0.9.10-1_armhf.deb /var/cache/apt/archives/libidn2-0_2.0.5-1+deb10u1_armhf.deb E: Sub-process /usr/bin/dpkg returned an error code (1) 実行apt policy libc6:arm{hf,64} libgcc1:arm{hf,64}出力: libc6:armhf: Installed: (none) Candidate: 2.28-10 Version table: 2.28-10 990 990 http://deb.debian.org/debian buster/main armhf Packages libc6: Installed: 2.28-10 Candidate: 2.28-10 Version table: *** 2.28-10 990 990 http://deb.debian.org/debian buster/main arm64 Packages 100 /var/lib/dpkg/status libgcc1:armhf: Installed: (none) Candidate: 1:8.3.0-6 Version table: 1:8.3.0-6 990 990 http://deb.debian.org/debian buster/main armhf Packages libgcc1: Installed: 1:8.3.0-6 Candidate: 1:8.3.0-6 Version table: *** 1:8.3.0-6 990 990 http://deb.debian.org/debian buster/main arm64 Packages 100 /var/lib/dpkg/status

Admin

Fedora 33からDebian NASへのssh - 常にパスワードを要求する
debian
ssh
fedora

Fedora 33からDebian NASへのssh - 常にパスワードを要求する

NASデバイスとしてWD MyBook Duo(古いですがうまく動作します)があり、次のようにrsyncバックアップスクリプトが設定されています。これ。 この時点でバックアップシステムを実行できますが、パスワードを要求するたびに - 最近Fedora 33にアップグレードするまでこれは起こりませんでした - 理由はわかりません。 私はすべての標準的な手順を経た。 クライアントで ssh-keygen を実行し、id_rsa.pub の内容をサーバーの Authorized_keys にコピーします。 権限の確認 - サーバーの authenticate_keys は 600 で、クライアントの id_rsa は 644 です。クライアントKnown_hostsオン ログインするたびに、(rootまたは他のユーザーとして)常にパスワードの入力を求められます。何が起こっているのかを診断するために/usr/sbin/sshd -d -p 2222サーバー上で実行してから、クライアントからログインしようとしましたが、次のように出力はssh -p 2222 実際には役に立ちませんでした。 ssh-addまた、クライアントまたはサーバーで使用する手順を行いましたが、結果は変わりませんでした。 最後に、ssh-configファイル(下記参照)を調整してみました。 yes行がコメントアウトされたことを確認し、コメントアウトを削除してRSAAuthenticationサービスを再起動しました/etc/init.d/ssh restart。運が悪い。 そして私は詰まった。次に何をすべきかを提案してください。 編集:@patbarronのコメントに従って、RSAの代わりにecdsaを試してみました。同じ結果です。また、authorized_keysルートが所有していることも確認しました。現在、さまざまな理由でrootとしてログインしようとしており、後で他のユーザーに切り替える予定です。結果は同じです。 /usr/sbin/sshd -ddd -p 2222ssh -p 2222ホストとゲストで実行される出力も追加しました。出力にはメッセージが表示されますが、mm_auth_password: user not authenticatedなぜこれが起こるのかを知らせることはありません。 SSHデバッグ出力 debug1: sshd version OpenSSH_5.1p1 Debian-5 debug1: read PEM private key done: type RSA debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048 debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048 debug1: private host key: #0 type 1 RSA debug1: read PEM private key done: type DSA debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024 debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024 debug1: private host key: #1 type 2 DSA debug1: rexec_argv[0]='/usr/sbin/sshd' debug1: rexec_argv[1]='-d' debug1: rexec_argv[2]='-p' debug1: rexec_argv[3]='2222' debug1: Bind to port 2222 on 0.0.0.0. Server listening on 0.0.0.0 port 2222. debug1: Bind to port 2222 on ::. Server listening on :: port 2222. debug1: Server will not fork when running in debugging mode. debug1: rexec start in 5 out 5 newsock 5 pipe -1 sock 8 debug1: inetd sockets after dupping: 3, 3 Connection from 192.168.1.144 port 57186 debug1: Client protocol version 2.0; client software version OpenSSH_8.4 debug1: match: OpenSSH_8.4 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.1p1 Debian-5 debug1: permanently_set_uid: 101/65534 debug1: list_hostkey_types: ssh-rsa,ssh-dss debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: client->server aes256-ctr hmac-sha1 none debug1: kex: server->client aes256-ctr hmac-sha1 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: KEX done debug1: userauth-request for user root service ssh-connection method none debug1: attempt 0 failures 0 debug1: PAM: initializing for "root" debug1: PAM: setting PAM_RHOST to "192.168.1.144" debug1: PAM: setting PAM_TTY to "ssh" Failed none for root from 192.168.1.144 port 57186 ssh2 debug1: userauth-request for user root service ssh-connection method password debug1: attempt 1 failures 0 debug1: PAM: password authentication accepted for root debug1: do_pam_account: called Accepted password for root from 192.168.1.144 port 57186 ssh2 debug1: monitor_child_preauth: root has been authenticated by privileged process debug1: PAM: establishing credentials debug1: Entering interactive session for SSH2. debug1: server_init_dispatch_20 debug1: server_input_channel_open: ctype session rchan 0 win 1048576 max 16384 debug1: input_session_request debug1: channel 0: new [server-session] debug1: session_new: session 0 debug1: session_open: channel 0 debug1: session_open: session 0: link with channel 0 debug1: server_input_channel_open: confirm session debug1: server_input_global_request: rtype [email protected] want_reply 0 debug1: server_input_channel_req: channel 0 request pty-req reply 1 debug1: session_by_channel: session 0 channel 0 debug1: session_input_channel_req: session 0 req pty-req debug1: Allocating pty. debug1: session_pty_req: session 0 alloc /dev/pts/2 debug1: Ignoring unsupported tty mode opcode 42 (0x2a) debug1: SELinux support disabled debug1: server_input_channel_req: channel 0 request env reply 0 debug1: session_by_channel: session 0 channel 0 debug1: session_input_channel_req: session 0 req env debug1: server_input_channel_req: channel 0 request env reply 0 debug1: session_by_channel: session 0 channel 0 debug1: session_input_channel_req: session 0 req env debug1: server_input_channel_req: channel 0 request shell reply 1 debug1: session_by_channel: session 0 channel 0 debug1: session_input_channel_req: session 0 req shell debug1: Setting controlling tty using TIOCSCTTY. ssh_config # This is the ssh client system-wide configuration file. See # ssh_config(5) for more information. This file provides defaults for # users, and the values can be changed in per-user configuration files # or on the command line. # Configuration data is parsed as follows: # 1. command line options # 2. user-specific file # 3. system-wide file # Any configuration value is only changed the first time it is set. # Thus, host-specific definitions should be at the beginning of the # configuration file, and defaults at the end. # Site-wide defaults for some commonly used options. For a comprehensive # list of available options, their meanings and defaults, please see the # ssh_config(5) man page. Host * # ForwardAgent no # ForwardX11 no # ForwardX11Trusted yes # RhostsRSAAuthentication no # RSAAuthentication yes # PasswordAuthentication yes # HostbasedAuthentication no # GSSAPIAuthentication no # GSSAPIDelegateCredentials no # GSSAPIKeyExchange no # GSSAPITrustDNS no # BatchMode no # CheckHostIP yes # AddressFamily any # ConnectTimeout 0 # StrictHostKeyChecking ask # IdentityFile ~/.ssh/identity # IdentityFile ~/.ssh/id_rsa # IdentityFile ~/.ssh/id_dsa # Port 22 # Protocol 2,1 # Cipher 3des # Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc # MACs hmac-md5,hmac-sha1,[email protected],hmac-ripemd160 # EscapeChar ~ # Tunnel no # TunnelDevice any:any # PermitLocalCommand no SendEnv LANG LC_* HashKnownHosts yes GSSAPIAuthentication yes GSSAPIDelegateCredentials no ホストで/usr/sbin/sshd -ddd -p 2222を実行し、ゲストでssh -p 2222を実行すると出力されます。 debug2: load_server_config: filename /etc/ssh/sshd_config debug2: load_server_config: done config len = 656 debug2: parse_server_config: config /etc/ssh/sshd_config len 656 debug3: /etc/ssh/sshd_config:5 setting Port 22 debug3: /etc/ssh/sshd_config:9 setting Protocol 2 debug3: /etc/ssh/sshd_config:11 setting HostKey /etc/ssh/ssh_host_rsa_key debug3: /etc/ssh/sshd_config:12 setting HostKey /etc/ssh/ssh_host_dsa_key debug3: /etc/ssh/sshd_config:14 setting UsePrivilegeSeparation yes debug3: /etc/ssh/sshd_config:17 setting KeyRegenerationInterval 3600 debug3: /etc/ssh/sshd_config:18 setting ServerKeyBits 768 debug3: /etc/ssh/sshd_config:21 setting SyslogFacility LOCAL3 debug3: /etc/ssh/sshd_config:22 setting LogLevel INFO debug3: /etc/ssh/sshd_config:25 setting LoginGraceTime 120 debug3: /etc/ssh/sshd_config:26 setting PermitRootLogin yes debug3: /etc/ssh/sshd_config:27 setting StrictModes yes debug3: /etc/ssh/sshd_config:28 setting AllowUsers root debug3: /etc/ssh/sshd_config:30 setting RSAAuthentication yes debug3: /etc/ssh/sshd_config:31 setting PubkeyAuthentication yes debug3: /etc/ssh/sshd_config:35 setting IgnoreRhosts yes debug3: /etc/ssh/sshd_config:37 setting RhostsRSAAuthentication no debug3: /etc/ssh/sshd_config:39 setting HostbasedAuthentication no debug3: /etc/ssh/sshd_config:44 setting PermitEmptyPasswords no debug3: /etc/ssh/sshd_config:48 setting ChallengeResponseAuthentication no debug3: /etc/ssh/sshd_config:63 setting X11Forwarding yes debug3: /etc/ssh/sshd_config:64 setting X11DisplayOffset 10 debug3: /etc/ssh/sshd_config:65 setting PrintMotd no debug3: /etc/ssh/sshd_config:66 setting PrintLastLog yes debug3: /etc/ssh/sshd_config:67 setting TCPKeepAlive yes debug3: /etc/ssh/sshd_config:74 setting AcceptEnv LANG LC_* debug3: /etc/ssh/sshd_config:76 setting Subsystem sftp /usr/lib/openssh/sftp-server debug3: /etc/ssh/sshd_config:78 setting UsePAM yes debug1: sshd version OpenSSH_5.1p1 Debian-5 debug3: Not a RSA1 key file /etc/ssh/ssh_host_rsa_key. debug1: read PEM private key done: type RSA debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048 debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048 debug1: private host key: #0 type 1 RSA debug3: Not a RSA1 key file /etc/ssh/ssh_host_dsa_key. debug1: read PEM private key done: type DSA debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024 debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024 debug1: private host key: #1 type 2 DSA debug1: rexec_argv[0]='/usr/sbin/sshd' debug1: rexec_argv[1]='-ddd' debug1: rexec_argv[2]='-p' debug1: rexec_argv[3]='2222' debug2: fd 3 setting O_NONBLOCK debug1: Bind to port 2222 on 0.0.0.0. Server listening on 0.0.0.0 port 2222. debug2: fd 4 setting O_NONBLOCK debug1: Bind to port 2222 on ::. Server listening on :: port 2222. debug3: fd 5 is not O_NONBLOCK debug1: Server will not fork when running in debugging mode. debug3: send_rexec_state: entering fd = 8 config len 656 debug3: ssh_msg_send: type 0 debug3: send_rexec_state: done debug1: rexec start in 5 out 5 newsock 5 pipe -1 sock 8 debug1: inetd sockets after dupping: 3, 3 Connection from 192.168.1.144 port 60860 debug1: Client protocol version 2.0; client software version OpenSSH_8.4 debug1: match: OpenSSH_8.4 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.1p1 Debian-5 debug2: fd 3 setting O_NONBLOCK debug2: Network child is on pid 12958 debug3: preauth child monitor started debug3: mm_request_receive entering debug3: privsep user:group 101:65534 debug1: permanently_set_uid: 101/65534 debug1: list_hostkey_types: ssh-rsa,ssh-dss debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 debug2: kex_parse_kexinit: ssh-rsa,ssh-dss debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,[email protected] debug2: kex_parse_kexinit: none,[email protected] debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: kex_parse_kexinit: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,ext-info-c debug2: kex_parse_kexinit: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],ssh-ed25519,[email protected],rsa-sha2-512,rsa-sha2-256,ssh-rsa debug2: kex_parse_kexinit: [email protected],[email protected],aes256-ctr,[email protected],aes128-ctr debug2: kex_parse_kexinit: [email protected],[email protected],aes256-ctr,[email protected],aes128-ctr debug2: kex_parse_kexinit: [email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha1,[email protected],hmac-sha2-512 debug2: kex_parse_kexinit: [email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha1,[email protected],hmac-sha2-512 debug2: kex_parse_kexinit: none,[email protected],zlib debug2: kex_parse_kexinit: none,[email protected],zlib debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: mac_setup: found hmac-sha1 debug1: kex: client->server aes256-ctr hmac-sha1 none debug2: mac_setup: found hmac-sha1 debug1: kex: server->client aes256-ctr hmac-sha1 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received debug3: mm_request_send entering: type 0 debug3: monitor_read: checking request 0 debug3: mm_answer_moduli: got parameters: 2048 8192 8192 debug3: mm_choose_dh: waiting for MONITOR_ANS_MODULI debug3: mm_request_receive_expect entering: type 1 debug3: mm_request_receive entering debug3: mm_request_send entering: type 1 debug3: mm_choose_dh: remaining 0 debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent debug2: monitor_read: 0 used once, disabling now debug3: mm_request_receive entering debug2: dh_gen_key: priv key bits set: 268/512 debug2: bits set: 4095/8192 debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT debug2: bits set: 4103/8192 debug3: mm_key_sign entering debug3: mm_request_send entering: type 5 debug3: monitor_read: checking request 5 debug3: mm_answer_sign debug3: mm_key_sign: waiting for MONITOR_ANS_SIGN debug3: mm_request_receive_expect entering: type 6 debug3: mm_request_receive entering debug3: mm_answer_sign: signature 0x2073df70(271) debug3: mm_request_send entering: type 6 debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent debug2: kex_derive_keys debug2: set_newkeys: mode 1 debug2: cipher_init: set keylen (16 -> 32) debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug2: monitor_read: 5 used once, disabling now debug3: mm_request_receive entering debug2: set_newkeys: mode 0 debug2: cipher_init: set keylen (16 -> 32) debug1: SSH2_MSG_NEWKEYS received debug1: KEX done debug1: userauth-request for user root service ssh-connection method none debug1: attempt 0 failures 0 debug3: mm_getpwnamallow entering debug3: mm_request_send entering: type 7 debug3: mm_getpwnamallow: waiting for MONITOR_ANS_PWNAM debug3: mm_request_receive_expect entering: type 8 debug3: mm_request_receive entering debug3: monitor_read: checking request 7 debug3: mm_answer_pwnamallow debug3: Trying to reverse map address 192.168.1.144. debug2: parse_server_config: config reprocess config len 656 debug3: mm_answer_pwnamallow: sending MONITOR_ANS_PWNAM: 1 debug3: mm_request_send entering: type 8 debug2: input_userauth_request: setting up authctxt for root debug3: mm_start_pam entering debug3: mm_request_send entering: type 48 debug3: mm_inform_authserv entering debug3: mm_request_send entering: type 3 debug2: input_userauth_request: try method none debug3: mm_auth_password entering debug3: mm_request_send entering: type 11 debug3: mm_auth_password: waiting for MONITOR_ANS_AUTHPASSWORD debug3: mm_request_receive_expect entering: type 12 debug3: mm_request_receive entering debug2: monitor_read: 7 used once, disabling now debug3: mm_request_receive entering debug3: monitor_read: checking request 48 debug1: PAM: initializing for "root" debug1: PAM: setting PAM_RHOST to "192.168.1.144" debug1: PAM: setting PAM_TTY to "ssh" debug2: monitor_read: 48 used once, disabling now debug3: mm_request_receive entering debug3: monitor_read: checking request 3 debug3: mm_answer_authserv: service=ssh-connection, style=, role= debug2: monitor_read: 3 used once, disabling now debug3: mm_request_receive entering debug3: monitor_read: checking request 11 debug3: mm_answer_authpassword: sending result 0 debug3: mm_request_send entering: type 12 debug3: mm_auth_password: user not authenticated Failed none for root from 192.168.1.144 port 60860 ssh2 debug3: mm_request_receive entering debug1: userauth-request for user root service ssh-connection method password debug1: attempt 1 failures 0 debug2: input_userauth_request: try method password debug3: mm_auth_password entering debug3: mm_request_send entering: type 11 debug3: mm_auth_password: waiting for MONITOR_ANS_AUTHPASSWORD debug3: mm_request_receive_expect entering: type 12 debug3: mm_request_receive entering debug3: monitor_read: checking request 11 debug3: PAM: sshpam_passwd_conv called with 1 messages debug1: PAM: password authentication accepted for root debug3: mm_answer_authpassword: sending result 1 debug3: mm_request_send entering: type 12 debug3: mm_auth_password: user authenticated debug3: mm_do_pam_account entering debug3: mm_request_send entering: type 49 debug3: mm_request_receive_expect entering: type 50 debug3: mm_request_receive entering debug3: mm_request_receive_expect entering: type 49 debug3: mm_request_receive entering debug1: do_pam_account: called debug3: PAM: do_pam_account pam_acct_mgmt = 0 (Success) debug3: mm_request_send entering: type 50 debug3: mm_do_pam_account returning 1 debug3: mm_send_keystate: Sending new keys: 0x2073db38 0x2073da30 debug3: mm_newkeys_to_blob: converting 0x2073db38 debug3: mm_newkeys_to_blob: converting 0x2073da30 debug3: mm_send_keystate: New keys have been sent debug3: mm_send_keystate: Sending compression state debug3: mm_request_send entering: type 25 debug3: mm_send_keystate: Finished sending state Accepted password for root from 192.168.1.144 port 60860 ssh2 debug1: monitor_child_preauth: root has been authenticated by privileged process debug3: mm_get_keystate: Waiting for new keys debug3: mm_request_receive_expect entering: type 25 debug3: mm_request_receive entering debug3: mm_newkeys_from_blob: 0x20743238(139) debug2: mac_setup: found hmac-sha1 debug3: mm_get_keystate: Waiting for second key debug3: mm_newkeys_from_blob: 0x20743238(139) debug2: mac_setup: found hmac-sha1 debug3: mm_get_keystate: Getting compression state debug3: mm_get_keystate: Getting Network I/O buffers debug3: mm_share_sync: Share sync debug3: mm_share_sync: Share sync end debug1: PAM: establishing credentials debug3: PAM: opening session debug3: PAM: sshpam_store_conv called with 1 messages debug2: set_newkeys: mode 0 debug2: cipher_init: set keylen (16 -> 32) debug2: set_newkeys: mode 1 debug2: cipher_init: set keylen (16 -> 32) debug1: Entering interactive session for SSH2. debug2: fd 5 setting O_NONBLOCK debug2: fd 6 setting O_NONBLOCK debug1: server_init_dispatch_20 debug1: server_input_channel_open: ctype session rchan 0 win 1048576 max 16384 debug1: input_session_request debug1: channel 0: new [server-session] debug2: session_new: allocate (allocated 0 max 10) debug3: session_unused: session id 0 unused debug1: session_new: session 0 debug1: session_open: channel 0 debug1: session_open: session 0: link with channel 0 debug1: server_input_channel_open: confirm session debug1: server_input_global_request: rtype [email protected] want_reply 0 debug1: server_input_channel_req: channel 0 request pty-req reply 1 debug1: session_by_channel: session 0 channel 0 debug1: session_input_channel_req: session 0 req pty-req debug1: Allocating pty. debug1: session_pty_req: session 0 alloc /dev/pts/1 debug3: tty_parse_modes: SSH2 n_bytes 261 debug3: tty_parse_modes: ospeed 38400 debug3: tty_parse_modes: ispeed 38400 debug1: Ignoring unsupported tty mode opcode 42 (0x2a) debug1: SELinux support disabled debug1: server_input_channel_req: channel 0 request env reply 0 debug1: session_by_channel: session 0 channel 0 debug1: session_input_channel_req: session 0 req env debug2: Setting env 0: LANG=en_US.UTF-8 debug1: server_input_channel_req: channel 0 request env reply 0 debug1: session_by_channel: session 0 channel 0 debug1: session_input_channel_req: session 0 req env debug2: Ignoring env request LANGUAGE: disallowed name debug1: server_input_channel_req: channel 0 request env reply 0 debug1: session_by_channel: session 0 channel 0 debug1: session_input_channel_req: session 0 req env debug2: Ignoring env request XMODIFIERS: disallowed name debug1: server_input_channel_req: channel 0 request shell reply 1 debug1: session_by_channel: session 0 channel 0 debug1: session_input_channel_req: session 0 req shell debug2: fd 3 setting TCP_NODELAY debug2: channel 0: rfd 9 isatty debug2: fd 9 setting O_NONBLOCK debug3: fd 7 is O_NONBLOCK debug1: Setting controlling tty using TIOCSCTTY.

Admin

xcb パッケージをインストールできません
debian
upgrade
software-updates

xcb パッケージをインストールできません

試しましたが、新しいパッケージとアップデートがダウンロードされませんでしたsudo -f remove。autoclean admin@pop-os:~$ sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: avahi-utils lib32gcc-s1 lib32stdc++6 libasn1-8-heimdal libc6-i386 libclang-common-6.0-dev libclang-common-7-dev libclang1-6.0 libclang1-7 libegl-mesa0:i386 libegl1:i386 libfprint-2-tod1 libgbm1:i386 libgc1c2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libkrb5-26-heimdal libllvm6.0 libllvm7 libnvidia-common-440-server libnvidia-decode-440-server libnvidia-encode-440-server libnvidia-extra-440-server libnvidia-fbc1-440-server libnvidia-gl-440-server libnvidia-glcore libnvidia-ifr1-440-server libomp-10-dev libomp-dev libomp5-10 libroken18-heimdal libwayland-server0:i386 libwind0-heimdal libxcb-xfixes0:i386 libxnvctrl0 llvm-6.0 llvm-6.0-dev llvm-6.0-runtime llvm-7 llvm-7-dev llvm-7-runtime nvidia-compute-utils-440-server nvidia-dkms-440-server nvidia-kernel-common-440-server nvidia-kernel-source-440-server nvidia-settings nvidia-support nvidia-utils-440-server screen-resolution-extra xserver-xorg-video-nvidia Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: libxcb-xfixes0:i386 The following NEW packages will be installed: libxcb-xfixes0:i386 0 upgraded, 1 newly installed, 0 to remove and 1171 not upgraded. 3 not fully installed or removed. Need to get 0 B/105 kB of archives. After this operation, 148 kB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 315734 files and directories currently installed.) Preparing to unpack .../libxcb-xfixes0_1.14-2_i386.deb ... Unpacking libxcb-xfixes0:i386 (1.14-2) ... dpkg: error processing archive /var/cache/apt/archives/libxcb-xfixes0_1.14-2_i386.deb (--unpack): trying to overwrite shared '/usr/share/doc/libxcb-xfixes0/changelog.Debian.gz', which is different from other instances of package libxcb-xfixes0:i386 Errors were encountered while processing: /var/cache/apt/archives/libxcb-xfixes0_1.14-2_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

Admin

ブリーフ
linux
debian
networking
network-interface

ブリーフ

ブリーフ ワークステーションとサーバー間の高速リンクとして機能するように、コンピューター間のネットワーク(スイッチを介して直接関係はありません)を構成しようとしています。どちらもDebian 10システムです。 ネットワークトポロジ これは私のネットワークトポロジ図です。 (内蔵http://asciiflow.com/- 安全ではない可能性があります) +----------------+ | | | ISP Router | | 192.168.0.254 | | | +-+------------+-+ | | | | enp7s0 | | enp7s0 192.168.0.1 | | 192.168.0.2 | | +-----------+-+ +-+------+ | WORKSTATION | | SERVER | +-----------+-+ +-+------+ | | enx... | | enx... 10.0.0.1 +------------+ 10.0.0.2 /etc/network/interfaces文書 ここに私の/etc/network/interfacesファイルがあります(固定アドレスを除いて両方のシステムが同じです)。 source /etc/network/interfaces.d/* # this is empty # The loopback network interface auto lo iface lo inet loopback iface enp7s0 inet static address 10.0.0.1/8 # broadcast 10.255.255.255 # netmask 255.0.0.0 起動状態 両方のシステムのいずれかを起動し、確認インターフェイスを使用した場合のip addr結果は次のとおりです。 2: enp7s0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 6c:f0:49:ee:47:a6 brd ff:ff:ff:ff:ff:ff 3: enx...: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether ... brd ff:ff:ff:ff:ff:ff inet 192.168.0.1/24 brd 192.168.0.255 scope global dynamic noprefixroute ... valid_lft 85332sec preferred_lft 85332sec inet6 ... したがって、enp7s0起動時に発生しないようです。これを実行すると、sudo ifup enp7s0予想される固定アドレスが表示され、両方のシステムがこのリンクからSSHを介して通信できます。 起動時にこのインターフェイスを実行するにはどうすればよいですか?

Admin

KDE Plasma / Kwinでパネルをクリックすることはできません。この問題の原因を見つける方法と回避策は何ですか?
debian
kde
plasma
kwin

KDE Plasma / Kwinでパネルをクリックすることはできません。この問題の原因を見つける方法と回避策は何ですか?

明らかな理由なく、Debian10のPlasmaにはいくつかの問題があります。下部パネルをクリックできないか、キーボードのWindowsキーを押してメインメニューを表示することはできません。通常、このような問題が発生した場合は、実行してPlasmashellを再起動できますが、killall plasmashell今回はkstart plasmashell問題は解決されませんでした。実行killall kwin_x11中ですkwin_x11 --replace。 これらの問題の原因は何ですか?それともどうすればわかりますか? (例:どのログでどのエラーを確認する必要がありますか?)再起動せずにこの問題をどのように解決できますか?

Admin

Debian 10 を RAID ディスクにインストールするには?
debian
raid
debian-installer

Debian 10 を RAID ディスクにインストールするには?

私のシステムにDebianをインストールするのに問題があります。 ライゼン5 3500 MSI A320M-Aプロマックス 2ウェスタンデジタルグリーン120GB SSD BIOSでRAID0アレイ構成を正常に作成しました。マザーボードのマニュアルに従って、RAIDアレイに2つの同じSSDを追加しました。 USBフラッシュドライブにDebian 10インストーラ(netinst)を挿入しました。 UEFIモードで起動します dmraid=true最初の起動時にインストーラメニューに追加されました。 グラフィカルまたは非グラフィックインストーラを試みましたが、ディスクのインストール要求時にRAIDアレイが表示されません。 私はこのマニュアルに従いますhttps://wiki.debian.org/DebianInstaller/SataRaidただし、ディスクパーティションでRAIDボリュームが検出されなかったため、手順4で停止しました。

Admin

制限モードをパラメータとして送信してAptitudeのTUIをどのように実行しますか?
debian
aptitude

制限モードをパラメータとして送信してAptitudeのTUIをどのように実行しますか?

aptitudeのTUIを起動し、コマンド自体のパラメータで制限モードを定義するDebian(Sid)コマンドを使用したいと思います。 それ以外の場合は、毎回AptitudeのTUIを押してパターンをプログラムし、オンラインlマニュアルを検索してそのパターンをプログラムする方法を見つける必要があります。 Aptitude の起動に使用する基本コマンドは次のとおりです。 x-terminal-emulator -e sudo aptitude 制限モードをパラメータとして追加したいです。 ?tag(toolkit::qt) この場合、Aptitudeを起動するたびに手動でこのモードに入る必要なく、すべてのQtアプリケーションを表示するAptitudeを起動したいと思います。 Aptitudeのマニュアルページを確認しましたが、そのパラメータのオプションが見つかりませんでした。

Admin

必須パッケージを含む Debian 循環依存関係
debian
apt
system-installation
dpkg

必須パッケージを含む Debian 循環依存関係

私はいくつかの理由で(またはdebootstrapを使わずに)手動でrootfsを構築していますが、multistrap詳しくは説明しません。 「圧縮解除された」状態で、必要な deb を rootfs で抽出しています (カスタムdpkgおよび . 後でシステムに chroot して各パッケージをトポロジー順に実行する予定です。--instdir--admindirdpkg --configure Priority: requiredDebianを新規インストールするには、2つの必須()パッケージが必要ですlibc6。ここ)とlibgcc1(ここ)。どちらもお互いに厳しい要件を持っています。 dpkg --configure したがって、他のパッケージがまだ構成される必要がある「アンパッケージング」状態にあると文句を言うため、あるパッケージで実行することはできません。 二重ロック。これは意味があります。 どうやってこれができますか?標準のUbuntu / DebianインストーラISOはこの問題をどのように処理しますか? これまで実行してみるdpkg --configure -aと、すべてのパッケージを正しく構成するようですが、どうするのかよく分からず、パッケージ構成のために選択するトポロジーの順序も正しくありません。 理想的には、各パッケージに対してpreinstスクリプトを実行してから、そのパッケージを個別に構成する2段階のスクリプトが必要です。このような。 # Optional, if the preinst exists for the package. DPKG_MAINTSCRIPT_NAME=preinst DPKG_MAINTSCRIPT_ARCH=amd64 DPKG_MAINTSCRIPT_PACKAGE=apt /var/lib/dpkg/info/.preinst install # Required, for every package. dpkg --configure # ...repeated for each package, in topological order. この問題のdebootstrap回避multistrap策は、dpkg構成に使用されないことです。 preinst / postinstを手動で実行して/var/lib/dpkg/statusデータベースを更新しますが、各スクリプトには説明しない固有の問題があります。

Admin

wheezyからアップグレードしようとすると、systemd-sysvとsysvinitの間で競合が発生します。
debian
dist-upgrade

wheezyからアップグレードしようとすると、systemd-sysvとsysvinitの間で競合が発生します。

私はDebian wheezyで古いサーバーをアップグレードしようとしています(例えば、遅れています)。systemd-sysvとの紛争を克服する方法を教えてくださいsysvinit。 適切なリストの言及を置き換えましたwheezy。jessiesed -i 's/wheezy/jessie/g' sources.list sources.list.d/* 実行するとapt -V upgradeエラーが発生します。 dpkg: error processing archive /var/cache/apt/archives/systemd-sysv_241-5_amd64.deb (--unpack): trying to overwrite '/usr/share/man/man8/halt.8.gz', which is also in package sysvinit 2.88dsf-41+deb7u1 sysvinit以下を使用して既存のパッケージを削除してみましたdpkg -P sysvinit。 dpkg: error processing package sysvinit (--purge): this is an essential package; it should not be removed (私も試してみましたがapt --fix-broken installダメです。)

Admin

pcapファイルで、16進値を同じ長さの任意の16進値に置き換えます。
bash
debian
sed
wireshark
tshark

pcapファイルで、16進値を同じ長さの任意の16進値に置き換えます。

pcapファイルでは、16進値を同じ長さの任意の16進値に置き換える必要があります。 私はbashでDebian 10を使用しています。 たとえば、一部のパケットにはこのtcpペイロードを含むpcapファイルがあります。 deltapcapファイル値のすべてのパケットを任意の値ですが、長さは同じ値に置き換えたいと思います。 だからこのコマンドを試してみました。 sed -Ei 's/\x64\x65\x6c\x74\x61/'$(openssl rand -hex 5)'/g' test.pcap ただし、このコマンドを実行するとpcapファイルが削除されます。 pcapファイルには、ペイロードのこの部分に対する多くのTCPセッションがありますdeltaRevocationList。すべてのパケットとすべてのTCPセッションdeltaRevocationListをRANDOM_TEXT_RevocationList。 たとえば、deltaReplicationListを次のように置き換えます。 abcdRevocationList最初のTCPペイロードセグメント aaaaRevocationList2番目のTCPペイロードセグメント hcnfRevocationListなど この問題をどのように解決できますか? sed、tshark、またはeditcapツールの使用 たとえば、私が見たいものをWiresharkのスクリーンショットに追加しました。

Admin