我试图安装 qt-5 但我得到了
E: Malformed entry 11 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.
E: Malformed entry 11 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.
我的sources.list
#------------------------------------------------------------------------------#
# OFFICIAL UBUNTU REPOS #
#------------------------------------------------------------------------------#
###### Ubuntu Main Repos
deb http://55.archive.ubuntu.com/ubuntu/ xenial main
###### Ubuntu Update Repos
deb http://55.archive.ubuntu.com/ubuntu/ xenial-updates main
deb-src http://55.archive.ubuntu.com/ubuntu/ xenial-updates
###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
#------------------------------------------------------------------------------#
# UNOFFICIAL UBUNTU REPOS #
#------------------------------------------------------------------------------#
###### 3rd Party Binary Repos
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C6DAEA80
deb http://ppa.launchpad.net/boomaga/ppa/ubuntu xenial main # Boomaga PPA - https://launchpad.net/~boomaga/+archive/ubuntu/ppa
## Run this command: wget -q -O - http://dano.cu.cc/1Aci9Qp | sudo apt-key add - && sudo apt-get update
deb http://repo.daniil.it lenny main # Daniil's Bash Video Download - http://daniil.it
## Run this command: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 614C4B38
deb http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial main # Gimp PPA - https://launchpad.net/~otto-kesselgulasch/+archive/gimp
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B1510FD
deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu xenial main # GNOME3 Extra Apps PPA - https://launchpad.net/~gnome3-team/+archive/gnome3
## Run this command: wget -q https://dl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main # Google Chrome Browser - http://www.google.com/linuxrepositories/
## Run this command: wget -q https://dl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main # Google Earth - http://www.google.com/linuxrepositories/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 247510BE
deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu xenial main # Mozilla Daily Build Team PPA - http://edge.launchpad.net/~ubuntu-mozilla-daily/+archive/ppa
## Run this command: sudo wget -O - http://apt.mucommander.com/apt.key | sudo apt-key add -
deb http://apt.mucommander.com stable main non-free contrib # muCommander - http://www.mucommander.com/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F24AEA9FB05498B7
deb [arch=i386] http://repo.steampowered.com/steam/ precise steam # Steam for Linux - http://store.steampowered.com/about/
## Run this command: curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
deb http://apt.syncthing.net/ syncthing release # Syncthing - https://syncthing.net/
内容/etc/apt/sources.list.d
canonical_partner.list google.list.save staticfloat-ubuntu-julia-deps-xenial.list vivaldi.list.save
canonical_partner.list.save hexinator.list staticfloat-ubuntu-julia-deps-xensave
google.list libdvdcss.list.save vivaldi.list
ial.list.save webupd8team-ubuntu-java-xenial.list
google-chrome.list hexinator.list.save staticfloat-ubuntu-juliareleases-xenial.list webupd8team-ubuntu-java-xenial.list.save
google-chrome.list.save libdvdcss.list staticfloat-ubuntu-juliareleases-xenial.list.
这看起来像问题:
你错过了这一行的组件部分,它应该看起来像:
您的 sources.list 缺少许多重要部分,包括安全更新,我建议您不要
/etc/apt/sources.list
管它,将您的自定义设置放在一个 .list 文件中,/etc/apt/sources.list.d/
这样您就不会破坏默认文件。也可以看看:
尝试进行 apt-get update 以查看是否有帮助。如果不使用 vim/vi 访问文件并转到提示符(ESC 和 :) 并键入:'set number' 以查看行数。检查第 11 行是否有问题。您可以尝试评论此行并再次运行 apt-get update 以查看是否有帮助。