liuxg@liuxg:~/qml$ 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:
libqt5qml-graphicaleffects qtdeclarative5-window-plugin ubuntu-core-security-apparmor
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
snapd
The following NEW packages will be installed:
snapd
0 upgraded, 1 newly installed, 0 to remove and 89 not upgraded.
24 not fully installed or removed.
Need to get 0 B/3,799 kB of archives.
After this operation, 18.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 364419 files and directories currently installed.)
Preparing to unpack .../archives/snapd_1.9.2_amd64.deb ...
Unpacking snapd (1.9.2) ...
dpkg: error processing archive /var/cache/apt/archives/snapd_1.9.2_amd64.deb (--unpack):
trying to overwrite '/usr/share/man/man1/snap.1.gz', which is also in package snap 2013-11-29-1ubuntu2
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/snapd_1.9.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)