Вот журналы ошибок, которые я получаю, пытаясь обновить зависимость.Я чувствую, что --overwrite flag может сделать работу с "dpkg", но я не уверен, использовать ли его или нет, так как вижу некоторую перекрестную зависимость там.Большое спасибо за вашу помощь.
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libpython3.6-stdlib
The following packages will be upgraded:
libpython3.6-stdlib
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
8 not fully installed or removed.
Need to get 0 B/1,989 kB of archives.
After this operation, 1,393 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 225358 files and directories currently installed.)
Preparing to unpack .../libpython3.6-stdlib_3.6.5-5~16.04.york1_amd64.deb ...
Unpacking libpython3.6-stdlib:amd64 (3.6.5-5~16.04.york1) over (3.6.5-5~16.04.york0) ...
dpkg: error processing archive /var/cache/apt/archives/libpython3.6-stdlib_3.6.5-5~16.04.york1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python3.6/lib2to3/refactor.py', which is also in package python3-lib2to3 3.6.5-3~16.04.york0.2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libpython3.6-stdlib_3.6.5-5~16.04.york1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
политика apt-cache libpython3.6-stdlib python3-lib2to3
дает это
libpython3.6-stdlib:
Installed: 3.6.5-5~16.04.york0
Candidate: 3.6.5-5~16.04.york1
Version table:
3.6.5-5~16.04.york1 500
500 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 Packages
*** 3.6.5-5~16.04.york0 100
100 /var/lib/dpkg/status
python3-lib2to3:
Installed: 3.6.5-3~16.04.york0.2
Candidate: 3.6.5-3~16.04.york0.2
Version table:
*** 3.6.5-3~16.04.york0.2 500
500 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 Packages
500 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main i386 Packages
100 /var/lib/dpkg/status
`