Cubietruck开发板折腾008:apt-get update出现警告问题解决

     问题:今天找到了些新的软件软,打算更新下源来着的(毕竟之前添加的软太少了,很多软件都找不到)。但是在更新软件源(sudo apt-get update)的时候总是爆出如下错误,出现一连串的警告提示:

Unknown Multi-Arch type 'no' for package 'compiz-core'
Unknown Multi-Arch type 'no' for package 'compiz-gnome'
Unknown Multi-Arch type 'no' for package 'libxapian-dev'
Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
Unknown Multi-Arch type 'no' for package 'kwin'
Unknown Multi-Arch type 'no' for package 'kwin-dev'
Unknown Multi-Arch type 'no' for package 'kwin-wayland'
Unknown Multi-Arch type 'no' for package 'kwin-x11'
Unknown Multi-Arch type 'no' for package 'libkf5sysguard-dev'
Ignoring Provides line with DepCompareOp for package php-psr-http-message-implementation
Ignoring Provides line with DepCompareOp for package php-psr-log-implementation
Ignoring Provides line with DepCompareOp for package php-seclib
Ignoring Provides line with DepCompareOp for package php-sabre-http
Ignoring Provides line with DepCompareOp for package php-math-biginteger
Ignoring Provides line with DepCompareOp for package pypy-cffi
Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
You may want to run apt-get update to correct these problems
Reading package lists... Done
W: Unknown Multi-Arch type 'no' for package 'compiz-core'
W: Unknown Multi-Arch type 'no' for package 'compiz-gnome'
W: Unknown Multi-Arch type 'no' for package 'libxapian-dev'
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: Unknown Multi-Arch type 'no' for package 'kwin'
W: Unknown Multi-Arch type 'no' for package 'kwin-dev'
W: Unknown Multi-Arch type 'no' for package 'kwin-wayland'
W: Unknown Multi-Arch type 'no' for package 'kwin-x11'
W: Unknown Multi-Arch type 'no' for package 'libkf5sysguard-dev'
W: Ignoring Provides line with DepCompareOp for package php-psr-http-message-implementation
W: Ignoring Provides line with DepCompareOp for package php-psr-log-implementation
W: Ignoring Provides line with DepCompareOp for package php-seclib
W: Ignoring Provides line with DepCompareOp for package php-sabre-http
W: Ignoring Provides line with DepCompareOp for package php-math-biginteger
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: You may want to run apt-get update to correct these problems

   一开始一直以为是软件源配置出现问题,改了好多次结果还是一样,最后还是百度发现也有人遇到这问题了,大部分都说是apt版本过低了,更新下即可。

抱着尝试的心态也去试了下,在终端执行如下命令(-f是修复依赖关系的命令):

apt-get install -f apt #普通用户前面加sudo

执行之后会出现提示,有哪些包会被移出,新增哪些包,更新哪些包(按Y继续执行即可):

The following packages will be REMOVED:
  libapache2-mod-php5 perl-modules
The following NEW packages will be installed:
  console-setup-linux gcc-5-base initramfs-tools-core libapt-inst2.0 libapt-pkg5.0 libfdisk1 libgcrypt20 liblz4-1
  libmysqlclient20 libperl5.22 libsmartcols1 libsystemd0 linux-base perl-modules-5.22 rename
The following packages will be upgraded:
  apt apt-utils bash-completion console-setup dbus dpkg init-system-helpers initramfs-tools initramfs-tools-bin
  initscripts keyboard-configuration klibc-utils libalgorithm-diff-xs-perl libapparmor-perl libapt-pkg-perl libblkid1
  libcgmanager0 libdbd-mysql-perl libdbi-perl libdbus-1-3 libfile-fcntllock-perl libgpg-error0 libklibc
  liblocale-gettext-perl libmount1 libncurses5 libncursesw5 libselinux1 libstdc++6 libsub-name-perl
  libterm-readkey-perl libtext-charwidth-perl libtext-iconv-perl libtext-soundex-perl libtinfo5 lsb-base perl
  perl-base sysvinit-utils upstart ureadahead util-linux
42 upgraded, 15 newly installed, 2 to remove and 271 not upgraded.

安装过程中会弹出对话框,我直接enter了:

You will need a way to toggle the keyboard between the national layout and the standard Latin layout.         │
   │                                                                                                               │
   │ Right Alt or Caps Lock keys are often chosen for ergonomic reasons (in the latter case, use the combination   │
   │ Shift+Caps Lock for normal Caps toggle). Alt+Shift is also a popular combination; it will however lose its    │
   │ usual behavior in Emacs and other programs that use it for specific needs.                                    │
   │                                                                                                               │
   │ Not all listed keys are present on all keyboards.                                                             │
   │                                                                                                               │
   │ Method for toggling between national and Latin mode:  

翻译:

您将需要一种方法来切换键盘之间的国家布局和标准拉丁布局。

对于人体工程学的原因,通常选择合适的ALT或CAP锁定键(在后一种情况下,使用组合)。

对于正常上限切换,移位+ CAP锁定。ALT+shift也是一个流行的组合,但是它将失去它的空间。

在Emacs和其他使用特定需求的程序中的常见行为。

并非所有列出的键都存在于所有键盘上。

在国家和拉丁模式之间切换的方法:

Cubietruck开发板折腾008:apt-get update出现警告问题解决_第1张图片

     再来执行apt-get update的确不会再出现警告了,这次主要问题是apt与当前版本的ubuntun系统不匹配,ubuntun版本高于apt的版本.所以升级一下apt 就行了。

你可能感兴趣的:(开发板cubietruck)