Isso deve funcionar:
-
sudo apt-get install lzma
-
sudo apt-get install ia32-libs
-
tar -zxvf lexmark-08z-series-driver-1.0-1.i386.deb.sh.tar.gz
-
./lexmark-08z-series-driver-1.0-1.i386.deb.sh --noexec --target lexmark
-
tar xvf lexmark/instarchive_all --lzma
-
dpkg-deb -I lexmark-08z-series-driver-1.0-1.i386.deb
-
mkdir raw-lexmark-archive
-
dpkg-deb -e lexmark-08z-series-driver-1.0-1.i386.deb raw-lexmark-archive/DEBIAN
-
dpkg-deb -X lexmark-08z-series-driver-1.0-1.i386.deb raw-lexmark-archive
-
cp raw-lexmark-archive/DEBIAN/control raw-lexmark-archive/DEBIAN/control.orig
-
sed "/^ $/d" raw-lexmark-archive/DEBIAN/control.orig > raw-lexmark-archive/DEBIAN/control
-
rm raw-lexmark-archive/DEBIAN/control.orig
-
cat raw-lexmark-archive/DEBIAN/control
-
dpkg-deb -b ./raw-lexmark-archive New-lexmark-08z-series-driver-1.0-1.i386.deb.deb
-
sudo dpkg -i New-lexmark-08z-series-driver-1.0-1.i386.deb.deb
Para remover a execução do pacote: sudo dpkg -P lexmark-08z-series-driver:i386