Hi,
Can somebody help me fix this package conflict:
I’m trying to install libkf6kio-dev
for krunner plugin development.
but while installing it some dpkg-deb rerors and now when i run any apt install, remove or autoremove command i get:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
unixodbc : Depends: odbcinst1debian2 (>= 2.3.11-3) but it is not installed
Depends: libodbc1 (>= 2.3.11-3) but it is not installed
unixodbc-dev : Depends: odbcinst1debian2 (= 2.3.11-3) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
and running sudo apt --fix-broken install
gives more errors:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies...Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following additional packages will be installed:
libodbc1 odbcinst odbcinst1debian2
Suggested packages:
msodbcsql17 unixodbc-bin
The following NEW packages will be installed:
libodbc1 odbcinst odbcinst1debian2
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
37 not fully installed or removed.
Need to get 0 B/599 kB of archives.
After this operation, 945 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 468808 files and directories currently installed.)
Preparing to unpack .../odbcinst_2.3.11-3_amd64.deb ...
Unpacking odbcinst (2.3.11-3) ...
dpkg: error processing archive /var/cache/apt/archives/odbcinst_2.3.11-3_amd64.deb (--unpack):
trying to overwrite '/etc/odbc.ini', which is also in package unixodbc-common 2.3.9-5ubuntu0.1
Preparing to unpack .../odbcinst1debian2_2.3.11-3_amd64.deb ...
Unpacking odbcinst1debian2:amd64 (2.3.11-3) ...
dpkg: error processing archive /var/cache/apt/archives/odbcinst1debian2_2.3.11-3_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libodbcinst.so.2.0.0', which is also in package libodbcinst2:amd64 2.3.9-5ubuntu0.1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../libodbc1_2.3.11-3_amd64.deb ...
Unpacking libodbc1:amd64 (2.3.11-3) ...
dpkg: error processing archive /var/cache/apt/archives/libodbc1_2.3.11-3_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libodbc.so.2.0.0', which is also in package libodbc2:amd64 2.3.9-5ubuntu0.1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/odbcinst_2.3.11-3_amd64.deb
/var/cache/apt/archives/odbcinst1debian2_2.3.11-3_amd64.deb
/var/cache/apt/archives/libodbc1_2.3.11-3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I’m on:
- OS:
KDE neon 6.0
- Qt:
6.7.0
- Plasma:
6.0.3
Thanks for any help!