• 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
    

      

  • 相关阅读:
    使用select和shutdown
    SMTP协议初探(二)linux下c编程实现发邮件
    ortp使用详解 ortprelease.pdf
    网易校园招聘c++题目如何让new操作符不分配内存,只调用构造函数
    虚拟地址空间,堆栈,堆,数据段,代码段
    关于double的输入输出
    CodeForces1238DABstring CodeForces思维+字符串反向思考
    CodeForces1234CPipesdfs
    CodeForces1221A2048 Game思维题
    排序
  • 原文地址:https://www.cnblogs.com/sweet22353/p/9988070.html
Copyright © 2020-2023  润新知