Open ChiefGyk3D opened 3 months ago
Try sudo apt-get -o Dpkg::Options::="--force-overwrite" upgrade
If @mmstick's solution doesn't work, try sudo apt-get -o Dpkg::Options::="--force-overwrite" --fix-broken install
first, followed by sudo apt-get upgrade
.
Distribution (run
cat /etc/os-release
): NAME="Pop!_OS" VERSION="22.04 LTS" ID=pop ID_LIKE="ubuntu debian" PRETTY_NAME="Pop!_OS 22.04 LTS" VERSION_ID="22.04" HOME_URL="https://pop.system76.com" SUPPORT_URL="https://support.system76.com" BUG_REPORT_URL="https://github.com/pop-os/pop/issues" PRIVACY_POLICY_URL="https://system76.com/privacy" VERSION_CODENAME=jammy UBUNTU_CODENAME=jammy LOGO=distributor-logo-pop-osRelated Application and/or Package Version (run
apt policy $PACKAGE NAME
): $ apt policy libvulkan-dev libvulkan-dev: Installed: 1.3.204.1-2 Candidate: 1.3.280.0-1pop1~1716989453~22.04~cff2ecf Version table: 1.3.280.0-1pop1~1716989453~22.04~cff2ecf 1001 1001 http://apt.pop-os.org/release jammy/main amd64 Packages *** 1.3.204.1-2 500 500 http://apt.pop-os.org/ubuntu jammy/main amd64 Packages 100 /var/lib/dpkg/statusIssue/Bug Description:
When trying to update the OS I get an error
Error while installing package: trying to overwrite shared '/usr/share/cmake/VulkanHeaders/VulkanHeadersConfigVersion.cmake', which is different from other instances of package libvulkan-dev
When I try to update from the terminal I get this when trying to fix it:
$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libvulkan-dev
The following packages will be upgraded:
libvulkan-dev
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,278 kB of archives.
After this operation, 10.6 MB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 586714 files and directories currently installed.)
Preparing to unpack .../libvulkan-dev_1.3.280.0-1pop1~1716989453~22.04~cff2ecf_a
md64.deb ...
Unpacking libvulkan-dev:amd64 (1.3.280.0-1pop1~1716989453~22.04~cff2ecf) over (1
.3.204.1-2) ...
dpkg: error processing archive /var/cache/apt/archives/libvulkan-dev_1.3.280.0-1
pop1~1716989453~22.04~cff2ecf_amd64.deb (--unpack):
trying to overwrite shared '/usr/share/cmake/VulkanHeaders/VulkanHeadersConfigV
ersion.cmake', which is different from other instances of package libvulkan-dev:
amd64
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libvulkan-dev1.3.280.0-1pop1~1716989453~22.04~cff2ecf
amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Steps to reproduce (if you know):
apt upgrade -y
Expected behavior:
updates should apply like normal
Other Notes: