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
I wrote another script to install the "bad" libc version (2.31-0ubuntu9.3) on a system:
#!/bin/sh architecture) /launchpad. net/ubuntu/ +source/ glibc/${v}/+latestbuil d/amd64/ +files /launchpad. net/ubuntu/ +source/ glibc/${v}/+latestbuil d/${a}/ +files
deb=${ p}_${v} _${aa}. deb
set -eux
a=$(dpkg --print-
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:/
else
aa=$a
b=https:/
fi
wget $b/$deb
debs="$debs $deb"
fi
done
dpkg -i $debs