Unable to install on Linux Mint
Describe the Bug
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies: vpkedit : Depends: libqt6core6 (>= 6.8.2) Depends: libqt6dbus6 (>= 6.8.2) Depends: libqt6gui6 (>= 6.8.2) Depends: libqt6widgets6 (>= 6.8.2) Depends: libqt6network6 (>= 6.8.2) Depends: libqt6opengl6 (>= 6.8.2) Depends: libqt6openglwidgets6 (>= 6.8.2) Depends: libqt6svg6 (>= 6.8.2) but 6.4.2-4ubuntu3 is to be installed E: Unable to correct problems, you have held broken packages.
To Reproduce
- sudo apt install ./VPKEdit-5.0.0-Linux.deb
VPKEdit Version
Latest
Operating System
Linux Mint 22.2
Ah shoot I probably forgot to downgrade the required package versions. It works with those Qt versions
Hello, I'm on an older version of Mint & there's another error I'm concerned about.
./vpkedit
./vpkedit: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./vpkedit)
./vpkedit: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by ./vpkedit)
./vpkedit: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.31' not found (required by ./vpkedit)
My glibc version is 2.35. Prevents me from launching the 5.0.0 standalone release, currently using v4.4.2.
Very recently had this issue on another program & developer fixed the glib/deb file compatibility for me. https://github.com/rabfulton/TrayMD/issues/1#issuecomment-3839049155
cat /etc/os-release
NAME="Linux Mint"
VERSION="21.3 (Virginia)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 21.3"
VERSION_ID="21.3"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=virginia
UBUNTU_CODENAME=jammy
ldd --version
ldd (Ubuntu GLIBC 2.35-0ubuntu3.13) 2.35
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
/lib/x86_64-linux-gnu/libc.so.6
GNU C Library (Ubuntu GLIBC 2.35-0ubuntu3.13) stable release version 2.35.
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 11.4.0.
libc ABIs: UNIQUE IFUNC ABSOLUTE
For bug reporting instructions, please see:
<https://bugs.launchpad.net/ubuntu/+source/glibc/+bugs>.
Kernel: Linux 5.15.0-168-generic
Also confirming I get the same error with qt.
The following packages have unmet dependencies:
vpkedit : Depends: libqt6core6 (>= 6.8.2) but 6.2.4+dfsg-2ubuntu1.1 is to be installed
Depends: libqt6dbus6 (>= 6.8.2) but 6.2.4+dfsg-2ubuntu1.1 is to be installed
Depends: libqt6gui6 (>= 6.8.2) but 6.2.4+dfsg-2ubuntu1.1 is to be installed
Depends: libqt6widgets6 (>= 6.8.2) but 6.2.4+dfsg-2ubuntu1.1 is to be installed
Depends: libqt6network6 (>= 6.8.2) but 6.2.4+dfsg-2ubuntu1.1 is to be installed
Depends: libqt6opengl6 (>= 6.8.2) but 6.2.4+dfsg-2ubuntu1.1 is to be installed
Depends: libqt6openglwidgets6 (>= 6.8.2) but 6.2.4+dfsg-2ubuntu1.1 is to be installed
Depends: libqt6svg6 (>= 6.8.2) but 6.2.4-1ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
@Sod-ers glibc issue should be fixable with https://github.com/corsix/polyfill-glibc, but I'm not downgrading Qt further than 6.4. Download the standalone version and try patching it with the linked tool.
Appreciate your suggestion, 1 error resolved but 2 remain:
./vpkedit: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by ./vpkedit)
./vpkedit: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.31' not found (required by ./vpkedit)
Tried many polyfill-glibc flags & an updated libstdc++ suggested in similar issue (https://github.com/corsix/polyfill-glibc/issues/14).
I'll use Wine unless there are any significant downsides.
I use VPKEdit to study maps.
I've had the same problem... Seems like right now Mint only holds repos for Qt 6.4.2.
Oddly enough, the version packaged inside the .deb file release does work.
Simply run
dpkg-deb -R VPKEdit-5.0.0-Linux.deb vpkedit-deb
And you'll find it under vpkedit-deb/usr/bin/vpkedit
No clue why the binaries in the deb installer differ so much from the ones in the simple "StrataSource-Linux-Binaries-gcc" release. The latter is almost twice as large, too.
@craftablescience I don't know how you compiled these or why the standalone binaries require Qt6.8.2 while the one in the deb package don't, but as a very quick stopgap to fixing this problem you could change DEBIAN/control to only require 6.4.2. As far as I can tell, it works fine and no functionality is lost on my machine.
@Heraclius I've already commented on this issue, for this release I downgraded Qt back to 6.4 but forgot to change the package requirements. Also the Strata Source build is not meant for regular users, that's what gets installed to Strata Source games like Portal 2: Community Edition. It will rely on the Qt version shipped with that game, which differs from the regular version targets on Windows and Linux
Oh god I'm stupid. My brain kept reading "StrataSource" as "Standalone"...! I thought it's Standalone-Linux-Binaries. Sorry lol, no one to blame but myself