PDA

View Full Version : Awaria gnome po aktualizacji kodeków



atomas
27-Oct-2021, 04:39
witajcie

zaktualizowałem jakiś czas temu system do opensuse 15.3. Chciałem za pomocą ffmpeg przygotować film do publikacji na YouTube. Wyskoczył w terminalu brak kodeka. Posperałem w sieci i znalazłem coś takiego

http://www.opensuse-guide.org/codecs.php

wykonałem wszystkie polecenia z punktu 13.2

ffmpeg ruszył, kodek się zainstalował widocznie, ale po włączeniu się wygaszania ekranu nie mogłem już zalogować się do sesji Gnome, po restarcie komp uruchomił się w innym środowisku (chyba IceWM)

poczytałem trochę o temacie i okazuje się że rzeczywiście najnowszy któryś pakiet z kodeków Packmana jest w konflikcie z niektórymi pakietami gnome, tylko nie wiem którymi

Z tego co czytałem uszkodzeniu najpewniej uległ Gnome Display Manager (gdm) zainstalowałem go ponownie, ale to nie pomogło.

za pomocą komendy

update-alternatives --config default-displaymanager

wybrałem inny display manager, testowałem wszystkie aktualnie mam opcje:

There are 4 choices for the alternative default-displaymanager (providing /usr/lib/X11/displaymanagers/default-displaymanager).

Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/X11/displaymanagers/gdm 25 auto mode
1 /usr/lib/X11/displaymanagers/console 5 manual mode
2 /usr/lib/X11/displaymanagers/gdm 25 manual mode
3 /usr/lib/X11/displaymanagers/lightdm 15 manual mode
* 4 /usr/lib/X11/displaymanagers/xdm 10 manual mode


Press <enter> to keep the current choice
, or type selection number:

Po wybraniu xdm i restarcie pojawił się ekran logowania (dotychczas logował się automatycznie) i po zalogowaniu uruchomił się gnome, ale nie włącza się od tej pory wygaszacz i ten ekran logowania jest inny
Jak to naprawić żeby było jak było?

pbojczuk
29-Oct-2021, 12:30
Pytanie pierwsze, czy korzystasz może ze snappera?
https://www.youtube.com/watch?v=AeU_orsOCNI

A druga rzecz, u mnie defaultowo jest wybrany GDM, nie xdm - nie mam pojecia, czy to ma znaczenie w tym przypadku:

tumbleweed:~ # update-alternatives --display default-displaymanager
default-displaymanager - auto mode
link best version is /usr/lib/X11/displaymanagers/gdm
link currently points to /usr/lib/X11/displaymanagers/gdm
link default-displaymanager is /usr/lib/X11/displaymanagers/default-displaymanager
/usr/lib/X11/displaymanagers/console - priority 5
/usr/lib/X11/displaymanagers/gdm - priority 25
/usr/lib/X11/displaymanagers/xdm - priority 10

atomas
29-Oct-2021, 14:05
dzięki za odpowiedź,

nie używam snappera, ale jeśli to pomoże, to zacznę, ja miałem za pierwszym razem jak sprawdzałem, już po awarii, domyślny lightgdm, nie wiem co było jak wszystko działało dobrze... doinstalowałem gdm i okazało się, że zypper doinstalował jeszcze m. in jakiś pakiet gnome-shell
nie wiem jak sprawdzić, które pakiety gnome uległy uszkodzeniu, albo jak przeinstalować cały gnome

jeśli chodzi o dostępne display managery to próbowałem wszystkich, które tam widać, przy xdm przynajmniej gnome jakoś działa

pbojczuk
29-Oct-2021, 14:49
Wydaje mi się, że coś innego poszło nie tak. Przetrenowowałem ten manual - na wersji z Tumbleweed. Poniżej lista paczek, które mi zmieniły dostawcę przy dodaniu repozytorium packman - przy instalacji:

The following 12 packages are going to change vendor:
gstreamer-plugins-bad openSUSE -> http://packman.links2linux.de
gstreamer-plugins-libav openSUSE -> http://packman.links2linux.de
gstreamer-plugins-ugly openSUSE -> http://packman.links2linux.de
libavcodec58_134 openSUSE -> http://packman.links2linux.de
libavdevice58_13 openSUSE -> http://packman.links2linux.de
libavfilter7_110 openSUSE -> http://packman.links2linux.de
libavformat58_76 openSUSE -> http://packman.links2linux.de
libavresample4_0 openSUSE -> http://packman.links2linux.de
libavutil56_70 openSUSE -> http://packman.links2linux.de
libpostproc55_9 openSUSE -> http://packman.links2linux.de
libswresample3_9 openSUSE -> http://packman.links2linux.de
libswscale5_9 openSUSE -> http://packman.links2linux.de

Przy aktualizacji:


The following 35 packages are going to change vendor:
gstreamer-plugin-pipewire openSUSE -> http://packman.links2linux.de
gstreamer-plugins-bad-lang openSUSE -> http://packman.links2linux.de
gstreamer-plugins-ugly-lang openSUSE -> http://packman.links2linux.de
libgstadaptivedemux-1_0-0 openSUSE -> http://packman.links2linux.de
libgstbadaudio-1_0-0 openSUSE -> http://packman.links2linux.de
libgstbasecamerabinsrc-1_0-0 openSUSE -> http://packman.links2linux.de
libgstcodecparsers-1_0-0 openSUSE -> http://packman.links2linux.de
libgstcodecs-1_0-0 openSUSE -> http://packman.links2linux.de
libgstisoff-1_0-0 openSUSE -> http://packman.links2linux.de
libgstmpegts-1_0-0 openSUSE -> http://packman.links2linux.de
libgstphotography-1_0-0 openSUSE -> http://packman.links2linux.de
libgstplayer-1_0-0 openSUSE -> http://packman.links2linux.de
libgstsctp-1_0-0 openSUSE -> http://packman.links2linux.de
libgsturidownloader-1_0-0 openSUSE -> http://packman.links2linux.de
libgstvulkan-1_0-0 openSUSE -> http://packman.links2linux.de
libgstwayland-1_0-0 openSUSE -> http://packman.links2linux.de
libgstwebrtc-1_0-0 openSUSE -> http://packman.links2linux.de
libheif1 openSUSE -> http://packman.links2linux.de
libpipewire-0_3-0 openSUSE -> http://packman.links2linux.de
libquicktime0 openSUSE -> http://packman.links2linux.de
libvlc5 openSUSE -> http://packman.links2linux.de
libvlccore9 openSUSE -> http://packman.links2linux.de
pipewire openSUSE -> http://packman.links2linux.de
pipewire-lang openSUSE -> http://packman.links2linux.de
pipewire-media-session openSUSE -> http://packman.links2linux.de
pipewire-modules openSUSE -> http://packman.links2linux.de
pipewire-spa-plugins-0_2 openSUSE -> http://packman.links2linux.de
pipewire-spa-tools openSUSE -> http://packman.links2linux.de
pipewire-tools openSUSE -> http://packman.links2linux.de
vlc openSUSE -> http://packman.links2linux.de
vlc-codec-gstreamer openSUSE -> http://packman.links2linux.de
vlc-lang openSUSE -> http://packman.links2linux.de
vlc-noX openSUSE -> http://packman.links2linux.de
vlc-qt openSUSE -> http://packman.links2linux.de
vlc-vdpau openSUSE -> http://packman.links2linux.de

Po usunięciu repozytorium packman:

zypper lr
zypper rr 1 # u mnie to było pierwsze repozytorium


i "aktualizacji":

zypper dup --allow-vendor-change

przywróciło mi te paczki do poprzedniej wersji (z openSUSE):


The following 47 packages are going to change vendor:
gstreamer-plugin-pipewire http://packman.links2linux.de -> openSUSE
gstreamer-plugins-bad http://packman.links2linux.de -> openSUSE
gstreamer-plugins-bad-lang http://packman.links2linux.de -> openSUSE
gstreamer-plugins-libav http://packman.links2linux.de -> openSUSE
gstreamer-plugins-ugly http://packman.links2linux.de -> openSUSE
gstreamer-plugins-ugly-lang http://packman.links2linux.de -> openSUSE
libavcodec58_134 http://packman.links2linux.de -> openSUSE
libavdevice58_13 http://packman.links2linux.de -> openSUSE
libavfilter7_110 http://packman.links2linux.de -> openSUSE
libavformat58_76 http://packman.links2linux.de -> openSUSE
libavresample4_0 http://packman.links2linux.de -> openSUSE
libavutil56_70 http://packman.links2linux.de -> openSUSE
libgstadaptivedemux-1_0-0 http://packman.links2linux.de -> openSUSE
libgstbadaudio-1_0-0 http://packman.links2linux.de -> openSUSE
libgstbasecamerabinsrc-1_0-0 http://packman.links2linux.de -> openSUSE
libgstcodecparsers-1_0-0 http://packman.links2linux.de -> openSUSE
libgstcodecs-1_0-0 http://packman.links2linux.de -> openSUSE
libgstisoff-1_0-0 http://packman.links2linux.de -> openSUSE
libgstmpegts-1_0-0 http://packman.links2linux.de -> openSUSE
libgstphotography-1_0-0 http://packman.links2linux.de -> openSUSE
libgstplayer-1_0-0 http://packman.links2linux.de -> openSUSE
libgstsctp-1_0-0 http://packman.links2linux.de -> openSUSE
libgsturidownloader-1_0-0 http://packman.links2linux.de -> openSUSE
libgstvulkan-1_0-0 http://packman.links2linux.de -> openSUSE
libgstwayland-1_0-0 http://packman.links2linux.de -> openSUSE
libgstwebrtc-1_0-0 http://packman.links2linux.de -> openSUSE
libheif1 http://packman.links2linux.de -> openSUSE
libpipewire-0_3-0 http://packman.links2linux.de -> openSUSE
libpostproc55_9 http://packman.links2linux.de -> openSUSE
libquicktime0 http://packman.links2linux.de -> openSUSE
libswresample3_9 http://packman.links2linux.de -> openSUSE
libswscale5_9 http://packman.links2linux.de -> openSUSE
libvlc5 http://packman.links2linux.de -> openSUSE
libvlccore9 http://packman.links2linux.de -> openSUSE
pipewire http://packman.links2linux.de -> openSUSE
pipewire-lang http://packman.links2linux.de -> openSUSE
pipewire-media-session http://packman.links2linux.de -> openSUSE
pipewire-modules http://packman.links2linux.de -> openSUSE
pipewire-spa-plugins-0_2 http://packman.links2linux.de -> openSUSE
pipewire-spa-tools http://packman.links2linux.de -> openSUSE
pipewire-tools http://packman.links2linux.de -> openSUSE
vlc http://packman.links2linux.de -> openSUSE
vlc-codec-gstreamer http://packman.links2linux.de -> openSUSE
vlc-lang http://packman.links2linux.de -> openSUSE
vlc-noX http://packman.links2linux.de -> openSUSE
vlc-qt http://packman.links2linux.de -> openSUSE
vlc-vdpau http://packman.links2linux.de -> openSUSE

Nigdzie nie widzę pakietów związanych z Gnome, czy jakimś środowiskiem graficznym. Coś jeszcze musiało sie zdarzyć. Przy okazji masz powyżej przykład, jak przywrócić dostawcę pakietów.

Czy jesteś coś w satnie znaleźć w historii zypp? Jak nie masz tam nic osobistego, możesz spróbować ten plik udostęnić.

/var/log/zypp/history

I podać w ogóle jakie masz repozytoria?

zypper lr

atomas
30-Oct-2021, 01:30
dziękuję,

sprawdzę, to jest mój komp stacjonarny, a teraz jestem w drodze na groby bliskich, wracam w piątek, bo wziąłem dłuższy urlop;
ja gdzieś przeczytałem, że któryś (chyba) gstreamer z packmana jest nowszy niż obsługiwany przez gnome (albo mi w końcu wypluł to zypper, tylko nie pamiętam dokładnie co wpisywałem), wykonam wszystkie polecenia jak wrócę do domu

przem
02-Nov-2021, 08:58
Przede wszystkim zastanowił bym się trzy razy nad dodaniem kolejnego repozytorium - mam na myśli opensuse-guide.org, gdyż sama nazwa opensuse w adresie, niekoniecznie musi wskazywać na jakikolwiek związek z SUSE. A niesforne repozytorium potrafi nieźle namieszać, Miałem przed laty potrzebę dodania kodeka AAC, postawiłem na repo z packman.inode.at i jakiegoż miałem nerwa gdy okazało się, że po dodaniu go, wszystkie kodeki w systemie (MP3 również) zaczeły pierdzieć.

Pozdrawiam

atomas
05-Nov-2021, 06:40
Faktycznie, trzeba by pewnie zacząć od repozytoriów, bo swego czasu tam mocno mieszałem:


zypper lr
Repository priorities are without effect. All enabled repositories share the same priority.


# | Alias | Name | Enabled | GPG Check | Refresh
---+--------------------------------------+---------------------------------------------------------------------------------------------+---------+-----------+--------
1 | NVIDIA | NVIDIA | Yes | (r ) Yes | Yes
2 | dvd | dvd | Yes | (r ) Yes | Yes
3 | home_ecsos | ecsos's Home Project (openSUSE_Leap_15.2) | Yes | (r ) Yes | No
4 | https-download.opensuse.org-215d3aea | SUSE:SLE-15-SP2:GA | Yes | ( p) Yes | Yes
5 | https-download.opensuse.org-66b309fa | SUSE:SLE-15-SP1:GA | Yes | ( p) Yes | Yes
6 | https-download.opensuse.org-69c17ca9 | SUSE:SLE-15-SP3:GA | Yes | ( p) Yes | Yes
7 | https-download.opensuse.org-71f3b420 | SUSE:SLE-15:Update | Yes | ( p) Yes | Yes
8 | https-download.opensuse.org-89cbe395 | openSUSE:Backports:SLE-15-SP3 | Yes | (r ) Yes | Yes
9 | https-download.opensuse.org-9e403c29 | SUSE:SLE-15-SP2:Update | Yes | ( p) Yes | Yes
10 | https-download.opensuse.org-9f03edf5 | SUSE:SLE-15-SP1:Update | Yes | ( p) Yes | Yes
11 | https-download.opensuse.org-b9417b30 | multimedia:libs | Yes | (r ) Yes | Yes
12 | openSUSE-Leap-15.3-1 | openSUSE-Leap-15.3-1 | No | ---- | ----
13 | packman | packman | Yes | (r ) Yes | Yes
14 | repo-backports-debug-update | Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports | No | ---- | ----
15 | repo-backports-update | Update repository of openSUSE Backports | Yes | (r ) Yes | Yes
16 | repo-debug | Debug Repository | No | ---- | ----
17 | repo-debug-non-oss | Debug Repository (Non-OSS) | No | ---- | ----
18 | repo-debug-update | Update Repository (Debug) | No | ---- | ----
19 | repo-debug-update-non-oss | Update Repository (Debug, Non-OSS) | No | ---- | ----
20 | repo-non-oss | Non-OSS Repository | Yes | (r ) Yes | Yes
21 | repo-oss | Main Repository | Yes | (r ) Yes | Yes
22 | repo-sle-debug-update | Update repository with debuginfo for updates from SUSE Linux Enterprise 15 | No | ---- | ----
23 | repo-sle-update | Update repository with updates from SUSE Linux Enterprise 15 | Yes | (r ) Yes | Yes
24 | repo-source | Source Repository | No | ---- | ----
25 | repo-update | Main Update Repository | Yes | (r ) Yes | Yes
26 | repo-update-non-oss | Update Repository (Non-Oss) | Yes | (r ) Yes | Yes


i jeszcze podaję w załączeniu historię zyppera:
http://serwis.cyberhelp.pl/history

szwagier
05-Nov-2021, 07:07
Nie masz tak źle z repozytoriami. Wyłącz multimedia.libs i zastosuj starodawną metodę na uporządkowanie systemu, czyli:
zypper ref
a potem
zypper dup.
Instalacja kodeków na pewno nie zepsuła ci systemu, musiałeś coś jeszcze namieszać. ;)

atomas
05-Nov-2021, 10:39
Możecie mi wierzyć lub nie, ale problemy zaczęły się po wdrożeniu manuala z początku wątku, do tamtej pory wszystko działało ok:

http://www.opensuse-guide.org/codecs.php

po usunięciu kilku repozytoriów, które przy odświeżaniu pisały że są wadliwe mam:



Repository priorities are without effect. All enabled repositories share the same priority.


# | Alias | Name | Enabled | GPG Check | Refresh
---+--------------------------------------+---------------------------------------------------------------------------------------------+---------+-----------+--------
1 | NVIDIA | NVIDIA | Yes | (r ) Yes | Yes
2 | dvd | dvd | Yes | (r ) Yes | Yes
3 | home_ecsos | ecsos's Home Project (openSUSE_Leap_15.2) | Yes | (r ) Yes | No
4 | https-download.opensuse.org-89cbe395 | openSUSE:Backports:SLE-15-SP3 | Yes | (r ) Yes | Yes
5 | openSUSE-Leap-15.3-1 | openSUSE-Leap-15.3-1 | No | ---- | ----
6 | packman | packman | Yes | (r ) Yes | Yes
7 | repo-backports-debug-update | Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports | No | ---- | ----
8 | repo-backports-update | Update repository of openSUSE Backports | Yes | (r ) Yes | Yes
9 | repo-debug | Debug Repository | No | ---- | ----
10 | repo-debug-non-oss | Debug Repository (Non-OSS) | No | ---- | ----
11 | repo-debug-update | Update Repository (Debug) | No | ---- | ----
12 | repo-debug-update-non-oss | Update Repository (Debug, Non-OSS) | No | ---- | ----
13 | repo-non-oss | Non-OSS Repository | Yes | (r ) Yes | Yes
14 | repo-oss | Main Repository | Yes | (r ) Yes | Yes
15 | repo-sle-debug-update | Update repository with debuginfo for updates from SUSE Linux Enterprise 15 | No | ---- | ----
16 | repo-sle-update | Update repository with updates from SUSE Linux Enterprise 15 | Yes | (r ) Yes | Yes
17 | repo-source | Source Repository | No | ---- | ----
18 | repo-update | Main Update Repository | Yes | (r ) Yes | Yes
19 | repo-update-non-oss | Update Repository (Non-Oss) | Yes | (r ) Yes | Yes

odświeźyłem, dałem


zypper dup


niestety nadal po restarcie gnome odpala się tylko z xdm, reszta display managerów powoduje odpalenie się innego środowiska

atomas
05-Nov-2021, 13:02
wykonałem też polecenia, które polecił @pbojczuk

u mnie zypper wymienił pół systemu po wyłaczeniu packmana, odświeżeniu i wykonaniu

zypper dup --allow-vendor-change

na szczęście system wstał, ale problem z gnome pozostał

szwagier
06-Nov-2021, 00:13
Repo ecsos masz dla 15.2, a przecież jest dla 15.3. Poza tym ostrożnie z tym repo. Ja też go czasami używam, ale włączam tylko do instalacji pakietu - do aktualizacji systemu musi być wyłączone, bo potrafi go uszkodzić. A potrzebuję go np. dla multibootusb który to pakiet w nim jest.

pbojczuk
07-Nov-2021, 02:33
To mam pytanie, co tu się stało?

2021-10-19 23:21:19|command|root@localhost.localdomain|'/usr/lib/packagekitd'|
2021-10-19 23:21:19|remove |cheese-lang|3.34.0-2.42|noarch||
2021-10-19 23:21:19|remove |gdm-lang|3.34.1-8.18.1|noarch||
2021-10-19 23:21:19|remove |gnome-contacts-lang|3.34.1-1.68|noarch||
# 2021-10-19 23:21:20 gnome-control-center-color-3.34.6-7.76.x86_64 removed ok
# Additional rpm output:
# No PulseAudio daemon running, or not running as session daemon.
#
2021-10-19 23:21:20|remove |gnome-control-center-color|3.34.6-7.76|x86_64||
# 2021-10-19 23:21:20 gnome-control-center-goa-3.34.6-7.76.x86_64 removed ok
# Additional rpm output:
# No PulseAudio daemon running, or not running as session daemon.
#
2021-10-19 23:21:20|remove |gnome-control-center-goa|3.34.6-7.76|x86_64||
2021-10-19 23:21:20|remove |gnome-control-center-lang|3.34.6-7.76|noarch||
2021-10-19 23:21:20|remove |gnome-session-lang|3.34.2-6.3.1|noarch||
# 2021-10-19 23:21:20 gnome-session-wayland-3.34.2-6.3.1.x86_64 removed ok
# Additional rpm output:
# update-alternatives: warning: alternative /usr/share/wayland-sessions/gnome.desktop (part of link group default-waylandsession.desktop) doesn't exist; removing from list of alternatives
# update-alternatives: warning: /etc/alternatives/default-waylandsession.desktop is dangling; it will be updated with best choice
#
2021-10-19 23:21:20|remove |gnome-session-wayland|3.34.2-6.3.1|x86_64||
# 2021-10-19 23:21:20 gnome-shell-calendar-3.34.5-8.1.x86_64 removed ok
# Additional rpm output:
# No PulseAudio daemon running, or not running as session daemon.
#
2021-10-19 23:21:20|remove |gnome-shell-calendar|3.34.5-8.1|x86_64||
# 2021-10-19 23:21:21 gnome-shell-classic-3.34.2-5.9.2.noarch removed ok
# Additional rpm output:
# warning: file /usr/share/wayland-sessions/default.desktop: remove failed: No such file or directory
# update-alternatives: warning: alternative /usr/share/xsessions/sle-classic.desktop (part of link group default-xsession.desktop) doesn't exist; removing from list of alternatives
#
2021-10-19 23:21:21|remove |gnome-shell-classic|3.34.2-5.9.2|noarch||
2021-10-19 23:21:21|remove |gnome-shell-extension-gpaste|3.34.1-lp152.1.3|noarch||
2021-10-19 23:21:21|remove |gnome-shell-lang|3.34.5-8.1|noarch||
2021-10-19 23:21:21|remove |gnome-shell-search-provider-bijiben|3.36.1-bp153.1.26|x86_64||
2021-10-19 23:21:21|remove |gnome-shell-search-provider-contacts|3.34.1-1.68|x86_64||
2021-10-19 23:21:21|remove |gnome-shell-search-provider-documents|3.34.0-1.142|x86_64||
2021-10-19 23:21:21|remove |gnome-shell-search-provider-nautilus|3.34.3-4.3.1|x86_64||
2021-10-19 23:21:21|remove |gnome-tweaks-lang|3.34.0-3.6.1|noarch||
2021-10-19 23:21:21|remove |gstreamer-plugins-bad-lang|1.16.3-lp153.3.3.1|noarch||
2021-10-19 23:21:21|remove |libpurple-lang|2.13.0-10.105|noarch||
2021-10-19 23:21:21|remove |libpurple-tcl|2.13.0-10.105|x86_64||
# 2021-10-19 23:21:22 pidgin-2.13.0-10.105.x86_64 removed ok
# Additional rpm output:
# No PulseAudio daemon running, or not running as session daemon.
#
2021-10-19 23:21:22|remove |pidgin|2.13.0-10.105|x86_64||
2021-10-19 23:21:22|remove |pulseaudio-gdm-hooks|14.2-4.2|x86_64||
# 2021-10-19 23:21:22 cheese-3.34.0-2.42.x86_64 removed ok
# Additional rpm output:
# No PulseAudio daemon running, or not running as session daemon.
#
2021-10-19 23:21:22|remove |cheese|3.34.0-2.42|x86_64||
2021-10-19 23:21:22|remove |gnome-shell-extension-desktop-icons|19.10.2-3.9.1|noarch||
# 2021-10-19 23:21:23 gnome-contacts-3.34.1-1.68.x86_64 removed ok
# Additional rpm output:
# No PulseAudio daemon running, or not running as session daemon.
#
2021-10-19 23:21:23|remove |gnome-contacts|3.34.1-1.68|x86_64||
# 2021-10-19 23:21:23 gnome-tweaks-3.34.0-3.6.1.noarch removed ok
# Additional rpm output:
# No PulseAudio daemon running, or not running as session daemon.
#
2021-10-19 23:21:23|remove |gnome-tweaks|3.34.0-3.6.1|noarch||
2021-10-19 23:21:23|remove |libpurple|2.13.0-10.105|x86_64||
2021-10-19 23:21:23|remove |patterns-gnome-gnome|20180321-lp153.1.15|x86_64||
2021-10-19 23:21:23|remove |patterns-gnome-gnome_imaging|20180321-lp153.1.15|x86_64||
2021-10-19 23:21:23|remove |patterns-gnome-gnome_office|20180321-lp153.1.15|x86_64||
2021-10-19 23:21:23|remove |patterns-gnome-gnome_utilities|20180321-lp153.1.15|x86_64||
2021-10-19 23:21:23|remove |libpurple-branding-openSUSE|42.2-lp153.1.30|noarch||
2021-10-19 23:21:23|remove |patterns-gnome-gnome_x11|20180321-lp153.1.15|x86_64||
2021-10-19 23:21:23|remove |gstreamer-plugins-farstream|0.2.8-8.32|x86_64||
2021-10-19 23:21:24|remove |patterns-gnome-gnome_basic|20180321-lp153.1.15|x86_64||
2021-10-19 23:21:24|remove |libfarstream-0_2-5|0.2.8-8.32|x86_64||
2021-10-19 23:21:24|remove |patterns-gnome-gnome_basis|20180321-lp153.1.15|x86_64||
2021-10-19 23:21:24|remove |gdm-branding-openSUSE|15.1-lp153.2.40|noarch||
# 2021-10-19 23:21:24 gdm-3.34.1-8.18.1.x86_64 removed ok
# Additional rpm output:
# update-alternatives: warning: alternative /usr/lib/X11/displaymanagers/gdm (part of link group default-displaymanager) doesn't exist; removing from list of alternatives
# update-alternatives: warning: /etc/alternatives/default-displaymanager is dangling; it will be updated with best choice
# update-alternatives: using /usr/lib/X11/displaymanagers/lightdm to provide /usr/lib/X11/displaymanagers/default-displaymanager (default-displaymanager) in auto mode
#
2021-10-19 23:21:24|remove |gdm|3.34.1-8.18.1|x86_64||
# 2021-10-19 23:21:24 gnome-shell-3.34.5-8.1.x86_64 removed ok
# Additional rpm output:
# No PulseAudio daemon running, or not running as session daemon.
#
2021-10-19 23:21:24|remove |gnome-shell|3.34.5-8.1|x86_64||
2021-10-19 23:21:24|remove |gnome-session-default-session|3.34.2-6.3.1|x86_64||
# 2021-10-19 23:21:24 gnome-session-3.34.2-6.3.1.x86_64 removed ok
# Additional rpm output:
# update-alternatives: warning: alternative /usr/share/xsessions/gnome.desktop (part of link group default-xsession.desktop) doesn't exist; removing from list of alternatives
# update-alternatives: warning: /etc/alternatives/default-xsession.desktop is dangling; it will be updated with best choice
# update-alternatives: using /usr/share/xsessions/icewm-session.desktop to provide /usr/share/xsessions/default.desktop (default-xsession.desktop) in auto mode
#
2021-10-19 23:21:24|remove |gnome-session|3.34.2-6.3.1|x86_64||
# 2021-10-19 23:21:25 gnome-control-center-3.34.6-7.76.x86_64 removed ok
# Additional rpm output:
# No PulseAudio daemon running, or not running as session daemon.
#
2021-10-19 23:21:25|remove |gnome-control-center|3.34.6-7.76|x86_64||
2021-10-19 23:21:25|remove |libcheese-gtk25|3.34.0-2.42|x86_64||
2021-10-19 23:21:25|remove |libcheese8|3.34.0-2.42|x86_64||
2021-10-19 23:21:25|remove |gstreamer-plugins-bad|1.16.3-lp153.3.3.1|x86_64|root@localhost.localdomain|

Czy masz te pakiety zainstalowane teraz? Sprawdź:


RPMS=( TESTOWY_NIE MA nie_ma cheese-lang gdm-lang gnome-contacts-lang gnome-control-center-color gnome-control-center-goa gnome-control-center-lang gnome-session-lang gnome-session-wayland gnome-shell-calendar gnome-shell-classic gnome-shell-extension-gpaste gnome-shell-lang gnome-shell-search-provider-bijiben gnome-shell-search-provider-contacts gnome-shell-search-provider-documents gnome-shell-search-provider-nautilus gnome-tweaks-lang gstreamer-plugins-bad-lang libpurple-lang libpurple-tcl pidgin pulseaudio-gdm-hooks cheese gnome-shell-extension-desktop-icons gnome-contacts gnome-tweaks libpurple patterns-gnome-gnome patterns-gnome-gnome_imaging patterns-gnome-gnome_office patterns-gnome-gnome_utilities libpurple-branding-openSUSE patterns-gnome-gnome_x11 gstreamer-plugins-farstream patterns-gnome-gnome_basic libfarstream-0_2-5 patterns-gnome-gnome_basis gdm-branding-openSUSE gdm gnome-shell gnome-session-default-session gnome-session gnome-control-center libcheese-gtk25 libcheese8 gstreamer-plugins-bad )

for i in ${RPMS[@]}; do rpm -q --queryformat "%{NAME}\n" $i; done

atomas
15-Nov-2021, 07:41
po wykonaniu skryptu wypluło

package TESTOWY_NIE is not installedpackage MA is not installed
package nie_ma is not installed
package cheese-lang is not installed
gdm-lang
package gnome-contacts-lang is not installed
gnome-control-center-color
gnome-control-center-goa
gnome-control-center-lang
gnome-session-lang
package gnome-session-wayland is not installed
gnome-shell-calendar
package gnome-shell-classic is not installed
gnome-shell-extension-gpaste
gnome-shell-lang
gnome-shell-search-provider-bijiben
package gnome-shell-search-provider-contacts is not installed
gnome-shell-search-provider-documents
gnome-shell-search-provider-nautilus
package gnome-tweaks-lang is not installed
gstreamer-plugins-bad-lang
package libpurple-lang is not installed
package libpurple-tcl is not installed
package pidgin is not installed
pulseaudio-gdm-hooks
package cheese is not installed
package gnome-shell-extension-desktop-icons is not installed
package gnome-contacts is not installed
package gnome-tweaks is not installed
package libpurple is not installed
package patterns-gnome-gnome is not installed
package patterns-gnome-gnome_imaging is not installed
package patterns-gnome-gnome_office is not installed
package patterns-gnome-gnome_utilities is not installed
package libpurple-branding-openSUSE is not installed
package patterns-gnome-gnome_x11 is not installed
package gstreamer-plugins-farstream is not installed
package patterns-gnome-gnome_basic is not installed
package libfarstream-0_2-5 is not installed
package patterns-gnome-gnome_basis is not installed
gdm-branding-openSUSE
gdm
gnome-shell
gnome-session-default-session
gnome-session
gnome-control-center
libcheese-gtk25
libcheese8
gstreamer-plugins-bad




po zmianie repo ecsos na opensuse 15.3 chce mi usuwać niektóre pakiety z kodekami:


zypper dup --allow-vendor-changeRetrieving repository 'ecsos's Home Project (openSUSE_Leap_15.3)' metadata[done]
Building repository 'ecsos's Home Project (openSUSE_Leap_15.3)' cache ....[done]
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...


The following 191 packages are going to be upgraded:
appstream-glib appstream-glib-lang augeas augeas-lenses binutils chromium
efibootmgr faac fwupd fwupd-lang gegl-0_4 gegl-0_4-lang gmp-devel
gnome-control-center gnome-control-center-color gnome-control-center-goa
gnome-control-center-lang gnome-control-center-user-faces gparted gparted-lang
gradle hplip-hpijs hplip-sane hunspell hunspell-tools javapackages-filesystem
javapackages-tools libFAudio0 libFAudio0-32bit libSoundTouch1 libXrandr2
libappstream-glib8 libaugeas0 libbabl-0_1-0 libbrotlicommon1 libbrotlidec1
libbrotlienc1 libchromaprint1 libctf-nobfd0 libctf0 libdcerpc-binding0
libdcerpc-binding0-32bit libdcerpc0 libdcerpc0-32bit libfaac0 libfaad2
libfreerdp2-2 libfwupd2 libgegl-0_4-0 libgmp10 libgmpxx4 libgnutls-devel
libgnutls30 libhogweed6 libhunspell-1_7-0 libjack0 libjcat1 libjpeg8 libldb2
libldb2-32bit libmpg123-0 libmtp-udev libmtp9 libmypaint-1_6-1 libmypaint-lang
libndr-krb5pac0 libndr-krb5pac0-32bit libndr-nbt0 libndr-nbt0-32bit
libndr-standard0 libndr-standard0-32bit libndr1 libndr1-32bit libnetapi0
libnetapi0-32bit libnettle-devel libnettle8 libopenal1 libopenjp2-7
libopenmpt0 libp11-kit0 libpng16-16 libpoppler-cpp0 libpoppler-glib8
libpoppler-qt5-1 libpoppler114 libportaudio2 libraw20 libreadline8 librtmp1
libsamba-credentials0 libsamba-credentials0-32bit libsamba-errors0
libsamba-errors0-32bit libsamba-hostconfig0 libsamba-hostconfig0-32bit
libsamba-passdb0 libsamba-passdb0-32bit libsamba-policy0-python3
libsamba-util0 libsamba-util0-32bit libsamdb0 libsamdb0-32bit libsmbclient0
libsmbconf0 libsmbconf0-32bit libsmbldap2 libsmbldap2-32bit libspeechd2
libsratom-0-0 libsuil-0-0 libtevent-util0 libtevent-util0-32bit libtwolame0
libusb-1_0-0 libvidstab1_1 libvmaf1 libvorbis0 libvorbisenc2 libvorbisfile3
libwbclient0 libwbclient0-32bit libwebp7 libwebpdemux2 libwebpmux3 libwinpr2-2
libzimg2 mpg123-openal mpg123-pulse openSUSE-release openSUSE-release-dvd
openal-soft-data openal-soft-tools optipng p11-kit-devel p11-kit-tools
poppler-data poppler-tools python-rpm-generators python-rpm-macros
python-sip4-common python2-apsw python2-asn1crypto python2-attrs
python2-beautifulsoup4 python2-cssselect python2-dukpy-kovidgoyal
python2-html5-parser python2-lxml python2-netifaces python2-pyasn1
python2-pyasn1-modules python2-pycryptodome python2-python-dateutil
python2-sip4 python2-six python3-Pillow python3-asn1crypto python3-cffi
python3-cryptography python3-cssselect python3-dbus-python python3-ldb
python3-lxml python3-ordered-set python3-packaging python3-pyOpenSSL
python3-pyasn1 python3-pycairo python3-requests python3-setuptools
python3-sip4 python3-six python3-speechd python3-urllib3 readline-doc samba
samba-client samba-client-32bit samba-libs samba-libs-32bit samba-libs-python3
samba-python3 samba-winbind samba-winbind-32bit smartmontools
speech-dispatcher speech-dispatcher-module-espeak typelib-1_0-Fwupd-2_0
wine-gecko winetricks


The following product is going to be upgraded:
openSUSE Leap 15.3 15.3-1 -> 15.3-2


The following 5 packages are going to be downgraded:
libXrandr2-32bit libp11-kit0-32bit p11-kit p11-kit-32bit python2-packaging


The following 12 packages are going to change vendor:
fwupd
SUSE LLC <https://www.suse.com/> -> obs://build.opensuse.org/home:ecsos
fwupd-lang
SUSE LLC <https://www.suse.com/> -> obs://build.opensuse.org/home:ecsos
libXrandr2-32bit
obs://build.opensuse.org/home:ecsos -> SUSE LLC <https://www.suse.com/>
libfwupd2
SUSE LLC <https://www.suse.com/> -> obs://build.opensuse.org/home:ecsos
libgnutls-devel
SUSE LLC <https://www.suse.com/> -> obs://build.opensuse.org/home:ecsos
libgnutls30
SUSE LLC <https://www.suse.com/> -> obs://build.opensuse.org/home:ecsos
libjcat1
SUSE LLC <https://www.suse.com/> -> obs://build.opensuse.org/home:ecsos
libp11-kit0-32bit
obs://build.opensuse.org/home:ecsos -> SUSE LLC <https://www.suse.com/>
p11-kit
obs://build.opensuse.org/home:ecsos -> SUSE LLC <https://www.suse.com/>
p11-kit-32bit
obs://build.opensuse.org/home:ecsos -> SUSE LLC <https://www.suse.com/>
python2-packaging
obs://build.opensuse.org/home:ecsos -> SUSE LLC <https://www.suse.com/>
typelib-1_0-Fwupd-2_0
SUSE LLC <https://www.suse.com/> -> obs://build.opensuse.org/home:ecsos


The following 18 NEW packages are going to be installed:
cepces cepces-certmonger certmonger gnutls libfstrm0 libfwupdplugin4
libgnutls-dane0 libidn2-devel libopts25 libsodium23 libunbound2 python3-cepces
python3-pykerberos python3-requests-kerberos samba-gpupdate samba-ldb-ldap
sscep unbound-anchor


The following 5 packages are going to be REMOVED:
libavcodec58 libavformat58 libavutil56 libswresample3 libswscale5


191 packages to upgrade, 5 to downgrade, 18 new, 5 to remove, 12 to change
vendor.
Overall download size: 200.1 MiB. Already cached: 119.2 MiB. After the
operation, 5.6 MiB will be freed.




czy ta ostatnia operacja jest bezpieczna?

pbojczuk
15-Nov-2021, 09:57
Czyli Twoja sytuacja jest taka: chcesz mieć system zbudowany przede wszystkim z paczek openSUSE 15.3 plus repo ze sterami od Nvidii.

Jak powyższe zadziała, to chciałbyś dopiero dodać kodeki z repozytoriów dodatkowych.

Czyli dwie rzeczy masz do przetrenowania;
a) doinstalować pakiety, których już wiesz, że Ci zabrakło.
b) posprzątać repozytoria.

Nie wiem w jakiej kolejności. Może zacznij od końca, czyli od a) i zobaczmy, co się stanie. O:)

Jeżeli nie masz ograniczeń łącza (prędkość i ilość danych), to przeinstalowywanie pakietów nie jest problemem.

pbojczuk
16-Nov-2021, 13:29
@atomas, nudziło mi się i przetrenowałem, co następuje:
1. Zainstalowałem openSUSE 15.3
2. Usunąłem paczki, które znalazłem u Ciebie w logach, że się usunęły:

cheese-lang gdm-lang gnome-contacts-lang gnome-control-center-color gnome-control-center-goa gnome-control-center-lang gnome-session-lang gnome-session-wayland gnome-shell-calendar gnome-shell-classic gnome-shell-lang gnome-shell-search-provider-bijiben gnome-shell-search-provider-contacts gnome-shell-search-provider-documents gnome-shell-search-provider-nautilus gnome-tweaks-lang gstreamer-plugins-bad-lang libpurple-lang libpurple-tcl pidgin pulseaudio-gdm-hooks cheese gnome-shell-extension-desktop-icons gnome-contacts gnome-tweaks libpurple patterns-gnome-gnome patterns-gnome-gnome_imaging patterns-gnome-gnome_office patterns-gnome-gnome_utilities libpurple-branding-openSUSE patterns-gnome-gnome_x11 gstreamer-plugins-farstream patterns-gnome-gnome_basic libfarstream-0_2-5 patterns-gnome-gnome_basis gdm-branding-openSUSE gdm gnome-shell gnome-session-default-session gnome-session gnome-control-center libcheese-gtk25 libcheese8 gstreamer-plugins-bad
3. Zrebutowałem system, by zobaczyć to:
https://susepaste.org/87150990
4. Zapisałem repozytoria - możesz porównać, z czym pracowałem:
https://susepaste.org/64159149
5. Sprawdziłem dostępne wzorce gnome:

zypper se -t pattern | grep -i gnome
6. Zainstalowałem wzorzec gnome - u mnie jest wayland:

zypper in -t pattern gnome

Zwróć uwagę na pakiety, które mi to przywróciło:

Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 15 recommended packages were automatically selected:
cheese gdm-branding-openSUSE gnome-contacts gnome-control-center-color gnome-control-center-goa gnome-session-default-session gnome-session-wayland gnome-shell-calendar gnome-shell-classic gnome-tweaks
gstreamer-plugins-bad-lang libpurple-lang patterns-gnome-gnome_imaging patterns-gnome-gnome_utilities pidgin

The following 47 NEW packages are going to be installed:
cheese cheese-lang gdm gdm-branding-openSUSE gdm-lang gnome-contacts gnome-contacts-lang gnome-control-center gnome-control-center-color gnome-control-center-goa gnome-control-center-lang gnome-session
gnome-session-default-session gnome-session-lang gnome-session-wayland gnome-shell gnome-shell-calendar gnome-shell-classic gnome-shell-extension-desktop-icons gnome-shell-extensions-common
gnome-shell-extensions-common-lang gnome-shell-lang gnome-shell-search-provider-bijiben gnome-shell-search-provider-contacts gnome-shell-search-provider-documents gnome-shell-search-provider-nautilus
gnome-tweaks gnome-tweaks-lang gstreamer-plugins-bad gstreamer-plugins-bad-lang gstreamer-plugins-farstream libcheese-gtk25 libcheese8 libfarstream-0_2-5 libpurple libpurple-branding-openSUSE libpurple-lang
libpurple-tcl patterns-gnome-gnome patterns-gnome-gnome_basic patterns-gnome-gnome_basis patterns-gnome-gnome_imaging patterns-gnome-gnome_office patterns-gnome-gnome_utilities patterns-gnome-gnome_x11 pidgin
pulseaudio-gdm-hooks

The following 7 NEW patterns are going to be installed:
gnome gnome_basic gnome_basis gnome_imaging gnome_office gnome_utilities gnome_x11

47 new packages to install.
Overall download size: 15.9 MiB. Already cached: 0 B. After the operation, additional 68.1 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
7. Zrebutowałem maszynę i... Gnome pięknie wstało. :-)
8. Wykonałem Twój poradnik, który miał spowodować problemy. Rzuć okiem na pakiety, które się instalują i zmieniają:

The following 15 packages are going to be upgraded:
gstreamer-plugins-bad gstreamer-plugins-libav libavcodec57 libavcodec58_134 libavfilter7_110 libavformat57 libavformat58_76 libavresample4_0 libavutil55 libavutil56_70 libpostproc55_9 libswresample2
libswresample3_9 libswscale4 libswscale5_9

The following 15 packages are going to change vendor:
gstreamer-plugins-bad openSUSE -> http://packman.links2linux.de
gstreamer-plugins-libav openSUSE -> http://packman.links2linux.de
libavcodec57 SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
libavcodec58_134 openSUSE -> http://packman.links2linux.de
libavfilter7_110 openSUSE -> http://packman.links2linux.de
libavformat57 SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
libavformat58_76 openSUSE -> http://packman.links2linux.de
libavresample4_0 openSUSE -> http://packman.links2linux.de
libavutil55 SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
libavutil56_70 openSUSE -> http://packman.links2linux.de
libpostproc55_9 openSUSE -> http://packman.links2linux.de
libswresample2 SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
libswresample3_9 openSUSE -> http://packman.links2linux.de
libswscale4 SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
libswscale5_9 openSUSE -> http://packman.links2linux.de

The following 57 NEW packages are going to be installed:
ffmpeg-3 gstreamer-plugins-ugly-orig-addon lame libBasicUsageEnvironment1 libIexMath-2_2-23 libImath-2_2-23 libQt5QuickControls2-5 libQt5QuickTemplates2-5 libQt5X11Extras5 libSPIRV-Tools-suse15
libUsageEnvironment3 libavc1394-0 libavdevice57 libavfilter6 libavresample3 libcaca0 libcddb2 libchromaprint1 libdca0 libdvbpsi10 libdvdcss2 libdvdnav4 libebml5 libebur128-1 libfaad2 libfluidsynth1
libglslang-suse9 libgroupsock30 libixml11 liblirc_client0 libliveMedia94 libmatroska7 libmodplug1 libopencore-amrnb0 libopencore-amrwb0 libplacebo43 libpostproc54 libqt5-qtgraphicaleffects
libqt5-qtquickcontrols2 librtmp1 libschroedinger-1_0-0 libshaderc_shared1 libshine3 libshout3 libssh2-1 libtheora0 libupnp17 libva-wayland2 libvidstab1_1 libvncclient0 libvo-amrwbenc0 libx264-161 libx265-199
libxcb-composite0 libxcb-damage0 libxvidcore4 vlc-beta

Oraz:

The following 12 packages are going to be upgraded:
gstreamer-plugins-bad-lang libgstadaptivedemux-1_0-0 libgstbadaudio-1_0-0 libgstbasecamerabinsrc-1_0-0 libgstcodecparsers-1_0-0 libgstisoff-1_0-0 libgstmpegts-1_0-0 libgstphotography-1_0-0 libgstsctp-1_0-0
libgsturidownloader-1_0-0 libgstwayland-1_0-0 libgstwebrtc-1_0-0

The following 2 packages are going to be downgraded:
gstreamer-plugins-ugly gstreamer-plugins-ugly-lang

The following 14 packages are going to change vendor:
gstreamer-plugins-bad-lang openSUSE -> http://packman.links2linux.de
gstreamer-plugins-ugly SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
gstreamer-plugins-ugly-lang SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
libgstadaptivedemux-1_0-0 openSUSE -> http://packman.links2linux.de
libgstbadaudio-1_0-0 openSUSE -> http://packman.links2linux.de
libgstbasecamerabinsrc-1_0-0 openSUSE -> http://packman.links2linux.de
libgstcodecparsers-1_0-0 openSUSE -> http://packman.links2linux.de
libgstisoff-1_0-0 openSUSE -> http://packman.links2linux.de
libgstmpegts-1_0-0 openSUSE -> http://packman.links2linux.de
libgstphotography-1_0-0 openSUSE -> http://packman.links2linux.de
libgstsctp-1_0-0 openSUSE -> http://packman.links2linux.de
libgsturidownloader-1_0-0 openSUSE -> http://packman.links2linux.de
libgstwayland-1_0-0 openSUSE -> http://packman.links2linux.de
libgstwebrtc-1_0-0 openSUSE -> http://packman.links2linux.de

9. Plik z aktualnym repozytorium:
https://susepaste.org/70796370

Dlatego:
- usuń niepotrzebne repozytoria,
- zaktualizuj system,
- zainstaluj wzorzec gnome,
- dodaj jeszcze raz te pakiety, których potrzebujesz.

I będzie dobrze. :-)

atomas
23-Nov-2021, 09:22
zaktualizoałem system i zainstalowałem pattern gnome, wykonałem jeszcze raz skrypt @pbojczuk i teraz pokazuje mi, że mam wszystkie pakiety, niestety po zmianie gdm dalej startuje inne środowisko...
coś mam ewidentnie mocno schrzanione....

pbojczuk
23-Nov-2021, 11:50
niestety po zmianie gdm dalej startuje inne środowisko...

Czy możesz wyjaśnić, co masz na myśli? Chodzi o to, że zmieniasz np. xdm na gdm (albo na odwrót)?

update-alternatives --list default-displaymanager

update-alternatives --config default-displaymanager

czy też, że zamiast GNOME wczytujesz np KDE albo XFCE?

Czy możesz wrzucić jakąś zrzutkę, czy zdjęcie, tego co widzisz?

szwagier
24-Nov-2021, 10:04
zaktualizoałem system i zainstalowałem pattern gnome, wykonałem jeszcze raz skrypt @pbojczuk i teraz pokazuje mi, że mam wszystkie pakiety, niestety po zmianie gdm dalej startuje inne środowisko...
coś mam ewidentnie mocno schrzanione....
A czy ty na pewno podczas logowania masz wybrany pulpit Gnome? Na dole masz przycisk wybierania pulpitów, może ci się przestawiło i tak trzyma. ;)