答案1
您收到以下错误消息:
E: The repository 'http://ppa.launchpad.net/octave/stable/ubuntu bionic Release' does not have a Release file.
ppa:octave/stable 不支持 Ubuntu 18.04,因此请将其从 sources.list 中删除,然后从默认的 Ubuntu 18.04 存储库安装 octave 包。打开终端并输入:
pkill octave
sudo add-apt-repository --remove ppa:octave/stable
sudo add-apt-repository --remove ppa:mc3man/trusty-media
sudo apt-get update
sudo apt purge octave
sudo apt install octave