awk: not an option: -i
Updating packages lists
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
xserver-common is already the newest version (2:21.1.7-3ubuntu2.9ppa4).
xserver-common set to manually installed.
xserver-xorg-core is already the newest version (2:21.1.7-3ubuntu2.9ppa4).
xserver-xorg-core set to manually installed.
xserver-xorg-legacy is already the newest version (2:21.1.7-3ubuntu2.9ppa4).
xserver-xorg-legacy set to manually installed.
Selected version '2:21.1.7-3ubuntu2.9ppa4' (PPA with patched xserver-xorg to fix bug 865:23.10/mantic [all]) for 'xserver-common'
Selected version '2:21.1.7-3ubuntu2.9ppa4' (PPA with patched xserver-xorg to fix bug 865:23.10/mantic [amd64]) for 'xserver-xorg-core'
Selected version '2:21.1.7-3ubuntu2.9ppa4' (PPA with patched xserver-xorg to fix bug 865:23.10/mantic [amd64]) for 'xserver-xorg-legacy'
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
PPA purged successfully
+ grep -irE 'http://ppa|https://ppa' /etc/apt
/etc/apt/sources.list.d/nrbrtx-ubuntu-xorg-hotkeys-mantic.sources:URIs: https://ppa.launchpadcontent.net/nrbrtx/xorg-hotkeys/ubuntu/
+ grep -E 'http://ppa|https://ppa'
+ apt-cache policy
500 https://ppa.launchpadcontent.net/nrbrtx/xorg-hotkeys/ubuntu mantic/main i386 Packages
500 https://ppa.launchpadcontent.net/nrbrtx/xorg-hotkeys/ubuntu mantic/main amd64 Packages
```
Please check your patches more carefully. You are breaking user experience.
The same commands work normally on all previous LTS releases - from 16.04 LTS to 22.04 LTS.
Actually the bug is not fixed on Noble, the PPA is not removed:
``` FRONTEND= noninteractive; apt-get -qq update && apt-get -qq dist-upgrade > /dev/null && apt-get -qq install software- properties- common apt-utils gpg-agent ppa-purge > /dev/null || apt-get -qq install software- properties- common apt-utils ppa-purge > /dev/null ; apt-cache policy software- properties- common ppa-purge; add-apt-repository -y ppa:nrbrtx/ xorg-hotkeys > /dev/null; apt-cache policy | grep -E 'http:// ppa|https:/ /ppa' ; ppa-purge ppa:nrbrtx/ xorg-hotkeys; grep -irE 'http:// ppa|https:/ /ppa' /etc/apt; apt-cache policy | grep -E 'http:// ppa|https:/ /ppa'" FRONTEND= noninteractive FRONTEND= noninteractive properties- common apt-utils gpg-agent ppa-purge properties- common ppa-purge properties- common: archive. ubuntu. com/ubuntu noble/main amd64 Packages archive. ubuntu. com/ubuntu noble/main i386 Packages dpkg/status 0ubuntu2 0ubuntu2 0ubuntu2 500 archive. ubuntu. com/ubuntu noble/universe amd64 Packages archive. ubuntu. com/ubuntu noble/universe i386 Packages dpkg/status xorg-hotkeys ppa|https:/ /ppa' /ppa.launchpadc ontent. net/nrbrtx/ xorg-hotkeys/ ubuntu noble/main i386 Packages /ppa.launchpadc ontent. net/nrbrtx/ xorg-hotkeys/ ubuntu noble/main amd64 Packages xorg-hotkeys common/ noble xserver- xorg-core/ noble xorg-legacy/ noble
$ sudo bash -x -c "export DEBIAN_
[sudo] password for n:
+ export DEBIAN_
+ DEBIAN_
+ apt-get -qq update
+ apt-get -qq dist-upgrade
Extracting templates from packages: 100%
+ apt-get -qq install software-
+ apt-cache policy software-
software-
Installed: 0.99.46
Candidate: 0.99.46
Version table:
*** 0.99.46 500
500 http://
500 http://
100 /var/lib/
ppa-purge:
Installed: 0.2.8+bzr63-
Candidate: 0.2.8+bzr63-
Version table:
*** 0.2.8+bzr63-
500 http://
500 http://
100 /var/lib/
+ add-apt-repository -y ppa:nrbrtx/
+ apt-cache policy
+ grep -E 'http://
500 https:/
500 https:/
+ ppa-purge ppa:nrbrtx/
Updating packages lists
PPA to be removed: nrbrtx xorg-hotkeys
Package revert list generated:
xserver-
xserver-
awk: not an option: -i 11-2ubuntu2ppa2 ' (PPA with patched xserver-xorg to fix bug 865:24.04/noble [all]) for 'xserver-common' 11-2ubuntu2ppa2 ' (PPA with patched xserver-xorg to fix bug 865:24.04/noble [amd64]) for 'xserver-xorg-core' 11-2ubuntu2ppa2 ' (PPA with patched xserver-xorg to fix bug 865:24.04/noble [amd64]) for 'xserver- xorg-legacy' initramfs gir1.2-goa-1.0 common -6.q16- 6 -6.q16- 6-extra -6.q16- 6 libnetplan0 11-minimal 11-stdlib highlight- common highlight4v5 libtirpc-dev 11-minimal mate-wallpapers -mantic xorg-legacy /ppa.launchpadc ontent. net/nrbrtx/ xorg-hotkeys/ ubuntu noble/main amd64 xserver-common all 2:21.1. 11-2ubuntu2ppa2 [33.0 kB] /ppa.launchpadc ontent. net/nrbrtx/ xorg-hotkeys/ ubuntu noble/main amd64 xserver-xorg-legacy amd64 2:21.1. 11-2ubuntu2ppa2 [40.0 kB] /ppa.launchpadc ontent. net/nrbrtx/ xorg-hotkeys/ ubuntu noble/main amd64 xserver-xorg-core amd64 2:21.1. 11-2ubuntu2ppa2 [1473 kB] xorg-legacy/ xwrapper/ allowed_ users from configuration file common_ 2%3a21. 1.11-2ubuntu2pp a2_all. deb ... 11-2ubuntu2ppa2 ) over (2:21.1. 11-2ubuntu1) ... xorg-legacy_ 2%3a21. 1.11-2ubuntu2pp a2_amd64. deb ... 11-2ubuntu2ppa2 ) over (2:21.1. 11-2ubuntu1) ... xorg-core_ 2%3a21. 1.11-2ubuntu2pp a2_amd64. deb ... 11-2ubuntu2ppa2 ) over (2:21.1. 11-2ubuntu1) ... 11-2ubuntu2ppa2 ) ... 11-2ubuntu2ppa2 ) ... xorg-legacy/ xwrapper/ allowed_ users from configuration file 11-2ubuntu2ppa2 ) ... ppa|https:/ /ppa' /etc/apt sources. list.d/ nrbrtx- ubuntu- xorg-hotkeys- noble.sources: URIs: https:/ /ppa.launchpadc ontent. net/nrbrtx/ xorg-hotkeys/ ubuntu/ ppa|https:/ /ppa' /ppa.launchpadc ontent. net/nrbrtx/ xorg-hotkeys/ ubuntu noble/main i386 Packages /ppa.launchpadc ontent. net/nrbrtx/ xorg-hotkeys/ ubuntu noble/main amd64 Packages
Updating packages lists
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Selected version '2:21.1.
Selected version '2:21.1.
Selected version '2:21.1.
The following packages were automatically installed and are no longer required:
cpdb-backend-cups cryptsetup
cryptsetup-
gsfonts irqbalance libatk-adaptor
libbabeltrace1 libc6-dbg libcpdb-frontend2
libcpdb2t64 libdebuginfod-
libecal-2.0-2 libipt2
libmagickcore
libmagickcore
libmagickwand
libnsl-dev libperl5.36 libplist3
libpython3.11 libpython3.
libpython3.
libsource-
libsource-
libvpx8 numix-gtk-theme numix-icon-theme
p7zip-full perl-modules-5.36
python3-pyatspi python3.11
python3.
ubuntu-
Use 'sudo apt autoremove' to remove them.
Suggested packages:
xfonts-100dpi | xfonts-75dpi
The following packages will be upgraded:
xserver-common xserver-xorg-core
xserver-
3 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 1546 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https:/
Get:2 https:/
Get:3 https:/
Fetched 1546 kB in 1s (2180 kB/s)
Preconfiguring packages ...
setting xserver-
(Reading database ... 321614 files and directories currently installed.)
Preparing to unpack .../xserver-
Unpacking xserver-common (2:21.1.
Preparing to unpack .../xserver-
Unpacking xserver-xorg-legacy (2:21.1.
Preparing to unpack .../xserver-
Unpacking xserver-xorg-core (2:21.1.
Setting up xserver-common (2:21.1.
Setting up xserver-xorg-legacy (2:21.1.
setting xserver-
Setting up xserver-xorg-core (2:21.1.
Processing triggers for man-db (2.12.0-4build1) ...
PPA purged successfully
+ grep -irE 'http://
/etc/apt/
+ apt-cache policy
+ grep -E 'http://
500 https:/
500 https:/
```
Also the bug is not fixed on Mantic even with package from proposed:
``` FRONTEND= noninteractive; apt-get -qq update && apt-get -qq dist-upgrade > /dev/null && apt-get -qq install software- properties- common apt-utils gpg-agent ppa-purge > /dev/null || apt-get -qq install software- properties- common apt-utils ppa-purge > /dev/null ; apt-cache policy software- properties- common ppa-purge; add-apt-repository -y ppa:nrbrtx/ xorg-hotkeys > /dev/null; apt-cache policy | grep -E 'http:// ppa|https:/ /ppa' ; ppa-purge ppa:nrbrtx/ xorg-hotkeys; grep -irE 'http:// ppa|https:/ /ppa' /etc/apt; apt-cache policy | grep -E 'http:// ppa|https:/ /ppa'" FRONTEND= noninteractive FRONTEND= noninteractive properties- common apt-utils gpg-agent ppa-purge properties- common ppa-purge properties- common: archive. ubuntu. com/ubuntu mantic/main amd64 Packages archive. ubuntu. com/ubuntu mantic/main i386 Packages dpkg/status 0ubuntu1. 23.10.1 0ubuntu1. 23.10.1 0ubuntu1. 23.10.1 100 archive. ubuntu. com/ubuntu mantic- proposed/ universe amd64 Packages archive. ubuntu. com/ubuntu mantic- proposed/ universe i386 Packages dpkg/status 2.8+bzr63- 0ubuntu1 500 archive. ubuntu. com/ubuntu mantic/universe amd64 Packages archive. ubuntu. com/ubuntu mantic/universe i386 Packages xorg-hotkeys ppa|https:/ /ppa' /ppa.launchpadc ontent. net/nrbrtx/ xorg-hotkeys/ ubuntu mantic/main i386 Packages /ppa.launchpadc ontent. net/nrbrtx/ xorg-hotkeys/ ubuntu mantic/main amd64 Packages xorg-hotkeys common/ mantic xserver- xorg-core/ mantic xserver- xorg-legacy/ mantic
$ sudo bash -x -c "export DEBIAN_
+ export DEBIAN_
+ DEBIAN_
+ apt-get -qq update
+ apt-get -qq dist-upgrade
+ apt-get -qq install software-
+ apt-cache policy software-
software-
Installed: 0.99.39
Candidate: 0.99.39
Version table:
*** 0.99.39 500
500 http://
500 http://
100 /var/lib/
ppa-purge:
Installed: 0.2.8+bzr63-
Candidate: 0.2.8+bzr63-
Version table:
*** 0.2.8+bzr63-
100 http://
100 http://
100 /var/lib/
0.
500 http://
500 http://
+ add-apt-repository -y ppa:nrbrtx/
+ grep -E 'http://
+ apt-cache policy
500 https:/
500 https:/
+ ppa-purge ppa:nrbrtx/
Updating packages lists
PPA to be removed: nrbrtx xorg-hotkeys
Package revert list generated:
xserver-
awk: not an option: -i 7-3ubuntu2. 9ppa4). 7-3ubuntu2. 9ppa4). 7-3ubuntu2. 9ppa4). 7-3ubuntu2. 9ppa4' (PPA with patched xserver-xorg to fix bug 865:23.10/mantic [all]) for 'xserver-common' 7-3ubuntu2. 9ppa4' (PPA with patched xserver-xorg to fix bug 865:23.10/mantic [amd64]) for 'xserver-xorg-core' 7-3ubuntu2. 9ppa4' (PPA with patched xserver-xorg to fix bug 865:23.10/mantic [amd64]) for 'xserver- xorg-legacy' ppa|https:/ /ppa' /etc/apt sources. list.d/ nrbrtx- ubuntu- xorg-hotkeys- mantic. sources: URIs: https:/ /ppa.launchpadc ontent. net/nrbrtx/ xorg-hotkeys/ ubuntu/ ppa|https:/ /ppa' /ppa.launchpadc ontent. net/nrbrtx/ xorg-hotkeys/ ubuntu mantic/main i386 Packages /ppa.launchpadc ontent. net/nrbrtx/ xorg-hotkeys/ ubuntu mantic/main amd64 Packages
Updating packages lists
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
xserver-common is already the newest version (2:21.1.
xserver-common set to manually installed.
xserver-xorg-core is already the newest version (2:21.1.
xserver-xorg-core set to manually installed.
xserver-xorg-legacy is already the newest version (2:21.1.
xserver-xorg-legacy set to manually installed.
Selected version '2:21.1.
Selected version '2:21.1.
Selected version '2:21.1.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
PPA purged successfully
+ grep -irE 'http://
/etc/apt/
+ grep -E 'http://
+ apt-cache policy
500 https:/
500 https:/
```
Please check your patches more carefully. You are breaking user experience.
The same commands work normally on all previous LTS releases - from 16.04 LTS to 22.04 LTS.