upgrade to DSM7 package version#33
upgrade to DSM7 package version#33stephengeorgewest wants to merge 14 commits intoflipswitchingmonkey:giteafrom
Conversation
|
"description":"invalid package privilege content" was due to missing next error: {
"error":{"code":0},
"results":[{
"action":"install",
"beta":false,
"betaIncoming":false,
"error":{
"code":313,
"description":"failed to revise file attributes"
},
"installReboot":false,
"installing":true,
"language":"enu",
"last_stage":"prepare_install",
"package":"Gitea",
"packageName":"Gitea",
"spk":"/tmp/gitea/gitea-spk/gitea-1.18.5-linux-arm64.spk",
"stage":"install_failed",
"success":false,
"username":"",
"version":"1.18.5"
}],
"success":false
} |
|
probably related to |
|
Yeah, username issue. I have installed the published wkobiela version, which changed the username from I'll look into the next issue first: {
"error":{"code":0},
"results":[{
"action":"install",
"beta":false,
"betaIncoming":false,
"error":{
"code":268,
"description":"dependent packages are not ready",
"packages":{"Git":""},
"unStartPkgList":""
},
"installReboot":false,
"installing":true,
"language":"enu",
"last_stage":"prepare_install",
"package":"gitea",
"packageName":"Gitea",
"spk":"/tmp/gitea/gitea-spk/gitea-1.18.5-linux-arm64.spk",
"stage":"install_failed",
"success":false,
"username":"",
"version":"1.18.5"
}],
"success":false
} |
|
removing New error: {
"error":{"code":0},
"results":[{
"action":"upgrade",
"beta":false,
"betaIncoming":false,
"error":{"code":277,"description":"failed to run preupgrade script"},
"finished":true,
"installReboot":false,
"installing":true,
"language":"enu",
"last_stage":"started",
"package":"gitea",
"packageName":"Gitea",
"pid":28072,
"scripts":[
{"code":0,"message":"","type":"stop"},
{"code":1,"message":"","type":"preupgrade"},
{"code":0,"message":"","type":"start"}
],
"spk":"/tmp/gitea/gitea-spk/gitea-1.18.5-linux-arm64.spk",
"stage":"install_failed_and_started",
"status":"running",
"status_description":"translate from systemd status",
"success":false,
"username":"",
"version":"1.17.3-10"}],
"success":false
} |
|
missed some files New error, I think it fails earlier in the install steps now... [{
"action":"install",
"beta":false,
"betaIncoming":false,
"broken_by":"install_corruption",
"error":{"code":276,"description":"failed to acquire postinst worker","worker_msg":[]},
"finished":true,
"installReboot":false,
"installing":true,
"language":"enu",
"last_stage":"postreplace",
"package":"Gitea",
"packageName":"Gitea",
"pid":23229,
"scripts":[
{"code":0,"message":"","type":"preinst"},
{"code":0,"message":"","type":"postinst"}
],
"spk":"/tmp/gitea/gitea-spk/gitea-1.17.4-linux-arm64.spk",
"stage":"install_failed",
"status":"broken",
"status_code":150,
"status_description":"failed to complete installation",
"success":false,
"username":"",
"version":"1.17.4"
}] |
|
"copy all files from synocommunity spk download", probably should have done that once I started having problems. I didn't think so much would change. |

The first commit resolves "Invalid Package" errors for DSM7
"code":263,"description":"failed to sort spks, the spk might not exist or invalid format2023-03-16T06:53:02-06:00 DiskStation synopkg[30978]: pkgtool.cpp:1273 Failed to extract package INFO, from=[/tmp/gitea/gitea-spk/gitea-1.18.5-linux-arm64.spk] to=[/volume1/@tmp/synopkg/info.ovODJp]The tar argument changes do slow down the archiving though.
Still looking into:
[{ "action":"install", "beta":false, "betaIncoming":false, "error":{ "code":319, "description":"invalid package privilege content" }, "installReboot":false, "installing":true, "language":"enu", "last_stage":"prepare_install", "package":"Gitea", "packageName":"Gitea", "spk":"/tmp/gitea/gitea-spk/gitea-1.18.5-linux-arm64.spk", "stage":"install_failed", "success":false, "username":"", "version":"1.18.5" }]