Lubuntu 17.10 软件更新和存储库添加问题

Lubuntu 17.10 软件更新和存储库添加问题

我安装了 Lubuntu 17.04,当我想要升级到 17.10 版本时出现了一些问题。

最后,我通过禁用所有存储库解决了这个问题,现在我拥有了 Lubuntu 17.10。但我遇到了一个新问题。

  • 首先:我已禁用所有存储库,无法从软件和更新设置中启用主题。当我尝试标记要启用的主题时,什么也没发生!
  • 第二:当我使用时,sudo apt-get update我有以下看起来不太好的输出:

    Ign:1 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu artful InRelease         
    Hit:2 http://archive.ubuntu.com/ubuntu artful InRelease
    Get:3 http://archive.ubuntu.com/ubuntu artful-updates InRelease [78.6 kB]      
    Err:4 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu artful Release     
      404  Not Found
    Get:5 http://archive.ubuntu.com/ubuntu artful-backports InRelease [72.2 kB]
    Get:6 http://archive.ubuntu.com/ubuntu artful-security InRelease [78.6 kB]
    Reading package lists... Done                                 
    E: The repository 'http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu artful 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.
    


问题更新:
输出sudo nano /etc/apt/sources.list为:

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to

# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu artful main restricted
deb-src http://archive.ubuntu.com/ubuntu artful universe multiverse main restricted #Added by software-properties
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu artful-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu artful-updates universe multiverse main restricted #Added by software-properties
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu artful universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty universe
deb http://archive.ubuntu.com/ubuntu artful-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu artful multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty multiverse
deb http://archive.ubuntu.com/ubuntu artful-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu artful-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu artful-backports main restricted universe multiverse #Added by software-properties
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
## deb http://archive.canonical.com/ubuntu zesty partner
## deb-src http://archive.canonical.com/ubuntu zesty partner

deb http://archive.ubuntu.com/ubuntu artful-security main restricted
deb-src http://archive.ubuntu.com/ubuntu artful-security universe multiverse main restricted #Added by software-properties
# deb-src http://security.ubuntu.com/ubuntu zesty-security main restricted
deb http://archive.ubuntu.com/ubuntu artful-security universe
# deb-src http://security.ubuntu.com/ubuntu zesty-security universe
deb http://archive.ubuntu.com/ubuntu artful-security multiverse
# deb-src http://security.ubuntu.com/ubuntu zesty-security multiverse
# deb http://cran.um.ac.ir/bin/linux/ubuntu artful/
# deb-src http://cran.um.ac.ir/bin/linux/ubuntu artful/
# deb [arch=amd64,i386] https://cran.rstudio.com/bin/linux/ubuntu xenial/
# deb-src [arch=amd64,i386] https://cran.rstudio.com/bin/linux/ubuntu xenial/
# deb-src [arch=amd64,i386] https://cran.rstudio.com/bin/linux/ubuntu xenial/
deb https://cran.r-project.org/bin/linux/ubuntu zesty/
deb-src https://cran.r-project.org/bin/linux/ubuntu zesty/
# deb http://archive.canonical.com/ precise partner
# deb-src http://archive.canonical.com/ precise partner

deb https://dl.winehq.org/wine-builds/ubuntu/ artful main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ artful main


sudo apt-get update仍然有以下结果:

Hit:1 http://archive.ubuntu.com/ubuntu artful InRelease
Ign:2 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu artful InRelease         
Hit:3 http://archive.ubuntu.com/ubuntu artful-updates InRelease                
Hit:4 http://archive.ubuntu.com/ubuntu artful-backports InRelease              
Err:5 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu artful Release           
  404  Not Found
Hit:6 http://archive.ubuntu.com/ubuntu artful-security InRelease               
Hit:7 https://cran.r-project.org/bin/linux/ubuntu zesty/ InRelease             
Hit:8 https://dl.winehq.org/wine-builds/ubuntu artful InRelease                
Reading package lists... Done                      
E: The repository 'http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu artful 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.

我可以在哪里修复:

Err:5 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu artful Release           
      404  Not Found

我找不到它sources.list

答案1

您可以在这里检查您的存储库:

sudo nano /etc/apt/sources.list

您应该从 Ubuntu wine 中删除 repo(您所得到的)。

保存并退出文件。

为 Ubuntu wine 添加这个 repo。

sudo add-apt-repository ppa:ubuntu-wine/ppa

或者这个:

sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/'

最后:

sudo apt-get update

相关内容