Debian 11 broken dpkg

Hi. I inadvertently broke my Debian 11 (Bullseye) system.

Here's the output:

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:
  apg apper-data bup-doc cheese-common cpp-11-arm-linux-gnueabi cpp-9-arm-linux-gnueabi
  cpp-arm-linux-gnueabi cups-pk-helper dconf-cli docbook-to-man espeak-ng-data
  evolution-data-server evolution-data-server-common exfat-fuse fish-common ftp gcc-10-base:i386
  gcc-10-base:armel gcc-11-arm-linux-gnueabi-base gcc-11-base:i386 gcc-11-base:armel
  gcc-9-arm-linux-gnueabi-base gcc-9-cross-base gir1.2-accountsservice-1.0 gir1.2-farstream-0.2
  gir1.2-gcab-1.0 gir1.2-gck-1 gir1.2-gconf-2.0 gir1.2-gcr-3 gir1.2-gdesktopenums-3.0
  gir1.2-gdm-1.0 gir1.2-geoclue-2.0 gir1.2-gnomebluetooth-1.0 gir1.2-gnomedesktop-3.0
  gir1.2-gst-plugins-bad-1.0 gir1.2-gst-plugins-base-1.0 gir1.2-gtherm-0.0 gir1.2-gtk-vnc-2.0
  gir1.2-gtksource-3.0 gir1.2-gtksource-4 gir1.2-gtkspell3-3.0 gir1.2-gtop-2.0
  gir1.2-gweather-3.0 gir1.2-handy-0.0 gir1.2-ibus-1.0 gir1.2-json-1.0 gir1.2-keybinder-3.0
  gir1.2-malcontent-0 gir1.2-nm-1.0 gir1.2-nma-1.0 gir1.2-notify-0.7 gir1.2-peas-1.0
  gir1.2-polkit-1.0 gir1.2-rsvg-2.0 gir1.2-secret-1 gir1.2-telepathyglib-0.12 gir1.2-totem-1.0
  gir1.2-totemplparser-1.0 gir1.2-upowerglib-1.0 gir1.2-vte-2.91 gir1.2-wnck-3.0 gjs gkbd-capplet
  gnome-backgrounds gnome-control-center-data gnome-menus gnome-online-accounts gnome-screenshot
  gnome-settings-daemon-common gnome-shell-common gnome-user-docs gnome-user-share
  gstreamer1.0-clutter-3.0 gstreamer1.0-nice gstreamer1.0-pipewire guile-2.2-libs ibus-gtk
  ibus-gtk3 im-config kio-extras-data libapache2-mod-dnssd libarchive-dev libasan5-armel-cross
  libasound2-dev libatk-adaptor libboost-python1.74.0 libbz2-1.0:armel libcaca-dev
  libcamel-1.2-62 libcamel-1.2-63 libcbor0 libcheese-gtk25 libcheese8 libclutter-1.0-0
  libclutter-1.0-common libclutter-gst-3.0-0 libclutter-gtk-1.0-0 libcogl-common libcogl-pango20
  libcogl-path20 libcogl20 libcolord-gtk1 libcpanel-json-xs-perl libcwiid1 libdb5.3:armel
  libdc1394-dev libdotconf0 libdrm-dev libebackend-1.2-10 libebook-1.2-20 libebook-contacts-1.2-3
  libecal-2.0-1 libedata-book-1.2-26 libedata-cal-2.0-1 libedataserver-1.2-25
  libedataserver-1.2-26 libedataserverui-1.2-2 libedataserverui-1.2-3 libespeak-ng1 libevdev-dev
  libevent-pthreads-2.1-7 libexif-dev libexif-doc libexpat1:armel libfabric1 libfarstream-0.2-5
  libffi8:armel libfluidsynth2 libfmt7 libfwupdplugin1 libgavl1 libgbm-dev
  libgcc-9-dev-armel-cross libgconf2-doc libgdcm-dev libgdm1 libgeoclue-2-0 libgeocode-glib0
  libges-1.0-0 libgjs0g libgl2ps1.4 libgmerlin-avdec1 libgmerlin0 libgnome-autoar-0-0
  libgnome-bluetooth13 libgoa-backend-1.0-1 libgphoto2-dev libgpm2:armel libgraphicsmagick-q16-3
  libgsound0 libgstreamer-opencv1.0-0 libgweather-3-16 libgweather-common libhandy-0.0-0
  libhwloc-plugins libhwloc15 libigdgmm11 libilmbase-dev libjsoncpp24 libkdsoap1
  libkeybinder-3.0-0 liblzma5:armel libmailutils7 libmalcontent-ui-0-0 libmbedcrypto3
  libmbedtls12 libmbedx509-0 libmozjs-78-0 libmpdec3:armel libmtdev-dev libncursesw6:armel
  libnet1 libnss-myhostname libntfs-3g883 libobjc-10-dev libofa0 libomp-11-dev libomp5-11
  libopencv-calib3d-dev libopencv-calib3d4.5d libopencv-contrib-dev libopencv-contrib4.5d
  libopencv-core-dev libopencv-dev libopencv-dnn-dev libopencv-dnn4.5d libopencv-features2d-dev
  libopencv-features2d4.5d libopencv-flann-dev libopencv-flann4.5d libopencv-highgui-dev
  libopencv-highgui4.5d libopencv-imgcodecs-dev libopencv-imgproc-dev libopencv-ml-dev
  libopencv-ml4.5d libopencv-objdetect-dev libopencv-objdetect4.5d libopencv-photo-dev
  libopencv-shape-dev libopencv-shape4.5d libopencv-stitching-dev libopencv-stitching4.5d
  libopencv-superres-dev libopencv-superres4.5d libopencv-video-dev libopencv-video4.5d
  libopencv-videoio-dev libopencv-videoio4.5d libopencv-videostab-dev libopencv-videostab4.5d
  libopencv-viz-dev libopencv-viz4.5d libopencv4.5-java libopencv4.5d-jni libopenexr-dev
  libopenmpi3 liborc-0.4-dev liborc-0.4-dev-bin libotf0 libpcaudio0 libpciaccess-dev libperl5.32
  libperl5.32:i386 libpmix2 libportal-qt5-1 libpsl-dev libpsm-infinipath1 libpsm2-2
  libpython3-dev libpython3-stdlib:armel libpython3.9-dev libpython3.9-minimal:armel
  libpython3.9-stdlib:armel libqt5xmlpatterns5 libraw1394-dev libraw1394-tools libreadline8:armel
  librest-0.7-0 librygel-core-2.6-2 librygel-db-2.6-2 librygel-renderer-2.6-2
  librygel-server-2.6-2 libsidplayfp5 libsigc++-2.0-dev libslang2-dev libsndio-dev libsonic0
  libsqlite3-0:armel libstdc++-9-dev-armel-cross libstdc++6:armel libtbb-dev
  libtelepathy-farstream3 libtelepathy-glib0 libtelepathy-qt5-0 libtelepathy-qt5-farstream0
  libtinfo6:armel libucx0 libudev-dev liburing1 libuuid1:armel libva-glx2 libvtk9.1 libwmf0.2-7
  libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5 libx264-160 libxine2-bin libxine2-ffmpeg libxine2-x
  libxmlb1 libxmu-dev libxmu-headers libxv-dev libxxf86vm-dev lxde-common lxlauncher lxtask
  mutter-common node-ajv node-ansi node-asn1 node-assert-plus node-aws-sign2 node-aws4
  node-bcrypt-pbkdf node-caseless node-concat-map node-dashdash node-ecc-jsbn node-extend
  node-extsprintf node-fast-deep-equal node-forever-agent node-getpass node-har-schema
  node-har-validator node-http-signature node-isstream node-jsbn node-json-schema
  node-json-schema-traverse node-json-stable-stringify node-json-stringify-safe node-jsonify
  node-jsonstream node-jsprim node-leven node-lockfile node-number-is-nan node-oauth-sign
  node-performance-now node-puka node-qs node-request node-resolve-from node-sshpk node-through
  node-tunnel-agent node-tweetnacl node-uri-js node-uuid node-verror obconf opencv-data par2
  perl-modules-5.32 python3-blinker python3-configobj python3-debconf python3-debian
  python3-docker python3-dockerpty python3-docopt python3-dotenv python3-httplib2 python3-jwt
  python3-louis python3-mutagen python3-natsort python3-pbr python3-pyudev python3-speechd
  python3-texttable python3-unidecode python3-usb python3-websocket python3-websockets
  python3-xdg realmd ruby2.7 rygel samba-common scrot sound-icons speech-dispatcher
  speech-dispatcher-audio-plugins speech-dispatcher-espeak-ng switcheroo-control
  x11proto-xf86vidmode-dev xbrlapi xdg-user-dirs-gtk xkbset zlib1g:armel
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libgstreamer1.0-0
Suggested packages:
  gstreamer1.0-tools
The following packages will be upgraded:
  libgstreamer1.0-0
1 upgraded, 0 newly installed, 0 to remove and 261 not upgraded.
3 not fully installed or removed.
Need to get 0 B/2290 kB of archives.
After this operation, 381 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 562980 files and directories currently installed.)
Preparing to unpack .../libgstreamer1.0-0_1.20.1-1_amd64.deb ...
Unpacking libgstreamer1.0-0:amd64 (1.20.1-1) over (1.14.4-1) ...
dpkg: error processing archive /var/cache/apt/archives/libgstreamer1.0-0_1.20.1-1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/locale/ast/LC_MESSAGES/gstreamer-1.0.mo', which is different from other instances of package libgstreamer1.0-0:amd64
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libgstreamer1.0-0_1.20.1-1_amd64.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any way to fix this?

Thank you.

Hi @ignatius,

it seems that you have installed libgstreamer1.0-0 from another source. Please post the output of

$ apt-cache policy libgstreamer1.0-0
$ rgrep ^deb /etc/apt/source*
2 Likes
ignatius@catch22bbs:~$ apt-cache policy libgstreamer1.0-0
libgstreamer1.0-0:
  Installed: 1.14.4-1
  Candidate: 1.20.1-1
  Version table:
     1.20.1-1 500
        500 http://deb.debian.org/debian testing/main amd64 Packages
     1.18.4-2.1 500
        500 http://deb.debian.org/debian bullseye/main amd64 Packages
        500 http://ftp.de.debian.org/debian bullseye/main amd64 Packages
 *** 1.14.4-1 100
        100 /var/lib/dpkg/status
     1.4.4-2+deb8u1 500
        500 http://security.debian.org/debian-security jessie/updates/main amd64 Packages

And...

ignatius@catch22bbs:~$ rgrep ^deb /etc/apt/source*
/etc/apt/sources.list:deb http://deb.debian.org/debian bullseye-updates main
/etc/apt/sources.list:deb-src http://deb.debian.org/debian bullseye-updates main
/etc/apt/sources.list:deb http://security.debian.org/debian-security bullseye-security main
/etc/apt/sources.list:deb-src http://security.debian.org/debian-security bullseye-security main
/etc/apt/sources.list:deb http://deb.debian.org/debian bullseye-backports main
/etc/apt/sources.list:deb-src http://deb.debian.org/debian bullseye-backports main
/etc/apt/sources.list:deb http://deb.debian.org/debian bullseye main
/etc/apt/sources.list:deb-src http://deb.debian.org/debian bullseye main
/etc/apt/sources.list:deb http://security.debian.org/debian-security jessie/updates main
/etc/apt/sources.list:deb http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu jaunty main
/etc/apt/sources.list:deb-src http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu jaunty main
/etc/apt/sources.list:deb http://deb.debian.org/debian/ testing main contrib non-free
/etc/apt/sources.list:deb http://deb.debian.org/debian/ testing-updates main contrib non-free
/etc/apt/sources.list:deb http://deb.debian.org/debian-security testing-security main
/etc/apt/sources.list:deb https://launchpad.net/~darklin20/+archive/ubuntu/bomi ubuntu main
/etc/apt/sources.list:deb https://ppa.launchpadcontent.net/darklin20/cmplayer-ppa/ubuntu jammy main
/etc/apt/sources.list:deb-src https://ppa.launchpadcontent.net/darklin20/cmplayer-ppa/ubuntu jammy main
/etc/apt/sources.list:deb http://ftp.de.debian.org/debian bullseye main 
/etc/apt/sources.list.d/waydroid.list:deb [signed-by=/usr/share/keyrings/waydroid.gpg] https://repo.waydro.id/ bullseye main
/etc/apt/sources.list.d/steam.list:deb [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
/etc/apt/sources.list.d/steam.list:deb-src [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
/etc/apt/sources.list.save:deb http://deb.debian.org/debian bullseye-updates main
/etc/apt/sources.list.save:deb-src http://deb.debian.org/debian bullseye-updates main
/etc/apt/sources.list.save:deb http://security.debian.org/debian-security bullseye-security main
/etc/apt/sources.list.save:deb-src http://security.debian.org/debian-security bullseye-security main
/etc/apt/sources.list.save:deb http://deb.debian.org/debian bullseye-backports main
/etc/apt/sources.list.save:deb-src http://deb.debian.org/debian bullseye-backports main
/etc/apt/sources.list.save:deb http://deb.debian.org/debian bullseye main
/etc/apt/sources.list.save:deb-src http://deb.debian.org/debian bullseye main
/etc/apt/sources.list.save:deb http://security.debian.org/debian-security jessie/updates main
/etc/apt/sources.list.save:deb http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu jaunty main
/etc/apt/sources.list.save:deb-src http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu jaunty main
/etc/apt/sources.list.save:deb http://deb.debian.org/debian/ testing main contrib non-free
/etc/apt/sources.list.save:deb http://deb.debian.org/debian/ testing-updates main contrib non-free
/etc/apt/sources.list.save:deb http://deb.debian.org/debian-security testing-security main

Thanks.

ok, thanks @ignatius.

Well, that's quite a mess.

The error most probably occurs because 1.20.1 is to be installed from testing, 1.14.4 from oldstable is installed, but stable is 1.18.4:

Unpacking libgstreamer1.0-0:amd64 (1.20.1-1) over (1.14.4-1)
...
1.18.4-2.1 500
    500 http://deb.debian.org/debian bullseye/main amd64 Packages

You should definitely avoid jumping over two major versions.

Here is an overview including some comments and suggestions:

sources.list:
# stable - ok
deb http://deb.debian.org/debian bullseye main
deb http://deb.debian.org/debian bullseye-updates main
# backports, probably not needed. but can be active.
deb http://deb.debian.org/debian bullseye-backports main
# important!
deb http://security.debian.org/debian-security bullseye-security main

# debian 12/bookworm = testing - remove this or comment out
deb http://deb.debian.org/debian/ testing main contrib non-free 

# debian 8/jessie, out of support - remove this
deb http://security.debian.org/debian-security jessie/updates main

# ubuntu 9.04/jaunty?? last update is of 10.04/lucid - remove this
deb http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu jaunty main

# last update is of 10.04/lucid - remove this
deb https://launchpad.net/~darklin20/+archive/ubuntu/bomi ubuntu main

# ubuntu 22.04/jammy?? not released yet - comment out
deb https://ppa.launchpadcontent.net/darklin20/cmplayer-ppa/ubuntu jammy main

waydroid.list:
# didn't look for, should be ok
deb [signed-by=/usr/share/keyrings/waydroid.gpg] https://repo.waydro.id/ bullseye main
steam.list:
# should be ok
deb [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam

You can ignore the .save files and comment out all the deb-src entries. I guess you don't want to compile packages yourself. Please call as root resp. each command with sudo:

# cleanup repo lists & remove outdated deb files
$ rm -rf /var/lib/apt/lists/* && apt-get autoclean
$ apt update && apt upgrade && apt dist-upgrade

Does that work?

1 Like
root@catch22bbs:/home/ignatius# rm -rf /var/lib/apt/lists/* && apt-get autoclean
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

And..

root@catch22bbs:/home/ignatius# apt update && apt upgrade && apt dist-upgrade
Hit:1 http://deb.debian.org/debian bullseye-updates InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-backports InRelease                                   
Hit:4 http://security.debian.org/debian-security jessie/updates InRelease                         
Hit:5 http://deb.debian.org/debian bullseye InRelease                                             
Hit:6 https://repo.steampowered.com/steam stable InRelease                                        
Ign:7 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu jaunty InRelease                          
Hit:8 http://deb.debian.org/debian testing InRelease                                              
Hit:9 http://ftp.de.debian.org/debian bullseye InRelease                                          
Hit:10 http://deb.debian.org/debian testing-updates InRelease                                     
Hit:11 https://repo.waydro.id bullseye InRelease                                                  
Ign:12 https://ppa.launchpadcontent.net/darklin20/cmplayer-ppa/ubuntu jammy InRelease             
Get:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu jaunty Release [74.7 kB]         
Hit:14 http://deb.debian.org/debian-security testing-security InRelease     
Ign:15 https://launchpad.net/~darklin20/+archive/ubuntu/bomi ubuntu InRelease                     
Err:16 https://launchpad.net/~darklin20/+archive/ubuntu/bomi ubuntu Release                       
  404  Not Found [IP: 91.189.89.222 443]
Err:17 https://ppa.launchpadcontent.net/darklin20/cmplayer-ppa/ubuntu jammy Release       
  404  Not Found [IP: 91.189.95.85 443]
Get:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu jaunty Release.gpg [316 B]
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu jaunty Release.gpg
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-armel/Packages' as repository 'https://repo.waydro.id bullseye InRelease' doesn't support architecture 'armel'
E: The repository 'https://launchpad.net/~darklin20/+archive/ubuntu/bomi ubuntu Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://ppa.launchpadcontent.net/darklin20/cmplayer-ppa/ubuntu jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D0AFF96872D340A3
E: The repository 'http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu jaunty Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Nope. Didn't work. :frowning:

as you can see @ignatius, these repos are't accessible:

Do you have have commented out resp. removed them?

Ok. I get this now:

root@catch22bbs:/etc/apt# rm -rf /var/lib/apt/lists/* && apt-get autoclean
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Del libgstreamer1.0-0 1.20.1-1 [2,290 kB]

And..

root@catch22bbs:/etc/apt#  apt update && apt upgrade && apt dist-upgrade
Get:1 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Get:2 http://deb.debian.org/debian bullseye-updates InRelease [39.4 kB]                           
Get:3 https://repo.steampowered.com/steam stable InRelease [2,861 B]                              
Get:4 http://deb.debian.org/debian bullseye-backports InRelease [44.2 kB]                         
Get:5 https://repo.steampowered.com/steam stable/steam Sources [589 B]                            
Get:6 http://deb.debian.org/debian bullseye InRelease [116 kB]                                    
Get:7 http://ftp.de.debian.org/debian bullseye InRelease [116 kB]                                 
Get:8 https://repo.steampowered.com/steam stable/steam amd64 Packages [1,074 B]                   
Get:9 https://repo.steampowered.com/steam stable/steam i386 Packages [1,251 B]                    
Get:10 http://deb.debian.org/debian testing InRelease [130 kB]                                    
Get:11 http://security.debian.org/debian-security jessie/updates InRelease [44.9 kB]              
Get:12 http://security.debian.org/debian-security bullseye-security/main Sources [110 kB]         
Get:13 http://security.debian.org/debian-security bullseye-security/main i386 Packages [123 kB]   
Get:14 http://security.debian.org/debian-security bullseye-security/main armel Packages [125 kB]  
Get:15 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [123 kB]  
Get:16 http://security.debian.org/debian-security bullseye-security/main Translation-en [78.7 kB] 
Get:17 https://repo.waydro.id bullseye InRelease [1,346 B]                                        
Get:18 http://deb.debian.org/debian testing-updates InRelease [36.8 kB]                           
Get:19 http://security.debian.org/debian-security jessie/updates/main armel Packages [763 kB]     
Get:20 http://security.debian.org/debian-security jessie/updates/main amd64 Packages [781 kB]     
Get:21 https://repo.waydro.id bullseye/main all Packages [6,133 B]                                
Get:22 http://deb.debian.org/debian-security testing-security InRelease [35.6 kB]                 
Get:23 http://deb.debian.org/debian bullseye-updates/main Sources [1,868 B]                       
Get:24 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [2,596 B]         
Get:25 http://deb.debian.org/debian bullseye-updates/main armel Packages [2,604 B]          
Get:26 http://deb.debian.org/debian bullseye-updates/main i386 Packages [2,600 B]           
Get:27 http://deb.debian.org/debian bullseye-updates/main Translation-en [2,343 B]
Get:28 http://deb.debian.org/debian bullseye-backports/main Sources [221 kB]                      
Get:29 http://deb.debian.org/debian bullseye-backports/main armel Packages [217 kB]
Get:30 http://deb.debian.org/debian bullseye-backports/main amd64 Packages [225 kB]               
Get:31 http://deb.debian.org/debian bullseye-backports/main i386 Packages [224 kB]                
Get:32 http://deb.debian.org/debian bullseye-backports/main Translation-en [183 kB]               
Get:33 http://deb.debian.org/debian bullseye/main Sources [8,626 kB]                              
Get:34 http://ftp.de.debian.org/debian bullseye/main i386 Packages [8,121 kB]                     
Get:35 http://security.debian.org/debian-security jessie/updates/main i386 Packages [781 kB]      
Get:36 http://security.debian.org/debian-security jessie/updates/main Translation-en [401 kB]     
Get:37 http://deb.debian.org/debian bullseye/main i386 Packages [8,121 kB]                        
Get:38 http://deb.debian.org/debian bullseye/main armel Packages [7,865 kB]                  
Get:39 http://deb.debian.org/debian bullseye/main amd64 Packages [8,183 kB]                   
Get:40 http://deb.debian.org/debian bullseye/main Translation-en [6,243 kB]                       
Get:41 http://ftp.de.debian.org/debian bullseye/main amd64 Packages [8,183 kB]                    
Get:42 http://deb.debian.org/debian bullseye/main amd64 DEP-11 Metadata [4,049 kB]                
Get:43 http://deb.debian.org/debian bullseye/main DEP-11 48x48 Icons [3,478 kB]                   
Get:44 http://deb.debian.org/debian bullseye/main DEP-11 64x64 Icons [7,315 kB]                   
Get:45 http://ftp.de.debian.org/debian bullseye/main armel Packages [7,865 kB]                    
Get:46 http://deb.debian.org/debian bullseye/main DEP-11 128x128 Icons [11.4 MB]                  
Get:47 http://ftp.de.debian.org/debian bullseye/main Translation-en [6,243 kB]                    
Get:48 http://ftp.de.debian.org/debian bullseye/main amd64 DEP-11 Metadata [4,049 kB]             
Get:49 http://ftp.de.debian.org/debian bullseye/main DEP-11 48x48 Icons [3,478 kB]                
Get:50 http://deb.debian.org/debian testing/main armel Packages [8,007 kB]                        
Get:51 http://ftp.de.debian.org/debian bullseye/main DEP-11 64x64 Icons [7,315 kB]                
Get:52 http://deb.debian.org/debian testing/main i386 Packages [8,275 kB]                         
Get:53 http://ftp.de.debian.org/debian bullseye/main DEP-11 128x128 Icons [11.4 MB]               
Get:54 http://deb.debian.org/debian testing/main amd64 Packages [8,358 kB]                        
Get:55 http://deb.debian.org/debian testing/main Translation-en [5,716 kB]                        
Get:56 http://deb.debian.org/debian testing/main amd64 DEP-11 Metadata [4,197 kB]                 
Get:57 http://deb.debian.org/debian testing/main DEP-11 48x48 Icons [3,455 kB]                    
Get:58 http://deb.debian.org/debian testing/main DEP-11 64x64 Icons [7,156 kB]                    
Get:59 http://deb.debian.org/debian testing/main DEP-11 128x128 Icons [11.1 MB]                   
Get:60 http://deb.debian.org/debian testing/contrib armel Packages [40.7 kB]                      
Get:61 http://deb.debian.org/debian testing/contrib amd64 Packages [54.9 kB]                      
Get:62 http://deb.debian.org/debian testing/contrib i386 Packages [49.4 kB]                       
Get:63 http://deb.debian.org/debian testing/contrib Translation-en [48.3 kB]                      
Get:64 http://deb.debian.org/debian testing/contrib amd64 DEP-11 Metadata [14.2 kB]               
Get:65 http://deb.debian.org/debian testing/contrib DEP-11 48x48 Icons [46.4 kB]                  
Get:66 http://deb.debian.org/debian testing/contrib DEP-11 64x64 Icons [93.2 kB]                  
Get:67 http://deb.debian.org/debian testing/contrib DEP-11 128x128 Icons [190 kB]                 
Get:68 http://deb.debian.org/debian testing/non-free i386 Packages [77.5 kB]                      
Get:69 http://deb.debian.org/debian testing/non-free amd64 Packages [95.5 kB]                     
Get:70 http://deb.debian.org/debian testing/non-free armel Packages [53.1 kB]                     
Get:71 http://deb.debian.org/debian testing/non-free Translation-en [84.8 kB]                     
Get:72 http://deb.debian.org/debian testing/non-free amd64 DEP-11 Metadata [19.3 kB]              
Get:73 http://deb.debian.org/debian testing/non-free DEP-11 48x48 Icons [3,128 B]                 
Get:74 http://deb.debian.org/debian testing/non-free DEP-11 64x64 Icons [26.7 kB]                 
Get:75 http://deb.debian.org/debian testing/non-free DEP-11 128x128 Icons [9,874 B]               
Fetched 184 MB in 23s (7,919 kB/s)                                                                
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
270 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Skipping acquire of configured file 'main/binary-armel/Packages' as repository 'https://repo.waydro.id bullseye InRelease' doesn't support architecture 'armel'
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:
 gir1.2-gstreamer-1.0 : Depends: libgstreamer1.0-0 (>= 1.20.0) but 1.14.4-1 is installed
 gstreamer1.0-alsa : Depends: libgstreamer1.0-0 (>= 1.20.0) but 1.14.4-1 is installed
 gstreamer1.0-gl : Depends: libgstreamer1.0-0 (>= 1.20.0) but 1.14.4-1 is installed
 gstreamer1.0-gtk3 : Depends: libgstreamer1.0-0 (>= 1.20.0) but 1.14.4-1 is installed
 gstreamer1.0-libav : Depends: libgstreamer1.0-0 (>= 1.20.0) but 1.14.4-1 is installed
 gstreamer1.0-plugins-bad : Depends: libgstreamer1.0-0 (>= 1.20.0) but 1.14.4-1 is installed
 gstreamer1.0-plugins-base : Depends: libgstreamer1.0-0 (>= 1.20.0) but 1.14.4-1 is installed
 gstreamer1.0-plugins-good : Depends: libgstreamer1.0-0 (>= 1.20.0) but 1.14.4-1 is installed
 gstreamer1.0-plugins-ugly : Depends: libgstreamer1.0-0 (>= 1.20.0) but 1.14.4-1 is installed
 gstreamer1.0-x : Depends: libgstreamer1.0-0 (>= 1.20.0) but 1.14.4-1 is installed
 libges-1.0-0 : Depends: libgstreamer1.0-0 (>= 1.20.0) but 1.14.4-1 is installed
 libgstreamer-gl1.0-0 : Depends: libgstreamer1.0-0 (>= 1.20.0) but 1.14.4-1 is installed
 libgstreamer-opencv1.0-0 : Depends: libgstreamer1.0-0 (>= 1.20.0) but 1.14.4-1 is installed
 libgstreamer-plugins-bad1.0-0 : Depends: libgstreamer1.0-0 (>= 1.20.0) but 1.14.4-1 is installed
 libgstreamer-plugins-base1.0-0 : Depends: libgstreamer1.0-0 (>= 1.20.0) but 1.14.4-1 is installed
 libgstreamer1.0-0 : Breaks: libgstreamer1.0-0:i386 (!= 1.14.4-1) but 1.20.1-1 is installed
 libgstreamer1.0-0:i386 : Breaks: libgstreamer1.0-0 (!= 1.20.1-1) but 1.14.4-1 is installed
 libgstreamer1.0-dev : Depends: libgstreamer1.0-0 (= 1.20.1-1) but 1.14.4-1 is installed
 libwebkit2gtk-4.0-37 : Depends: libgstreamer1.0-0 (>= 1.20.0) but 1.14.4-1 is installed
 E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

And now, this:

root@catch22bbs:/etc/apt# 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:
  apg apper-data bup-doc cheese-common cpp-11-arm-linux-gnueabi cpp-9-arm-linux-gnueabi
  cpp-arm-linux-gnueabi cups-pk-helper dconf-cli docbook-to-man espeak-ng-data
  evolution-data-server evolution-data-server-common exfat-fuse fish-common ftp gcc-10-base:i386
  gcc-10-base:armel gcc-11-arm-linux-gnueabi-base gcc-11-base:i386 gcc-11-base:armel
  gcc-9-arm-linux-gnueabi-base gcc-9-cross-base gir1.2-accountsservice-1.0 gir1.2-farstream-0.2
  gir1.2-gcab-1.0 gir1.2-gck-1 gir1.2-gconf-2.0 gir1.2-gcr-3 gir1.2-gdesktopenums-3.0
  gir1.2-gdm-1.0 gir1.2-geoclue-2.0 gir1.2-gnomebluetooth-1.0 gir1.2-gnomedesktop-3.0
  gir1.2-gst-plugins-bad-1.0 gir1.2-gst-plugins-base-1.0 gir1.2-gtherm-0.0 gir1.2-gtk-vnc-2.0
  gir1.2-gtksource-3.0 gir1.2-gtksource-4 gir1.2-gtkspell3-3.0 gir1.2-gtop-2.0
  gir1.2-gweather-3.0 gir1.2-handy-0.0 gir1.2-ibus-1.0 gir1.2-json-1.0 gir1.2-keybinder-3.0
  gir1.2-malcontent-0 gir1.2-nm-1.0 gir1.2-nma-1.0 gir1.2-notify-0.7 gir1.2-peas-1.0
  gir1.2-polkit-1.0 gir1.2-rsvg-2.0 gir1.2-secret-1 gir1.2-telepathyglib-0.12 gir1.2-totem-1.0
  gir1.2-totemplparser-1.0 gir1.2-upowerglib-1.0 gir1.2-vte-2.91 gir1.2-wnck-3.0 gjs gkbd-capplet
  gnome-backgrounds gnome-control-center-data gnome-menus gnome-online-accounts gnome-screenshot
  gnome-settings-daemon-common gnome-shell-common gnome-user-docs gnome-user-share
  gstreamer1.0-clutter-3.0 gstreamer1.0-nice gstreamer1.0-pipewire guile-2.2-libs ibus-gtk
  ibus-gtk3 im-config kio-extras-data libapache2-mod-dnssd libarchive-dev libasan5-armel-cross
  libasound2-dev libatk-adaptor libboost-python1.74.0 libbz2-1.0:armel libcaca-dev
  libcamel-1.2-62 libcamel-1.2-63 libcbor0 libcheese-gtk25 libcheese8 libclutter-1.0-0
  libclutter-1.0-common libclutter-gst-3.0-0 libclutter-gtk-1.0-0 libcogl-common libcogl-pango20
  libcogl-path20 libcogl20 libcolord-gtk1 libcpanel-json-xs-perl libcwiid1 libdb5.3:armel
  libdc1394-dev libdotconf0 libdrm-dev libebackend-1.2-10 libebook-1.2-20 libebook-contacts-1.2-3
  libecal-2.0-1 libedata-book-1.2-26 libedata-cal-2.0-1 libedataserver-1.2-25
  libedataserver-1.2-26 libedataserverui-1.2-2 libedataserverui-1.2-3 libespeak-ng1 libevdev-dev
  libevent-pthreads-2.1-7 libexif-dev libexif-doc libexpat1:armel libfabric1 libfarstream-0.2-5
  libffi8:armel libfluidsynth2 libfmt7 libfwupdplugin1 libgavl1 libgbm-dev
  libgcc-9-dev-armel-cross libgconf2-doc libgdcm-dev libgdm1 libgeoclue-2-0 libgeocode-glib0
  libges-1.0-0 libgjs0g libgl2ps1.4 libgmerlin-avdec1 libgmerlin0 libgnome-autoar-0-0
  libgnome-bluetooth13 libgoa-backend-1.0-1 libgphoto2-dev libgpm2:armel libgraphicsmagick-q16-3
  libgsound0 libgstreamer-opencv1.0-0 libgweather-3-16 libgweather-common libhandy-0.0-0
  libhwloc-plugins libhwloc15 libigdgmm11 libilmbase-dev libjsoncpp24 libkdsoap1
  libkeybinder-3.0-0 liblzma5:armel libmailutils7 libmalcontent-ui-0-0 libmbedcrypto3
  libmbedtls12 libmbedx509-0 libmozjs-78-0 libmpdec3:armel libmtdev-dev libncursesw6:armel
  libnet1 libnss-myhostname libntfs-3g883 libobjc-10-dev libofa0 libomp-11-dev libomp5-11
  libopencv-calib3d-dev libopencv-calib3d4.5d libopencv-contrib-dev libopencv-contrib4.5d
  libopencv-core-dev libopencv-dev libopencv-dnn-dev libopencv-dnn4.5d libopencv-features2d-dev
  libopencv-features2d4.5d libopencv-flann-dev libopencv-flann4.5d libopencv-highgui-dev
  libopencv-highgui4.5d libopencv-imgcodecs-dev libopencv-imgproc-dev libopencv-ml-dev
  libopencv-ml4.5d libopencv-objdetect-dev libopencv-objdetect4.5d libopencv-photo-dev
  libopencv-shape-dev libopencv-shape4.5d libopencv-stitching-dev libopencv-stitching4.5d
  libopencv-superres-dev libopencv-superres4.5d libopencv-video-dev libopencv-video4.5d
  libopencv-videoio-dev libopencv-videoio4.5d libopencv-videostab-dev libopencv-videostab4.5d
  libopencv-viz-dev libopencv-viz4.5d libopencv4.5-java libopencv4.5d-jni libopenexr-dev
  libopenmpi3 liborc-0.4-dev liborc-0.4-dev-bin libotf0 libpcaudio0 libpciaccess-dev libperl5.32
  libperl5.32:i386 libpmix2 libportal-qt5-1 libpsl-dev libpsm-infinipath1 libpsm2-2
  libpython3-dev libpython3-stdlib:armel libpython3.9-dev libpython3.9-minimal:armel
  libpython3.9-stdlib:armel libqt5xmlpatterns5 libraw1394-dev libraw1394-tools libreadline8:armel
  librest-0.7-0 librygel-core-2.6-2 librygel-db-2.6-2 librygel-renderer-2.6-2
  librygel-server-2.6-2 libsidplayfp5 libsigc++-2.0-dev libslang2-dev libsndio-dev libsonic0
  libsqlite3-0:armel libstdc++-9-dev-armel-cross libstdc++6:armel libtbb-dev
  libtelepathy-farstream3 libtelepathy-glib0 libtelepathy-qt5-0 libtelepathy-qt5-farstream0
  libtinfo6:armel libucx0 libudev-dev liburing1 libuuid1:armel libva-glx2 libvtk9.1 libwmf0.2-7
  libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5 libx264-160 libxine2-bin libxine2-ffmpeg libxine2-x
  libxmlb1 libxmu-dev libxmu-headers libxv-dev libxxf86vm-dev lxde-common lxlauncher lxtask
  mutter-common node-ajv node-ansi node-asn1 node-assert-plus node-aws-sign2 node-aws4
  node-bcrypt-pbkdf node-caseless node-concat-map node-dashdash node-ecc-jsbn node-extend
  node-extsprintf node-fast-deep-equal node-forever-agent node-getpass node-har-schema
  node-har-validator node-http-signature node-isstream node-jsbn node-json-schema
  node-json-schema-traverse node-json-stable-stringify node-json-stringify-safe node-jsonify
  node-jsonstream node-jsprim node-leven node-lockfile node-number-is-nan node-oauth-sign
  node-performance-now node-puka node-qs node-request node-resolve-from node-sshpk node-through
  node-tunnel-agent node-tweetnacl node-uri-js node-uuid node-verror obconf opencv-data par2
  perl-modules-5.32 python3-blinker python3-configobj python3-debconf python3-debian
  python3-docker python3-dockerpty python3-docopt python3-dotenv python3-httplib2 python3-jwt
  python3-louis python3-mutagen python3-natsort python3-pbr python3-pyudev python3-speechd
  python3-texttable python3-unidecode python3-usb python3-websocket python3-websockets
  python3-xdg realmd ruby2.7 rygel samba-common scrot sound-icons speech-dispatcher
  speech-dispatcher-audio-plugins speech-dispatcher-espeak-ng switcheroo-control
  x11proto-xf86vidmode-dev xbrlapi xdg-user-dirs-gtk xkbset zlib1g:armel
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  libgstreamer1.0-0
Suggested packages:
  gstreamer1.0-tools
The following packages will be upgraded:
  libgstreamer1.0-0
1 upgraded, 0 newly installed, 0 to remove and 269 not upgraded.
3 not fully installed or removed.
Need to get 2,290 kB of archives.
After this operation, 381 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian testing/main amd64 libgstreamer1.0-0 amd64 1.20.1-1 [2,290 kB]
Fetched 2,290 kB in 0s (5,361 kB/s)         
(Reading database ... 562980 files and directories currently installed.)
Preparing to unpack .../libgstreamer1.0-0_1.20.1-1_amd64.deb ...
Unpacking libgstreamer1.0-0:amd64 (1.20.1-1) over (1.14.4-1) ...
dpkg: error processing archive /var/cache/apt/archives/libgstreamer1.0-0_1.20.1-1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/locale/ast/LC_MESSAGES/gstreamer-1.0.mo', which is different from other instances of package libgstreamer1.0-0:amd64
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libgstreamer1.0-0_1.20.1-1_amd64.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

Thanks.

testing (and jessie and ...) are still enabled. Do you have read my suggestions?

Where does it say that? (That Testing and Jessie) are enabled?

I have read your suggestions.

Thank you.

I think the first question that should have been asked and remains not asked nor answered is ...

"What exactly did you do @ignatius to break your own system?"

1 Like

If I remember correctly, I tried installing a .deb file. And it broke my system.

Thanks.

What file exactly?

What exact command(s) did you run?

Review your shell history!

All that information exists in your shell history file.

1 Like

I dug this up:

  237  dpkg -i libgstreamer1.0-0_1.14.4-1_amd64.deb
  238  apt --fix-broken install
  239  df
  240  ls
  241  apt-get reinstall parole
  242  apt --fix-broken install
  243  apt --fix-broken install
  244  rm /usr/share/doc/libgstreamer1.0-0/changelog.Debian.gz
  245  apt --fix-broken install
  246  rm /usr/share/doc/libgstreamer1.0-0/changelog.Debian.gz
  247  rm /usr/share/doc/libgstreamer1.0-0/changelog.gz
  248  apt --fix-broken install
  249  rm /usr/share/doc/libgstreamer1.0-0/*
  250  apt --fix-broken install
  251  rm /usr/share/locale/af/LC_MESSAGES/gstreamer-1.0.mo
  252  apt --fix-broken install
  253  rm /usr/share/locale/af/LC_MESSAGES/*
  254  apt --fix-broken install
  255  dpkg -i /var/cache/apt/archives/libgstreamer1.0-0_1.20.1-1_amd64.deb
  256  dpkg -i /var/cache/apt/archives/libgstreamer1.0-0_1.20.1-1_amd64.deb

I made a lot of mistakes. :frowning: :frowning:

Thanks for your time.

1 Like

Why did you not use apt to install these libs?

It is not a good idea, at least in my opinion, to install using both dpkg and apt if it is not necessary. This leads to "broken installs" (as you have found out). dpkg is too "low level" and I cannot recall ever using it, to be honest. I manage my Linux systems with with apt to both install and remove libs.

Why did you not install these libs you need using apt?

apt-get install libgstreamer1.0-dev

apt was designed to solve the problems you have created by using dpkg directly (as you are finding out); at least in my mind (although I have never read the story behind apt; but I know that apt uses dpkg at a lower level to perform tasks).

Reference (for example):

https://gstreamer.freedesktop.org/documentation/installing/on-linux.html

well, in the output:

Get:10 http://deb.debian.org/debian testing InRelease [130 kB]
...
Get:18 http://deb.debian.org/debian testing-updates InRelease [36.8 kB]
Get:19 http://security.debian.org/debian-security jessie/updates/main armel Packages [763 kB]
Get:20 http://security.debian.org/debian-security jessie/updates/main amd64 Packages [781 kB]
...
Get:59 http://deb.debian.org/debian testing/main DEP-11 128x128 Icons [11.1 MB]
...

Why dou have amd64 and armel enabled?

Please try the following, @ignatius :

  • Remove or comment out the testing, jessie, jaunty and jammy entries in sources.list.
  • Check if testing maybe is default: rgrep Default-Release /etc/apt/apt.conf*. If so, remove or comment out that entry. Or replace testing by stable.
  • Cleanup lists: rm -rf /var/lib/apt/lists/*
  • apt update && apt -f install
2 Likes

That did it. Thank you, sir.

Great. Please use apt to install the libs you require and avoid dpkg. For your task, you could have installed the streaming library you required with:

apt-get install libgstreamer1.0-dev

Using apt would not have broken your apt configuration. However, using dpkg directly, bypassing apt, can and does break the apt configuration, as you have seen @ignatius.

1 Like

Will do.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.