Terminfo file is missing

Using PhotoRec to recover lost data
Message
Author
davidwilsonclarke
Posts: 6
Joined: 14 Dec 2015, 21:55

Terminfo file is missing

#1 Post by davidwilsonclarke » 14 Dec 2015, 22:03

Getting a 'Terminfo file is missing' error on running photorec from testdisk-7.0.arm-none-linux-gnueabi on a QNAP NAS box. I see that this has been a problem previously, and I can confirm that 'l/linux' does exist. I notice there was a fix for this recently. Was it missed from this build?

Thanks

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 3628
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Terminfo file is missing

#2 Post by cgrenier » 16 Dec 2015, 16:14

Code: Select all

tar tvjf testdisk-7.1-WIP.arm-none-linux-gnueabi.tar.bz2
drwxr-xr-x kmaster/kmaster   0 2015-12-14 10:22 testdisk-7.1-WIP/
-rwxr-xr-x kmaster/kmaster 2368996 2015-12-14 10:22 testdisk-7.1-WIP/testdisk
-rw-r--r-- kmaster/kmaster     216 2007-11-11 17:21 testdisk-7.1-WIP/AUTHORS
-rw-r--r-- kmaster/kmaster   17987 2006-06-16 00:01 testdisk-7.1-WIP/COPYING
-rw-r--r-- kmaster/kmaster   18588 2015-04-18 15:33 testdisk-7.1-WIP/NEWS
drwxr-xr-x kmaster/kmaster       0 2015-12-14 10:22 testdisk-7.1-WIP/l/
-rw-r--r-- kmaster/kmaster    1794 2015-06-18 00:26 testdisk-7.1-WIP/l/linux <--
The file is present in the archive.
Extract the archive using

Code: Select all

tar xjf testdisk-7.1-WIP.arm-none-linux-gnueabi.tar.bz2

davidwilsonclarke
Posts: 6
Joined: 14 Dec 2015, 21:55

Re: Terminfo file is missing

#3 Post by davidwilsonclarke » 16 Dec 2015, 16:50

Yes, the 'linux' file is there, as I said, but the program, when run, still gives an 'Terminfo file is missing' error.

davidwilsonclarke
Posts: 6
Joined: 14 Dec 2015, 21:55

Re: Terminfo file is missing

#4 Post by davidwilsonclarke » 17 Dec 2015, 01:27

Just tried testdisk-7.1-WIP.arm-none-linux-gnueabi.tar.bz2 and get the same: the 'l/linux' file is there, but still get the 'Terminfo file is missing' error message.

User avatar
cgrenier
Site Admin
Posts: 3628
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Terminfo file is missing

#5 Post by cgrenier » 17 Dec 2015, 13:41

Is the file "linux" in a subdirectory named "l" ? Have you really use the tar command and not Winzip/winrar/...

davidwilsonclarke
Posts: 6
Joined: 14 Dec 2015, 21:55

Re: Terminfo file is missing

#6 Post by davidwilsonclarke » 17 Dec 2015, 23:05

Did the exact tar command as shown above. The 'linux' file is in the 'l' directory. Still get 'Terminfo file is missing'.

User avatar
cgrenier
Site Admin
Posts: 3628
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Terminfo file is missing

#7 Post by cgrenier » 21 Dec 2015, 15:13

Before starting TestDisk or PhotoRec, run

Code: Select all

export TERM=linux
Does it solve the problem ?

davidwilsonclarke
Posts: 6
Joined: 14 Dec 2015, 21:55

Re: Terminfo file is missing

#8 Post by davidwilsonclarke » 23 Dec 2015, 12:57

Oh, I thought that was going to be the one. Unfortunately, it had no effect.

flowjo
Posts: 1
Joined: 27 Dec 2015, 20:41

Re: Terminfo file is missing

#9 Post by flowjo » 27 Dec 2015, 20:49

Does any one has a solution for this problem ?

I have the same problem:
"Terminfo file is missing'

I installed testdisk-7.1-WIP on location
volume1/Shared/public/testdisk-7.1-WIP
login with putty on my Synology DS211+ and start photorec by:
./photorec

And than we get the following information :
Terminfo file is missing
Extract all files and subdirectories before running the program

-Directory "l" with the file linux is there and I tryed exact by tar xjf

What else can I do please help me ?

davidwilsonclarke
Posts: 6
Joined: 14 Dec 2015, 21:55

Re: Terminfo file is missing

#10 Post by davidwilsonclarke » 29 Dec 2015, 10:39

I gave up trying on my NAS box, in the end. I have a kit which attaches to a disk, to turn it into a USB disk. I used that, then ran photorec on a laptop.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest