Skip to content

[General] Unable to install packages when using termux proot distro #37

@WeirdGumi

Description

@WeirdGumi

Describe the bug
I can't install any package at proot distro.
Can try using proot instead of proot-distro first. If there are issues, then I will change the title and comments to proot instead of proot-distro at that time.

To Reproduce

  1. Install termux and open
  2. Install the proot-distro package
  3. Obtain the tarball from link and extract it to $HOME
  4. Obtain eweos.sh from link and place it in the $PREFIX/etc/proot-distro directory
  5. Run proot-distro install eweos
  6. Run proot-distro login eweos
  7. Install any package

Expected behavior

Additional context
Link: termux/proot-distro#642
Link: termux/proot-distro@98b6d71

~ $ proot-distro login eweos
[root@localhost ~]# pacman -S micro
resolving dependencies...
looking for conflicting packages...

Packages (1) micro-2.0.15-3

Total Download Size:    4.62 MiB
Total Installed Size:  12.11 MiB

:: Proceed with installation? [Y/n]
warning: couldn't find or create package cache, using /tmp/ instead
:: Retrieving packages...
 micro-2.0.15-3-a...     8.4 KiB  0.00   B/s --:
micro-2.0.15-3-a...    42.4 KiB  37.8 KiB/s 02:
micro-2.0.15-3-a...   224.0 KiB   219 KiB/s 00:
micro-2.0.15-3-a...   592.0 KiB   555 KiB/s 00:
micro-2.0.15-3-a...  1520.0 KiB  1917 KiB/s 00:
micro-2.0.15-3-a...     2.0 MiB  1974 KiB/s 00:
micro-2.0.15-3-a...     2.8 MiB  2.51 MiB/s 00:
micro-2.0.15-3-a...     3.2 MiB  2.31 MiB/s 00:
micro-2.0.15-3-a...     4.1 MiB  2.57 MiB/s 00:
micro-2.0.15-3-a...     4.6 MiB  1345 KiB/s 00
(0/1) checking keys in keyring                 
(1/1) checking keys in keyring                  
(0/1) checking package integrity               
(1/1) checking package integrity                
error: failed to read file /tmp/micro-2.0.15-3-aarch64.pkg.tar.zst: cannot open package file
error: failed to commit transaction (cannot open package file)
Errors occurred, no packages were upgraded.
[root@localhost ~]# pacman -U /tmp/micro-2.0.15-3-aarch64.pkg.tar.zst                           loading packages...
error: '/tmp/micro-2.0.15-3-aarch64.pkg.tar.zst': cannot open package file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions