我讀過一些地方,預設情況下你可以使用 apt 安裝 Docky,但這不起作用。嘗試新增儲存庫,但它是不會更新的儲存庫之一,因為它未經授權或其他原因。是否有適用於 Docky 的 Ubuntu 19.04 的儲存庫?
編輯:@user535733
> $ sudo add-apt-repository ppa:docky-core/stable [sudo] password:
> This ppa is currently used for builds of release builds of
> docky and plank. More info:
> https://launchpad.net/~docky-core/+archive/ubuntu/stable Press [ENTER]
> to continue or Ctrl-c to cancel adding it.
>
> Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease Hit:2
> http://archive.canonical.com/ubuntu cosmic InRelease
> Hit:3 http://us.archive.ubuntu.com/ubuntu disco InRelease
> Hit:4 http://dl.google.com/linux/chrome/deb stable Release
> Hit:5 http://us.archive.ubuntu.com/ubuntu cosmic InRelease
> Get:6 http://security.ubuntu.com/ubuntu disco-security InRelease [97.5
> kB] Hit:7 http://us.archive.ubuntu.com/ubuntu disco-updates
> InRelease Hit:8 http://us.archive.ubuntu.com/ubuntu
> cosmic-updates InRelease Ign:9
> http://ppa.launchpad.net/docky-core/stable/ubuntu disco InRelease
> Hit:11 http://us.archive.ubuntu.com/ubuntu disco-backports InRelease
> Err:12 http://ppa.launchpad.net/docky-core/stable/ubuntu disco Release
> 404 Not Found [IP: 91.189.95.83 80] Reading package lists... Done
> E: The repository 'http://ppa.launchpad.net/docky-core/stable/ubuntu
> disco Release' does not have a Release file. N: Updating from such a
> repository can't be done securely, and is therefore disabled by
> default. N: See apt-secure(8) manpage for repository creation and user
> configuration details.
你知道,只是你平常無法更新回購錯誤。
答案1
docky-core PPA 沒有迪斯可發布。他們最新的是巧。更改/etc/apt/sources.list
、 或 中的 .list 文件/etc/apt/sources.list.d/
,或尋找另一個目前更受支援的 PPA。
更新#1:
在terminal
...
cd /etc/apt
# 改變目錄
grep -i docky sources.list
# 搜尋碼頭
如果找到docky,則:
sudo pico sources.list
# 編輯文件
找到包含以下內容的行碼頭
改變迪斯可到巧
control+ o,然後return# 儲存文件
control+ x# 退出編輯器
你完成了。
如果沒有找到docky,那麼:
cd sources.list.d
# 改變目錄
grep -i docky *.list
# 再次搜尋docky
找到docky時記下檔名
sudo pico found_filename.list
# 編輯該檔名
改變迪斯可到巧
control+ o,然後return# 儲存文件
control+ x# 退出編輯器
你完成了。