Comment 8 for bug 1951033

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I wrote another script to install the "bad" libc version (2.31-0ubuntu9.3) on a system:

#!/bin/sh
set -eux
a=$(dpkg --print-architecture)
v=2.31-0ubuntu9.3
pkg='glibc-doc
glibc-source
libc6
libc6-lse
libc6-dbg
libc6-dev
libc-bin
libc-dev-bin
locales
locales-all
nscd'
debs=''
for p in $pkg; do
    if [ -d /usr/share/doc/$p ]; then
        if [ $p = locales ]; then
            aa=all
            b=https://launchpad.net/ubuntu/+source/glibc/${v}/+latestbuild/amd64/+files
        else
            aa=$a
            b=https://launchpad.net/ubuntu/+source/glibc/${v}/+latestbuild/${a}/+files
        fi
        deb=${p}_${v}_${aa}.deb
        wget $b/$deb
        debs="$debs $deb"
    fi
done
dpkg -i $debs