General NAS-Central Forums

Welcome to the NAS community
It is currently Fri Jun 23, 2017 8:45 am

All times are UTC




Post new topic Reply to topic  [ 69 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
PostPosted: Sun Mar 26, 2017 8:08 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 5996
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.


Top
 Profile  
 
PostPosted: Sun Mar 26, 2017 8:24 pm 
Offline

Joined: Tue Oct 08, 2013 12:51 am
Posts: 94
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?


Top
 Profile  
 
PostPosted: Sun Mar 26, 2017 8:33 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 5996
Quote:
Does that help at all?
Yes. Here is the problem:
Quote:
Code:
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.


Top
 Profile  
 
PostPosted: Sun Mar 26, 2017 8:46 pm 
Offline

Joined: Tue Oct 08, 2013 12:51 am
Posts: 94
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?


Top
 Profile  
 
PostPosted: Sun Mar 26, 2017 9:07 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 5996
Quote:
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\

Quote:
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.


Top
 Profile  
 
PostPosted: Sun Mar 26, 2017 10:02 pm 
Offline

Joined: Tue Oct 08, 2013 12:51 am
Posts: 94
Entware is back up and running.

Thanks Mitjzelf!


Top
 Profile  
 
PostPosted: Fri Apr 14, 2017 6:23 pm 
Offline

Joined: Fri Apr 14, 2017 6:06 pm
Posts: 2
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


Top
 Profile  
 
PostPosted: Sat Apr 15, 2017 10:24 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 5996
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:
#!/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.

Quote:
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.


Top
 Profile  
 
PostPosted: Wed Apr 19, 2017 5:04 pm 
Offline

Joined: Fri Apr 14, 2017 6:06 pm
Posts: 2
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:
#!/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.

Quote:
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 69 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 38 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group