From owner-freebsd-current@freebsd.org Wed Feb 24 18:49:51 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ECE6A565E7B for ; Wed, 24 Feb 2021 18:49:51 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dm4jC08JSz4TSW for ; Wed, 24 Feb 2021 18:49:50 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wm1-x334.google.com with SMTP id u125so2737652wmg.4 for ; Wed, 24 Feb 2021 10:49:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=w42Mss5Z6xO1skf88zpJNXip+Qu9HTsxaDgGKVJ3oAg=; b=u26LekVRjG/+3Gdc9nSBF2bFl4tANRfh5wCaTZGWqI0nD4q6c9ano/EnK+XTMSqIXn MvGNKtvH8o/UBzUDndYFWPhBV/i/Cai+5rtmZAetZM3U/u6qtAIx3spYW+TBXW8aYFqp 5T0018zK20Sh0JaaFiWKhp0NwBUfyVZxjlm2ZACwL7JlzlUvdWUcSHscmQtMN/4nUjZI ORoPuqPSzes581fVaweZ4EiX9VVPvhI5D6LOEo0xY901/ocTbht9sijiuqePCQ2ZOL7S fpT58/ZcsbCF+gHIkbnBKW1JFl3qGJLFtL/2jexIG2uLQAun44gaiBvndm2YD7cCw4ZM JiKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=w42Mss5Z6xO1skf88zpJNXip+Qu9HTsxaDgGKVJ3oAg=; b=gffXlG69LJyelIl05FvRj2Aul8p5Gv8zlHW7bIMrkaMNlyr1tbY6zeQeFKTcJNJmh3 FkB9keEovdx3EJwrpHMUWXC2AyBZPl5MF3dz2P5Pyzlvhg7mtaHhtEHHSd5WBcIe2KTO rPSjbmoB9o86hBt0mX/Tj19zBbV+HTUHBByKvRwbR3UTAZfRE68oUdglFnyDbREBvA8b sO8ZUoBJIOEwz5b+A3Vb1Jukc8/mxL87J8z3ojRuX+qpP6EVMDsawtN7oAA8k/p2Njwc Y7NtVumycjl/ln/tGJQrXjgS5DDrP2HVWtXNOocTOq7n1NcUnd/pqSPfOaUITWIUj2Yj LHnQ== X-Gm-Message-State: AOAM532O0yzkkI7wcfp/iwdSqrM4eckDhzUXYtQqKdMMqnNhxCWrb17b hrCrXkHvAVGgx1JiBoqyzzXS5tkJI0H05A== X-Google-Smtp-Source: ABdhPJwSnTiXQQ+0dm/imnJSAEn40GjrPAN8rS1KJq/O21utS5SGS0MIS5IPkFJosT9mcpSaQamN+w== X-Received: by 2002:a1c:4d0d:: with SMTP id o13mr5052978wmh.147.1614192588978; Wed, 24 Feb 2021 10:49:48 -0800 (PST) Received: from [192.168.1.13] (88-105-96-80.dynamic.dsl.as9105.com. [88.105.96.80]) by smtp.gmail.com with ESMTPSA id u8sm4706546wmb.36.2021.02.24.10.49.48 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 Feb 2021 10:49:48 -0800 (PST) To: freebsd-current@freebsd.org From: Graham Perrin Subject: apt install failures with /compat/ubuntu Message-ID: Date: Wed, 24 Feb 2021 18:49:47 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-Rspamd-Queue-Id: 4Dm4jC08JSz4TSW X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=u26LekVR; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::334 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[88.105.96.80:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::334:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::334:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::334:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2021 18:49:52 -0000 After following /compat/ubuntu advice in the FreeBSD wiki, I attempted installation of two things. Both failed in the same way. The second example: root@mowa219-gjp4-8570p:/# apt install htop Reading package lists... Done Building dependency tree Reading state information... Done htop is already the newest version (2.1.0-3). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up rsyslog (8.32.0-1ubuntu4) ... The user `syslog' is already a member of `adm'. Failed to fstat() file /var/spool/rsyslog: Invalid argument Failed to fstat() file /var/log: Invalid argument dpkg: error processing package rsyslog (--configure):  installed rsyslog package post-installation script subprocess returned error exit status 1 Errors were encountered while processing:  rsyslog E: Sub-process /usr/bin/dpkg returned an error code (1) root@mowa219-gjp4-8570p:/# exit exit root@mowa219-gjp4-8570p:~ # date ; uname -v Wed Feb 24 18:41:54 GMT 2021 FreeBSD 14.0-CURRENT #87 main-5ac839029d: Mon Feb 22 04:02:26 GMT 2021 root@mowa219-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG root@mowa219-gjp4-8570p:~ # freebsd-version -kru 14.0-CURRENT 14.0-CURRENT 14.0-CURRENT root@mowa219-gjp4-8570p:~ # cat /etc/fstab # Device        Mountpoint              FStype Options                      Dump  Pass# /dev/ada0p3.eli none                    swap sw,late                      0     0 # linprocfs     /compat/linux/proc      linprocfs rw                           0     0 # linsysfs      /compat/linux/sys       linsysfs rw                           0     0 # tmpfs         /compat/linux/dev/shm   tmpfs rw,mode=1777                 0     0 tmpfs           /tmp                    tmpfs rw,mode=01777                0     0 fdescfs         /dev/fd                 fdescfs rw                           0     0 proc            /proc                   procfs rw                           0     0 # devfs           /compat/ubuntu/dev      devfs rw,late                      0       0 tmpfs           /compat/ubuntu/dev/shm  tmpfs rw,late,size=1g,mode=1777    0       0 fdescfs         /compat/ubuntu/dev/fd   fdescfs rw,late,linrdlnk             0       0 linprocfs       /compat/ubuntu/proc     linprocfs rw,late                      0       0 linsysfs        /compat/ubuntu/sys      linsysfs rw,late                      0       0 /tmp            /compat/ubuntu/tmp      nullfs rw,late                      0       0 /home           /compat/ubuntu/home     nullfs rw,late                      0       0 root@mowa219-gjp4-8570p:~ # chroot /compat/ubuntu /bin/sh # apt install htop Reading package lists... Done Building dependency tree Reading state information... Done htop is already the newest version (2.1.0-3). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up rsyslog (8.32.0-1ubuntu4) ... The user `syslog' is already a member of `adm'. Failed to fstat() file /var/spool/rsyslog: Invalid argument Failed to fstat() file /var/log: Invalid argument dpkg: error processing package rsyslog (--configure):  installed rsyslog package post-installation script subprocess returned error exit status 1 Errors were encountered while processing:  rsyslog E: Sub-process /usr/bin/dpkg returned an error code (1) # exit root@mowa219-gjp4-8570p:~ #