Really this happens only in Docker debian:sid container. Running add-apt-repository twice fixed the issue. See full log below:
``` $ docker run -it --rm debian:sid bash -c -x "apt-get -qq update && apt-get -qq dist-upgrade > /dev/null && apt-get -qq install software-properties-common python3-launchpadlib apt-utils > /dev/null ; grep -r ^deb /etc/apt ; apt-key adv --keyserver keyserver.ubuntu.com --recv E756285F30DB2B2BB35012E219BFCAF5168D33A9 ; add-apt-repository -y 'deb http://ppa.launchpad.net/nrbrtx/vte/ubuntu jammy main' ; add-apt-repository -y 'deb http://ppa.launchpad.net/nrbrtx/wnck/ubuntu jammy main' ; grep -r ^deb /etc/apt ; add-apt-repository -y 'deb http://ppa.launchpad.net/nrbrtx/vte/ubuntu jammy main' ; add-apt-repository -y 'deb http://ppa.launchpad.net/nrbrtx/wnck/ubuntu jammy main' ; grep -r ^deb /etc/apt" + apt-get -qq update + apt-get -qq dist-upgrade debconf: delaying package configuration, since apt-utils is not installed + apt-get -qq install software-properties-common python3-launchpadlib apt-utils debconf: delaying package configuration, since apt-utils is not installed + grep -r '^deb' /etc/apt + apt-key adv --keyserver keyserver.ubuntu.com --recv E756285F30DB2B2BB35012E219BFCAF5168D33A9 Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). Executing: /tmp/apt-key-gpghome.CNJKByELkR/gpg.1.sh --keyserver keyserver.ubuntu.com --recv E756285F30DB2B2BB35012E219BFCAF5168D33A9 gpg: key 19BFCAF5168D33A9: public key "Launchpad PPA for Norbert" imported gpg: Total number processed: 1 gpg: imported: 1 + add-apt-repository -y 'deb http://ppa.launchpad.net/nrbrtx/vte/ubuntu jammy main' Repository: 'deb http://ppa.launchpad.net/nrbrtx/vte/ubuntu jammy main' Description: This PPA contains VTE library from Ubuntu 20.04 LTS which is not affected by stupid bug https://pad.lv/1922276 . So user will be able to select all terminal output with full scroll-back in MATE Terminal and other VTE-based terminals as it is expected. This PPA is useful for Ubuntu 22.04 LTS, Debian 11 (bullseye) and Debian 12 (bookworm). As usual one can always remove this PPA and downgrade VTE packages by using `sudo apt-get install ppa-purge` and `sudo ppa-purge ppa:nrbrtx/vte`. More info: https://launchpad.net/~nrbrtx/+archive/ubuntu/vte Adding repository. Adding deb entry to /etc/apt/sources.list Adding disabled deb-src entry to /etc/apt/sources.list Adding key to /etc/apt/trusted.gpg.d/nrbrtx-ubuntu-vte.gpg with fingerprint E756285F30DB2B2BB35012E219BFCAF5168D33A9 Hit:1 http://deb.debian.org/debian sid InRelease Get:2 http://deb.debian.org/debian sid/main amd64 DEP-11 Metadata [4558 kB] Fetched 4558 kB in 2s (1973 kB/s) Reading package lists... Done + add-apt-repository -y 'deb http://ppa.launchpad.net/nrbrtx/wnck/ubuntu jammy main' Repository: 'deb http://ppa.launchpad.net/nrbrtx/wnck/ubuntu jammy main' Description: This PPA provides patched libwnck3 package to fix https://github.com/mate-desktop/mate-panel/issues/1230 and https://pad.lv/1947420 . See details at https://github.com/mate-desktop/mate-panel/issues/1230#issuecomment-997422612 . This PPA is useful for Ubuntu 22.04 LTS and Debian 12 (bookworm). As usual one can always remove this PPA and downgrade WNCK packages by using `sudo apt-get install ppa-purge` and `sudo ppa-purge ppa:nrbrtx/wnck`. More info: https://launchpad.net/~nrbrtx/+archive/ubuntu/wnck Adding repository. Adding deb entry to /etc/apt/sources.list Adding disabled deb-src entry to /etc/apt/sources.list Adding key to /etc/apt/trusted.gpg.d/nrbrtx-ubuntu-wnck.gpg with fingerprint E756285F30DB2B2BB35012E219BFCAF5168D33A9 Hit:1 http://deb.debian.org/debian sid InRelease Get:2 http://ppa.launchpad.net/nrbrtx/wnck/ubuntu jammy InRelease [18.1 kB] Get:3 http://ppa.launchpad.net/nrbrtx/wnck/ubuntu jammy/main amd64 Packages [1200 B] Fetched 19.3 kB in 0s (39.2 kB/s) Reading package lists... Done + grep -r '^deb' /etc/apt /etc/apt/sources.list:deb http://ppa.launchpad.net/nrbrtx/wnck/ubuntu jammy main + add-apt-repository -y 'deb http://ppa.launchpad.net/nrbrtx/vte/ubuntu jammy main' Repository: 'deb http://ppa.launchpad.net/nrbrtx/vte/ubuntu jammy main' Description: This PPA contains VTE library from Ubuntu 20.04 LTS which is not affected by stupid bug https://pad.lv/1922276 . So user will be able to select all terminal output with full scroll-back in MATE Terminal and other VTE-based terminals as it is expected. This PPA is useful for Ubuntu 22.04 LTS, Debian 11 (bullseye) and Debian 12 (bookworm). As usual one can always remove this PPA and downgrade VTE packages by using `sudo apt-get install ppa-purge` and `sudo ppa-purge ppa:nrbrtx/vte`. More info: https://launchpad.net/~nrbrtx/+archive/ubuntu/vte Adding repository. Adding deb entry to /etc/apt/sources.list Adding disabled deb-src entry to /etc/apt/sources.list Adding key to /etc/apt/trusted.gpg.d/nrbrtx-ubuntu-vte.gpg with fingerprint E756285F30DB2B2BB35012E219BFCAF5168D33A9 Hit:1 http://deb.debian.org/debian sid InRelease Hit:2 http://ppa.launchpad.net/nrbrtx/wnck/ubuntu jammy InRelease Get:3 http://ppa.launchpad.net/nrbrtx/vte/ubuntu jammy InRelease [18.1 kB] Get:4 http://ppa.launchpad.net/nrbrtx/vte/ubuntu jammy/main amd64 Packages [2236 B] Fetched 20.3 kB in 1s (30.6 kB/s) Reading package lists... Done + add-apt-repository -y 'deb http://ppa.launchpad.net/nrbrtx/wnck/ubuntu jammy main' Repository: 'deb http://ppa.launchpad.net/nrbrtx/wnck/ubuntu jammy main' Description: This PPA provides patched libwnck3 package to fix https://github.com/mate-desktop/mate-panel/issues/1230 and https://pad.lv/1947420 . See details at https://github.com/mate-desktop/mate-panel/issues/1230#issuecomment-997422612 . This PPA is useful for Ubuntu 22.04 LTS and Debian 12 (bookworm). As usual one can always remove this PPA and downgrade WNCK packages by using `sudo apt-get install ppa-purge` and `sudo ppa-purge ppa:nrbrtx/wnck`. More info: https://launchpad.net/~nrbrtx/+archive/ubuntu/wnck Adding repository. Found existing deb entry in /etc/apt/sources.list Adding deb entry to /etc/apt/sources.list Found existing deb-src entry in /etc/apt/sources.list Adding disabled deb-src entry to /etc/apt/sources.list Adding key to /etc/apt/trusted.gpg.d/nrbrtx-ubuntu-wnck.gpg with fingerprint E756285F30DB2B2BB35012E219BFCAF5168D33A9 Hit:1 http://deb.debian.org/debian sid InRelease Hit:2 http://ppa.launchpad.net/nrbrtx/wnck/ubuntu jammy InRelease Hit:3 http://ppa.launchpad.net/nrbrtx/vte/ubuntu jammy InRelease Reading package lists... Done + grep -r '^deb' /etc/apt /etc/apt/sources.list:deb http://ppa.launchpad.net/nrbrtx/wnck/ubuntu jammy main /etc/apt/sources.list:deb http://ppa.launchpad.net/nrbrtx/vte/ubuntu jammy main ``` Standalone Debian sid system is not affected at all. So this bug report may be closed. But please do not forget to take care on https://pad.lv/2037210 in the upcoming Ubuntu 23.10.