How to fix this problem?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
2
down vote

favorite












I'm using Ubuntu 16.04, whenever I tried to upgrade I get error



sudo apt-get upgrade
[sudo] password for nikhil:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libpython3.6-stdlib : Breaks: python3-tk (< 3.6.4~rc1-2) but 3.6.3-0ubuntu1~16.04.york0 is installed
E: Unmet dependencies. Try using -f.
nikhil@nikhil-desktop:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
aria2 gyp libc-ares2 libdb5.3:i386 libgcrypt20:i386 libjs-inherits
libjs-node-uuid libsystemd0:i386 libudev1:i386 libuv1 libuv1-dev
linux-headers-4.13.0-38 linux-headers-4.13.0-38-generic
linux-image-4.13.0-38-generic linux-image-extra-4.13.0-38-generic
node-abbrev node-ansi node-ansi-color-table node-archy node-async
node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
node-forever-agent node-form-data node-fstream node-fstream-ignore
node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits
node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
node-normalize-package-data node-npmlog node-once node-osenv node-qs
node-read node-read-package-json node-request node-retry node-rimraf
node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
node-underscore node-which
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
python3-tk
Suggested packages:
tix python3-tk-dbg
The following packages will be upgraded:
python3-tk
1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/97.5 kB of archives.
After this operation, 308 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 402176 files and directories currently installed.)
Preparing to unpack .../python3-tk_3.6.5-3~16.04.york0.2_amd64.deb ...
Unpacking python3-tk:amd64 (3.6.5-3~16.04.york0.2) over (3.6.3-0ubuntu1~16.04.york0) ...
dpkg: error processing archive /var/cache/apt/archives/python3-tk_3.6.5-3~16.04.york0.2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python3.6/lib-dynload/_tkinter.cpython-36m-x86_64-linux-gnu.so', which is also in package python3.6-tk:amd64 3.6.5-1+xenial1
Errors were encountered while processing:
/var/cache/apt/archives/python3-tk_3.6.5-3~16.04.york0.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I also tried doing



nikhil@nikhil-desktop:~$ sudo apt autoremove
[sudo] password for nikhil:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libpython3.6-stdlib : Breaks: python3-tk (< 3.6.4~rc1-2) but 3.6.3-0ubuntu1~16.04.york0 is installed
E: Unmet dependencies. Try using -f.
nikhil@nikhil-desktop:~$ sudo apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
aria2 gyp libc-ares2 libdb5.3:i386 libgcrypt20:i386 libjs-inherits
libjs-node-uuid libsystemd0:i386 libudev1:i386 libuv1 libuv1-dev
linux-headers-4.13.0-38 linux-headers-4.13.0-38-generic
linux-image-4.13.0-38-generic linux-image-extra-4.13.0-38-generic
node-abbrev node-ansi node-ansi-color-table node-archy node-async
node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
node-forever-agent node-form-data node-fstream node-fstream-ignore
node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits
node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
node-normalize-package-data node-npmlog node-once node-osenv node-qs
node-read node-read-package-json node-request node-retry node-rimraf
node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
node-underscore node-which
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
python3-tk
Suggested packages:
tix python3-tk-dbg
The following packages will be upgraded:
python3-tk
1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/97.5 kB of archives.
After this operation, 308 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 402176 files and directories currently installed.)
Preparing to unpack .../python3-tk_3.6.5-3~16.04.york0.2_amd64.deb ...
Unpacking python3-tk:amd64 (3.6.5-3~16.04.york0.2) over (3.6.3-0ubuntu1~16.04.york0) ...
dpkg: error processing archive /var/cache/apt/archives/python3-tk_3.6.5-3~16.04.york0.2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python3.6/lib-dynload/_tkinter.cpython-36m-x86_64-linux-gnu.so', which is also in package python3.6-tk:amd64 3.6.5-1+xenial1
Errors were encountered while processing:
/var/cache/apt/archives/python3-tk_3.6.5-3~16.04.york0.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


How can I fix this or remove this package?







share|improve this question




















  • Please try this sudo apt full-upgrade to get it to remove any package that needs to be removed!
    – George Udosen
    May 13 at 8:35










  • nikhil@nikhil-desktop:~$ sudo apt full-upgrade [sudo] password for nikhil: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: libpython3.6-stdlib : Breaks: python3-tk (< 3.6.4~rc1-2) but 3.6.3-0ubuntu1~16.04.york0 is installed E: Unmet dependencies. Try using -f.
    – Nikhil R
    May 13 at 9:14






  • 2




    You should use a more descriptive title so people with similar issue can find it more easily.
    – SurvivalMachine
    May 13 at 9:40










  • After fixing my problem I'll change the title, I don't know what the problem is? I'm new to ubuntu @SurvivalMachine, How can I fix this?
    – Nikhil R
    May 13 at 10:00






  • 1




    Please run sudo apt install -f and always add the results as an edit to your post and not in the comments!
    – George Udosen
    May 13 at 11:55















up vote
2
down vote

favorite












I'm using Ubuntu 16.04, whenever I tried to upgrade I get error



sudo apt-get upgrade
[sudo] password for nikhil:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libpython3.6-stdlib : Breaks: python3-tk (< 3.6.4~rc1-2) but 3.6.3-0ubuntu1~16.04.york0 is installed
E: Unmet dependencies. Try using -f.
nikhil@nikhil-desktop:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
aria2 gyp libc-ares2 libdb5.3:i386 libgcrypt20:i386 libjs-inherits
libjs-node-uuid libsystemd0:i386 libudev1:i386 libuv1 libuv1-dev
linux-headers-4.13.0-38 linux-headers-4.13.0-38-generic
linux-image-4.13.0-38-generic linux-image-extra-4.13.0-38-generic
node-abbrev node-ansi node-ansi-color-table node-archy node-async
node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
node-forever-agent node-form-data node-fstream node-fstream-ignore
node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits
node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
node-normalize-package-data node-npmlog node-once node-osenv node-qs
node-read node-read-package-json node-request node-retry node-rimraf
node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
node-underscore node-which
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
python3-tk
Suggested packages:
tix python3-tk-dbg
The following packages will be upgraded:
python3-tk
1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/97.5 kB of archives.
After this operation, 308 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 402176 files and directories currently installed.)
Preparing to unpack .../python3-tk_3.6.5-3~16.04.york0.2_amd64.deb ...
Unpacking python3-tk:amd64 (3.6.5-3~16.04.york0.2) over (3.6.3-0ubuntu1~16.04.york0) ...
dpkg: error processing archive /var/cache/apt/archives/python3-tk_3.6.5-3~16.04.york0.2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python3.6/lib-dynload/_tkinter.cpython-36m-x86_64-linux-gnu.so', which is also in package python3.6-tk:amd64 3.6.5-1+xenial1
Errors were encountered while processing:
/var/cache/apt/archives/python3-tk_3.6.5-3~16.04.york0.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I also tried doing



nikhil@nikhil-desktop:~$ sudo apt autoremove
[sudo] password for nikhil:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libpython3.6-stdlib : Breaks: python3-tk (< 3.6.4~rc1-2) but 3.6.3-0ubuntu1~16.04.york0 is installed
E: Unmet dependencies. Try using -f.
nikhil@nikhil-desktop:~$ sudo apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
aria2 gyp libc-ares2 libdb5.3:i386 libgcrypt20:i386 libjs-inherits
libjs-node-uuid libsystemd0:i386 libudev1:i386 libuv1 libuv1-dev
linux-headers-4.13.0-38 linux-headers-4.13.0-38-generic
linux-image-4.13.0-38-generic linux-image-extra-4.13.0-38-generic
node-abbrev node-ansi node-ansi-color-table node-archy node-async
node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
node-forever-agent node-form-data node-fstream node-fstream-ignore
node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits
node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
node-normalize-package-data node-npmlog node-once node-osenv node-qs
node-read node-read-package-json node-request node-retry node-rimraf
node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
node-underscore node-which
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
python3-tk
Suggested packages:
tix python3-tk-dbg
The following packages will be upgraded:
python3-tk
1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/97.5 kB of archives.
After this operation, 308 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 402176 files and directories currently installed.)
Preparing to unpack .../python3-tk_3.6.5-3~16.04.york0.2_amd64.deb ...
Unpacking python3-tk:amd64 (3.6.5-3~16.04.york0.2) over (3.6.3-0ubuntu1~16.04.york0) ...
dpkg: error processing archive /var/cache/apt/archives/python3-tk_3.6.5-3~16.04.york0.2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python3.6/lib-dynload/_tkinter.cpython-36m-x86_64-linux-gnu.so', which is also in package python3.6-tk:amd64 3.6.5-1+xenial1
Errors were encountered while processing:
/var/cache/apt/archives/python3-tk_3.6.5-3~16.04.york0.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


How can I fix this or remove this package?







share|improve this question




















  • Please try this sudo apt full-upgrade to get it to remove any package that needs to be removed!
    – George Udosen
    May 13 at 8:35










  • nikhil@nikhil-desktop:~$ sudo apt full-upgrade [sudo] password for nikhil: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: libpython3.6-stdlib : Breaks: python3-tk (< 3.6.4~rc1-2) but 3.6.3-0ubuntu1~16.04.york0 is installed E: Unmet dependencies. Try using -f.
    – Nikhil R
    May 13 at 9:14






  • 2




    You should use a more descriptive title so people with similar issue can find it more easily.
    – SurvivalMachine
    May 13 at 9:40










  • After fixing my problem I'll change the title, I don't know what the problem is? I'm new to ubuntu @SurvivalMachine, How can I fix this?
    – Nikhil R
    May 13 at 10:00






  • 1




    Please run sudo apt install -f and always add the results as an edit to your post and not in the comments!
    – George Udosen
    May 13 at 11:55













up vote
2
down vote

favorite









up vote
2
down vote

favorite











I'm using Ubuntu 16.04, whenever I tried to upgrade I get error



sudo apt-get upgrade
[sudo] password for nikhil:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libpython3.6-stdlib : Breaks: python3-tk (< 3.6.4~rc1-2) but 3.6.3-0ubuntu1~16.04.york0 is installed
E: Unmet dependencies. Try using -f.
nikhil@nikhil-desktop:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
aria2 gyp libc-ares2 libdb5.3:i386 libgcrypt20:i386 libjs-inherits
libjs-node-uuid libsystemd0:i386 libudev1:i386 libuv1 libuv1-dev
linux-headers-4.13.0-38 linux-headers-4.13.0-38-generic
linux-image-4.13.0-38-generic linux-image-extra-4.13.0-38-generic
node-abbrev node-ansi node-ansi-color-table node-archy node-async
node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
node-forever-agent node-form-data node-fstream node-fstream-ignore
node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits
node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
node-normalize-package-data node-npmlog node-once node-osenv node-qs
node-read node-read-package-json node-request node-retry node-rimraf
node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
node-underscore node-which
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
python3-tk
Suggested packages:
tix python3-tk-dbg
The following packages will be upgraded:
python3-tk
1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/97.5 kB of archives.
After this operation, 308 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 402176 files and directories currently installed.)
Preparing to unpack .../python3-tk_3.6.5-3~16.04.york0.2_amd64.deb ...
Unpacking python3-tk:amd64 (3.6.5-3~16.04.york0.2) over (3.6.3-0ubuntu1~16.04.york0) ...
dpkg: error processing archive /var/cache/apt/archives/python3-tk_3.6.5-3~16.04.york0.2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python3.6/lib-dynload/_tkinter.cpython-36m-x86_64-linux-gnu.so', which is also in package python3.6-tk:amd64 3.6.5-1+xenial1
Errors were encountered while processing:
/var/cache/apt/archives/python3-tk_3.6.5-3~16.04.york0.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I also tried doing



nikhil@nikhil-desktop:~$ sudo apt autoremove
[sudo] password for nikhil:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libpython3.6-stdlib : Breaks: python3-tk (< 3.6.4~rc1-2) but 3.6.3-0ubuntu1~16.04.york0 is installed
E: Unmet dependencies. Try using -f.
nikhil@nikhil-desktop:~$ sudo apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
aria2 gyp libc-ares2 libdb5.3:i386 libgcrypt20:i386 libjs-inherits
libjs-node-uuid libsystemd0:i386 libudev1:i386 libuv1 libuv1-dev
linux-headers-4.13.0-38 linux-headers-4.13.0-38-generic
linux-image-4.13.0-38-generic linux-image-extra-4.13.0-38-generic
node-abbrev node-ansi node-ansi-color-table node-archy node-async
node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
node-forever-agent node-form-data node-fstream node-fstream-ignore
node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits
node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
node-normalize-package-data node-npmlog node-once node-osenv node-qs
node-read node-read-package-json node-request node-retry node-rimraf
node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
node-underscore node-which
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
python3-tk
Suggested packages:
tix python3-tk-dbg
The following packages will be upgraded:
python3-tk
1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/97.5 kB of archives.
After this operation, 308 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 402176 files and directories currently installed.)
Preparing to unpack .../python3-tk_3.6.5-3~16.04.york0.2_amd64.deb ...
Unpacking python3-tk:amd64 (3.6.5-3~16.04.york0.2) over (3.6.3-0ubuntu1~16.04.york0) ...
dpkg: error processing archive /var/cache/apt/archives/python3-tk_3.6.5-3~16.04.york0.2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python3.6/lib-dynload/_tkinter.cpython-36m-x86_64-linux-gnu.so', which is also in package python3.6-tk:amd64 3.6.5-1+xenial1
Errors were encountered while processing:
/var/cache/apt/archives/python3-tk_3.6.5-3~16.04.york0.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


How can I fix this or remove this package?







share|improve this question












I'm using Ubuntu 16.04, whenever I tried to upgrade I get error



sudo apt-get upgrade
[sudo] password for nikhil:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libpython3.6-stdlib : Breaks: python3-tk (< 3.6.4~rc1-2) but 3.6.3-0ubuntu1~16.04.york0 is installed
E: Unmet dependencies. Try using -f.
nikhil@nikhil-desktop:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
aria2 gyp libc-ares2 libdb5.3:i386 libgcrypt20:i386 libjs-inherits
libjs-node-uuid libsystemd0:i386 libudev1:i386 libuv1 libuv1-dev
linux-headers-4.13.0-38 linux-headers-4.13.0-38-generic
linux-image-4.13.0-38-generic linux-image-extra-4.13.0-38-generic
node-abbrev node-ansi node-ansi-color-table node-archy node-async
node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
node-forever-agent node-form-data node-fstream node-fstream-ignore
node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits
node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
node-normalize-package-data node-npmlog node-once node-osenv node-qs
node-read node-read-package-json node-request node-retry node-rimraf
node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
node-underscore node-which
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
python3-tk
Suggested packages:
tix python3-tk-dbg
The following packages will be upgraded:
python3-tk
1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/97.5 kB of archives.
After this operation, 308 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 402176 files and directories currently installed.)
Preparing to unpack .../python3-tk_3.6.5-3~16.04.york0.2_amd64.deb ...
Unpacking python3-tk:amd64 (3.6.5-3~16.04.york0.2) over (3.6.3-0ubuntu1~16.04.york0) ...
dpkg: error processing archive /var/cache/apt/archives/python3-tk_3.6.5-3~16.04.york0.2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python3.6/lib-dynload/_tkinter.cpython-36m-x86_64-linux-gnu.so', which is also in package python3.6-tk:amd64 3.6.5-1+xenial1
Errors were encountered while processing:
/var/cache/apt/archives/python3-tk_3.6.5-3~16.04.york0.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I also tried doing



nikhil@nikhil-desktop:~$ sudo apt autoremove
[sudo] password for nikhil:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libpython3.6-stdlib : Breaks: python3-tk (< 3.6.4~rc1-2) but 3.6.3-0ubuntu1~16.04.york0 is installed
E: Unmet dependencies. Try using -f.
nikhil@nikhil-desktop:~$ sudo apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
aria2 gyp libc-ares2 libdb5.3:i386 libgcrypt20:i386 libjs-inherits
libjs-node-uuid libsystemd0:i386 libudev1:i386 libuv1 libuv1-dev
linux-headers-4.13.0-38 linux-headers-4.13.0-38-generic
linux-image-4.13.0-38-generic linux-image-extra-4.13.0-38-generic
node-abbrev node-ansi node-ansi-color-table node-archy node-async
node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
node-forever-agent node-form-data node-fstream node-fstream-ignore
node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits
node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
node-normalize-package-data node-npmlog node-once node-osenv node-qs
node-read node-read-package-json node-request node-retry node-rimraf
node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
node-underscore node-which
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
python3-tk
Suggested packages:
tix python3-tk-dbg
The following packages will be upgraded:
python3-tk
1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/97.5 kB of archives.
After this operation, 308 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 402176 files and directories currently installed.)
Preparing to unpack .../python3-tk_3.6.5-3~16.04.york0.2_amd64.deb ...
Unpacking python3-tk:amd64 (3.6.5-3~16.04.york0.2) over (3.6.3-0ubuntu1~16.04.york0) ...
dpkg: error processing archive /var/cache/apt/archives/python3-tk_3.6.5-3~16.04.york0.2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python3.6/lib-dynload/_tkinter.cpython-36m-x86_64-linux-gnu.so', which is also in package python3.6-tk:amd64 3.6.5-1+xenial1
Errors were encountered while processing:
/var/cache/apt/archives/python3-tk_3.6.5-3~16.04.york0.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


How can I fix this or remove this package?









share|improve this question











share|improve this question




share|improve this question










asked May 13 at 8:28









Nikhil R

213




213











  • Please try this sudo apt full-upgrade to get it to remove any package that needs to be removed!
    – George Udosen
    May 13 at 8:35










  • nikhil@nikhil-desktop:~$ sudo apt full-upgrade [sudo] password for nikhil: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: libpython3.6-stdlib : Breaks: python3-tk (< 3.6.4~rc1-2) but 3.6.3-0ubuntu1~16.04.york0 is installed E: Unmet dependencies. Try using -f.
    – Nikhil R
    May 13 at 9:14






  • 2




    You should use a more descriptive title so people with similar issue can find it more easily.
    – SurvivalMachine
    May 13 at 9:40










  • After fixing my problem I'll change the title, I don't know what the problem is? I'm new to ubuntu @SurvivalMachine, How can I fix this?
    – Nikhil R
    May 13 at 10:00






  • 1




    Please run sudo apt install -f and always add the results as an edit to your post and not in the comments!
    – George Udosen
    May 13 at 11:55

















  • Please try this sudo apt full-upgrade to get it to remove any package that needs to be removed!
    – George Udosen
    May 13 at 8:35










  • nikhil@nikhil-desktop:~$ sudo apt full-upgrade [sudo] password for nikhil: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: libpython3.6-stdlib : Breaks: python3-tk (< 3.6.4~rc1-2) but 3.6.3-0ubuntu1~16.04.york0 is installed E: Unmet dependencies. Try using -f.
    – Nikhil R
    May 13 at 9:14






  • 2




    You should use a more descriptive title so people with similar issue can find it more easily.
    – SurvivalMachine
    May 13 at 9:40










  • After fixing my problem I'll change the title, I don't know what the problem is? I'm new to ubuntu @SurvivalMachine, How can I fix this?
    – Nikhil R
    May 13 at 10:00






  • 1




    Please run sudo apt install -f and always add the results as an edit to your post and not in the comments!
    – George Udosen
    May 13 at 11:55
















Please try this sudo apt full-upgrade to get it to remove any package that needs to be removed!
– George Udosen
May 13 at 8:35




Please try this sudo apt full-upgrade to get it to remove any package that needs to be removed!
– George Udosen
May 13 at 8:35












nikhil@nikhil-desktop:~$ sudo apt full-upgrade [sudo] password for nikhil: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: libpython3.6-stdlib : Breaks: python3-tk (< 3.6.4~rc1-2) but 3.6.3-0ubuntu1~16.04.york0 is installed E: Unmet dependencies. Try using -f.
– Nikhil R
May 13 at 9:14




nikhil@nikhil-desktop:~$ sudo apt full-upgrade [sudo] password for nikhil: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: libpython3.6-stdlib : Breaks: python3-tk (< 3.6.4~rc1-2) but 3.6.3-0ubuntu1~16.04.york0 is installed E: Unmet dependencies. Try using -f.
– Nikhil R
May 13 at 9:14




2




2




You should use a more descriptive title so people with similar issue can find it more easily.
– SurvivalMachine
May 13 at 9:40




You should use a more descriptive title so people with similar issue can find it more easily.
– SurvivalMachine
May 13 at 9:40












After fixing my problem I'll change the title, I don't know what the problem is? I'm new to ubuntu @SurvivalMachine, How can I fix this?
– Nikhil R
May 13 at 10:00




After fixing my problem I'll change the title, I don't know what the problem is? I'm new to ubuntu @SurvivalMachine, How can I fix this?
– Nikhil R
May 13 at 10:00




1




1




Please run sudo apt install -f and always add the results as an edit to your post and not in the comments!
– George Udosen
May 13 at 11:55





Please run sudo apt install -f and always add the results as an edit to your post and not in the comments!
– George Udosen
May 13 at 11:55
















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1035621%2fhow-to-fix-this-problem%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1035621%2fhow-to-fix-this-problem%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Which professions warranted travel in Medieval times?

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error