debian10 按照文档无法安装,linux版本的源是否有问题?


#1

root@xxx:/opt/xxx# wget https://linux-clients.seafile.com/seafile.asc -O /usr/share/keyrings/seafile-keyring.asc
–2021-04-27 16:31:35-- https://linux-clients.seafile.com/seafile.asc
Resolving linux-clients.seafile.com (linux-clients.seafile.com)… 18.212.2.44
Connecting to linux-clients.seafile.com (linux-clients.seafile.com)|18.212.2.44|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 2448 (2.4K) [application/octet-stream]
Saving to: ‘/usr/share/keyrings/seafile-keyring.asc’
/usr/share/keyrings/seafile-key 100%[=======================================================>] 2.39K --.-KB/s in 0s
2021-04-27 16:31:36 (24.2 MB/s) - ‘/usr/share/keyrings/seafile-keyring.asc’ saved [2448/2448]

root@xxx:/opt/xxx# bash -c “echo ‘deb [arch=amd64 signed-by=/usr/share/keyrings/seafile-keyring.asc] https://linux-clients.seafile.com/seafile-deb/buster/ stable main’ > /etc/apt/sources.list.d/seafile.list”
root@xxx:/opt/xxx# apt-get update
Ign:1 http://mirrors.163.com/debian stretch InRelease
Hit:2 http://mirrors.163.com/debian stretch-updates InRelease
Get:3 http://mirrors.163.com/debian stretch-backports InRelease [91.8 kB]
Hit:4 http://mirrors.163.com/debian-security stretch/updates InRelease
Hit:5 http://mirrors.163.com/debian stretch Release
Hit:7 https://linux-clients.seafile.com/seafile-deb/buster stable InRelease
Fetched 91.8 kB in 2s (60.1 kB/s)
Reading package lists… Done

root@xxx:/opt/xxx# apt-get install seafile-cli
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
seafile-cli : Depends: seafile-daemon (>= 8.0.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@xxx:/opt/xxx#


#2

本地测试没有问题,您看一下是不是用错了


#3

感谢回复,您说的用错了指的是?


#4

For Ubuntu 18.04 sudo bash -c “echo ‘deb [arch=amd64 signed-by=/usr/share/keyrings/seafile-keyring.asc] https://linux-clients.seafile.com/seafile-deb/bionic/ stable main’ > /etc/apt/sources.list.d/seafile.list” 这个