Cannot install seafile-cli on Debian 11

Hello, there’s no Debian Bullseye instructions for seafile-cli on seafile site. When I try to install there’s dependency errors. Is there alternative way to install?

The instruction is not updated. But the official repository supports Bullseye. Just use the following command to configure it:

sudo bash -c "echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/seafile-keyring.asc] stable main' > /etc/apt/sources.list.d/seafile.list"

What error do you have?

Hi, @Jonathan there are other threads on that forum that people cannot install on Debian 11. Ther’re dependency errors: Depends: libevent-2.1-6 and Debian 11 have libevent-2.1-7 installed.

1 Like

We tested with Debian 11 again and it works.

1 Like

Thanks. It works great now.

Hi @Jonathan everything work until I try that command:

dietpi@DietPi:~$ seaf-cli download -l 45072750-xxxxxxxxxxxxxx -s -d /home/dietpi/seaf -u
Enter password for user : 
Traceback (most recent call last):
  File "/usr/bin/seaf-cli", line 1023, in <module>
  File "/usr/bin/seaf-cli", line 1019, in main
  File "/usr/bin/seaf-cli", line 517, in seaf_download
    token = get_token(url, username, password, tfa, conf_dir)
  File "/usr/bin/seaf-cli", line 301, in get_token
    token_json = urlopen("%s/api2/auth-token/" % url, data=data, headers=headers)
  File "/usr/bin/seaf-cli", line 234, in urlopen
    resp = urllib.request.urlopen(req)
  File "/usr/lib/python3.9/urllib/", line 214, in urlopen
    return, data, timeout)
  File "/usr/lib/python3.9/urllib/", line 523, in open
    response = meth(req, response)
  File "/usr/lib/python3.9/urllib/", line 632, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.9/urllib/", line 561, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.9/urllib/", line 494, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.9/urllib/", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400: Bad Request