When i try to install a new package i get the The following packages have unmet dependencies:
message, so when i try apt -f install
, i get the following output:
Reading database ... 119095 files and directories currently installed.)
Preparing to unpack .../x11-xkb-utils_7.7+3ubuntu0.18.04.1_amd64.deb ...
Unpacking x11-xkb-utils (7.7+3ubuntu0.18.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/x11-xkb-utils_7.7+3ubuntu0.18.04.1_amd64.deb (--unpack):
unable to create '/usr/bin/setxkbmap.dpkg-new' (while processing './usr/bin/setxkbmap'): Operation not permitted
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../x11-common_1%3a7.7+19ubuntu7.1_all.deb ...
dpkg-query: no packages found matching nux-tools
Unpacking x11-common (1:7.7+19ubuntu7.1) ...
dpkg: error processing archive /var/cache/apt/archives/x11-common_1%3a7.7+19ubuntu7.1_all.deb (--unpack):
error creating symbolic link './usr/bin/X11': Operation not permitted
Preparing to unpack .../gtk-update-icon-cache_3.22.30-1ubuntu4_amd64.deb ...
No diversion 'diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin', none removed.
No diversion 'diversion of /usr/share/man/man8/update-icon-caches.8.gz to /usr/share/man/man8/update-icon-caches.gtk2.8.gz by libgtk-3-bin', none removed.
Unpacking gtk-update-icon-cache (3.22.30-1ubuntu4) ...
dpkg: error processing archive /var/cache/apt/archives/gtk-update-icon-cache_3.22.30-1ubuntu4_amd64.deb (--unpack):
unable to create '/usr/bin/gtk-update-icon-cache.dpkg-new' (while processing './usr/bin/gtk-update-icon-cache'): Operation not permitted
Preparing to unpack .../xfonts-utils_1%3a7.7+6_amd64.deb ...
Unpacking xfonts-utils (1:7.7+6) ...
dpkg: error processing archive /var/cache/apt/archives/xfonts-utils_1%3a7.7+6_amd64.deb (--unpack):
unable to create '/usr/bin/bdftopcf.dpkg-new' (while processing './usr/bin/bdftopcf'): Operation not permitted
No apport report written because MaxReports is reached already
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/x11-xkb-utils_7.7+3ubuntu0.18.04.1_amd64.deb
/var/cache/apt/archives/x11-common_1%3a7.7+19ubuntu7.1_all.deb
/var/cache/apt/archives/gtk-update-icon-cache_3.22.30-1ubuntu4_amd64.deb
/var/cache/apt/archives/xfonts-utils_1%3a7.7+6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
When I then try to force-overwrite, for instance, the first error package, i get:
(Reading database ... 119095 files and directories currently installed.)
Preparing to unpack .../x11-xkb-utils_7.7+3ubuntu0.18.04.1_amd64.deb ...
Unpacking x11-xkb-utils (7.7+3ubuntu0.18.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/x11-xkb-utils_7.7+3ubuntu0.18.04.1_amd64.deb (--install):
unable to create '/usr/bin/setxkbmap.dpkg-new' (while processing './usr/bin/setxkbmap'): Operation not permitted
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/x11-xkb-utils_7.7+3ubuntu0.18.04.1_amd64.deb
No matter what I do, I seem to get the same error about not permitted operations! Does anyone have any idea what I can do?