On Thu, 25 Aug 2016 23:15:11 -0300
Alba Pompeo <albapompeo_at_gmail.com> wrote:
> When a package is moved from /testing to /community or /testing to
> /unmaintained out of nowhere, users experience system breakage.
>
> That's because it loses the pinning.
>
> What can be done to prevent this?
> Post-scripts when a package is moved?
Do you have example logs?
I remember seeing something similar before. And the actual cause was
that abuild and/or lua-aports did not update the index when repository
was updated with package removals only. This left index having stale
entries.
This said, lua-aports fix might be as simple as:
diff --git a/buildrepo.lua b/buildrepo.lua
index c665711..bf0f39a 100755
--- a/buildrepo.lua
+++ b/buildrepo.lua
_at_@ -239,7 +239,7 @@ for _,repo in pairs(args) do
end
-- generate new apkindex
- if not opts.n and built > 0 then
+ if not opts.n and (built > 0 or deleted > 0) then
info("Updating apk index")
apkrepo.update_index(("%s/%s"):format(repodest, repo),
abuild.arch, db:git_describe())
---
Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help: alpine-devel+help_at_lists.alpinelinux.org
---
Received on Fri Aug 26 2016 - 11:04:02 UTC