zoukankan      html  css  js  c++  java
  • apt-get update 报错 W: Unknown Multi-Arch type 'no' for package 'compiz-core'

    #deb包
    deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
    ##测试版源
    deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
    # 源码
    deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
    

      

    # apt-get update
    

    报错

    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: Unknown Multi-Arch type 'no' for package 'compiz-core'
    W: Unknown Multi-Arch type 'no' for package 'compiz-gnome'
    W: Ignoring Provides line with DepCompareOp for package xserver-xorg
    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
    

     

    解决:

    sudo apt-get install -f apt
    

      

    或者更换源

    deb-src http://archive.ubuntu.com/ubuntu xenial main restricted
    deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
    deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe
    deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
    deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe
    deb http://mirrors.aliyun.com/ubuntu/ xenial universe
    deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
    deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse
    deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
    deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
    deb http://archive.canonical.com/ubuntu xenial partner
    deb-src http://archive.canonical.com/ubuntu xenial partner
    deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
    deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe
    deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
    deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse
    

      

  • 相关阅读:
    ssh2中的添,删,查,改。
    struts2中数据的传输
    SSH2中的笔记
    struts2中的拦截器
    struts.xml中的配置内容
    【spring源码分析】二、Aware
    【spring源码分析】一、BeanPostProcessor
    java常用名词缩写
    解决org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
    springboot使用redis缓存
  • 原文地址:https://www.cnblogs.com/sweet22353/p/9988070.html
Copyright © 2011-2022 走看看