방금 Ubuntu를 18.04에서 20.04로 업그레이드했습니다.
이제 NAS에 액세스할 수 없어 다시 설치하려고 합니다.
나는 새 Samba가 SMB 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 관련 패키지를 가리키는지 어떻게 확인할 수 있나요?