linux

来源:互联网 发布:playclub捏脸详细数据 编辑:程序博客网 时间:2024/06/06 18:27

1.在ubuntu中使用 apt-get的时候,始终显示“E:无法定位软件包”


解决方法:只要apt-get update一下就好


2.Ubuntu16.04出现:Problem executing scripts APT:Update::Post-Invoke-Success ' if /usr/bin/test -w /var/


解决方法:

 运行以下程序

  1. sudo pkill -KILL appstreamcli   
  2. wget -P /tmp https://launchpad.net/ubuntu/+archive/primary/+files/appstream_0.9.4-1ubuntu1_amd64.deb https://launchpad.net/ubuntu/+archive/primary/+files/libappstream3_0.9.4-1ubuntu1_amd64.deb  
  3. sudo dpkg -i /tmp/appstream_0.9.4-1ubuntu1_amd64.deb /tmp/libappstream3_0.9.4-1ubuntu1_amd64.deb





原创粉丝点击