Skip to content

Here’s a way to completely fix the (sqlite3) error on Termux without the need to create complex fake calls : #19964

Open
@Hinatara

Description

@Hinatara

In the previous steps, I demonstrated how to fix the error by creating a fake package to replace the faulty one. However, I realize that the error may continue to recur in different forms. Therefore, here is a comprehensive method to fix the error:

  1. Use the command mkdir Ruby to create a directory.

  2. Run ls Ruby to confirm that the directory has been created.

    • Step 2.1: Use the command cd Ruby to enter the directory.
  3. Use the command git clone https://github.com/sparklemotion/sqlite3-ruby.git to download the sqlite3 package.

  4. Use the command cd sqlite3-ruby to enter the newly created package directory.

  5. (Important) Use the command ls sqlite3.gemspec to list the necessary files.

  6. Once you see the required file, use the command gem build sqlite3.gemspec to build the gem. (You may encounter errors in the later steps, but don't worry; just continue following the steps.)

  7. (Important) Use the command ls sqlite3-2.6.0.gem to locate the sqlite3-2.6.0.gem file.

  8. After confirming the presence of the sqlite3-2.6.0.gem file, use the command gem install sqlite3-2.6.0.gem to install it. (This step may take some time.)

  9. Use the command cd .. to exit the directory and then repeat the steps to download the metasploit-framework.


10 : Additional command if error : ' chmod -R a+r ' .

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions