Package: x11proto-dev Version: 2021.5-1
Package fails to upgrade: # apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libxau-dev : Depends: x11proto-dev but it is not installed libxdamage-dev : Depends: x11proto-dev but it is not installed libxext-dev : Depends: x11proto-dev but it is not installed libxfixes-dev : Depends: x11proto-dev but it is not installed x11proto-core-dev : Depends: x11proto-dev but it is not installed x11proto-dri2-dev : Depends: x11proto-dev but it is not installed x11proto-gl-dev : Depends: x11proto-dev but it is not installed x11proto-input-dev : Depends: x11proto-dev but it is not installed x11proto-kb-dev : Depends: x11proto-dev but it is not installed x11proto-xext-dev : Depends: x11proto-dev but it is not installed x11proto-xf86vidmode-dev : Depends: x11proto-dev but it is not installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). root@netgate2:/home/njh# apt --fix-broken 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: gnupg-l10n libblas-common libexporter-lite-perl libfile-copy-recursive-perl libgfortran3 libglew2.0 libio-capture-perl libncurses5-dev libnetwork-ipv4addr-perl libset-scalar-perl libstrictures-perl libxcb-util0 ruby-nokogiri ruby-pkg-config ruby-rgen ruby-safe-yaml x11proto-damage-dev x11proto-fixes-dev x11proto-xext-dev Use 'apt autoremove' to remove them. The following additional packages will be installed: x11proto-dev The following NEW packages will be installed: x11proto-dev 0 upgraded, 1 newly installed, 0 to remove and 483 not upgraded. 677 not fully installed or removed. Need to get 0 B/599 kB of archives. After this operation, 1,720 kB of additional disk space will be used. Do you want to continue? [Y/n] (Reading database ... 100009 files and directories currently installed.) Preparing to unpack .../x11proto-dev_2021.5-1_all.deb ... Unpacking x11proto-dev (2021.5-1) ... dpkg: error processing archive /var/cache/apt/archives/x11proto-dev_2021.5-1_all.deb (--unpack): trying to overwrite '/usr/include/X11/extensions/damageproto.h', which is also in package x11proto-damage-dev 1:1.2.1-2 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/x11proto-dev_2021.5-1_all.deb needrestart is being skipped since dpkg has failed E: Sub-process /usr/bin/dpkg returned an error code (1)