public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: difficulty getting ddrescue to install properly
Date: Fri, 6 Nov 2020 21:17:29 -0700	[thread overview]
Message-ID: <f254a3bb-c180-6ec6-03d6-3df6274ecce2@SystematicSw.ab.ca> (raw)
In-Reply-To: <933547441.4732854.1604629469194@mail.yahoo.com>

On 2020-11-05 19:24, Marilo via Cygwin wrote:
> 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.

What are your options for running the Cygwin Setup program and your answers
input to dialogue box entries?

Check /var/log/setup.log.full for ddrescue install or errors and if that shows
nothing check /var/log/setup.log, which is a summary of all Cygwin Setup program
runs ever completed under that Cygwin instance.

Did you run the Cygwin Setup program to install ddrescue using the same Cygwin
instance root directory as your usual working instance, is that Cygwin instance
root directory C:/Cygwin, and are you running interactively under that same
Cygwin instance?

How are you starting bash, is it Cygwin bash, and which terminal are you running
under?

Running:
	$ ps
	  PID   PPID   PGID  WINPID   TTY     UID    STIME COMMAND
	29440  64174  29440    1880  pty0  ###### 21:09:16 /usr/bin/ps
	64174  64173  64174    6140  pty0  ######   Nov  2 /usr/bin/bash
	64173      1  64173    4148  ?     ######   Nov  2 /usr/bin/mintty
	$ which bash
	/usr/bin/bash
	$ uname -srvmo
	CYGWIN_NT-10.0 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64 Cygwin
	$ cygpath -alm /
	C:/cygwin
	$ grep -A1 ^last-cache /etc/setup/setup.rc
	last-cache
        	C:/...
	$ regtool -v list /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Cygwin\/Installations/
	f031669020b3f992 (REG_SZ) = "\??\C:\cygwin"
	$ regtool -v list /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Cygwin\/setup/
	rootdir (REG_SZ) = "C:\cygwin"
	$ cygcheck -f /usr/bin/ddrescue
	ddrescue-1.25-1
	$ cygcheck -c ddrescue
	Cygwin Package Information
	Package              Version        Status
	ddrescue             1.25-1         OK
	$ cygcheck ddrescue
	Found: C:\cygwin\bin\ddrescue.exe
	C:\cygwin\bin\ddrescue.exe
	  C:\cygwin\bin\cygwin1.dll
	    C:\Windows\system32\KERNEL32.dll
	      C:\Windows\system32\ntdll.dll
	      C:\Windows\system32\KERNELBASE.dll
	  C:\cygwin\bin\cyggcc_s-seh-1.dll
	  C:\cygwin\bin\cygstdc++-6.dll

and posting your results might give us some useful information,
also following the below may get you more useful responses:

> Problem reports:      https://cygwin.com/problems.html

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

      reply	other threads:[~2020-11-07  4:17 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
2020-11-07  4:17   ` Brian Inglis [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=f254a3bb-c180-6ec6-03d6-3df6274ecce2@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --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).