re difficulty getting ddrescue to install properly
Marilo
narium85-mlscar@yahoo.co.uk
Sat Nov 7 08:46:59 GMT 2020
>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?
> [you ask for the output from some commands)
For cygwin setup I have
install for "all users"
root directory c:\cygwin
package directory c:\cygwin\pk <-- perhaps not a default but never been an issue before or for any other packages.
Other packages install e.g. xxd installs
C:\cygwin\bin>dir ddrescue.exe
Volume in drive C has no label.
Volume Serial Number is 4645-5DCE
Directory of C:\cygwin\bin
03/04/2020 16:17 118,291 ddrescue.exe
1 File(s) 118,291 bytes
0 Dir(s) 27,520,688,128 bytes free
C:\cygwin\bin>dir xxd.exe
Volume in drive C has no label.
Volume Serial Number is 4645-5DCE
Directory of C:\cygwin\bin
31/03/2020 02:01 18,451 xxd.exe
1 File(s) 18,451 bytes
0 Dir(s) 27,520,688,128 bytes free
C:\cygwin\bin>
user@hp-probook1 ~
$ ddrescue
-bash: ddrescue: command not found
user@hp-probook1 ~
$ xxd
user@hp-probook1 ~
$ which xxd
/usr/bin/xxd
user@hp-probook1 ~
$
I am starting Cygwin from the icon,
C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -
user@hp-probook1 ~
$ ps
PID PPID PGID WINPID TTY UID STIME COMMAND
1307 1298 1307 7228 pty0 197608 08:34:10 /usr/bin/ps
1297 1 1297 14072 ? 197608 08:34:08 /usr/bin/mintty
1298 1297 1298 11424 pty0 197608 08:34:08 /usr/bin/bash
user@hp-probook1 ~
$
https://pastebin.com/raw/TGWPwR50 (setup.log)
No signs of ddrescue
https://pastebin.com/raw/YJRcHHa3 (setup.log.full)
No signs of ddrescue
user@hp-probook1 ~
$ regtool -v list /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Cygwin\/Installations/
Unknown key prefix. Valid prefixes are:
root
HKCR
HKEY_CLASSES_ROOT
config
HKCC
HKEY_CURRENT_CONFIG
user
HKCU
HKEY_CURRENT_USER
machine
HKLM
HKEY_LOCAL_MACHINE
users
HKU
HKEY_USERS
user@hp-probook1 ~
$ regtool -v list /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Cygwin\/setup/
Unknown key prefix. Valid prefixes are:
root
HKCR
HKEY_CLASSES_ROOT
config
HKCC
HKEY_CURRENT_CONFIG
user
HKCU
HKEY_CURRENT_USER
machine
HKLM
HKEY_LOCAL_MACHINE
users
HKU
HKEY_USERS
user@hp-probook1 ~
$ cygcheck -f /usr/bin/ddrescue
user@hp-probook1 ~
$ cygcheck -f /bin/ddrescue
user@hp-probook1 ~
$
user@hp-probook1 ~
$ cygcheck -c ddrescue
Cygwin Package Information
Package Version Status
user@hp-probook1 ~
$ cygcheck ddrescue
cygcheck: could not find 'ddrescue'
user@hp-probook1 ~
$
More information about the Cygwin
mailing list