Updateproblem

Hallo Forum,
beim letzten Update wurden nicht alle Neuerungen durchgeführt. Ich komme nicht weiter. Was ist zu tun? - Vielen Dank im Voraus!

==> yay
[sudo] Passwort für ks:
:: Paketdatenbanken werden synchronisiert …
endeavouros ist aktuell
core ist aktuell
extra ist aktuell
community ist aktuell
multilib ist aktuell
:: Durchsuche AUR nach Updates…
:: Durchsuche Datenbanken nach Updates…
→ Packages not in AUR: python-imdbpy
:: 1 Packages to upgrade/install.
1 aur/hypnotix-git 3.1.r1.g4c9efe4-1 → 3.2.r2.g0d28083-1
==> Pakete zum Ausschließen: (z.B. “1 2 3”, “1-3”, “^4” oder Repo-Name)
→ Excluding packages may cause partial upgrades and break systems
==>
AUR Explicit (1): hypnotix-git-3.2.r2.g0d28083-1
:: PKGBUILD up to date, skipping download: hypnotix-git
1 hypnotix-git (Build-Dateien sind vorhanden)
==> Pakete für neuen Build?
==> [N] Keine [A]lle [Ab]brechen [I]nstalliert [No]nicht installiert oder (1 2 3, 1-3, ^4)
==>

wenn ich “1” drücke erscheint:

AUR Explicit (1): hypnotix-git-3.2.r2.g0d28083-1
:: PKGBUILD up to date, skipping download: hypnotix-git
1 hypnotix-git (Build-Dateien sind vorhanden)
==> Pakete für neuen Build?
==> [N] Keine [A]lle [Ab]brechen [I]nstalliert [No]nicht installiert oder (1 2 3, 1-3, ^4)
==> 1
:: Lösche (1/1): /home/ks/.cache/yay/hypnotix-git
HEAD ist jetzt bei e3fb14a dependency with new name
Lösche hypnotix/
Lösche src/
1 hypnotix-git (Build-Dateien sind vorhanden)
==> Unterschiede zeigen?
==> [N] Keine [A]lle [Ab]brechen [I]nstalliert [No]nicht installiert oder (1 2 3, 1-3, ^4)
==>

Und wenn ich alternativ zu obiger Eingabe “1” die Taste “n” drücke folgt als Ausgabe:

AUR Explicit (1): hypnotix-git-3.2.r2.g0d28083-1
:: PKGBUILD up to date, skipping download: hypnotix-git
1 hypnotix-git (Build-Dateien sind vorhanden)
==> Pakete für neuen Build?
==> [N] Keine [A]lle [Ab]brechen [I]nstalliert [No]nicht installiert oder (1 2 3, 1-3, ^4)
==> n
1 hypnotix-git (Build-Dateien sind vorhanden)
==> Unterschiede zeigen?
==> [N] Keine [A]lle [Ab]brechen [I]nstalliert [No]nicht installiert oder (1 2 3, 1-3, ^4)
==>

Bei anderen Eingabekombinationen erscheint zu schlechter Letzt:

==> Fehlende Abhängigkeiten:
→ cinemagoer
==> Prüfe Buildtime-Abhängigkeiten…
==> FEHLER: Konnte nicht alle Abhängigkeiten auflösen.
→ Fehler beim Erstellen: hypnotix-git-exit status 8
→ Failed to install the following packages. Manual intervention is required:
hypnotix-git - exit status 8

Drücke ENTER um dieses Fenster zu schließen:

Ich habe das Gefühl, dass ich mich im Kreis drehe. Ich blicke nicht mehr durch und bin für jede Hilfe dankbar.

Hello, I am sorry, I do not speak German, but I will list the solution in English, then I will use Deepl to translate.

Hallo, es tut mir leid, ich spreche kein Deutsch, aber ich werde die Lösung auf Englisch auflisten, dann werde ich Deepl zum Übersetzen verwenden.

This is because one of the dependencies needs to be changed.

You need to edit the PKGBUILD and change the dependency “cinemagoer” to “python-cinemagoer”.

yay -S --editmenu hypnotix-git

When promted “Packages to edit” select A (“all”)

Find the line:

depends=(dconf hicolor-icon-theme python-cairo python-gobject cinemagoer python-requests python-setproctitle python-unidecode mpv xapp)

Move the cursor (with the Arrow keys) to change the following:

Change cinemagoer to python-cinemagoer

Save the change:

Press CTRL + o (that is the letter “o”. not zero)

Then Enter

Then CTRL + x

Then proceed with the build.

Translation by Deepl:

Das liegt daran, dass eine der Abhängigkeiten geändert werden muss.

Sie müssen die PKGBUILD bearbeiten und die Abhängigkeit “cinemagoer” in “python-cinemagoer” ändern.

yay -S --editmenu hypnotix-git

Bei der Aufforderung “Zu bearbeitende Pakete” wählen Sie A (“alle”)

Suchen Sie die Zeile:

depends=(dconf hicolor-icon-theme python-cairo python-gobject cinemagoer python-requests python-setproctitle python-unidecode mpv xapp)

Bewegen Sie den Cursor (mit den Pfeiltasten), um Folgendes zu ändern:

Ändern Sie cinemagoer in python-cinemagoer.

Speichern Sie die Änderung:

Presse: CTRL + o (das ist der Buchstabe “o”, nicht die Null)

Dann: Enter

Dann: CTRL + x

Fahren Sie dann mit der Erstellung fort.

2 Likes

Hello @Stagger_Lee, thanks a lot for your reply. I’ve already found the line “depends=…” but I can’t making work the Arrow keys except for the “Down key”. But this doesn’t help. The “Up-key” is required as the following excerpt shows. Have you got any hint?

+++ /home/ks/.cache/yay/hypnotix-git/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Luna Jernberg droidbittin@gmail.com
+# Contributor: Sam Burgos santiago.burgos1089@gmail.com
+# Contributor: Jonathon Fernyhough jonathon+m2x@dev
+# Contributor: Leo <olorin12+gmail+com>
+# Contributor: Daniel Menelkir menelkir@gmail.com
+pkgname=hypnotix-git
+pkgver=3.2.r2.g0d28083
+pkgrel=1
+pkgdesc=“An IPTV streaming application”
+arch=(any)
+url=“https://github.com/linuxmint/hypnotix
+license=(GPL3)
+depends=(dconf hicolor-icon-theme python-cairo python-gobject cinemagoer python-requests python-set
proctitle python-unidecode mpv xapp)
+optdepends=(‘yt-dlp: YouTube channel support’)
+makedepends=(git)
+provides=(hypnotix)
+conflicts=(hypnotix)
:

1 Like

I don’t use EndeavourOS, but I think the edit menu opens with nano on EndeavourOS. The arrow keys should move the cursor.

If you cannot figure out how to edit the file, you can just close out yay and edit the PKGBUILD with any text editor you prefer. The file is located at /home/YOUR_USER_NAME/.cache/yay/hypnotix-git/PKGBUILD (it’s a hidden file). Then just run yay -S hypnotix. Answer N (None) for Pakete für neuen Build?.

Translation by Deepl:

Ich benutze EndeavourOS nicht, aber ich glaube, das Bearbeitungsmenü öffnet sich mit nano auf EndeavourOS. Die Pfeiltasten sollten den Cursor bewegen.

Wenn Sie nicht wissen, wie Sie die Datei bearbeiten können, können Sie einfach yay schließen und die PKGBUILD mit einem beliebigen Texteditor bearbeiten. Die Datei befindet sich unter /home/IHR_NUTZER-NAME/.cache/yay/hypnotix-git/PKGBUILD (es ist eine versteckte Datei). Dann führen Sie einfach yay -S hypnotix aus. Antworten Sie N (Keine) für Pakete für neuen Build?.

Sie können auch einfach das folgende geänderte PKGBUILD in
/home/IHR_NUTZER-NAME/.cache/yay/hypnotix-git/PKGBUILD, und ersetzt den Inhalt durch diese neue Datei:

PKGBUILD
# Maintainer: Luna Jernberg <droidbittin@gmail.com>
# Contributor: Sam Burgos <santiago.burgos1089@gmail.com>
# Contributor: Jonathon Fernyhough <jonathon+m2x@dev>
# Contributor: Leo <olorin12+gmail+com>
# Contributor: Daniel Menelkir <menelkir@gmail.com>
pkgname=hypnotix-git
pkgver=3.2.r2.g0d28083
pkgrel=2
pkgdesc="An IPTV streaming application"
arch=(any)
url="https://github.com/linuxmint/hypnotix"
license=(GPL3)
depends=(dconf hicolor-icon-theme python-cairo python-gobject python-cinemagoer python-requests python-setproctitle python-unidecode mpv xapp)
optdepends=('yt-dlp: YouTube channel support')
makedepends=(git)
provides=(hypnotix)
conflicts=(hypnotix)
source=("git+$url.git")
b2sums=(SKIP)

pkgver() {
	cd ${pkgname/-git}
	git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	cd ${pkgname/-git}
	sed -i "s/__DEB_VERSION__/$pkgver/g" usr/lib/hypnotix/hypnotix.py
	make
}

package() {
	cd ${pkgname/-git}
	install -D     -t "$pkgdir"/usr/bin usr/bin/hypnotix
	install -D     -t "$pkgdir"/usr/lib/hypnotix usr/lib/hypnotix/{common,hypnotix}.py
	install -Dm644 -t "$pkgdir"/usr/lib/hypnotix usr/lib/hypnotix/{mpv,xtream}.py
	install -Dm644 -t "$pkgdir"/usr/share/applications usr/share/applications/hypnotix.desktop
	install -Dm644 -t "$pkgdir"/usr/share/glib-2.0/schemas usr/share/glib-2.0/schemas/org.x.hypnotix.gschema.xml
	install -Dm644 -t "$pkgdir"/usr/share/hypnotix usr/share/hypnotix/*.{css,png,ui}
	install -Dm644 -t "$pkgdir"/usr/share/hypnotix/pictures usr/share/hypnotix/pictures/*.svg
	install -Dm644 -t "$pkgdir"/usr/share/hypnotix/pictures/badges usr/share/hypnotix/pictures/badges/*
	install -Dm644 -t "$pkgdir"/usr/share/icons/hicolor/scalable/apps usr/share/icons/hicolor/scalable/apps/hypnotix.svg

	# Translations
	cp -a usr/share/locale "$pkgdir"/usr/share/locale
}
1 Like

Hi, I have changed now the PKGBUILD from cinemagoer to python-cinemagoer and saved it. But after continuing with updating it appears the same error message as before and that’s strange: the changed expression “phython-cinemagoer” went back to “cinemagoer”.

==> yay
[sudo] Passwort für ks:
:: Paketdatenbanken werden synchronisiert …
endeavouros ist aktuell
core ist aktuell
extra ist aktuell
community ist aktuell
multilib ist aktuell
:: Durchsuche AUR nach Updates…
:: Durchsuche Datenbanken nach Updates…
:: 1 Packages to upgrade/install.
1 aur/hypnotix-git 3.1.r1.g4c9efe4-1 → 3.2.r2.g0d28083-1
==> Pakete zum Ausschließen: (z.B. “1 2 3”, “1-3”, “^4” oder Repo-Name)
→ Excluding packages may cause partial upgrades and break systems
==>
AUR Explicit (1): hypnotix-git-3.2.r2.g0d28083-1
:: PKGBUILD up to date, skipping download: hypnotix-git
1 hypnotix-git (Build-Dateien sind vorhanden)
==> Pakete für neuen Build?
==> [N] Keine [A]lle [Ab]brechen [I]nstalliert [No]nicht installiert oder (1 2 3, 1-3, ^4)
==> 1
:: Lösche (1/1): /home/ks/.cache/yay/hypnotix-git
HEAD ist jetzt bei e3fb14a dependency with new name
Lösche hypnotix/
Lösche src/
1 hypnotix-git (Build-Dateien sind vorhanden)
==> Unterschiede zeigen?
==> [N] Keine [A]lle [Ab]brechen [I]nstalliert [No]nicht installiert oder (1 2 3, 1-3, ^4)
==> n
==> Erstelle Paket: hypnotix-git 3.2.r2.g0d28083-1 (Di 16 Mai 2023 20:51:17 CEST)
==> Empfange Quellen…
→ Klone das hypnotix git Repo…
Klone in Bare-Repository ‘/home/ks/.cache/yay/hypnotix-git/hypnotix’ …
remote: Enumerating objects: 2303, done.
remote: Counting objects: 100% (810/810), done.
remote: Compressing objects: 100% (278/278), done.
remote: Total 2303 (delta 543), reused 708 (delta 467), pack-reused 1493
Empfange Objekte: 100% (2303/2303), 2.91 MiB | 3.12 MiB/s, fertig.
Löse Unterschiede auf: 100% (1250/1250), fertig.
==> Überprüfe source Dateien mit b2sums…
hypnotix … Übersprungen
:: (1/1) SRCINFO geparst: hypnotix-git
==> Erstelle Paket: hypnotix-git 3.2.r2.g0d28083-1 (Di 16 Mai 2023 20:51:19 CEST)
==> Prüfe Laufzeit-Abhängigkeiten…
==> Fehlende Abhängigkeiten:
→ cinemagoer
==> Prüfe Buildtime-Abhängigkeiten…
==> FEHLER: Konnte nicht alle Abhängigkeiten auflösen.
→ Fehler beim Erstellen: hypnotix-git-exit status 8
→ Failed to install the following packages. Manual intervention is required:
hypnotix-git - exit status 8

Drücke ENTER um dieses Fenster zu schließen:

Dies ist der Grund für den Fehler:

==> Pakete für neuen Build?
==> [N] Keine [A]lle [Ab]brechen [I]nstalliert [No]nicht installiert oder (1 2 3, 1-3, ^4)
==> 1

Sie müssen N (Keine) antworten. Wenn Sie nicht mit N antworten, wird yay die unveränderte Datei herunterladen und die bearbeitete Datei ersetzen.

Edit the file (or replace the file) and run yay -S hypnotix yay -S hypnotix-git. Answer N (none) for that question. You can just press the Enter key, that is the same as answering N.

**Deepl:

Bearbeiten Sie die Datei (oder ersetzen Sie die Datei) und führen Sie yay -S hypnotix yay -S hypnotix-git aus. Beantworten Sie diese Frage mit N (none). Sie können einfach die Eingabetaste drücken, das ist dasselbe wie die Antwort N.

Are you sure? If I answer with “N” the file changes back to “cinemagoer”.

1 Like

Yes, you need to answer N (None) to “Packages to Clean Build” (or “New Build”).

Just press Enter for all the questions, that will use the default answer (N) for everything.

These are the steps to take:

Edit the PKGBUILD, changing cinemagoer to python-cinemagoer in the “depends=” line. Save the changes.

Run the command yay -S hypnotix yay -S hypnotix-git. Just press Enter</kbd` to all questions (this will use the default answers).

That’s all. The package should be built.

This works. I just installed the package to be sure.

Enter even to this question:
Nach in Konflikt stehenden Paketen wird gesucht …
:: hypnotix und hypnotix-git stehen miteinander in Konflikt. hypnotix-git entfernen? [j/N]
?

1 Like

Oh, damn. I messed up and wrote hypnotix instead of hypnotix-git. I am sorry.

You can answer Y to replace the -git package with the regular package. If you don’t need the -git package, you will probably be better off with the regular package.

Or answer N to keep the -git package, and then do the edit.

I used the --editmenu option. I installed EndeavourOS into a virtual machine just to be sure everything worked. See here:

In EndeavourOS, this opens the PKGBUILD in the nano editor:

Make the edit:

Save the edit:

CTRL + o

Enter

CTRL + x

Then proceed to install:

Dear Stagger_Lee, i did it! I’m very grateful for your help. Thanks a lot!

1 Like

Excellent! I am happy for you.

And again, I am sorry about writing hypnotix instead of hypnotix-git. That was not very smart of me :laughing:.

That doesn’t matter. I’m glad that everything runs perfectly now. Have a good time!

1 Like

If HE pointed you to the solution, you should always mark HIS post as the solution to this thread, not your own post.

(Just a side-note, thanks.)

:v:

1 Like

@klasie - I had never heard of Hypnotix before. I like it! So thank you for making me aware of it. :+1:

You are welcome. I’ve been aware of Hypnotix since I was looking for an alternative to FreeTuxTV. The latter did not run exactly.

1 Like

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