如何在 Debian Stretch 上安装 TuxOnIce?

如何在 Debian Stretch 上安装 TuxOnIce?

我想在我的 Debian/Windows 双启动笔记本电脑上安装 TuxOnIce,因为我无法正常pm-hibernate工作。关注一些教程,我做了以下几件事:

添加了 TuxOnIce ppa: sudo apt-add-repository ppa:tuxonice/ppa。它似乎有效,但在确认输入后我收到以下错误:

gpg: keybox '/tmp/tmp2dbcfl9z/pubring.gpg' created
gpg: /tmp/tmp2dbcfl9z/trustdb.gpg: trustdb created
gpg: key DAC45EC9DEC8FAAC: public key "Launchpad PPA for TuxOnIce" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: no valid OpenPGP data found.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 688, in addkey_func
    func(**kwargs)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 386, in add_key
    return apsk.add_ppa_signing_key()
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 273, in add_ppa_signing_key
    cleanup(tmp_keyring_dir)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 234, in cleanup
    shutil.rmtree(tmp_keyring_dir)
  File "/usr/lib/python3.5/shutil.py", line 480, in rmtree
    _rmtree_safe_fd(fd, path, onerror)
  File "/usr/lib/python3.5/shutil.py", line 438, in _rmtree_safe_fd
    onerror(os.unlink, fullname, sys.exc_info())
  File "/usr/lib/python3.5/shutil.py", line 436, in _rmtree_safe_fd
    os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.ssh'

现在更新sudo apt-get update会显示比以前更长的项目列表。大多数都以 this 开头,http://ppa.launchpad.net/tuxonice/ppa/ubuntu bionic/main这很奇怪,因为我没有 Ubuntu,而且我读到 Ubuntu 软件包与 Debian 并不真正兼容。有些链接会出现 404 错误,但大多数链接都有效。同样,输出以一些错误结束:

Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/tuxonice/ppa/ubuntu bionic Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/tuxonice/ppa/ubuntu/dists/bionic/main/binary-i386/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

使用 来安装应用程序sudo apt-get install tuxonice-userui linux-generic-tuxonice linux-headers-generic-tuxonice。该软件包tuxonice-userui已安装,但找不到其他软件包:

E: Unable to locate package linux-generic-tuxonice
E: Unable to locate package linux-headers-generic-tuxonice

相关内容