Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: bevo on 2018/08/18, 09:04:30

Title: Kein update
Post by: bevo on 2018/08/18, 09:04:30
Seit gestern :
Code: [Select]
root@patience:/home/bevo# apt updateOK:1 http://deb.debian.org/debian unstable InRelease
OK:2 https://packages.siduction.org/extra unstable InRelease
OK:3 https://packages.siduction.org/fixes unstable InRelease

(appstreamcli:7827): GLib-CRITICAL **: 08:59:04.049: g_variant_builder_end: assertion '!GVSB(builder)->uniform_item_types || GVSB(builder)->prev_item_type != NULL || g_variant_type_is_definite (GVSB(builder)->type)' failed

(appstreamcli:7827): GLib-CRITICAL **: 08:59:04.049: g_variant_new_variant: assertion 'value != NULL' failed

(appstreamcli:7827): GLib-ERROR **: 08:59:04.049: g_variant_new_parsed: 11-13:invalid GVariant format string
Trace/breakpoint trap
Paketlisten werden gelesen... Fertig
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi'
E: Sub-process returned an error code
Was ist denn da los ??
Title: Re: Kein update
Post by: ayla on 2018/08/18, 09:12:40
hier das Gleiche, letztes D-U ca 8 Tage
Title: Re: Kein update
Post by: df8oe on 2018/08/18, 09:49:49
Hier auch..

/usr/bin/appstreamcli refresh-cache

schlägt fehl. Ich kann mir zwar mit

/usr/bin/appstreamcli status

die Datenbank ansehen, aber das Speichern schlägt fehl.


Kennt schon jemand die Ursache des Problems?


LG
DF8OE
Title: Re: Kein update
Post by: unklarer on 2018/08/18, 10:40:58
Bei mir gab es gestern Nachmittag beim DU eine Warnmeldung bezüglich init-system-helpers das er
den Service inovke-rc.d nicht korrekt starten kann.
Nach Recherche habe ich das als "nicht ignoriert" in apt zugelassen.

Keine Probleme festgestellt.
Jetzt eben wurde im DU der init-system-helpers wieder aktualisiert.   :)  Keine Ahnung, ob das euer Problem ist.

Edit: vergessen, es handelt sich um desperado mit lxde   ;)
Title: Re: Kein update
Post by: Xaver on 2018/08/18, 10:55:44

Sieht so aus, als würde 'appstream' das Problem verursachen.
Funktioniert das aktuelle KDE/Plasma noch ohne appstream? Dann wäre entfernen eine mögliche Lösung.
Siehe: https://askubuntu.com/questions/775069/what-is-appstream-why-is-it-installed-what-is-it-doing
Title: Re: Kein update
Post by: jure on 2018/08/18, 11:00:24
bei mir gibt es appstream nicht und ich habe das Problem nicht

Code: [Select]
apt policy appstream
appstream:
  Installiert:           (keine)
  Installationskandidat: 0.12.2-1
Code: [Select]
inxi -S
System:    Host: siductionbox Kernel: 4.18.1-towo.1-siduction-amd64 x86_64 bits: 64
Desktop: KDE Plasma 5.13.2 Distro: Debian GNU/Linux buster/sid
Title: Re: Kein update
Post by: df8oe on 2018/08/18, 11:27:32
root@wst-box:~# apt purge appstream
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Die folgenden Pakete werden ENTFERNT:
  appstream* apt-config-icons* gnome-core* gnome-software*
0 aktualisiert, 0 neu installiert, 4 zu entfernen und 307 nicht aktualisiert.
Nach dieser Operation werden 3.127 kB Plattenplatz freigegeben.
Möchten Sie fortfahren? [J/n] n
 
Title: Re: Kein update
Post by: clubex on 2018/08/18, 12:35:44
Removing appstream doesn't seem to affect my KDE.
Only the following packages were removed.
Code: [Select]
appstream* apt-config-icons* apt-config-icons-large*
Title: Re: Kein update
Post by: df8oe on 2018/08/18, 13:08:47
For those where complete gnome will be removed I do have a "dirty hack". Not good at all - but works and does not impact running system:


1) rename /usr/bin/appstreamcli to anyrhing else
2) now apt works flawlessly
3) hold in mind that you do have renamed appstreamcli!! You must rename it another time again to its original filename!


Actually (all u and du are passed by) the error persists, so I let it renamed.


Best regards
DF8OE
Title: Re: Kein update
Post by: ayla on 2018/08/18, 14:38:56
Danke, nach apt purge appstream lief mein D-U durch.Danach:
Code: [Select]
root@siducer:~# apt install appstream

Einmal funktionierte dann apt update, beim zweiten Mal schon wieder die bekannte Fehlermeldung
Title: Re: Kein update
Post by: df8oe on 2018/08/18, 14:50:55
Ich schrieb ja: der Fehler ist noch da. Leider kann ich appstream nicht ohne Deinstallation von Gnome entfernen - also habe ich den "workaround" genommen und werde im Auge behalten, ob es bei gtk oder appstream irgendwas Neues gibt. Wenn ja, könnte es das Problem lösen.
Title: Re: Kein update
Post by: melmarker on 2018/08/18, 15:37:42
Man sollte den Debian-Gnomen auf die Finger hauen - appstream ist ne ganz feine Sache, um Dinge an apt vorbei direkt aus "vertrauenswürdigen" Quellen direkt aus dem Indernetzt zu installieren. Siehe auch apt show gnome-software.

Mit anderen Worten: Debian schafft sich grad selbst ab, so was sollte keine Dependency sein, Recommend ist mehr als genug. Irgendjemand™ sollte mal einen Bug-Report über beide Issues loslassen.

Und für unsere Freunde von KDE gilt das selbe, keine Schadenfreude: Plasma-Discover macht auch so einen Mist 8).
Title: Re: Kein update
Post by: df8oe on 2018/08/18, 15:41:31
Ufff.....


Danke melmarker für diese echt gute Info. Das habe ich nicht gewusst, finde es absolut erschreckend und ein totales no-go.


Wenn es eine Abhängigkeit bleibt kann man die ausführbare Datei ja umbenannt lassen - dann schadet sie nicht  8)


LG
DF8OE
Title: Re: Kein update
Post by: melmarker on 2018/08/18, 15:47:59
Nü, einfach nicht benutzen reicht auch aus - obwohl es zugegebenermaßen bequem ist :D

Code: [Select]
% LANG=C apt rdepends appstream     
appstream
Reverse Depends:
  Breaks: appstream-doc (<< 0.11.8)
  Depends: appstream-dbgsym (= 0.12.2-1)
  Breaks: libapt-pkg5.0 (<< 0.9.0-3~)
  Recommends: check-all-the-things
  Depends: plasma-discover (>= 0.8)
  Suggests: packagekit
  Depends: isenkram-cli
  Depends: gnome-software
  Breaks: libapt-pkg5.0 (<< 0.9.0-3~)
  Depends: apt-config-icons
  Suggests: appstream-doc
  Breaks: libapt-pkg5.0 (<< 0.9.0-3~)
  Recommends: apper
  Depends: plasma-discover (>= 0.8)
  Suggests: packagekit
  Depends: isenkram-cli
[b]  Depends: gnome-software[/b]
  Depends: appstream-index (>= 0.10.6-2)
  Recommends: apper
  Suggests: appstream-doc
[c/ode]

[code]
% LANG=C apt rdepends gnome-software
gnome-software
Reverse Depends:
  Depends: gnome-packagekit-session (>= 3.28.2-1)
  Depends: gnome-core (>= 3.22)
  Depends: gnome-core (>= 3.22)
  Depends: gnome-software-dbgsym (= 3.28.2-1)
 |Suggests: gnome-control-center
  Suggests: system-config-printer-common (>= 3.16.5-2)
  Suggests: system-config-printer (>= 3.16.5-2)
 |Recommends: packagekit-gtk3-module
 |Recommends: gstreamer1.0-packagekit
  Depends: gnome-core (>= 3.22)
  Replaces: gnome-software-plugin-snap (<< 3.22.3)
  Breaks: gnome-software-plugin-snap (<< 3.22.3)
  Depends: gnome-software-plugin-snap (= 3.28.2-1)
  Replaces: gnome-software-plugin-limba (<< 3.21.92)
  Breaks: gnome-software-plugin-limba (<< 3.21.92)
  Depends: gnome-software-plugin-limba (= 3.28.2-1)
  Depends: gnome-software-plugin-flatpak (= 3.28.2-1)
  Suggests: system-config-printer (>= 3.16.5-2)
 |Suggests: gnome-control-center
  Breaks: appstream (<< 3.22.5-1)
  Suggests: system-config-printer-common (>= 3.16.5-2)
  Breaks: gnome-software-plugin-limba (<< 3.21.92)
  Suggests: software-properties-gtk
 |Recommends: packagekit-gtk3-module
 |Recommends: gstreamer1.0-packagekit
  Depends: gnome-core (>= 3.22)
  Replaces: gnome-software-plugin-limba (<< 3.21.92)
  Breaks: appstream (<< 3.22.5-1)
  Depends: gnome-software-plugin-limba (= 3.22.5-1)
  Depends: gnome-software-plugin-flatpak (= 3.22.5-1)
  Depends: gnome-packagekit-session (>= 3.22.5-1)

Abgesehen davon, dass gnome und gnome-core metapakete sind, die eigentlich™ zu nix nutze sind und die man gehen lassen könnte - da wäre ein Haken bei: Wenn sich Paketierungen ändern, sorgen die Metapakete dafür, dass neue Sachen einfach aufgesammelt und installiert werden. Ikke würd die also einfach drin lassen und nicht benötigte Funktionen einfach ignorieren.
Title: Re: Kein update
Post by: df8oe on 2018/08/18, 15:59:38
OK. Trotzdem full ack dass das keine Dependencies sein dürfen. Ich habe eben einen entsprechenden Bugreport gestartet.


LG
DF8OE
Title: Re: Kein update
Post by: absolut on 2018/08/18, 16:47:27
DF8OE, kannst du bitte den bugreport verlinken?

gruß
absolut
Title: Re: Kein update
Post by: Kan on 2018/08/18, 17:13:05
There is a bug report on it here;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906538 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906538)
Title: Re: Kein update
Post by: df8oe on 2018/08/18, 18:36:47
Kann ich leider (noch) nicht. Ich habe zwar eine Automatenmail von der Debian-Buglist zurückbekommen, kann aber meinen eingegebenen Bug noch nicht finden. Das ich gesehen hatte dass der eigentliche Bug "der den apt-Fehler nach sich zieht" schon gemeldet ist habe ich nur gemeldet dass die dependency so Sicherheitslücken nach sich ziehen kann.


LG
DF8OE
Title: Re: Kein update
Post by: Kan on 2018/08/20, 05:01:28
A new appstream is in the latest updates, and it fixed the issue.