Ubuntu 20.04 に Samba クライアントをインストールできない

Ubuntu 20.04 に Samba クライアントをインストールできない

私はUbuntuを18.04から20.04にアップグレードしました。

これでNASにアクセスできないため、再インストールしようとしています。

私は、新しいSambaがS​​MB V 1.0をサポートしていないこと、およびそれを解決する方法など、アップグレードしたときに他の人が経験した問題に関するいくつかの記事を読みました。

私のシステムにSambaクライアントがインストールされていないことを発見し、次のコマンドを使用して再インストールしてみました。

 sudo apt install samba smbclient 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 samba : Depends: python3-samba but it is not going to be installed
         Depends: samba-common-bin (= 2:4.11.6+dfsg-0ubuntu1.5) but it is not going to be installed
         Depends: libldb2 (>= 2:2.0.10~) but it is not going to be installed
         Depends: libpython3.8 (>= 3.8.2) but it is not going to be installed
         Depends: libwbclient0 (= 2:4.11.6+dfsg-0ubuntu1.5) but 2:4.7.6+dfsg~ubuntu-0ubuntu2.20 is to be installed
         Depends: samba-libs (= 2:4.11.6+dfsg-0ubuntu1.5) but 2:4.7.6+dfsg~ubuntu-0ubuntu2.20 is to be installed
         Recommends: samba-dsdb-modules but it is not going to be installed
         Recommends: samba-vfs-modules but it is not going to be installed
 smbclient : Depends: samba-libs (= 2:4.11.6+dfsg-0ubuntu1.5) but 2:4.7.6+dfsg~ubuntu-0ubuntu2.20 is to be installed
             Depends: libwbclient0 (= 2:4.11.6+dfsg-0ubuntu1.5) but 2:4.7.6+dfsg~ubuntu-0ubuntu2.20 is to be installed
E: Unable to correct problems, you have held broken packages.

どうすればいいですか?

この問題をどのように解決できますか?

アップデート1

いくつかの検索の最後に変更を提案する投稿を見つけました/etc/apt/source.list

ファイルを見てみるとこんな内容があります。

# deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://gb.archive.ubuntu.com/ubuntu/ focal main restricted
# deb-src http://gb.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://gb.archive.ubuntu.com/ubuntu/ focal-updates main restricted
# deb-src http://gb.archive.ubuntu.com/ubuntu/ xenial-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://gb.archive.ubuntu.com/ubuntu/ focal universe
# deb-src http://gb.archive.ubuntu.com/ubuntu/ xenial universe
deb http://gb.archive.ubuntu.com/ubuntu/ focal-updates universe
# deb-src http://gb.archive.ubuntu.com/ubuntu/ xenial-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://gb.archive.ubuntu.com/ubuntu/ focal multiverse
# deb-src http://gb.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ focal-updates multiverse
# deb-src http://gb.archive.ubuntu.com/ubuntu/ xenial-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://gb.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
# deb-src http://gb.archive.ubuntu.com/ubuntu/ xenial-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 xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main # disabled on upgrade to focal
# deb-src [arch=amd64] https://packages.microsoft.com/repos/vscode stable main

これは以前のバージョンのUbuntuに関連しているようです。これは正しいソースのリストですか? Ubuntu 20.04関連パッケージを指しているかどうかを確認できますか?

ベストアンサー1

おすすめ記事