helixarch / debtap

A script for converting .deb packages into Arch Linux packages, focused on accuracy
GNU General Public License v2.0
1.35k stars 78 forks source link

Error on building Epson Scanner package (iScan.deb) on Manjaro #70

Closed SnorreQWERTY closed 3 years ago

SnorreQWERTY commented 3 years ago

Hello,

I try to convert the Epson scanner package (iScan)

  1. Link (overview): http://download.ebz.epson.net/dsc/search/01/search/searchModule ... search for "4490" and then any of these two scanners.
  2. Link (Download): http://download.ebz.epson.net/dsc/du/02/DriverDownloadInfo.do?LG2=DE&CN2=&DSCMI=97935&DSCCHK=b0b500b7d5437411c661f8a1693ffb35f87a93af

I decompressed the "iscan-gt-V200-2.30.4.x64.deb.tar.gz" file into a folder and put the debtab.sh into every of the three folders with an .deb file. a) core b) data c) plugins

... and try to convert the deb-files

I got these messages: = = = = = = = = = = [user@computer data]$ sudo ./debtab.sh iscan-data_1.39.2-1_all.deb ==> Extracting package data... ==> Fixing possible directories structure differencies... ==> Generating .PKGINFO file...

:: Enter Packager name: iscan_2.30

:: Enter package license (you can enter multiple licenses comma separated): no

*** Creation of .PKGINFO file in progress. It may take a few minutes, please wait...

Warning: These conflicts (conflict = fields) could not be translated into Arch Linux packages names: iscan

==> Checking and generating .INSTALL file (if necessary)...

:: If you want to edit .PKGINFO and .INSTALL files (in this order), press (1) For vi (2) For nano (3) For default editor (4) For a custom editor or any other key to continue: 2

==> Generating .MTREE file...

==> Creating final package... ./debtab.sh: Zeile 3165: fakeroot: Kommando nicht gefunden. mv: der Aufruf von stat für '*.zst' ist nicht möglich: Datei oder Verzeichnis nicht gefunden ==> Package successfully created! ==> Removing leftover files... = = = = = = = = = =

Any further information needed? Does anybody know whats to do?

AND: Is there no possibility to convert ALL three packages in one step?

thanks in advance Snorre

helixarch commented 3 years ago

fakeroot is one of debtap’s dependencies and it should be installed before running the program...

There is no way to run debtap for multiple packages at the moment, but you can try running it in a loop like this:

ls -1 *.deb | while read line; do debtap ”$line"; done

SnorreQWERTY commented 3 years ago

Hello,

partial "success" after installing fakeroot...

I think, that not much people know that fakeroot is a necessary program which has to be installed. Please insert an message into the script if fakeroot has to be installed. ... AND/OR start installation of fakeroot and give a hint to save all open files and prevent the restart of the system.

Then I tried to convert the single .deb-files. I get these messages of dependencies. All files are stored in different folders. I can try to move them into a single folder. I dont't know if I have to start the initial epson install.sh. Therefore the files should be in the original folder, but I guess this will turn out to be nonsense.

Error in file 1 = = = = = = = = *** Creation of .PKGINFO file in progress. It may take a few minutes, please wait... Warning: These dependencies (depend = fields) could not be translated into Arch Linux packages names: iscan-data Warning: These conflicts (conflict = fields) could not be translated into Arch Linux packages names: iscan-network-nt, iscan-plugin-gt-7200, iscan-plugin-gt-7300, iscan-plugin-gt-9400, iscan-plugin-gt-f520, iscan-plugin-gt-f600 ==> Checking and generating .INSTALL file (if necessary)... :: If you want to edit .PKGINFO and .INSTALL files (in this order), press (1) For vi (2) For nano (3) For default editor (4) For a custom editor or any other key to continue: = = = = =

Error in file 2 = = = = = = = = *** Creation of .PKGINFO file in progress. It may take a few minutes, please wait... Warning: These conflicts (conflict = fields) could not be translated into Arch Linux packages names: iscan ==> Checking and generating .INSTALL file (if necessary)... :: If you want to edit .PKGINFO and .INSTALL files (in this order), press (1) For vi (2) For nano (3) For default editor (4) For a custom editor or any other key to continue: = = = = =

Error in file 3 = = = = = = = = *** Creation of .PKGINFO file in progress. It may take a few minutes, please wait... Warning: These dependencies (depend = fields) could not be translated into Arch Linux packages names: iscan Warning: These conflicts (conflict = fields) could not be translated into Arch Linux packages names: iscan ==> Checking and generating .INSTALL file (if necessary)... :: If you want to edit .PKGINFO and .INSTALL files (in this order), press (1) For vi (2) For nano (3) For default editor (4) For a custom editor or any other key to continue = = = = =

After "editing" the files and storing with no changes I get these result:

= = = = ==> Generating .MTREE file... ==> Creating final package... ==> Package successfully created! ==> Removing leftover files... = = = =

Next step... = = = = = = I try to install the files

(errormessages are translated from german)

  1. first file: iscan-2.30.4-1-x86_64.pkg.tar.zst has no succes..... = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Packages are being loaded ... Error: 'iscan-2.30.4-1-x8664.pkg.tar.zst': Could not find or read package

  2. second file is able to install with pacman -U iscan-data-1.39.2-1-any.pkg.tar.zst = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = (1/2) Installiert wird bash-completion [######################################################] 100% (2/2) Installiert wird iscan-data [######################################################] 100% :: Post-transaction-Hooks werden gestartet … (1/2) Updating udev hardware database... (2/2) Arming ConditionNeedsUpdate...

This seems to be an partial success.

  1. third file: pacman -U iscan-plugin-gt-f670-2.1.3-1-x86_64.pkg.tar.zst = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Packages are being loaded ... Dependencies are resolved ... Warning: Can't resolve "iscan> = 2.16.1" (a dependency on "iscan-plugin-gt-f670") :: The following package cannot be updated due to unresolvable dependencies: iscan-plugin-gt-f670

:: Would you like to skip the above package in this update? [y / N] j Searching for conflicting packages ... There is nothing to do

Additional: = = = = = = = = Your hint with: "ls -1 *.deb | while read line; do debtap ”$line"; done" .. does not work. I only get ">" in the next line and are able to break with ^C.

Thats the end of the story with this driver of Epson? Any Ideas? Thanks Snorre