0

I tried to install skype using this tutorial https://help.ubuntu.com/community/Skype But I got troubles at the first step

sudo dpkg --add-architecture i386

When I wrote this, I got this message

$ sudo dpkg --add-architecture i386 
dpkg: error: unknown option --add-architecture
Type dpkg --help for help about installing and deinstalling packages
[*]; Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values; 
Type dpkg--force-help for a list of forcing options; 
Type dpkg-deb --help for help about manipulating *.deb files;
Options marked [*] produce a lot of output - pipe it through `less' or`more' !

What should I do ? I will be very thankful if you will explain all this step by step, because I never had Ubuntu before.

muru
  • 207,228

1 Answers1

0

According to your guide, that's just for MultiArch support, I think that's already enabled by default in current Ubuntu's so it shouldn't matter... but apparently Ubuntu 12.04 (if that's what you're using, not sure at this time) isn't "fully multiarch" so if you get the "unknown architecture" messages try these:

  • Ensure the only file in /etc/dpkg/dpkg.cfg.d/ is multiarch then run echo 'foreign-architecture i386' | sudo tee /etc/dpkg/dpkg.cfg.d/multiarch
  • sudo dpkg --add-architecture i386
  • sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner" (to make sure the partner section repository is enabled)
  • sudo apt-get update && sudo apt-get install skype

And if those give problems, aptitude is supposed to be more persistent, this might yield better results:

sudo aptitude install skype

Xen2050
  • 8,943