Апгрейжусь с debian 11. Застряло на следующем :
apt --fix-broken full-upgrade
...
Errors were encountered while processing:
/var/cache/apt/archives/gstreamer1.0-plugins-good_1.22.0-5+deb12u1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Проверял пакеты целые, не битые.
Ощущение, что каким-то образом это связано со snap-oм, который использовался для установки кое-чего. Его тоже не выковыряешь
# snap list
Name Version Rev Tracking Publisher Notes
core 16-2.60.4 16202 latest/stable canonical✓ core
snapd 2.61.1 20671 latest/stable canonical✓ snapd
# snap remove core
error: cannot remove "core": snap "core" is not removable: snap is used by the model
# snap remove snapd
error: cannot remove "snapd": snap "snapd" is not removable: remove all other snaps first
# apt remove snapd
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:
e2fsprogs : PreDepends: libext2fs2 (= 1.46.2-2) but 1.47.0-2 is to be installed
Recommends: e2fsprogs-l10n but it is not going to be installed
gstreamer1.0-plugins-good : Breaks: gstreamer1.0-plugins-good:i386 (!= 1.18.4-dmo1+deb11u1) but 1.22.0-5+deb12u1 is to be installed
gstreamer1.0-plugins-good:i386 : Breaks: gstreamer1.0-plugins-good (!= 1.22.0-5+deb12u1) but 1.18.4-dmo1+deb11u1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
python-pastedeploy-tpl steam:i386 telnet
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
e2fsprogs gstreamer1.0-plugins-good
Suggested packages:
gpart fuse2fs e2fsck-static
Recommended packages:
e2fsprogs-l10n
The following packages will be upgraded:
e2fsprogs gstreamer1.0-plugins-good
2 upgraded, 0 newly installed, 0 to remove and 991 not upgraded.
17 not fully installed or removed.
Need to get 0 B/2,791 kB of archives.
After this operation, 96.3 kB disk space will be freed.
Do you want to continue? [Y/n] Y
Reading changelogs... Done
Setting up coreutils (9.1-1) ...
(Reading database ... 797349 files and directories currently installed.)
Preparing to unpack .../gstreamer1.0-plugins-good_1.22.0-5+deb12u1_amd64.deb ...
Unpacking gstreamer1.0-plugins-good:amd64 (1.22.0-5+deb12u1) over (1.18.4-dmo1+deb11u1) ...
dpkg: error processing archive /var/cache/apt/archives/gstreamer1.0-plugins-good_1.22.0-5+deb12u1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstpulseaudio.so', which is also in package gstreamer1.0-pulseaudio:amd64 1.18.4-dmo1+deb11u1
Preparing to unpack .../e2fsprogs_1.47.0-2_amd64.deb ...
Unpacking e2fsprogs (1.47.0-2) over (1.46.2-2) ...
Errors were encountered while processing:
/var/cache/apt/archives/gstreamer1.0-plugins-good_1.22.0-5+deb12u1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
apt remove gstreamer1.0-plugins-good тоже требует fix-broken
В общем, застрял.