terminus apt update issue
See original GitHub issueHi Everyone,
On my linux distribution, there is a conflict with the application id after installing the .deb from the releases page with the terminus package provided by the default ppa.
I can install terminus from the releases page, no issues, but once I update/upgrade via apt, it creates a conflict with the app id and provides the following error via the Pop Shop! after trying to uninstall/update because there is a package with the same path/name but different id:
The package id’s ‘’ are not valid
apt thinks that since the app is on version 1.0.127 because of the version not being the most up to date it thinks it requires an update because of terminus from the default ppa having version 1.12.0-1 available for update. Additional information:
root@nyhq-lbox:/# apt upgrade -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up terminus (1.12.0-1) ...
update-alternatives: error: alternative path /usr/bin/terminus doesn't exist
dpkg: error processing package terminus (--configure):
installed terminus package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
terminus
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@nyhq-lbox:/# dpkg -l | grep terminus
iF terminus 1.12.0-1 amd64 Drop-down or in-window terminal for X11 and Wayland
root@nyhq-lbox:/# apt info terminus
Package: terminus
Version: 1.12.0-1
Priority: optional
Section: universe/misc
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Barak A. Pearlmutter <bap@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 335 kB
Depends: libc6 (>= 2.4), libcairo2 (>= 1.2.4), libgee-0.8-2 (>= 0.8.3), libglib2.0-0 (>= 2.37.3), libgtk-3-0 (>= 3.21.4), libkeybinder-3.0-0 (>= 0.3.0), libpango-1.0-0 (>= 1.14.0), libvte-2.91-0 (>= 0.44.0), dconf-gsettings-backend | gsettings-backend, libglib2.0-bin
Homepage: https://gitlab.com/rastersoft/terminus
Download-Size: 67.9 kB
APT-Manual-Installed: yes
APT-Sources: http://us.archive.ubuntu.com/ubuntu groovy/universe amd64 Packages
Description: Drop-down or in-window terminal for X11 and Wayland
A new-generation (post-Guake) terminal for X11 and Wayland featuring
a hot-key Quake-console-like drop-down mode. Other features include a
scroll-back buffer, multiple tabs, split screen both horizontal and
vertical, and the usual compatibility features.
root@nyhq-lbox:/# dpkg --info terminus
dpkg-deb: error: failed to read archive 'terminus': No such file or directory
root@nyhq-lbox:/# man dpkg
root@nyhq-lbox:/# dpkg --status terminus
Package: terminus
Status: install ok half-configured
Priority: optional
Section: misc
Installed-Size: 327
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Version: 1.12.0-1
Config-Version: 1.0.127
Depends: libc6 (>= 2.4), libcairo2 (>= 1.2.4), libgee-0.8-2 (>= 0.8.3), libglib2.0-0 (>= 2.37.3), libgtk-3-0 (>= 3.21.4), libkeybinder-3.0-0 (>= 0.3.0), libpango-1.0-0 (>= 1.14.0), libvte-2.91-0 (>= 0.44.0), dconf-gsettings-backend | gsettings-backend, libglib2.0-bin
Conffiles:
/etc/xdg/autostart/terminus_autorun.desktop 883f886bc5f60db99cde803b1746019b
Description: Drop-down or in-window terminal for X11 and Wayland
A new-generation (post-Guake) terminal for X11 and Wayland featuring
a hot-key Quake-console-like drop-down mode. Other features include a
scroll-back buffer, multiple tabs, split screen both horizontal and
vertical, and the usual compatibility features.
Original-Maintainer: Barak A. Pearlmutter <bap@debian.org>
Homepage: https://gitlab.com/rastersoft/terminus
Information when attempting to re-installing Eugeny Terminus with apt:
root@nyhq-lbox:/# apt install -y /home/macosta/Downloads/terminus-1.0.127-linux.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'terminus' instead of '/home/macosta/Downloads/terminus-1.0.127-linux.deb'
The following additional packages will be installed:
gconf-service gconf-service-backend gconf2 gconf2-common libappindicator1 libdbusmenu-gtk4 libgconf-2-4
Suggested packages:
gconf-defaults-service indicator-application
The following NEW packages will be installed:
gconf-service gconf-service-backend gconf2 gconf2-common libappindicator1 libdbusmenu-gtk4 libgconf-2-4
The following packages will be DOWNGRADED:
terminus
0 upgraded, 7 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
E: Packages were downgraded and -y was used without --allow-downgrades.
root@nyhq-lbox:/# dpkg --status terminus
Package: terminus
Status: install ok half-configured
Priority: optional
Section: misc
Installed-Size: 327
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Version: 1.12.0-1
Config-Version: 1.0.127
Depends: libc6 (>= 2.4), libcairo2 (>= 1.2.4), libgee-0.8-2 (>= 0.8.3), libglib2.0-0 (>= 2.37.3), libgtk-3-0 (>= 3.21.4), libkeybinder-3.0-0 (>= 0.3.0), libpango-1.0-0 (>= 1.14.0), libvte-2.91-0 (>= 0.44.0), dconf-gsettings-backend | gsettings-backend, libglib2.0-bin
Conffiles:
/etc/xdg/autostart/terminus_autorun.desktop 883f886bc5f60db99cde803b1746019b
Description: Drop-down or in-window terminal for X11 and Wayland
A new-generation (post-Guake) terminal for X11 and Wayland featuring
a hot-key Quake-console-like drop-down mode. Other features include a
scroll-back buffer, multiple tabs, split screen both horizontal and
vertical, and the usual compatibility features.
Original-Maintainer: Barak A. Pearlmutter <bap@debian.org>
Homepage: https://gitlab.com/rastersoft/terminus
root@nyhq-lbox:/# dpkg --info /home/macosta/Downloads/terminus-1.0.127-linux.deb
new Debian package, version 2.0.
size 64491462 bytes: control archive=30638 bytes.
412 bytes, 13 lines control
127653 bytes, 1071 lines md5sums
130 bytes, 7 lines * postinst #!/bin/bash
71 bytes, 4 lines * postrm #!/bin/bash
Package: terminus
Version: 1.0.127
License: unknown
Vendor: Eugene Pankov <e@ajenti.org>
Architecture: amd64
Maintainer: Eugene Pankov <e@ajenti.org>
Installed-Size: 271562
Depends: gconf2, gconf-service, gnome-keyring, libnotify4, libsecret-1-0, libappindicator1, libxtst6, libnss3
Section: default
Priority: extra
Homepage: https://github.com/eugeny/terminus#readme
Description:
A terminal for a modern age
Information after successfully installing via dpkg:
root@nyhq-lbox:/home/macosta/Documents# dpkg -I terminus-1.0.127-linux.deb
new Debian package, version 2.0.
size 64491462 bytes: control archive=30638 bytes.
412 bytes, 13 lines control
127653 bytes, 1071 lines md5sums
130 bytes, 7 lines * postinst #!/bin/bash
71 bytes, 4 lines * postrm #!/bin/bash
Package: terminus
Version: 1.0.127
License: unknown
Vendor: Eugene Pankov <e@ajenti.org>
Architecture: amd64
Maintainer: Eugene Pankov <e@ajenti.org>
Installed-Size: 271562
Depends: gconf2, gconf-service, gnome-keyring, libnotify4, libsecret-1-0, libappindicator1, libxtst6, libnss3
Section: default
Priority: extra
Homepage: https://github.com/eugeny/terminus#readme
Description:
A terminal for a modern age
root@nyhq-lbox:/home/macosta/Documents# dpkg -i terminus-1.0.127-linux.deb
(Reading database ... 320362 files and directories currently installed.)
Preparing to unpack terminus-1.0.127-linux.deb ...
Unpacking terminus (1.0.127) over (1.0.127) ...
Setting up terminus (1.0.127) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu4) ...
Processing triggers for mime-support (3.64ubuntu1) ...
root@nyhq-lbox:/home/macosta/Documents# apt -y update
Hit:1 http://us.archive.ubuntu.com/ubuntu groovy InRelease
Hit:2 http://deb.xanmod.org releases InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu groovy-security InRelease
Hit:4 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu groovy-updates InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu groovy-backports InRelease
Hit:7 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:8 http://ppa.launchpad.net/damentz/liquorix/ubuntu groovy InRelease
Hit:9 http://apt.pop-os.org/proprietary groovy InRelease
Hit:10 https://packages.expandrive.com/expandrive stable InRelease
Hit:11 http://ppa.launchpad.net/openrazer/daily/ubuntu groovy InRelease
Hit:12 http://ppa.launchpad.net/polychromatic/stable/ubuntu groovy InRelease
Hit:13 http://ppa.launchpad.net/system76/pop/ubuntu groovy InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@nyhq-lbox:/home/macosta/Documents# apt -y upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
pop-shell pop-shell-plugin-system76-power terminus
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 186 kB/253 kB of archives.
After this operation, 278 MB disk space will be freed.
Get:1 http://ppa.launchpad.net/system76/pop/ubuntu groovy/main amd64 pop-shell all 1.1.0~1611349201~20.10~2b9e4a4 [184 kB]
Get:2 http://ppa.launchpad.net/system76/pop/ubuntu groovy/main amd64 pop-shell-plugin-system76-power all 1.1.0~1611349201~20.10~2b9e4a4 [1,988 B]
Fetched 186 kB in 1s (183 kB/s)
(Reading database ... 320362 files and directories currently installed.)
Preparing to unpack .../pop-shell_1.1.0~1611349201~20.10~2b9e4a4_all.deb ...
Unpacking pop-shell (1.1.0~1611349201~20.10~2b9e4a4) over (1.1.0~1611165402~20.10~5046711) ...
Setting up pop-shell (1.1.0~1611349201~20.10~2b9e4a4) ...
(Reading database ... 320362 files and directories currently installed.)
Preparing to unpack .../pop-shell-plugin-system76-power_1.1.0~1611349201~20.10~2b9e4a4_all.deb ...
Unpacking pop-shell-plugin-system76-power (1.1.0~1611349201~20.10~2b9e4a4) over (1.1.0~1611165402~20.10~504671
1) ...
Preparing to unpack .../terminus_1.12.0-1_amd64.deb ...
Unpacking terminus (1.12.0-1) over (1.0.127) ...
Setting up terminus (1.12.0-1) ...
update-alternatives: error: alternative path /usr/bin/terminus doesn't exist
dpkg: error processing package terminus (--configure):
installed terminus package post-installation script subprocess returned error exit status 2
Processing triggers for desktop-file-utils (0.24-1ubuntu4) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.66.1-2) ...
Processing triggers for libglib2.0-0:i386 (2.66.1-2) ...
Processing triggers for man-db (2.9.3-2) ...
Setting up pop-shell-plugin-system76-power (1.1.0~1611349201~20.10~2b9e4a4) ...
Errors were encountered while processing:
terminus
E: Sub-process /usr/bin/dpkg returned an error code (1)
System Specs:
OS: Pop!_OS 20.10 x86_64
Kernel: 5.10.9-xanmod1
Uptime: 5 hours, 16 mins
Packages: 2663 (dpkg), 12 (flatpak),
Shell: bash 5.0.17
Resolution: 2560x1440
DE: GNOME 3.38.2
WM: Mutter
WM Theme: Pop
Theme: Pop-dark [GTK2/3]
Icons: Papirus-Dark [GTK2/3]
Terminal: gnome-terminal
CPU: Intel i9-9900K (16) @ 5.000GHz
GPU: NVIDIA GeForce GTX 1070
Memory: 5003MiB / 32026MiB
Notes* Not apparent on Debian Buster 10.7 or Ubuntu 20.10 with stock/generic/xanmod kernels. Haven’t tested other debian distribution(will test Linux Mint).
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5
Top GitHub Comments
Take this example with care - I’m no expert and this is not advice, just some info on something I’ve tried.
I’ve just had the same issue come up on Ubuntu 20.10
Based on this post https://askubuntu.com/a/632523/106072 I tested commenting out the lines in
/var/lib/dpkg/info/terminus.postinst
after which a normal apt update completes.I do not know the side effects of doing this, so please do not blindly follow and expect nothing to break! If anyone that knows more about this, and can offer some further advice, please pitch in.
Same issue with Ubuntu 21.04