由于这些警告和错误,我删除了sources.list和sources.list.d文件并进行了bakup
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/cassandra.list:1 and /etc/apt/sources.list.d/cassandra.sources.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/cassandra.list:1 and /etc/apt/sources.list.d/cassandra.sources.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/cassandra.list:1 and /etc/apt/sources.list.d/cassandra.sources.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/cassandra.list:1 and /etc/apt/sources.list.d/cassandra.sources.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/cassandra.list:1 and /etc/apt/sources.list.d/cassandra.sources.list:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/cassandra.list:1 and /etc/apt/sources.list.d/cassandra.sources.list:1
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/cassandra.list:1 and /etc/apt/sources.list.d/cassandra.sources.list:1
W: http://www.apache.org/dist/cassandra/debian/dists/35x/InRelease: Signature by key 514A2AD631A57A16DD0047EC749D6EEC0353B12C uses weak digest algorithm (SHA1)
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/cassandra.list:1 and /etc/apt/sources.list.d/cassandra.sources.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/cassandra.list:1 and /etc/apt/sources.list.d/cassandra.sources.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/cassandra.list:1 and /etc/apt/sources.list.d/cassandra.sources.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/cassandra.list:1 and /etc/apt/sources.list.d/cassandra.sources.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/cassandra.list:1 and /etc/apt/sources.list.d/cassandra.sources.list:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/cassandra.list:1 and /etc/apt/sources.list.d/cassandra.sources.list:1
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/cassandra.list:1 and /etc/apt/sources.list.d/cassandra.sources.list:1
问题是否有任何方法可以恢复它们或从头开始创建它们因为我已经配置了我丢失了很多东西,命令和软件包版本