How to fix this problem?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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?
16.04 apt package-management dpkg dependencies
add a comment |Â
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?
16.04 apt package-management dpkg dependencies
Please try thissudo 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 runsudo 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
add a comment |Â
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?
16.04 apt package-management dpkg dependencies
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?
16.04 apt package-management dpkg dependencies
asked May 13 at 8:28
![](https://lh3.googleusercontent.com/-Tvu6_snUULc/AAAAAAAAAAI/AAAAAAAAAkg/gTS-YbwxB0s/photo.jpg?sz=32)
![](https://lh3.googleusercontent.com/-Tvu6_snUULc/AAAAAAAAAAI/AAAAAAAAAkg/gTS-YbwxB0s/photo.jpg?sz=32)
Nikhil R
213
213
Please try thissudo 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 runsudo 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
add a comment |Â
Please try thissudo 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 runsudo 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
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Â
draft saved
draft discarded
Â
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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