Note: Its an i686 PC
Basically, I was (as an Arch User) trying to assist my friend (who is 100% new to Linux) with adding the testing and unstable repos to his Debian 9.5 system. However, things have gone very awry. Specifically, this error is occuring:
Code: Select all
sha-pc@debian:~$ sudo apt --fix-broken install lmms
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:
lmms : Depends: lmms-common (>= 1.1.3-7) but it is not going to be installed
Depends: calf-ladspa but it is not going to be installed
Depends: libfltk1.3 (>= 1.3.1) but it is not going to be installed
Depends: libfluidsynth1 (>= 1.1.6-4~) but it is not going to be installed
Depends: libportaudio2 (>= 19+svn20101113) but it is not going to be installed
Depends: libqt4-xml (>= 4:4.5.3) but it is not going to be installed
Depends: libqtcore4 (>= 4:4.8.0) but it is not going to be installed
Depends: libqtgui4 (>= 4:4.5.3) but it is not going to be installed
Depends: libstk-4.5.0 but it is not going to be installed
Depends: stk but it is not going to be installed
Recommends: tap-plugins but it is not going to be installed
Recommends: caps but it is not going to be installed
Recommends: lmms-vst-server:i386 (>= 1.1.3-7)
python3-apt : Depends: libapt-pkg5.0 (>= 1.7.0~alpha3~) but 1.4.8 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Code: Select all
sha-pc@debian:~$ sudo apt -t testing install libapt-pkg5.0
I was trying to upgrade libapt since that appeared to be the error, and since --fix-broken didn't help. However, this broke it further. Now, all usage of apt results in:
Code: Select all
sha-pc@debian:~$ sudo apt install lmms
apt-get: relocation error: /usr/lib/i386-linux-gnu/libapt-private.so.0.0: symbol _ZN3URIcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev version APTPKG_5.0 not defined in file libapt-pkg.so.5.0 with link time reference
Either one should be fine.
Possibly useful files:
Code: Select all
/etc/apt/sources.list:
# Testing repository - main, contrib and non-free branches
deb http://http.us.debian.org/debian testing main non-free contrib
deb-src http://http.us.debian.org/debian testing main non-free contrib
# Testing security updates repository
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free
# Unstable repo main, contrib and non-free branches, no security updates here
deb http://http.us.debian.org/debian unstable main non-free contrib
deb-src http://http.us.debian.org/debian unstable main non-free contrib
deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free
deb http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free
Code: Select all
/etc/apt/preferences
Package: *
Pin: release a=stable
Pin-Priority: 700
Package: *
Pin: release a=testing
Pin-Priority: 650
Package: *
Pin: release a=unstable
Pin-Priority: 600
Side note: If somebody knows how to get a 100% reset on apt, with all config files and EVERYTHING, that would be appreciated as well. Not reset the repos, or anything, but actually reset apt to its out-of-the-box state.