Comment 7 for bug 1325142

Revision history for this message
hamish (hamish-b) wrote :

Julius wrote:
> can you tell us which line you comment in thoses scripts ?

my quick-fix work-around was to change the exit code errors into warnings:

apt-get -q update

# on 32bit version:
sed -i -e 's/exit $?/exit 0/' \
   "/var/lib/dpkg/info/libpam-systemd:i386.prerm"
service systemd-logind stop

apt-get --yes install systemd-services

sed -i -e 's/exit $?/exit 0/' \
   "/var/lib/dpkg/info/libpam-systemd:i386.postinst"

apt-get --yes install libpam-systemd
apt-get -f install --yes

sed -i -e 's/exit $?/exit 0/' \
   "/var/lib/dpkg/info/whoopsie.prerm"
apt-get --yes remove whoopsie libwhoopsie0

apt-get --yes upgrade

Hamish