How to check if dpkg-architecture --list has all the architectures?

23,261

I answer my own question because I just found out via

dpkg --print-foreign-architectures

which printed

i386

that obviously multiarch is/was enabled.

Share:
23,261

Related videos on Youtube

bomben
Author by

bomben

Updated on September 18, 2022

Comments

  • bomben
    bomben almost 2 years

    To install skype and dependencies on 16.04. 64bit I need to

    sudo dpkg --add-architecture i386
    

    Via (man page):

    dpkg-architecture --list
    

    I then can check the list of architectures. What line must be in there to be sure that the first command was executed correctly?

    My problem is that I cannot install Skype and I suspect the architecture was not updated correctly. I also suspect this might somehow relate to my installation of Wine.

  • Shobeira
    Shobeira almost 3 years
    Althogh it is an old discussion, I would like to add more info in case it can help others: in order to see all available architecture to add to your machine, issue the command "dpkg-architecture --list-known"