環境:ubuntu16.04(64bit)
root@mk-ThinkPad-T460:~/Downloads/disk1# apt install gcc-4.6-base:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gcc-4.6-base:i386
E: Couldn't find any package by glob 'gcc-4.6-base'
E: Couldn't find any package by regex 'gcc-4.6-base'
當使用sudo apt-get upgrade,然後再使用sudo apt-get update之後還是無法找到對應的安裝包時,需要手動添加源
我在中添加了2行/etc/apt/sources.list:
deb http://archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://archive.ubuntu.com/ubuntu/ trusty universe