Advertisement
Barry1

MultiArch and ALIEN

Jan 8th, 2014
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.54 KB | None | 0 0
  1. #Debian i386 support on i686
  2. sudo dpkg --add-architecture i386
  3. sudo apt update
  4. sudo apt-get -f install schroot debootstrap lintian
  5. #creating i386 chroot
  6. mkdir -p /srv/chroot
  7. cd /srv/chroot
  8. debootstrap --arch i386 wheezy wheezy_i386 http://ftp.de.debian.org/debian
  9. # Changing into the new env (Details: http://wiki.debian.org/chroot)
  10. chroot /srv/chroot/wheezy_i386 su -
  11. apt-get update
  12. apt-get install aptitude alien
  13. # Converting from rpm to deb
  14. alien --scripts --verbose --to-deb strangei386.rpm
  15. #changing back
  16. exit
  17. lintian -c strangei386.deb
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement