maurerr / Entware-backports

Entware-backports
GNU General Public License v2.0
8 stars 2 forks source link

opkg feeds work but some packages don't download+install successfully #2

Closed davygravy closed 5 years ago

davygravy commented 5 years ago

Hi @maurerr ,

These may just be issues of refreshing the Packages.gz file, or having it in the correct path. Tp the best of my knowledge and testing, all packages are present and functioning as designed.

I made sure to use your exact (copy and paste) sed commands to change the entware-ng feed to entware-backports. I'm pretty sure that is not the problem, since so many packages install just fine.

A. While most packages are downloading and installing, a few seem to be not installing when I use a standard opkg update && opkg install <package-name>.

- hplip-full [ same error code: wget returned 3  ]
- sane-libs [ same error code ]
- python-codecs_2.7.15-5_mipselsf.ipk  [ same error code ]

Is it possible that there are **2 different Package.gz files on the directory**, and we are seeing the wrong one?  I haven't used those scripts that generate and regenerate the ipkg index files in several years... so I can't remember the operands and syntax....

B.  Your backup feed seems to not have a Packages.gz file available where it is looking for it.

root@ShareMaxN300:/opt/etc# opkg update Downloading http://pkg.entware.net/binaries/mipsel/Packages.gz Updated list of available packages in /opt/var/opkg-lists/entware-ng Downloading http://maurerr.github.io/packages/Packages.gz *** Failed to download the package list from http://maurerr.github.io/packages/Packages.gz

Collected errors:

davygravy commented 5 years ago

Afterthoughts:

  1. Could this be a problem with a file size limitation and the hoster of the feed? Do install correctly:
    • redis | 1706KB
    • rar2fs | 50KB
    • shellinabox | 123KB
    • valgrind | 1667KB
    • vim | 408KB
    • vim-full | 1021KB

      Fail to install:

    • cups | 7913KB
    • rclone_1.46-1_mipselsf.ipk | 12452KB
    • sane-libs_1.0.27-2_mipselsf.ipk | 4391KB
    • crawl | 5661KB
    • shell2http | 3256KB
    • vim-help |

  1. What details does the error code wget returned 3 signify? The following are from the mainline wget, not the busybox app:
    
    Wget may return one of several error codes if it encounters problems.

0 No problems occurred.

1 Generic error code.

2 Parse error—for instance, when parsing command-line options, the ‘.wgetrc’ or ‘.netrc’...

3 File I/O error.

4 Network failure.

5 SSL verification failure.


So I don't think they apply.
davygravy commented 5 years ago

Found the problem, it is a size limitation, but only existing in /tmp/ on my router.

opkg install -t /opt/tmp <package-name-1> <package-name-2> fixes the problem.