GithubHelp home page GithubHelp logo

anyfed's People

Contributors

nmilosev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

anyfed's Issues

proot error

hello.
not working when trying run any downloaded image.

proot error: ptrace(TRACEME): Operation not permitted

docomo f-04k (android 9)
and latest termux

is that proot bug?

thanks

Deal with Lowercase answers

anyfed/anyfed

Line 117 in ccb747c

if [ "$HASROOT" = "Y" ]; then

If user just reply 'y' (lowercase), the script will be prepared for using proot (as user),
falling then in a chain of issues in the chroot install

Faced many errors about cpio when installing via dnf,
I suggest to catch the wrong lowercase answer in some way

line 4: 9649 Bad system call

screen shot 2018-09-27 at 10 05 58 pm

 /data/data/com.termux/files/home/.anyfed/anyfed

Entering anyfed Fedora 28 chroot...
/data/data/com.termux/files/home/.anyfed/anyfed: line 4:  9649 Bad system call         
/data/data/com.termux/files/home/.anyfed/proot -0 -r 
"/data/data/com.termux/files/home/.anyfed/rootfs" -b /dev/ -b /sys/ -b /proc/ -b 
/data/data/com.termux/files/home /usr/bin/env -i HOME=/root TERM="xterm-256color"
PS1='[root@anyfed \W]$ ' PATH=/bin:/usr/bin:/sbin:/usr/sbin:/bin /usr/bin/bash --login
Exiting anyfed Fedora 28 chroot...

What would be required to successfully install docker on Android (via Termux)?

I didn't expect it to install successfully, but I was curious to see what 'yum install docker' resulted in.

Here is the output:

[root@anyfed home]$ yum install docker   
Last metadata expiration check: 0:30:56 ago on Wed Jun 13 12:24:33 2018.
Dependencies resolved.
==============================================================================================================================================================================================
 Package                                                         Arch                             Version                                              Repository                        Size
==============================================================================================================================================================================================
Installing:
 docker                                                          aarch64                          2:1.13.1-54.git6c336e4.fc27                          updates                           17 M
Installing dependencies:
 atomic-registries                                               aarch64                          1.22.1-1.fc27                                        updates                           39 k
 audit                                                           aarch64                          2.7.8-1.fc27                                         fedora                           250 k
 audit-libs-python3                                              aarch64                          2.7.8-1.fc27                                         fedora                            80 k
 checkpolicy                                                     aarch64                          2.7-2.fc27                                           updates                          327 k
 container-selinux                                               noarch                           2:2.61-1.git9b55129.fc27                             updates                           41 k
 container-storage-setup                                         noarch                           0.8.0-2.git1d27ecf.fc27                              updates                           36 k
 device-mapper-event                                             aarch64                          1.02.142-4.fc27                                      fedora                           250 k
 device-mapper-event-libs                                        aarch64                          1.02.142-4.fc27                                      fedora                           251 k
 device-mapper-persistent-data                                   aarch64                          0.7.5-1.fc27                                         updates                          406 k
 docker-common                                                   aarch64                          2:1.13.1-54.git6c336e4.fc27                          updates                           88 k
 docker-rhel-push-plugin                                         aarch64                          2:1.13.1-54.git6c336e4.fc27                          updates                          1.5 M
 gnupg                                                           aarch64                          1.4.22-3.fc27                                        fedora                           1.3 M
 iptables                                                        aarch64                          1.6.1-4.fc27                                         fedora                           493 k
 kmod                                                            aarch64                          25-1.fc27                                            updates                          114 k
 libaio                                                          aarch64                          0.3.110-9.fc27                                       fedora                            29 k
 libcgroup                                                       aarch64                          0.41-17.fc27                                         updates                           69 k
 libmnl                                                          aarch64                          1.0.4-4.fc27                                         fedora                            28 k
 libnet                                                          aarch64                          1.1.6-14.fc27                                        fedora                            68 k
 libnetfilter_conntrack                                          aarch64                          1.0.6-4.fc27                                         fedora                            60 k
 libnfnetlink                                                    aarch64                          1.0.1-11.fc27                                        fedora                            31 k
 libnl3                                                          aarch64                          3.4.0-1.fc27                                         updates                          297 k
 libselinux-python3                                              aarch64                          2.7-2.fc27                                           fedora                           245 k
 libselinux-utils                                                aarch64                          2.7-2.fc27                                           fedora                           164 k
 libsemanage-python3                                             aarch64                          2.7-1.fc27                                           fedora                           121 k
 libusb                                                          aarch64                          1:0.1.5-10.fc27                                      fedora                            40 k
 libyaml                                                         aarch64                          0.1.7-4.fc27                                         fedora                            57 k
 lvm2                                                            aarch64                          2.02.173-4.fc27                                      fedora                           1.3 M
 lvm2-libs                                                       aarch64                          2.02.173-4.fc27                                      fedora                           1.1 M
 oci-umount                                                      aarch64                          2:2.3.3-1.gite3c9055.fc27                            updates                           36 k
 parted                                                          aarch64                          3.2-28.fc27                                          fedora                           549 k
 policycoreutils                                                 aarch64                          2.7-1.fc27                                           fedora                           705 k
 policycoreutils-python-utils                                    aarch64                          2.7-1.fc27                                           fedora                           223 k
 policycoreutils-python3                                         aarch64                          2.7-1.fc27                                           fedora                           1.8 M
 protobuf-c                                                      aarch64                          1.2.1-7.fc27                                         fedora                            34 k
 python3-IPy                                                     noarch                           0.81-20.fc27                                         fedora                            42 k
 python3-PyYAML                                                  aarch64                          3.12-5.fc27                                          fedora                           167 k
 python3-pytoml                                                  noarch                           0.1.14-2.git7dea353.fc27                             fedora                            23 k
 selinux-policy                                                  noarch                           3.13.1-283.34.fc27                                   updates                          541 k
 selinux-policy-targeted                                         noarch                           3.13.1-283.34.fc27                                   updates                           10 M
 setools-python3                                                 aarch64                          4.1.1-3.fc27                                         fedora                           578 k
 skopeo-containers                                               aarch64                          0.1.29-1.git7add6fc.fc27                             updates                           18 k
 subscription-manager-rhsm-certificates                          aarch64                          1.21.2-3.fc27                                        updates                          205 k
 systemd-container                                               aarch64                          234-8.fc27                                           fedora                           405 k
 tcp_wrappers-libs                                               aarch64                          7.6-87.fc27                                          fedora                            72 k
 xfsprogs                                                        aarch64                          4.15.1-1.fc27                                        updates                          1.1 M
 xz                                                              aarch64                          5.2.3-4.fc27                                         fedora                           150 k
 yajl                                                            aarch64                          2.1.0-8.fc27                                         fedora                            38 k
Installing weak dependencies:
 criu                                                            aarch64                          3.8.1-1.fc27                                         updates                          452 k
 oci-register-machine                                            aarch64                          0-6.1.git66fa845.fc27                                updates                          986 k
 oci-systemd-hook                                                aarch64                          1:0.1.16-1.git05bd9a0.fc27                           updates                           37 k

Transaction Summary
==============================================================================================================================================================================================
Install  51 Packages

Total download size: 45 M
Installed size: 149 M
Is this ok [y/N]: y
Downloading Packages:
(1/51): atomic-registries-1.22.1-1.fc27.aarch64.rpm                                                                                                            80 kB/s |  39 kB     00:00    
(2/51): docker-common-1.13.1-54.git6c336e4.fc27.aarch64.rpm                                                                                                   153 kB/s |  88 kB     00:00    
(3/51): skopeo-containers-0.1.29-1.git7add6fc.fc27.aarch64.rpm                                                                                                128 kB/s |  18 kB     00:00    
(4/51): docker-rhel-push-plugin-1.13.1-54.git6c336e4.fc27.aarch64.rpm                                                                                         1.1 MB/s | 1.5 MB     00:01    
(5/51): gnupg-1.4.22-3.fc27.aarch64.rpm                                                                                                                       1.1 MB/s | 1.3 MB     00:01    
(6/51): xz-5.2.3-4.fc27.aarch64.rpm                                                                                                                           1.0 MB/s | 150 kB     00:00    
(7/51): python3-PyYAML-3.12-5.fc27.aarch64.rpm                                                                                                                806 kB/s | 167 kB     00:00    
(8/51): parted-3.2-28.fc27.aarch64.rpm                                                                                                                        1.1 MB/s | 549 kB     00:00    
(9/51): python3-pytoml-0.1.14-2.git7dea353.fc27.noarch.rpm                                                                                                    216 kB/s |  23 kB     00:00    
(10/51): libusb-0.1.5-10.fc27.aarch64.rpm                                                                                                                     317 kB/s |  40 kB     00:00    
(11/51): libyaml-0.1.7-4.fc27.aarch64.rpm                                                                                                                     387 kB/s |  57 kB     00:00    
(12/51): lvm2-libs-2.02.173-4.fc27.aarch64.rpm                                                                                                                1.7 MB/s | 1.1 MB     00:00    
(13/51): lvm2-2.02.173-4.fc27.aarch64.rpm                                                                                                                     1.7 MB/s | 1.3 MB     00:00    
(14/51): device-mapper-event-1.02.142-4.fc27.aarch64.rpm                                                                                                      880 kB/s | 250 kB     00:00    
(15/51): device-mapper-event-libs-1.02.142-4.fc27.aarch64.rpm                                                                                                 882 kB/s | 251 kB     00:00    
(16/51): libnetfilter_conntrack-1.0.6-4.fc27.aarch64.rpm                                                                                                      492 kB/s |  60 kB     00:00    
(17/51): libnfnetlink-1.0.1-11.fc27.aarch64.rpm                                                                                                               256 kB/s |  31 kB     00:00    
(18/51): iptables-1.6.1-4.fc27.aarch64.rpm                                                                                                                    1.3 MB/s | 493 kB     00:00    
(19/51): libmnl-1.0.4-4.fc27.aarch64.rpm                                                                                                                      152 kB/s |  28 kB     00:00    
(20/51): libaio-0.3.110-9.fc27.aarch64.rpm                                                                                                                    111 kB/s |  29 kB     00:00    
(21/51): device-mapper-persistent-data-0.7.5-1.fc27.aarch64.rpm                                                                                               1.1 MB/s | 406 kB     00:00    
(22/51): kmod-25-1.fc27.aarch64.rpm                                                                                                                           990 kB/s | 114 kB     00:00    
(23/51): container-selinux-2.61-1.git9b55129.fc27.noarch.rpm                                                                                                  290 kB/s |  41 kB     00:00    
(24/51): libselinux-utils-2.7-2.fc27.aarch64.rpm                                                                                                              994 kB/s | 164 kB     00:00    
(25/51): policycoreutils-python-utils-2.7-1.fc27.aarch64.rpm                                                                                                  657 kB/s | 223 kB     00:00    
(26/51): policycoreutils-2.7-1.fc27.aarch64.rpm                                                                                                               1.3 MB/s | 705 kB     00:00    
(27/51): audit-libs-python3-2.7.8-1.fc27.aarch64.rpm                                                                                                          750 kB/s |  80 kB     00:00    
(28/51): libselinux-python3-2.7-2.fc27.aarch64.rpm                                                                                                            1.0 MB/s | 245 kB     00:00    
(29/51): libsemanage-python3-2.7-1.fc27.aarch64.rpm                                                                                                           949 kB/s | 121 kB     00:00    
(30/51): python3-IPy-0.81-20.fc27.noarch.rpm                                                                                                                  362 kB/s |  42 kB     00:00    
(31/51): policycoreutils-python3-2.7-1.fc27.aarch64.rpm                                                                                                       1.6 MB/s | 1.8 MB     00:01    
(32/51): setools-python3-4.1.1-3.fc27.aarch64.rpm                                                                                                             1.3 MB/s | 578 kB     00:00    
(33/51): tcp_wrappers-libs-7.6-87.fc27.aarch64.rpm                                                                                                            581 kB/s |  72 kB     00:00    
(34/51): audit-2.7.8-1.fc27.aarch64.rpm                                                                                                                       1.1 MB/s | 250 kB     00:00    
(35/51): container-storage-setup-0.8.0-2.git1d27ecf.fc27.noarch.rpm                                                                                           346 kB/s |  36 kB     00:00    
(36/51): oci-umount-2.3.3-1.gite3c9055.fc27.aarch64.rpm                                                                                                       356 kB/s |  36 kB     00:00    
(37/51): yajl-2.1.0-8.fc27.aarch64.rpm                                                                                                                        343 kB/s |  38 kB     00:00    
(38/51): subscription-manager-rhsm-certificates-1.21.2-3.fc27.aarch64.rpm                                                                                     986 kB/s | 205 kB     00:00    
(39/51): selinux-policy-3.13.1-283.34.fc27.noarch.rpm                                                                                                         1.6 MB/s | 541 kB     00:00    
(40/51): xfsprogs-4.15.1-1.fc27.aarch64.rpm                                                                                                                   1.7 MB/s | 1.1 MB     00:00    
(41/51): checkpolicy-2.7-2.fc27.aarch64.rpm                                                                                                                   1.3 MB/s | 327 kB     00:00    
(42/51): libcgroup-0.41-17.fc27.aarch64.rpm                                                                                                                   514 kB/s |  69 kB     00:00    
(43/51): criu-3.8.1-1.fc27.aarch64.rpm                                                                                                                        1.4 MB/s | 452 kB     00:00    
(44/51): libnet-1.1.6-14.fc27.aarch64.rpm                                                                                                                     585 kB/s |  68 kB     00:00    
(45/51): protobuf-c-1.2.1-7.fc27.aarch64.rpm                                                                                                                  327 kB/s |  34 kB     00:00    
(46/51): oci-systemd-hook-0.1.16-1.git05bd9a0.fc27.aarch64.rpm                                                                                                323 kB/s |  37 kB     00:00    
(47/51): oci-register-machine-0-6.1.git66fa845.fc27.aarch64.rpm                                                                                               1.5 MB/s | 986 kB     00:00    
(48/51): systemd-container-234-8.fc27.aarch64.rpm                                                                                                             1.3 MB/s | 405 kB     00:00    
(49/51): libnl3-3.4.0-1.fc27.aarch64.rpm                                                                                                                      1.2 MB/s | 297 kB     00:00    
(50/51): docker-1.13.1-54.git6c336e4.fc27.aarch64.rpm                                                                                                         1.5 MB/s |  17 MB     00:11    
(51/51): selinux-policy-targeted-3.13.1-283.34.fc27.noarch.rpm                                                                                                2.0 MB/s |  10 MB     00:05    
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                         2.7 MB/s |  45 MB     00:16     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                      1/1 
  Installing       : device-mapper-event-libs-1.02.142-4.fc27.aarch64                                                                                                                    1/51 
  Running scriptlet: device-mapper-event-libs-1.02.142-4.fc27.aarch64                                                                                                                    1/51 
  Installing       : xfsprogs-4.15.1-1.fc27.aarch64                                                                                                                                      2/51 
  Running scriptlet: xfsprogs-4.15.1-1.fc27.aarch64                                                                                                                                      2/51 
  Installing       : yajl-2.1.0-8.fc27.aarch64                                                                                                                                           3/51 
  Running scriptlet: yajl-2.1.0-8.fc27.aarch64                                                                                                                                           3/51 
  Installing       : libselinux-python3-2.7-2.fc27.aarch64                                                                                                                               4/51 
Error unpacking rpm package libselinux-python3-2.7-2.fc27.aarch64
Error unpacking rpm package libselinux-python3-2.7-2.fc27.aarch64
error: unpacking of archive failed on file /usr/lib64/python3.6/site-packages/selinux/__pycache__/__init__.cpython-36.pyc;5b21185d: cpio: open
  Installing       : libselinux-utils-2.7-2.fc27.aarch64                                                                                                                                 5/51 
error: libselinux-python3-2.7-2.fc27.aarch64: install failed
  Installing       : policycoreutils-2.7-1.fc27.aarch64                                                                                                                                  6/51 
  Installing       : selinux-policy-3.13.1-283.34.fc27.noarch                                                                                                                            7/51 
  Running scriptlet: selinux-policy-3.13.1-283.34.fc27.noarch                                                                                                                            7/51 
  Installing       : libnfnetlink-1.0.1-11.fc27.aarch64                                                                                                                                  8/51 
  Running scriptlet: libnfnetlink-1.0.1-11.fc27.aarch64                                                                                                                                  8/51 
  Installing       : parted-3.2-28.fc27.aarch64                                                                                                                                          9/51 
  Running scriptlet: parted-3.2-28.fc27.aarch64                                                                                                                                          9/51 
  Running scriptlet: selinux-policy-targeted-3.13.1-283.34.fc27.noarch                                                                                                                  10/51 
  Installing       : selinux-policy-targeted-3.13.1-283.34.fc27.noarch                                                                                                                  10/51 
  Running scriptlet: selinux-policy-targeted-3.13.1-283.34.fc27.noarch                                                                                                                  10/51 
SELinux:  Could not load policy file /etc/selinux/targeted/policy/policy.31:  Permission denied
load_policy:  Can't load policy:  Permission denied
  Installing       : libsemanage-python3-2.7-1.fc27.aarch64                                                                                                                             11/51 
  Installing       : oci-umount-2:2.3.3-1.gite3c9055.fc27.aarch64                                                                                                                       12/51 
  Installing       : device-mapper-event-1.02.142-4.fc27.aarch64                                                                                                                        13/51 
  Running scriptlet: device-mapper-event-1.02.142-4.fc27.aarch64                                                                                                                        13/51 
Failed to connect to bus: No such file or directory
  Installing       : lvm2-libs-2.02.173-4.fc27.aarch64                                                                                                                                  14/51 
  Running scriptlet: lvm2-libs-2.02.173-4.fc27.aarch64                                                                                                                                  14/51 
  Installing       : libnl3-3.4.0-1.fc27.aarch64                                                                                                                                        15/51 
  Running scriptlet: libnl3-3.4.0-1.fc27.aarch64                                                                                                                                        15/51 
  Installing       : systemd-container-234-8.fc27.aarch64                                                                                                                               16/51 
  Installing       : protobuf-c-1.2.1-7.fc27.aarch64                                                                                                                                    17/51 
  Running scriptlet: protobuf-c-1.2.1-7.fc27.aarch64                                                                                                                                    17/51 
  Installing       : libnet-1.1.6-14.fc27.aarch64                                                                                                                                       18/51 
  Running scriptlet: libnet-1.1.6-14.fc27.aarch64                                                                                                                                       18/51 
  Running scriptlet: libcgroup-0.41-17.fc27.aarch64                                                                                                                                     19/51 
Cannot open audit interface - aborting.
error: %prein(libcgroup-0.41-17.fc27.aarch64) scriptlet failed, exit status 1
Error in PREIN scriptlet in rpm package libcgroup
Error in PREIN scriptlet in rpm package libcgroup
  Installing       : checkpolicy-2.7-2.fc27.aarch64                                                                                                                                     20/51 
error: libcgroup-0.41-17.fc27.aarch64: install failed
  Installing       : subscription-manager-rhsm-certificates-1.21.2-3.fc27.aarch64                                                                                                       21/51 
  Installing       : tcp_wrappers-libs-7.6-87.fc27.aarch64                                                                                                                              22/51 
  Running scriptlet: tcp_wrappers-libs-7.6-87.fc27.aarch64                                                                                                                              22/51 
  Installing       : audit-2.7.8-1.fc27.aarch64                                                                                                                                         23/51 
  Running scriptlet: audit-2.7.8-1.fc27.aarch64                                                                                                                                         23/51 
  Installing       : audit-libs-python3-2.7.8-1.fc27.aarch64                                                                                                                            24/51 
Error unpacking rpm package audit-libs-python3-2.7.8-1.fc27.aarch64
Error unpacking rpm package audit-libs-python3-2.7.8-1.fc27.aarch64
error: unpacking of archive failed on file /usr/lib64/python3.6/site-packages/__pycache__/audit.cpython-36.pyc;5b21185d: cpio: open
  Installing       : setools-python3-4.1.1-3.fc27.aarch64                                                                                                                               25/51 
Error unpacking rpm package setools-python3-4.1.1-3.fc27.aarch64
Error unpacking rpm package setools-python3-4.1.1-3.fc27.aarch64
error: audit-libs-python3-2.7.8-1.fc27.aarch64: install failed
error: unpacking of archive failed on file /usr/lib64/python3.6/site-packages/setools/__pycache__/__init__.cpython-36.pyc;5b21185d: cpio: open
  Installing       : python3-IPy-0.81-20.fc27.noarch                                                                                                                                    26/51 
error: setools-python3-4.1.1-3.fc27.aarch64: install failed
  Installing       : policycoreutils-python3-2.7-1.fc27.aarch64                                                                                                                         27/51 
  Installing       : policycoreutils-python-utils-2.7-1.fc27.aarch64                                                                                                                    28/51 
  Installing       : container-selinux-2:2.61-1.git9b55129.fc27.noarch                                                                                                                  29/51 
  Running scriptlet: container-selinux-2:2.61-1.git9b55129.fc27.noarch                                                                                                                  29/51 
Failed to change boolean virt_use_nfs: No such file or directory
SELinux:  Could not load policy file /etc/selinux/targeted/policy/policy.31:  Permission denied
/usr/sbin/load_policy:  Can't load policy:  Permission denied
  Installing       : kmod-25-1.fc27.aarch64                                                                                                                                             30/51 
  Installing       : libaio-0.3.110-9.fc27.aarch64                                                                                                                                      31/51 
  Running scriptlet: libaio-0.3.110-9.fc27.aarch64                                                                                                                                      31/51 
  Installing       : device-mapper-persistent-data-0.7.5-1.fc27.aarch64                                                                                                                 32/51 
  Installing       : lvm2-2.02.173-4.fc27.aarch64                                                                                                                                       33/51 
  Running scriptlet: lvm2-2.02.173-4.fc27.aarch64                                                                                                                                       33/51 
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
warning: %post(lvm2-2.02.173-4.fc27.aarch64) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package lvm2
Non-fatal POSTIN scriptlet failure in rpm package lvm2
  Installing       : container-storage-setup-0.8.0-2.git1d27ecf.fc27.noarch                                                                                                             34/51 
  Installing       : libmnl-1.0.4-4.fc27.aarch64                                                                                                                                        35/51 
  Running scriptlet: libmnl-1.0.4-4.fc27.aarch64                                                                                                                                        35/51 
  Installing       : libnetfilter_conntrack-1.0.6-4.fc27.aarch64                                                                                                                        36/51 
  Running scriptlet: libnetfilter_conntrack-1.0.6-4.fc27.aarch64                                                                                                                        36/51 
  Installing       : iptables-1.6.1-4.fc27.aarch64                                                                                                                                      37/51 
  Running scriptlet: iptables-1.6.1-4.fc27.aarch64                                                                                                                                      37/51 
  Installing       : libyaml-0.1.7-4.fc27.aarch64                                                                                                                                       38/51 
  Running scriptlet: libyaml-0.1.7-4.fc27.aarch64                                                                                                                                       38/51 
  Installing       : python3-PyYAML-3.12-5.fc27.aarch64                                                                                                                                 39/51 
  Installing       : libusb-1:0.1.5-10.fc27.aarch64                                                                                                                                     40/51 
  Running scriptlet: libusb-1:0.1.5-10.fc27.aarch64                                                                                                                                     40/51 
  Installing       : gnupg-1.4.22-3.fc27.aarch64                                                                                                                                        41/51 
  Running scriptlet: gnupg-1.4.22-3.fc27.aarch64                                                                                                                                        41/51 
  Installing       : python3-pytoml-0.1.14-2.git7dea353.fc27.noarch                                                                                                                     42/51 
  Installing       : atomic-registries-1.22.1-1.fc27.aarch64                                                                                                                            43/51 
Error unpacking rpm package atomic-registries-1.22.1-1.fc27.aarch64
Error unpacking rpm package atomic-registries-1.22.1-1.fc27.aarch64
error: unpacking of archive failed on file /usr/lib/python3.6/site-packages/registries/__pycache__/__init__.cpython-36.pyc;5b21185d: cpio: open
  Installing       : xz-5.2.3-4.fc27.aarch64                                                                                                                                            44/51 
error: atomic-registries-1.22.1-1.fc27.aarch64: install failed
  Installing       : skopeo-containers-0.1.29-1.git7add6fc.fc27.aarch64                                                                                                                 45/51 
  Installing       : docker-rhel-push-plugin-2:1.13.1-54.git6c336e4.fc27.aarch64                                                                                                        46/51 
  Running scriptlet: docker-rhel-push-plugin-2:1.13.1-54.git6c336e4.fc27.aarch64                                                                                                        46/51 
  Installing       : docker-common-2:1.13.1-54.git6c336e4.fc27.aarch64                                                                                                                  47/51 
  Installing       : docker-2:1.13.1-54.git6c336e4.fc27.aarch64                                                                                                                         48/51 
  Running scriptlet: docker-2:1.13.1-54.git6c336e4.fc27.aarch64                                                                                                                         48/51 
  Installing       : criu-3.8.1-1.fc27.aarch64                                                                                                                                          49/51 
  Running scriptlet: criu-3.8.1-1.fc27.aarch64                                                                                                                                          49/51 
  Installing       : oci-register-machine-0-6.1.git66fa845.fc27.aarch64                                                                                                                 50/51 
  Installing       : oci-systemd-hook-1:0.1.16-1.git05bd9a0.fc27.aarch64                                                                                                                51/51 
  Running scriptlet: docker-2:1.13.1-54.git6c336e4.fc27.aarch64                                                                                                                         51/51 
  Running scriptlet: oci-systemd-hook-1:0.1.16-1.git05bd9a0.fc27.aarch64                                                                                                                51/51 
Failed to connect to bus: No such file or directory
  Verifying        : docker-2:1.13.1-54.git6c336e4.fc27.aarch64                                                                                                                          1/51 
atomic-registries-1.22.1-1.fc27.aarch64 was supposed to be installed but is not!
  Verifying        : atomic-registries-1.22.1-1.fc27.aarch64                                                                                                                             2/51 
  Verifying        : docker-common-2:1.13.1-54.git6c336e4.fc27.aarch64                                                                                                                   3/51 
  Verifying        : docker-rhel-push-plugin-2:1.13.1-54.git6c336e4.fc27.aarch64                                                                                                         4/51 
  Verifying        : skopeo-containers-0.1.29-1.git7add6fc.fc27.aarch64                                                                                                                  5/51 
  Verifying        : gnupg-1.4.22-3.fc27.aarch64                                                                                                                                         6/51 
  Verifying        : parted-3.2-28.fc27.aarch64                                                                                                                                          7/51 
  Verifying        : xz-5.2.3-4.fc27.aarch64                                                                                                                                             8/51 
  Verifying        : python3-PyYAML-3.12-5.fc27.aarch64                                                                                                                                  9/51 
  Verifying        : python3-pytoml-0.1.14-2.git7dea353.fc27.noarch                                                                                                                     10/51 
  Verifying        : libusb-1:0.1.5-10.fc27.aarch64                                                                                                                                     11/51 
  Verifying        : libyaml-0.1.7-4.fc27.aarch64                                                                                                                                       12/51 
  Verifying        : lvm2-2.02.173-4.fc27.aarch64                                                                                                                                       13/51 
  Verifying        : lvm2-libs-2.02.173-4.fc27.aarch64                                                                                                                                  14/51 
  Verifying        : device-mapper-event-1.02.142-4.fc27.aarch64                                                                                                                        15/51 
  Verifying        : device-mapper-event-libs-1.02.142-4.fc27.aarch64                                                                                                                   16/51 
  Verifying        : iptables-1.6.1-4.fc27.aarch64                                                                                                                                      17/51 
  Verifying        : libnetfilter_conntrack-1.0.6-4.fc27.aarch64                                                                                                                        18/51 
  Verifying        : libnfnetlink-1.0.1-11.fc27.aarch64                                                                                                                                 19/51 
  Verifying        : libmnl-1.0.4-4.fc27.aarch64                                                                                                                                        20/51 
  Verifying        : device-mapper-persistent-data-0.7.5-1.fc27.aarch64                                                                                                                 21/51 
  Verifying        : libaio-0.3.110-9.fc27.aarch64                                                                                                                                      22/51 
  Verifying        : kmod-25-1.fc27.aarch64                                                                                                                                             23/51 
  Verifying        : container-selinux-2:2.61-1.git9b55129.fc27.noarch                                                                                                                  24/51 
  Verifying        : libselinux-utils-2.7-2.fc27.aarch64                                                                                                                                25/51 
  Verifying        : policycoreutils-2.7-1.fc27.aarch64                                                                                                                                 26/51 
  Verifying        : policycoreutils-python-utils-2.7-1.fc27.aarch64                                                                                                                    27/51 
  Verifying        : policycoreutils-python3-2.7-1.fc27.aarch64                                                                                                                         28/51 
audit-libs-python3-2.7.8-1.fc27.aarch64 was supposed to be installed but is not!
  Verifying        : audit-libs-python3-2.7.8-1.fc27.aarch64                                                                                                                            29/51 
libselinux-python3-2.7-2.fc27.aarch64 was supposed to be installed but is not!
  Verifying        : libselinux-python3-2.7-2.fc27.aarch64                                                                                                                              30/51 
  Verifying        : libsemanage-python3-2.7-1.fc27.aarch64                                                                                                                             31/51 
  Verifying        : python3-IPy-0.81-20.fc27.noarch                                                                                                                                    32/51 
setools-python3-4.1.1-3.fc27.aarch64 was supposed to be installed but is not!
  Verifying        : setools-python3-4.1.1-3.fc27.aarch64                                                                                                                               33/51 
  Verifying        : audit-2.7.8-1.fc27.aarch64                                                                                                                                         34/51 
  Verifying        : tcp_wrappers-libs-7.6-87.fc27.aarch64                                                                                                                              35/51 
  Verifying        : container-storage-setup-0.8.0-2.git1d27ecf.fc27.noarch                                                                                                             36/51 
  Verifying        : oci-umount-2:2.3.3-1.gite3c9055.fc27.aarch64                                                                                                                       37/51 
  Verifying        : yajl-2.1.0-8.fc27.aarch64                                                                                                                                          38/51 
  Verifying        : subscription-manager-rhsm-certificates-1.21.2-3.fc27.aarch64                                                                                                       39/51 
  Verifying        : xfsprogs-4.15.1-1.fc27.aarch64                                                                                                                                     40/51 
  Verifying        : selinux-policy-3.13.1-283.34.fc27.noarch                                                                                                                           41/51 
  Verifying        : selinux-policy-targeted-3.13.1-283.34.fc27.noarch                                                                                                                  42/51 
  Verifying        : checkpolicy-2.7-2.fc27.aarch64                                                                                                                                     43/51 
libcgroup-0.41-17.fc27.aarch64 was supposed to be installed but is not!
  Verifying        : libcgroup-0.41-17.fc27.aarch64                                                                                                                                     44/51 
  Verifying        : criu-3.8.1-1.fc27.aarch64                                                                                                                                          45/51 
  Verifying        : libnet-1.1.6-14.fc27.aarch64                                                                                                                                       46/51 
  Verifying        : protobuf-c-1.2.1-7.fc27.aarch64                                                                                                                                    47/51 
  Verifying        : oci-systemd-hook-1:0.1.16-1.git05bd9a0.fc27.aarch64                                                                                                                48/51 
  Verifying        : oci-register-machine-0-6.1.git66fa845.fc27.aarch64                                                                                                                 49/51 
  Verifying        : systemd-container-234-8.fc27.aarch64                                                                                                                               50/51 
  Verifying        : libnl3-3.4.0-1.fc27.aarch64                                                                                                                                        51/51 

Installed:
  docker.aarch64 2:1.13.1-54.git6c336e4.fc27                       criu.aarch64 3.8.1-1.fc27                                         oci-register-machine.aarch64 0-6.1.git66fa845.fc27     
  oci-systemd-hook.aarch64 1:0.1.16-1.git05bd9a0.fc27              audit.aarch64 2.7.8-1.fc27                                        checkpolicy.aarch64 2.7-2.fc27                         
  container-selinux.noarch 2:2.61-1.git9b55129.fc27                container-storage-setup.noarch 0.8.0-2.git1d27ecf.fc27            device-mapper-event.aarch64 1.02.142-4.fc27            
  device-mapper-event-libs.aarch64 1.02.142-4.fc27                 device-mapper-persistent-data.aarch64 0.7.5-1.fc27                docker-common.aarch64 2:1.13.1-54.git6c336e4.fc27      
  docker-rhel-push-plugin.aarch64 2:1.13.1-54.git6c336e4.fc27      gnupg.aarch64 1.4.22-3.fc27                                       iptables.aarch64 1.6.1-4.fc27                          
  kmod.aarch64 25-1.fc27                                           libaio.aarch64 0.3.110-9.fc27                                     libmnl.aarch64 1.0.4-4.fc27                            
  libnet.aarch64 1.1.6-14.fc27                                     libnetfilter_conntrack.aarch64 1.0.6-4.fc27                       libnfnetlink.aarch64 1.0.1-11.fc27                     
  libnl3.aarch64 3.4.0-1.fc27                                      libselinux-utils.aarch64 2.7-2.fc27                               libsemanage-python3.aarch64 2.7-1.fc27                 
  libusb.aarch64 1:0.1.5-10.fc27                                   libyaml.aarch64 0.1.7-4.fc27                                      lvm2.aarch64 2.02.173-4.fc27                           
  lvm2-libs.aarch64 2.02.173-4.fc27                                oci-umount.aarch64 2:2.3.3-1.gite3c9055.fc27                      parted.aarch64 3.2-28.fc27                             
  policycoreutils.aarch64 2.7-1.fc27                               policycoreutils-python-utils.aarch64 2.7-1.fc27                   policycoreutils-python3.aarch64 2.7-1.fc27             
  protobuf-c.aarch64 1.2.1-7.fc27                                  python3-IPy.noarch 0.81-20.fc27                                   python3-PyYAML.aarch64 3.12-5.fc27                     
  python3-pytoml.noarch 0.1.14-2.git7dea353.fc27                   selinux-policy.noarch 3.13.1-283.34.fc27                          selinux-policy-targeted.noarch 3.13.1-283.34.fc27      
  skopeo-containers.aarch64 0.1.29-1.git7add6fc.fc27               subscription-manager-rhsm-certificates.aarch64 1.21.2-3.fc27      systemd-container.aarch64 234-8.fc27                   
  tcp_wrappers-libs.aarch64 7.6-87.fc27                            xfsprogs.aarch64 4.15.1-1.fc27                                    xz.aarch64 5.2.3-4.fc27                                
  yajl.aarch64 2.1.0-8.fc27                                       

Failed:
  atomic-registries.aarch64 1.22.1-1.fc27 audit-libs-python3.aarch64 2.7.8-1.fc27 libcgroup.aarch64 0.41-17.fc27 libselinux-python3.aarch64 2.7-2.fc27 setools-python3.aarch64 4.1.1-3.fc27

Error: Transaction failed

I am curious as to what might be missing. I imagine it is a massive task to support Docker. Any insight would be very much appreciated.

Remove .anyfed

I can't delete the .anyfed directory, how can I remove it? Specifically the /rootfs inside it..."No Permission" Device is not rooted and I don't want to root it.

No Package Manager?

     Hello!
     Sorry if this has already been answered somewhere, but for the life of me, I can't seem to find it.
     Whenever I try to call yum, in order to install, for example, docker, it returns a yum: command not found. How would I go about installing it, if possible? I installed anyfed itself using the prescribed:

apt update && apt install tar wget -y && export PATH=$PATH && wget https://raw.githubusercontent.com/nmilosev/anyfed/master/anyfed && bash anyfed

Then unset LD_PRELOAD, as I am rooted.
     Thank you kindly for your help on the matter!

Minimal kernel requirement for android phone side

Hello;

Android 6.0 non-root phone is not enough requirement for that readme. We also need at least kernel 3.10 or above version of it. Please fix it.

Source : https://docs.docker.com/engine/installation/binaries/

""""
A 3.10 Linux kernel is the minimum requirement for Docker. Kernels older than 3.10 lack some of the features required to run Docker containers. These older versions are known to have bugs which cause data loss and frequently panic under certain conditions.
""""

Running graphical applications?

Hello.
I'd like to run firefox into anyfed system. If I install it and I run it, I get a "Error: GDK_BACKEND does not match available displays" . So I do export DISPLAY=:0.0 and then I get this error:

Gtk-Message: Failed to load module "pk-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "pk-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
process 2886: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/etc/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
D-Bus not built with -rdynamic so unable to print a backtrace
Redirecting call to abort() to mozalloc_abort
Segmentation fault (core dumped)

So it seems it's not so easy

So I've though an alternative: I've thought installing a ssh server in anyfed system woud do the trick if I connect to it with "ssh -X " command, but I see host system and anyfed system share the same IP, so, how could I connect to anyfed system from host system?

Thanks!

cannot install gcc (and few other packages)

The installation of gcc and several other packages in termux (on a Lenovo Tab2 A10-70F, non-rooted) fails. The message is:

Error unpacking rpm package gcc-7.2.1-2.f27.aarch64
Error unpacking rpm package gcc-7.2.1-2.f27.aarch64
error: unpacking of archive failed on file /usr/bin/aarch64-redhat-linux-gcc-7;5a6648c0: cpio: link
gcc-7.2.1-2.fc27.aarch64 was supposed to be installed but it is not!

Similar problems occur with termux-fedora.sh and Fedora 26.

On the same termux there was no such problem with package installations in an Ubuntu container.

404 Error trying to download image

Using path: /data/data/com.termux/files/home/.anyfed
Download started...
--2018-08-28 17:02:18--  https://dl.fedoraproject.org/pub/fedora/linux/releases/28/Container/armhfp/images/Fedora-Container-Base-28-1.1.armhfp.tar.xz
Resolving dl.fedoraproject.org... 209.132.181.24, 209.132.181.23, 209.132.181.25
Connecting to dl.fedoraproject.org|209.132.181.24|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-08-28 17:02:22 ERROR 404: Not Found.

Download finished!
Extracting started...
tar: *.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
rm: cannot remove '*.tar.xz': No such file or directory
tar: ../*/layer.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
rm: cannot remove '../*/layer.tar': No such file or directory
anyfed: line 97: /data/data/com.termux/files/home/.anyfed/rootfs/etc/resolv.conf: No such file or directory
Extracting finished!

It seems like it is failing to find the image on fedora url.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.