public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: enrique@perezterron.net, cygwin@cygwin.com
Subject: Re: Incorrect results from 'cygpath -w' when having anaconda installed
Date: Sun, 6 Nov 2022 18:20:33 +0300	[thread overview]
Message-ID: <1496420975.20221106182033@yandex.ru> (raw)
In-Reply-To: <7d8ae6437bc0f3a83a083441ef7f47c2@perezterron.net>

Greetings, enrique@perezterron.net!

> Hello!

> I am having incorrect results from 'cygpath -w':

> ### I have the cygwin root directory in C:\cygwin64, as confirmed by 'cmd':
> $ cmd
> Microsoft Windows [Version 10.0.22621.674]
> (c) Microsoft Corporation. Med enerett.

> C:\cygwin64\home\Enrique>exit

> ### Cygwin thinks my home directory is:
> $ pwd
> /home/Enrique

> ### But 'cygpath -w' thinks ...
> $ cygpath -w /home/Enrique
> C:\Users\Enrique\anaconda3\Library\home\Enrique

> ### Investigating, I found that there is no 'home' in C:\Users\Enrique\anaconda3\Library.
> ### Then I discovered this:
> $ mount
> C:/Users/Enrique/anaconda3/Library on / type ntfs (binary,noacl,auto)
> C:/Users/Enrique/anaconda3/Library/usr/bin on /bin type ntfs (binary,noacl,auto)
> C: on /cygdrive/c type ntfs (binary,noacl,posix=0,user,noumount,auto)

> Huh ??? How does this work?
> Is there a way to hide the mounts done by anaconda?

> I guess some anaconda binaries want to find the 'Library' directory as the
> root, but cygwin continues to find its own root under C:/cygwin64. Why does
> it get tripped by the anaconda install just when doing the path translation?

Either you have two Cygwin version sinstalled, or your environment is screwed.
Please provide cygcheck output per https://cygwin.com/problems.html


-- 
With best regards,
Andrey Repin
Sunday, November 6, 2022 18:19:37

Sorry for my terrible english...


      reply	other threads:[~2022-11-06 15:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-05  1:50 enrique
2022-11-06 15:20 ` Andrey Repin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1496420975.20221106182033@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=cygwin@cygwin.com \
    --cc=enrique@perezterron.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).