Re: Mirrors outdated -> packages break
Reply #6 –
This is not a not enough people problem.
More people would not scale on this kind of problem.
This is a not enough thinking problem.
You can't just take the updates from Arch over.
You have to build your own fully automated updates testing facility.
The absolute minimum is a fully automated check like this:
Example: thunderbird
mkdir /tmp/thunderbird
tar -xJC /tmp/thunderbird/ -f /var/cache/pacman/pkg/thunderbird-60.6.1-2-x86_64.pkg.tar.xz
for EXE in `find /tmp/thunderbird/ -type f -executable`; do ldd $EXE; done | grep -e 'not found' | cut -f1 -d ' ' | sed 's/^[\t ]*//g' | tee /tmp/thunderbird/lddnotfound.txt
pacman -Qi thunderbird | grep -e '^Optional Deps' | cut -f 2 -d ':' | cut -f 2 -d ' ' | pacman -Ql - | cut -f2 -d ' ' | grep -ve "./$" >/tmp/thunderbird/optionaldep.txt
for NOOP in `cat /tmp/thunderbird/optionaldep.txt`; do grep -ve "$NOOP" /tmp/thunderbird/lddnotfound.txt; done | sort -u
If you get any hits, you have a unresolved dependency. (btw. thunderbird has non-documented optional (LDAP, etc) dependencies)
And you can't put the package to the update without resolving the missing non-optional dependency.
Just that would have prevented the thunderbird update with the missing icu dependency.