New package: Entware-ng

Marvell Kirkwood based
Post Reply
Mijzelf
Posts: 6205
Joined: Mon Jun 16, 2008 10:45 am

Re: New package: Entware-ng

Post by Mijzelf » Sun Mar 26, 2017 8:08 pm

The file I meant is ZYPKG_INFO.tgz.log. It contains the log of the collection of ZYPKG_INFO.tgz or ZYPKG files from different sources, and the generation of a new, all containing ZYPKG_INFO.tgz.

The file zypkg.log contains the log of the latest package you installed through MR. This one seems to be funny, it shouldn't contain a request for ZYPKG_INFO.tgz, as that should be offloaded to the repository merger.

pitcritter
Posts: 103
Joined: Tue Oct 08, 2013 12:51 am

Re: New package: Entware-ng

Post by pitcritter » Sun Mar 26, 2017 8:24 pm

Here you go:

/i-data/2378ff60/admin/zy-pkgs/MetaRepository # cat ZYPKG_INFO.tgz.log
HandleZYPKG_INFO /NSA325/4.80/zypkg
FindApp md5sum found /sbin/md5sum
ReadConfig Repositories
Start of block
ftp://ftp2.zyxel.com/+ ZyXEL
http://downloads.zyxel.nas-central.org/ ... ypkg-repo/ Mijzelf
/i-data/md0/admin/MyRepo/ Local
End of block
9 start: 13:00:01
7 start: 13:00:01
8 start: 13:00:01
8: FetchZYPKG_INFO http://downloads.zyxel.nas-central.org/ ... ypkg-repo/ 8
7: FetchZYPKG_INFO /i-data/md0/admin/MyRepo/ 7
9: FetchZYPKG_INFO ftp://ftp2.zyxel.com/NSA325/4.80/zypkg/ 9
8: FindApp curl found /usr/bin/curl
7: FindApp curl found /usr/bin/curl
9: FindApp curl found /usr/bin/curl
7: Fetch /i-data/md0/admin/MyRepo/ZYPKG_INFO.tgz /i-data/md0/admin/zy-pkgs/MetaRepository/_i-data_md0_admin_MyRepo_.tmp failed
7: Fetch /i-data/md0/admin/MyRepo/ZYPKGS /i-data/md0/admin/zy-pkgs/MetaRepository/_i-data_md0_admin_MyRepo_.tmp failed
7: Failed
7 stop: 13:00:02
8: Fetch http://downloads.zyxel.nas-central.org/ ... G_INFO.tgz /i-data/md0/admin/zy-pkgs/MetaRepository/http___downloads.zyxel.nas-central.org_Users_Mijzelf_zypkg-repo_.tmp failed
8: Fetch http://downloads.zyxel.nas-central.org/ ... epo/ZYPKGS /i-data/md0/admin/zy-pkgs/MetaRepository/http___downloads.zyxel.nas-central.org_Users_Mijzelf_zypkg-repo_.tmp succeeded
8 stop: 13:00:02
9: Fetch ftp://ftp2.zyxel.com/NSA325/4.80/zypkg/ZYPKG_INFO.tgz /i-data/md0/admin/zy-pkgs/MetaRepository/ftp___ftp2.zyxel.com_NSA325_4.80_zypkg_.tmp succeeded
9 stop: 13:00:03
Nothing changed
TarHeader
FindApp curl found /usr/bin/curl
Fetch /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325/4.80/zypkg/ZYPKG_INFO.tgz - succeeded
/i-data/2378ff60/admin/zy-pkgs/MetaRepository #


Does that help at all?

Mijzelf
Posts: 6205
Joined: Mon Jun 16, 2008 10:45 am

Re: New package: Entware-ng

Post by Mijzelf » Sun Mar 26, 2017 8:33 pm

Does that help at all?
Yes. Here is the problem:

Code: Select all

Nothing changed
For some reason the system is out of sync. It keeps an md5sum of all downloaded ZYPKG_INFO.tgz or ZYPKG files, and if the md5sum still fits, it doesn't re-create the merged file.

So delete all .md5 files, and retry.

pitcritter
Posts: 103
Joined: Tue Oct 08, 2013 12:51 am

Re: New package: Entware-ng

Post by pitcritter » Sun Mar 26, 2017 8:46 pm

I deleted all md5 files from the MetaRepository folder.

The package list did not change at all...only Zyxel packages.

Here's (part of) the result...

8: mv: can't rename 'Pulse_0.12.4_arm_04.zpkg': No such file or directory
8: mv: can't rename 'CalibreCOPS_1.0.1_arm_005.zpkg': No such file or directory
8: mv: can't rename 'Darkstat_3.0.719_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Entware-ng_20160131_arm_005.zpkg': No such file or directory
8: mv: can't rename 'PlexMediaServer_20161213_arm_003.zpkg': No such file or directory
8: mv: can't rename 'ffp_0.7_arm_004.zpkg': No such file or directory
8: mv: can't rename 'btsync_1.4.110_arm_007.zpkg': No such file or directory
8: mv: can't rename 'anyterm_9652_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MetaRepository_20160513_arm_013.zpkg': No such file or directory
8: mv: can't rename 'Dropbear_2014.63_arm_002.zpkg': No such file or directory
8: mv: can't rename 'MidnightCommander_4.6.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'Tweaks_20161216_arm_028.zpkg': No such file or directory
8: mv: can't rename 'RandomTools_20170204_arm_011.zpkg': No such file or directory
8: mv: can't rename 'EncryptedShares_20140603_arm_001.zpkg': No such file or directory
8: mv: can't rename 'exFAT_1.0.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MuninLite_1.0.4_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Pulse_0.12.4_arm_04.zpkg': No such file or directory
8: mv: can't rename 'CalibreCOPS_1.0.1_arm_005.zpkg': No such file or directory
8: mv: can't rename 'Darkstat_3.0.719_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Entware-ng_20160131_arm_005.zpkg': No such file or directory
8: mv: can't rename 'PlexMediaServer_20161213_arm_003.zpkg': No such file or directory
8: mv: can't rename 'ffp_0.7_arm_004.zpkg': No such file or directory
8: mv: can't rename 'btsync_1.4.110_arm_007.zpkg': No such file or directory
8: mv: can't rename 'anyterm_9652_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MetaRepository_20160513_arm_013.zpkg': No such file or directory
8: mv: can't rename 'Dropbear_2014.63_arm_002.zpkg': No such file or directory
8: mv: can't rename 'MidnightCommander_4.6.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'Tweaks_20161216_arm_028.zpkg': No such file or directory
8: mv: can't rename 'RandomTools_20170204_arm_011.zpkg': No such file or directory
8: mv: can't rename 'EncryptedShares_20140603_arm_001.zpkg': No such file or directory
8: mv: can't rename 'exFAT_1.0.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MuninLite_1.0.4_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Pulse_0.12.4_arm_04.zpkg': No such file or directory
8: mv: can't rename 'CalibreCOPS_1.0.1_arm_005.zpkg': No such file or directory
8: mv: can't rename 'Darkstat_3.0.719_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Entware-ng_20160131_arm_005.zpkg': No such file or directory
8: mv: can't rename 'PlexMediaServer_20161213_arm_003.zpkg': No such file or directory
8: mv: can't rename 'ffp_0.7_arm_004.zpkg': No such file or directory
8: mv: can't rename 'btsync_1.4.110_arm_007.zpkg': No such file or directory
8: mv: can't rename 'anyterm_9652_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MetaRepository_20160513_arm_013.zpkg': No such file or directory
8: mv: can't rename 'Dropbear_2014.63_arm_002.zpkg': No such file or directory
8: mv: can't rename 'MidnightCommander_4.6.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'Tweaks_20161216_arm_028.zpkg': No such file or directory
8: mv: can't rename 'RandomTools_20170204_arm_011.zpkg': No such file or directory
8: mv: can't rename 'EncryptedShares_20140603_arm_001.zpkg': No such file or directory
8: mv: can't rename 'exFAT_1.0.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MuninLite_1.0.4_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Pulse_0.12.4_arm_04.zpkg': No such file or directory
8: mv: can't rename 'CalibreCOPS_1.0.1_arm_005.zpkg': No such file or directory
8: mv: can't rename 'Darkstat_3.0.719_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Entware-ng_20160131_arm_005.zpkg': No such file or directory
8: mv: can't rename 'PlexMediaServer_20161213_arm_003.zpkg': No such file or directory
8: mv: can't rename 'ffp_0.7_arm_004.zpkg': No such file or directory
8: mv: can't rename 'btsync_1.4.110_arm_007.zpkg': No such file or directory
8: mv: can't rename 'anyterm_9652_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MetaRepository_20160513_arm_013.zpkg': No such file or directory
8: mv: can't rename 'Dropbear_2014.63_arm_002.zpkg': No such file or directory
8: mv: can't rename 'MidnightCommander_4.6.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'Tweaks_20161216_arm_028.zpkg': No such file or directory
8: mv: can't rename 'RandomTools_20170204_arm_011.zpkg': No such file or directory
8: mv: can't rename 'EncryptedShares_20140603_arm_001.zpkg': No such file or directory
8: mv: can't rename 'exFAT_1.0.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MuninLite_1.0.4_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Pulse_0.12.4_arm_04.zpkg': No such file or directory
8: mv: can't rename 'CalibreCOPS_1.0.1_arm_005.zpkg': No such file or directory
8: mv: can't rename 'Darkstat_3.0.719_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Entware-ng_20160131_arm_005.zpkg': No such file or directory
8: mv: can't rename 'PlexMediaServer_20161213_arm_003.zpkg': No such file or directory
8: mv: can't rename 'ffp_0.7_arm_004.zpkg': No such file or directory
8: mv: can't rename 'btsync_1.4.110_arm_007.zpkg': No such file or directory
8: mv: can't rename 'anyterm_9652_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MetaRepository_20160513_arm_013.zpkg': No such file or directory
8: mv: can't rename 'Dropbear_2014.63_arm_002.zpkg': No such file or directory
8: mv: can't rename 'MidnightCommander_4.6.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'Tweaks_20161216_arm_028.zpkg': No such file or directory
8: mv: can't rename 'RandomTools_20170204_arm_011.zpkg': No such file or directory
8: mv: can't rename 'EncryptedShares_20140603_arm_001.zpkg': No such file or directory
8: mv: can't rename 'exFAT_1.0.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MuninLite_1.0.4_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Pulse_0.12.4_arm_04.zpkg': No such file or directory
8: mv: can't rename 'CalibreCOPS_1.0.1_arm_005.zpkg': No such file or directory
8: mv: can't rename 'Darkstat_3.0.719_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Entware-ng_20160131_arm_005.zpkg': No such file or directory
8: mv: can't rename 'PlexMediaServer_20161213_arm_003.zpkg': No such file or directory
8: mv: can't rename 'ffp_0.7_arm_004.zpkg': No such file or directory
8: mv: can't rename 'btsync_1.4.110_arm_007.zpkg': No such file or directory
8: mv: can't rename 'anyterm_9652_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MetaRepository_20160513_arm_013.zpkg': No such file or directory
8: mv: can't rename 'Dropbear_2014.63_arm_002.zpkg': No such file or directory
8: mv: can't rename 'MidnightCommander_4.6.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'Tweaks_20161216_arm_028.zpkg': No such file or directory
8: mv: can't rename 'RandomTools_20170204_arm_011.zpkg': No such file or directory
8: mv: can't rename 'EncryptedShares_20140603_arm_001.zpkg': No such file or directory
8: mv: can't rename 'exFAT_1.0.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MuninLite_1.0.4_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Pulse_0.12.4_arm_04.zpkg': No such file or directory
8: mv: can't rename 'CalibreCOPS_1.0.1_arm_005.zpkg': No such file or directory
8: mv: can't rename 'Darkstat_3.0.719_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Entware-ng_20160131_arm_005.zpkg': No such file or directory
8: mv: can't rename 'PlexMediaServer_20161213_arm_003.zpkg': No such file or directory
8: mv: can't rename 'ffp_0.7_arm_004.zpkg': No such file or directory
8: mv: can't rename 'btsync_1.4.110_arm_007.zpkg': No such file or directory
8: mv: can't rename 'anyterm_9652_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MetaRepository_20160513_arm_013.zpkg': No such file or directory
8: mv: can't rename 'Dropbear_2014.63_arm_002.zpkg': No such file or directory
8: mv: can't rename 'MidnightCommander_4.6.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'Tweaks_20161216_arm_028.zpkg': No such file or directory
8: mv: can't rename 'RandomTools_20170204_arm_011.zpkg': No such file or directory
8: mv: can't rename 'EncryptedShares_20140603_arm_001.zpkg': No such file or directory
8: mv: can't rename 'exFAT_1.0.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MuninLite_1.0.4_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Pulse_0.12.4_arm_04.zpkg': No such file or directory
8: mv: can't rename 'CalibreCOPS_1.0.1_arm_005.zpkg': No such file or directory
8: mv: can't rename 'Darkstat_3.0.719_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Entware-ng_20160131_arm_005.zpkg': No such file or directory
8: mv: can't rename 'PlexMediaServer_20161213_arm_003.zpkg': No such file or directory
8: mv: can't rename 'ffp_0.7_arm_004.zpkg': No such file or directory
8: mv: can't rename 'btsync_1.4.110_arm_007.zpkg': No such file or directory
8: mv: can't rename 'anyterm_9652_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MetaRepository_20160513_arm_013.zpkg': No such file or directory
8: mv: can't rename 'Dropbear_2014.63_arm_002.zpkg': No such file or directory
8: mv: can't rename 'MidnightCommander_4.6.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'Tweaks_20161216_arm_028.zpkg': No such file or directory
8: mv: can't rename 'RandomTools_20170204_arm_011.zpkg': No such file or directory
8: mv: can't rename 'EncryptedShares_20140603_arm_001.zpkg': No such file or directory
8: mv: can't rename 'exFAT_1.0.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MuninLite_1.0.4_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Pulse_0.12.4_arm_04.zpkg': No such file or directory
8: mv: can't rename 'CalibreCOPS_1.0.1_arm_005.zpkg': No such file or directory
8: mv: can't rename 'Darkstat_3.0.719_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Entware-ng_20160131_arm_005.zpkg': No such file or directory
8: mv: can't rename 'PlexMediaServer_20161213_arm_003.zpkg': No such file or directory
8: mv: can't rename 'ffp_0.7_arm_004.zpkg': No such file or directory
8: mv: can't rename 'btsync_1.4.110_arm_007.zpkg': No such file or directory
8: mv: can't rename 'anyterm_9652_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MetaRepository_20160513_arm_013.zpkg': No such file or directory
8: mv: can't rename 'Dropbear_2014.63_arm_002.zpkg': No such file or directory
8: mv: can't rename 'MidnightCommander_4.6.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'Tweaks_20161216_arm_028.zpkg': No such file or directory
8: mv: can't rename 'RandomTools_20170204_arm_011.zpkg': No such file or directory
8: mv: can't rename 'EncryptedShares_20140603_arm_001.zpkg': No such file or directory
8: mv: can't rename 'exFAT_1.0.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MuninLite_1.0.4_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Pulse_0.12.4_arm_04.zpkg': No such file or directory
8: mv: can't rename 'CalibreCOPS_1.0.1_arm_005.zpkg': No such file or directory
8: mv: can't rename 'Darkstat_3.0.719_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Entware-ng_20160131_arm_005.zpkg': No such file or directory
8: mv: can't rename 'PlexMediaServer_20161213_arm_003.zpkg': No such file or directory
8: mv: can't rename 'ffp_0.7_arm_004.zpkg': No such file or directory
8: mv: can't rename 'btsync_1.4.110_arm_007.zpkg': No such file or directory
8: mv: can't rename 'anyterm_9652_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MetaRepository_20160513_arm_013.zpkg': No such file or directory
8: mv: can't rename 'Dropbear_2014.63_arm_002.zpkg': No such file or directory
8: mv: can't rename 'MidnightCommander_4.6.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'Tweaks_20161216_arm_028.zpkg': No such file or directory
8: mv: can't rename 'RandomTools_20170204_arm_011.zpkg': No such file or directory
8: mv: can't rename 'EncryptedShares_20140603_arm_001.zpkg': No such file or directory
8: mv: can't rename 'exFAT_1.0.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MuninLite_1.0.4_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Pulse_0.12.4_arm_04.zpkg': No such file or directory
8: mv: can't rename 'CalibreCOPS_1.0.1_arm_005.zpkg': No such file or directory
8: mv: can't rename 'Darkstat_3.0.719_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Entware-ng_20160131_arm_005.zpkg': No such file or directory
8: mv: can't rename 'PlexMediaServer_20161213_arm_003.zpkg': No such file or directory
8: mv: can't rename 'ffp_0.7_arm_004.zpkg': No such file or directory
8: mv: can't rename 'btsync_1.4.110_arm_007.zpkg': No such file or directory
8: mv: can't rename 'anyterm_9652_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MetaRepository_20160513_arm_013.zpkg': No such file or directory
8: mv: can't rename 'Dropbear_2014.63_arm_002.zpkg': No such file or directory
8: mv: can't rename 'MidnightCommander_4.6.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'Tweaks_20161216_arm_028.zpkg': No such file or directory
8: mv: can't rename 'RandomTools_20170204_arm_011.zpkg': No such file or directory
8: mv: can't rename 'EncryptedShares_20140603_arm_001.zpkg': No such file or directory
8: mv: can't rename 'exFAT_1.0.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MuninLite_1.0.4_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Pulse_0.12.4_arm_04.zpkg': No such file or directory
8: mv: can't rename 'CalibreCOPS_1.0.1_arm_005.zpkg': No such file or directory
8: mv: can't rename 'Darkstat_3.0.719_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Entware-ng_20160131_arm_005.zpkg': No such file or directory
8: mv: can't rename 'PlexMediaServer_20161213_arm_003.zpkg': No such file or directory
8: mv: can't rename 'ffp_0.7_arm_004.zpkg': No such file or directory
8: mv: can't rename 'btsync_1.4.110_arm_007.zpkg': No such file or directory
8: mv: can't rename 'anyterm_9652_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MetaRepository_20160513_arm_013.zpkg': No such file or directory
8: mv: can't rename 'Dropbear_2014.63_arm_002.zpkg': No such file or directory
8: mv: can't rename 'MidnightCommander_4.6.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'Tweaks_20161216_arm_028.zpkg': No such file or directory
8: mv: can't rename 'RandomTools_20170204_arm_011.zpkg': No such file or directory
8: mv: can't rename 'EncryptedShares_20140603_arm_001.zpkg': No such file or directory
8: mv: can't rename 'exFAT_1.0.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MuninLite_1.0.4_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Pulse_0.12.4_arm_04.zpkg': No such file or directory
8: mv: can't rename 'CalibreCOPS_1.0.1_arm_005.zpkg': No such file or directory
8: mv: can't rename 'Darkstat_3.0.719_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Entware-ng_20160131_arm_005.zpkg': No such file or directory
8: mv: can't rename 'PlexMediaServer_20161213_arm_003.zpkg': No such file or directory
8: mv: can't rename 'ffp_0.7_arm_004.zpkg': No such file or directory
8: mv: can't rename 'btsync_1.4.110_arm_007.zpkg': No such file or directory
8: mv: can't rename 'anyterm_9652_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MetaRepository_20160513_arm_013.zpkg': No such file or directory
8: mv: can't rename 'Dropbear_2014.63_arm_002.zpkg': No such file or directory
8: mv: can't rename 'MidnightCommander_4.6.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'Tweaks_20161216_arm_028.zpkg': No such file or directory
8: mv: can't rename 'RandomTools_20170204_arm_011.zpkg': No such file or directory
8: mv: can't rename 'EncryptedShares_20140603_arm_001.zpkg': No such file or directory
8: mv: can't rename 'exFAT_1.0.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MuninLite_1.0.4_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Pulse_0.12.4_arm_04.zpkg': No such file or directory
8: mv: can't rename 'CalibreCOPS_1.0.1_arm_005.zpkg': No such file or directory
8: mv: can't rename 'Darkstat_3.0.719_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Entware-ng_20160131_arm_005.zpkg': No such file or directory
8: mv: can't rename 'PlexMediaServer_20161213_arm_003.zpkg': No such file or directory
8: mv: can't rename 'ffp_0.7_arm_004.zpkg': No such file or directory
8: mv: can't rename 'btsync_1.4.110_arm_007.zpkg': No such file or directory
8: mv: can't rename 'anyterm_9652_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MetaRepository_20160513_arm_013.zpkg': No such file or directory
8: mv: can't rename 'Dropbear_2014.63_arm_002.zpkg': No such file or directory
8: mv: can't rename 'MidnightCommander_4.6.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'Tweaks_20161216_arm_028.zpkg': No such file or directory
8: mv: can't rename 'RandomTools_20170204_arm_011.zpkg': No such file or directory
8: mv: can't rename 'EncryptedShares_20140603_arm_001.zpkg': No such file or directory
8: mv: can't rename 'exFAT_1.0.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MuninLite_1.0.4_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Pulse_0.12.4_arm_04.zpkg': No such file or directory
8: mv: can't rename 'CalibreCOPS_1.0.1_arm_005.zpkg': No such file or directory
8: mv: can't rename 'Darkstat_3.0.719_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Entware-ng_20160131_arm_005.zpkg': No such file or directory
8: mv: can't rename 'PlexMediaServer_20161213_arm_003.zpkg': No such file or directory
8: mv: can't rename 'ffp_0.7_arm_004.zpkg': No such file or directory
8: mv: can't rename 'btsync_1.4.110_arm_007.zpkg': No such file or directory
8: mv: can't rename 'anyterm_9652_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MetaRepository_20160513_arm_013.zpkg': No such file or directory
8: mv: can't rename 'Dropbear_2014.63_arm_002.zpkg': No such file or directory
8: mv: can't rename 'MidnightCommander_4.6.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'Tweaks_20161216_arm_028.zpkg': No such file or directory
8: mv: can't rename 'RandomTools_20170204_arm_011.zpkg': No such file or directory
8: mv: can't rename 'EncryptedShares_20140603_arm_001.zpkg': No such file or directory
8: mv: can't rename 'exFAT_1.0.1_arm_001.zpkg': No such file or directory
8: mv: can't rename 'MuninLite_1.0.4_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Pulse_0.12.4_arm_04.zpkg': No such file or directory
8: mv: can't rename 'CalibreCOPS_1.0.1_arm_005.zpkg': No such file or directory
8: mv: can't rename 'Darkstat_3.0.719_arm_003.zpkg': No such file or directory
8: mv: can't rename 'Entware-ng_20160131_arm_005.zpkg': No such file or directory
8 stop: 16:38:39
Pushlist...
ReadConfig Pushlist
Blacklist...
ReadConfig Blacklist
Start of block
YouNameIt
End of block
/bin/sed -i s/^YouNameIt/#YouNameIt/I /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325/4.80/zypkg/List.29315
Sort...
Choose packages...
cat: can't open '/i-data/md0/admin/zy-pkgs/MetaRepository/btsync': No such file or directory
cat: can't open '/i-data/md0/admin/zy-pkgs/MetaRepository.url': No such file or directory
Choose DEPS...
Create ZYPKG_INFO.tgz
TarHeader
FindApp curl found /usr/bin/curl
Fetch /i-data/md0/admin/zy-pkgs/MetaRepository/NSA325/4.80/zypkg/ZYPKG_INFO.tgz - failed


I'm not against starting from scratch if this is too much work to repair. Can I safely delete everything from the zy-pkgs folder and start again?

Mijzelf
Posts: 6205
Joined: Mon Jun 16, 2008 10:45 am

Re: New package: Entware-ng

Post by Mijzelf » Sun Mar 26, 2017 9:07 pm

The package list did not change at all...only Zyxel packages.
The last line shows that no merged ZYPKG_INFO.tgz was created, so the firmware just keeps it's last succeeded ZYPKGS download.

That log is strange, it shouldn't look like that. I think the internal MR database is seriously damaged. Fortunately you can simply delete it, and force MR to start from scratch. Just delete the whole contents of \\NAS\admin\MetaRepository\
Can I safely delete everything from the zy-pkgs folder and start again?
Yes. If you don't uninstall MR, it should just create a new MetaRepository subdirectory on reboot.

pitcritter
Posts: 103
Joined: Tue Oct 08, 2013 12:51 am

Re: New package: Entware-ng

Post by pitcritter » Sun Mar 26, 2017 10:02 pm

Entware is back up and running.

Thanks Mitjzelf!

xone
Posts: 2
Joined: Fri Apr 14, 2017 6:06 pm

Re: New package: Entware-ng

Post by xone » Fri Apr 14, 2017 6:23 pm

Just found this topic and it looks promising for my NSA310.
Till now I'm on ffp and it's working well but as topic says lots of packages and updates causes interest in the subject.
I know basics (maybe a bit more than the basics) of linux usage but I can't manage how to make few things with Entware-ng.
I've configured dropbear as ssh server so I have shell access.
How to set bash as login shell (busybox is annoying)?
How can I change /root default folder to for example /opt/home/root and place there some rc that will survive reboot?
Thanks in advanced.

Best regards, xONE

Mijzelf
Posts: 6205
Joined: Mon Jun 16, 2008 10:45 am

Re: New package: Entware-ng

Post by Mijzelf » Sat Apr 15, 2017 10:24 am

xone wrote:How to set bash as login shell?
The login shell is the firmware login shell. If you installed Entware-ng using one of my scripts the Entware environment is injected through /opt/etc/profile.d/* (which is injected by /opt/etc/init.d/S99ProfileHook in /etc/profile).
The shell is specified in /etc/passwd, and is /bin/sh. So you have 2 options, change /etc/passwd or change /bin/sh (a symlink).
Simply changing the symlink to bash might break firmware, as all internal scripts also use /bin/sh. A work-around might be to change /bin/sh to a script which exec's bash or busybox, depending on caller. That could be

Code: Select all

#!/bin/busybox sh

[ -t 1 ] && exec /opt/bin/bash "$@"

exec /bin/busybox sh "$@"
This checks if stdout is a console, and exec's bash if that's true.

Both options have the problem that both /etc and /bin are inside the initramfs, and so it's volatile. The changes have to be made on each boot. You can add a startscript to /opt/etc/init.d/ for that.
How can I change /root default folder to for example /opt/home/root
By changing /etc/passwd. The package 'Tweaks' has an option for that.

And by the way, it's a bad habit to use root as default login.

xone
Posts: 2
Joined: Fri Apr 14, 2017 6:06 pm

Re: New package: Entware-ng

Post by xone » Wed Apr 19, 2017 5:04 pm

Mijzelf wrote:
xone wrote:How to set bash as login shell?
The login shell is the firmware login shell. If you installed Entware-ng using one of my scripts the Entware environment is injected through /opt/etc/profile.d/* (which is injected by /opt/etc/init.d/S99ProfileHook in /etc/profile).
The shell is specified in /etc/passwd, and is /bin/sh. So you have 2 options, change /etc/passwd or change /bin/sh (a symlink).
Simply changing the symlink to bash might break firmware, as all internal scripts also use /bin/sh. A work-around might be to change /bin/sh to a script which exec's bash or busybox, depending on caller. That could be

Code: Select all

#!/bin/busybox sh

[ -t 1 ] && exec /opt/bin/bash "$@"

exec /bin/busybox sh "$@"
This checks if stdout is a console, and exec's bash if that's true.

Both options have the problem that both /etc and /bin are inside the initramfs, and so it's volatile. The changes have to be made on each boot. You can add a startscript to /opt/etc/init.d/ for that.
How can I change /root default folder to for example /opt/home/root
By changing /etc/passwd. The package 'Tweaks' has an option for that.

And by the way, it's a bad habit to use root as default login.
Thank you for showing me the way.
I'll make init.d script to modify passwd. :)

Best regards, xONE

dobosz23
Posts: 9
Joined: Sun Dec 17, 2017 3:47 pm

Re: New package: Entware-ng

Post by dobosz23 » Sun Dec 17, 2017 5:08 pm

Hello,

Thanks Mijzelf for Entware-ng.

I had a small problem with the installation from ZYPG, because the Java folder and Jdownloader2 folder were placed in /ffp/opt/ - i think should there be information that this folder should be empty before installation.

I use infrareddude this post viewtopic.php?f=249&t=18281&start=15#p102807 and have working Entware-ng - thanks infrareddude.

KoGi
Posts: 5
Joined: Tue Dec 02, 2014 2:32 pm

Re: New package: Entware-ng

Post by KoGi » Wed Jan 03, 2018 11:36 am

Hello,
I've been using ffp on my NSA325v2 for quite some time now, and running mainly Plex and JDownloader2 (with headless Java).
If I uninstall FFP and use Entware-ng, will both Plex and JD2 be installed like before with the same methods?
Or some adaptations will be needed (for Java maybe) ??

Mijzelf
Posts: 6205
Joined: Mon Jun 16, 2008 10:45 am

Re: New package: Entware-ng

Post by Mijzelf » Wed Jan 03, 2018 6:07 pm

Both Plex and Java have nothing to do with either FFP or Entware-ng. So FFP or Entware-ng are only used as 'bootloader'. The installation is comparable, but not identical.

For Plex I have written an FFP installer, I didn't do the same for Entware-ng, as I meanwhile have written an Plex installer zypkg. Problem is that Plex has dropped all Armv5 support, and don't offer the packages for download anymore. So if you don't have a Plex file anymore, you can't install it.

KoGi
Posts: 5
Joined: Tue Dec 02, 2014 2:32 pm

Re: New package: Entware-ng

Post by KoGi » Thu Jan 04, 2018 7:31 am

Mijzelf wrote:Both Plex and Java have nothing to do with either FFP or Entware-ng. So FFP or Entware-ng are only used as 'bootloader'. The installation is comparable, but not identical.

For Plex I have written an FFP installer, I didn't do the same for Entware-ng, as I meanwhile have written an Plex installer zypkg. Problem is that Plex has dropped all Armv5 support, and don't offer the packages for download anymore. So if you don't have a Plex file anymore, you can't install it.
Hi Mijzelf,
I thought there were dependencies, since the installation instructions mentioned ffp as a requirement and used /ffp folder..
I have seen the plex package in the package list, but what version will it install?
I do have the bin file of the last version that supported ARMv5. It's better to do it manually?
Thanks for the help!

Mijzelf
Posts: 6205
Joined: Mon Jun 16, 2008 10:45 am

Re: New package: Entware-ng

Post by Mijzelf » Thu Jan 04, 2018 7:19 pm

KoGi wrote:I have seen the plex package in the package list, but what version will it install?
The version that you upload. The package is only a webinterface which allows you to upload a bin file. (And it gives a download link, but that doesn't work anymore)
It's better to do it manually?
It doesn't matter. Plex is not dependent on anything, it only needs an install and start script. Both the ffp package and the zypkg offer that.

KoGi
Posts: 5
Joined: Tue Dec 02, 2014 2:32 pm

Re: New package: Entware-ng

Post by KoGi » Sun Jan 14, 2018 11:08 am

Mijzelf wrote:
KoGi wrote:I have seen the plex package in the package list, but what version will it install?
The version that you upload. The package is only a webinterface which allows you to upload a bin file. (And it gives a download link, but that doesn't work anymore)
It's better to do it manually?
It doesn't matter. Plex is not dependent on anything, it only needs an install and start script. Both the ffp package and the zypkg offer that.
Thanks for the help, just one more question.
Both JD2 & Plex have autostart scripts, which are now placed at /ffp/start/
Where should they be placed when using Entware-ng, if FFP is uninstalled?
Will just placing them at /opt/etc/init.d/ work ?

Post Reply