From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) by sourceware.org (Postfix) with ESMTPS id F21013858406 for ; Sat, 20 Nov 2021 01:10:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org F21013858406 Received: by mail-qt1-x82c.google.com with SMTP id j17so11165281qtx.2 for ; Fri, 19 Nov 2021 17:10:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Z5Hsx6Ygh1vdkQ38QkvgA7zQD8oDTFHKKZsWFR56ahM=; b=JizKB6PXp2A9v6Db0UWBZH+Bng8nUQvrWuCNKZPaqYkxnx4QHlWgqi4j88o+Sjf0nk q5/eRGogBuP06RZhRKCGl2p/hHOcfrSFaJDCaWMMl5k1mezhNIbJxy/b6mkoWhBiW/9p DoBv4bTCgOAKhK9+HKxA1i0DzktsTBFtd1+otmdG6fwHmFF/Dw4YWhJ5FAkSscEmIHn5 eCu9WLeSXkhbFPYy0ukctja5vs3jsXWok8QFBEs8iM3p9aMLAT7CPzp8Uxzd7O/hzkNn FeNCvfeG/YDMgTG8x+1EP5PBaXh0UydUV+Qc3rrYtBUqLXx1EnkzX7+CresjlMH98Ay1 mr8g== X-Gm-Message-State: AOAM533BZjMkEl7e+vpe6cyTwhfrBaQF8s7B8w3xEAcKfXzHrFq9GxyI UpdKBqRUcKPuoilKQa3zPDUtty9hzr9i1aXqTvk9J+uckpk= X-Google-Smtp-Source: ABdhPJzNmHS7cBaVEuww4DpOOsou+k5cj7+TMSi1CVzTIQ2vrmxaNvEC3YzyKz8i/F6OSdNMbMFjw4+8CxaLi9QI6DY= X-Received: by 2002:a05:622a:1190:: with SMTP id m16mr10960153qtk.287.1637370615461; Fri, 19 Nov 2021 17:10:15 -0800 (PST) MIME-Version: 1.0 References: <6f224c0f-9629-ab70-1bef-c2c1e742b5fc@vt.edu> <238898726.20211120030728@yandex.ru> In-Reply-To: <238898726.20211120030728@yandex.ru> From: Doug Henderson Date: Fri, 19 Nov 2021 18:10:04 -0700 Message-ID: Subject: Re: ssmtp-config fails on step 6 To: cygwin Cc: Kevin Andrew Lipscomb , Andrey Repin Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, FROM_LOCAL_NOVOWEL, HK_RANDOM_ENVFROM, HK_RANDOM_FROM, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Nov 2021 01:10:17 -0000 On Fri, 19 Nov 2021 at 17:21, Andrey Repin via Cygwin wrote: > > Greetings, Kevin Andrew Lipscomb! > > > ssmtp-config fails silently on step 6 at the first call to /usr/sbin/alternatives. > > > I isolated the alternatives command, added the --verbose switch to it, and > > ran the result from a bash shell that was launched as Administrator. The > > command fails immediately after emitting: > > > reading /var/lib/alternatives/mta > > > I am also reporting this as a bug in alternatives at bugzilla.redhat.com. > alternatives is known to make links to nonexistent objects. While this is > possible on *NIX, you can only link to existing objects on Windows. If that is the case, a possible workaround is to issue the following command from an elevated shell touch /var/lib/alternatives/mta and make sure the ownership and permissions are identical to the other files, e.g. in my case: $ ls -l /var/lib/alternatives total 8.0K -rw-r--r--+ 1 Admin None 41 Jul 16 11:25 2to3 -rw-r--r--+ 1 Admin None 52 Jul 16 11:25 gnuplot -rw-r--r--+ 1 Admin None 218 Jun 16 17:48 lua -rw-r--r--+ 1 Admin None 77 Jun 5 08:46 pip3 -rw-r--r--+ 1 Admin None 85 Jun 5 08:46 pydoc3 -rw-r--r--+ 1 Admin None 110 Jun 16 07:34 python -rw-r--r--+ 1 Admin None 89 Jun 5 08:46 python3 -rw-r--r--+ 1 Admin None 59 Jul 16 11:25 python3-config -- Doug Henderson, Calgary, Alberta, Canada - from gmail.com