rendiix / rendiix.github.io

MIT License
19 stars 5 forks source link

sdat2img = img2sdat #1

Closed ChonDoit closed 3 years ago

ChonDoit commented 3 years ago

Looks like sdat2img builds img2sdat instead, since... who knows, like a month ago latest time i tried it and was working fine

dpkg: error processing archive /data/data/com.termux/cache/apt/archives/sdat2img_1.2_all.deb (--unpack):
 trying to overwrite '/data/data/com.termux/files/usr/bin/img2sdat', which is also in package img2sdat 1.7
Errors were encountered while processing:
 /data/data/com.termux/cache/apt/archives/sdat2img_1.2_all.deb
E: Sub-process /data/data/com.termux/files/usr/bin/dpkg returned an error code (1)

And just to confirm

~ $ img2sdat
No command img2sdat found, did you mean:
 Command img_stat in package sleuthkit
~ $ sdat2img
No command sdat2img found, did you mean:
 Command simg2img in package android-tools
 Command shp2img in package mapserver
~ $ apt install sdat2img
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  sdat2img
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3544 B of archives.
After this operation, 38.9 kB of additional disk space will be used.
(Reading database ... 13029 files and directories currently installed.)
Preparing to unpack .../archives/sdat2img_1.2_all.deb ...
Unpacking sdat2img (1.2) ...
Setting up sdat2img (1.2) ...
~ $ sdat2img
No command sdat2img found, did you mean:
 Command simg2img in package android-tools
 Command shp2img in package mapserver
~ $ img2sdat

Usage: sdat2img.py <transfer_list> <system_new_file> [system_img]

    <transfer_list>: transfer list file
    <system_new_file>: system new dat file
    [system_img]: output system image

Visit xda thread for more information.

Press ENTER to exit...
~ $
rendiix commented 3 years ago

thanks for the report, fixed in https://github.com/rendiix/rendiix.github.io/commit/20e9a48a4432fd9055140da029c4804f3ac92588

ChonDoit commented 3 years ago

Working fine now, thank to you😘