我正在尝试在openSUSE KDE linux机器上安装latte dock,但我的add-apt-repository命令不起作用。更重要的是,当我尝试安装软件属性时,它说没有该软件包的提供者:
> sudo apt-get install software-properties-common
Loading repository data...
Reading installed packages...
'software-properties-common' not found in package names. Trying capabilities.
No provider of 'software-properties-common' found.
Resolving package dependencies...
Nothing to do.
我尝试了zypper和zypper补丁我看了几个网站但还没有答案。正如我所看到的那样,这是一个' commune'问题,但仍然无法解决问题。
答案 0 :(得分:0)
我很乐意为您提供帮助。
在我的情况下,遇到类似问题,我删除了/etc/apt/source.list/的内容,因此无法更新存储库。我将此文件设置为其默认内容。
deb http://in.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://in.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
之后,我就可以成功安装以上软件包。
注意-用适当的版本替换仿生
方法2: 如果上述方法失败,请尝试此方法。 下载以上software-common-properties的deb文件 安装debian软件包
dpkg -i /path/software-common-properties.deb