From: Marilo <narium85-mlscar@yahoo.co.uk>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: difficulty getting ddrescue to install properly
Date: Fri, 6 Nov 2020 02:24:29 +0000 (UTC) [thread overview]
Message-ID: <933547441.4732854.1604629469194@mail.yahoo.com> (raw)
In-Reply-To: <933547441.4732854.1604629469194.ref@mail.yahoo.com>
I've used ddrescue in the past but I can't seem to install it now!
I ran https://cygwin.com/setup-x86_64.exe and installed ddrescue
In the dropdown under choose packages, I choose "full" so they all show and I choose "ddrescue" it's 1.25-1 and I click it so it installs so it shows "keep". And I click next and it claims to install. I haven't always looked at the version in the past but that kind of procedure has always installed that and things in the past.
But then here I can't get ddrescue to run!
I'm on Win7.
C:\cygwin>dir
Volume in drive C has no label.
Volume Serial Number is 4645-5DCE
Directory of C:\cygwin
20/04/2020 22:48 <DIR> .
20/04/2020 22:48 <DIR> ..
05/11/2020 02:29 <DIR> bin
14/03/2020 01:02 53,342 Cygwin-Terminal.ico
14/03/2020 00:59 88 Cygwin.bat
14/03/2020 01:02 157,097 Cygwin.ico
14/03/2020 00:59 <DIR> dev
05/11/2020 02:29 <DIR> etc
22/04/2020 10:00 <DIR> home
20/04/2020 22:48 <DIR> lib
14/03/2020 00:35 <DIR> pk
20/04/2020 22:48 <DIR> sbin
20/04/2020 22:46 1,352,723 setup-x86_64.exe
14/03/2020 00:59 <DIR> tmp
14/03/2020 00:58 <DIR> usr
14/03/2020 00:58 <DIR> var
4 File(s) 1,563,250 bytes
12 Dir(s) 29,747,658,752 bytes free
C:\cygwin>cd bin
C:\cygwin\bin>dir dd*
Volume in drive C has no label.
Volume Serial Number is 4645-5DCE
Directory of C:\cygwin\bin
03/02/2017 19:40 83,987 dd.exe
03/04/2020 16:17 118,291 ddrescue.exe
03/04/2020 16:17 59,411 ddrescuelog.exe
3 File(s) 261,689 bytes
0 Dir(s) 29,747,593,216 bytes free
C:\cygwin\bin>
user@hp-probook1 ~
$ echo $PATH
/usr/local/bin:/usr/bin:/cygdrive/c/windows:/cygdrive/c/windows/system32:/cygdrive/c/blah
user@hp-probook1 ~
$ ddrescue
-bash: ddrescue: command not found
user@hp-probook1 ~
$ PATH=$PATH:/usr/bin
user@hp-probook1 ~
$ ddrescue
-bash: ddrescue: command not found
user@hp-probook1 ~
$ echo $PATH
/usr/local/bin:/usr/bin:/cygdrive/c/windows:/cygdrive/c/windows/system32:/cygdrive/c/blah:/usr/bin
user@hp-probook1 ~
$
user@hp-probook1 ~
$ PATH=$PATH:/bin
user@hp-probook1 ~
$ echo $PATH
/usr/local/bin:/usr/bin:/cygdrive/c/windows:/cygdrive/c/windows/system32:/cygdrive/c/blah:/usr/bin:/bin
user@hp-probook1 ~
$ ddrescue
-bash: ddrescue: command not found
user@hp-probook1 ~
$
user@hp-probook1 ~
$ which ddrescue
which: no ddrescue in (/usr/local/bin:/usr/bin:/cygdrive/c/windows:/cygdrive/c/windows/system32:/cygdrive/c/blah)
user@hp-probook1 ~
$ echo $PATH
/usr/local/bin:/usr/bin:/cygdrive/c/windows:/cygdrive/c/windows/system32:/cygdrive/c/blah
user@hp-probook1 ~
$ PATH=$PATH:/bin
user@hp-probook1 ~
$ which ddrescue
which: no ddrescue in (/usr/local/bin:/usr/bin:/cygdrive/c/windows:/cygdrive/c/windows/system32:/cygdrive/c/blah:/bin)
user@hp-probook1 ~
$
user@hp-probook1 /bin
$ cd /bin
user@hp-probook1 /bin
$ ls dd*
dd.exe
user@hp-probook1 /bin
$
user@hp-probook1 /bin
$ cd /cygdrive/c/cygwin/bin
user@hp-probook1 /cygdrive/c/cygwin/bin
$ ls ddrescue
ddrescue
user@hp-probook1 /cygdrive/c/cygwin/bin
$ ddrescue --help
-bash: ddrescue: command not found
user@hp-probook1 /cygdrive/c/cygwin/bin
$ ./ddrescue --help
ddrescue: Both input and output files must be specified.
Try '/usr/bin/ddrescue --help' for more information.
user@hp-probook1 /cygdrive/c/cygwin/bin
$ ls /usr/bin/ddrescue
ls: cannot access '/usr/bin/ddrescue': No such file or directory
user@hp-probook1 /cygdrive/c/cygwin/bin
$
next parent reply other threads:[~2020-11-06 2:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <933547441.4732854.1604629469194.ref@mail.yahoo.com>
2020-11-06 2:24 ` Marilo [this message]
2020-11-07 4:17 ` Brian Inglis
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=933547441.4732854.1604629469194@mail.yahoo.com \
--to=narium85-mlscar@yahoo.co.uk \
--cc=cygwin@cygwin.com \
/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).