Po instalaci ATI Driveru, hodí chybu spuštění

Ahoj linuxáci,

nainstaloval jsem si ATI Ovladač na grafiku, což po mě chtělo následně restartovat, no tak jsem restartoval a ted mi místo dorůstajícího loga při spouštění roste dole jakýsi načítání a když je to hotový, vyhodí to smutnýho smajlíka s hláškou:

Oh no! Something has gone wrong.

A problem has occured and system can’t recover.
Please log out and try again.

tlačítko [Log Out]

když se teda odloguju, obrazovka je černá a nic se neděje


ovladač jsem stahoval ze stránek výrobce
instalace proběhla s nějakýma chybama, kdyžtak sem hodím log

Ve Fedoře 20 je v GNOME defaultně zapnutá podpora pro Wayland, který ale není Catalisty (ještě) podporovaný, proto GNOME nenastartuje. Možnosti jsou tři:

  1. překompilovat GNOME bez zapnuté podpory Waylandu.
  2. používat svobodné ovladače radeon.
  3. používat jiné prostředí.

Já osobně jsem zvolil možnost 2. S mou kartou už jsou svobodné ovladače hodně blízko Catalystům jak výkonově, tak power managementem.

O jakou grafiku se vubec jedna?

zdarec

přihodil se mi další problém … no prostě jsem fedoru přeinstaloval

ted se těším jinýmu problému:

dal jsem yum update, dlouho to něco stahovalo, instalovalo a mazalo a výsledek je, že mi nejde yum, nebo je spíš nějakej problém s repos

===========================================================
[root@localhost tomas]# yum install dolphin
Zavedené moduly: langpacks, refresh-packagekit
fedora/$releasever/x86_64/metalink | 27 kB 00:00:00
Could not parse metalink https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=x86_64 error was
No repomd file

One of the configured repositories failed (Neznámý),
and yum doesn’t have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work “fix” this:

 1. Contact the upstream for the repository and get them to fix the problem.

 2. Reconfigure the baseurl/etc. for the repository, to point to a working
    upstream. This is most often useful if you are using a newer
    distribution release than is supported by the repository (and the
    packages for the previous distribution release still work).

 3. Disable the repository, so yum won't use it by default. Yum will then
    just ignore the repository until you permanently enable it again or use
    --enablerepo for temporary usage:

        yum-config-manager --disable <repoid>

 4. Configure the failing repository to be skipped, if it is unavailable.
    Note that yum will try to contact the repo. when it runs most commands,
    so will have to try and fail each time (and thus. yum will be be much
    slower). If it is a very temporary problem though, this is often a nice
    compromise:

        yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

File /var/cache/yum/x86_64/$releasever/fedora/metalink.xml does not exist

Prvně bych zkusil vyčistit cache:

yum clean all

Potom opět:

yum update

Pokud to nepomůže tak dej se výpis:

yum repolist

clean a potom update jsem vygooglil už dřív

našel jsem cosi na netu a nahradil jsem řádek v fedora.repo
“metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch”

za

“metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-20&arch=x86_64”

a teď to místo

"[root@localhost tomas]# yum install dolphin
Zavedené moduly: langpacks, refresh-packagekit
fedora/$releasever/x86_64/metalink | 27 kB 00:00:00
Could not parse metalink [mirrors.fedoraproject.org] error was
No repomd file "

píše jenom

[root@localhost yum.repos.d]# yum install dolphin
Zavedené moduly: langpacks, refresh-packagekit
fedora/metalink | 34 kB 00:00

.
.
.

yum repolist:

Zavedené moduly: langpacks, refresh-packagekit
fedora/metalink | 34 kB 00:00
fedora/primary_db | 18 MB 00:17
updates/$releasever/x86_64/metalink | 27 kB 00:00
Could not parse metalink https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=x86_64 error was
No repomd file

One of the configured repositories failed (Neznámý),
and yum doesn’t have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work “fix” this:

 1. Contact the upstream for the repository and get them to fix the problem.

 2. Reconfigure the baseurl/etc. for the repository, to point to a working
    upstream. This is most often useful if you are using a newer
    distribution release than is supported by the repository (and the
    packages for the previous distribution release still work).

 3. Disable the repository, so yum won't use it by default. Yum will then
    just ignore the repository until you permanently enable it again or use
    --enablerepo for temporary usage:

        yum-config-manager --disable <repoid>

 4. Configure the failing repository to be skipped, if it is unavailable.
    Note that yum will try to contact the repo. when it runs most commands,
    so will have to try and fail each time (and thus. yum will be be much
    slower). If it is a very temporary problem though, this is often a nice
    compromise:

        yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

File /var/cache/yum/x86_64/$releasever/updates/metalink.xml does not exist

Nějak se mi nezdá, že by se to takhle domrvilo po úspěšné aktualizaci. Jako by yum nevěděl čí je a neuměl si dosadit správné údaje do proměnných. Co vypíše:


python -c 'import yum, pprint; yb = yum.YumBase(); pprint.pprint(yb.conf.yumvar, width=1)'

A co dnf, to nefunguje?

[root@localhost yum.repos.d]# python -c 'import yum, pprint; yb = yum.YumBase(); pprint.pprint(yb.conf.yumvar, width=1)'Zavedené moduly: langpacks, refresh-packagekit
{‘arch’: ‘ia32e’,
‘basearch’: ‘x86_64’,
‘releasever’: ‘$releasever’,
‘uuid’: ‘2c3d40b1-8e3a-4103-b07d-2c4a419e73e3’}

dnf jsem si taky vygooglil a taky nefungoval :slight_smile:

[root@localhost yum.repos.d]# dnf install dolphin
Fedora $releasever - x86_64 1.1 MB/s | 36 MB 00:33
Problem with repo ‘rpmfusion-free-updates’: Cannot prepare internal mirrorlist: No URLs in mirrorlist, disabling.
Problem with repo ‘rpmfusion-nonfree-updates’: Cannot prepare internal mirrorlist: No URLs in mirrorlist, disabling.
Problem with repo ‘rpmfusion-free’: Cannot prepare internal mirrorlist: No URLs in mirrorlist, disabling.
Chyba: Problem with repo ‘updates’: Cannot prepare internal mirrorlist: file repomd.xml was not found in metalink

-jinak v tý složce jak to o ní píše v těch logách “/var/cache/yum/x86_64/$releasever/cokoliv/” v každý složce (na místě cokoliv, např. fedora, updates, rpmfusion-free…) chybí ten soubor “metalink.xml”
-kromě složky fedora, což bude asi složka toho repozitáře co sem upravil

řikam si, jestli se při tom updatu nějak nepřepsali repozitáře

Nene, repozitáře jsou cajk. Nějak se ale nechce přeložit proměnná $releasever - zkus si ji nadefinovat sám (jako root). Předpokládám, že máš fedoru 20, číslo si kdyžtak uprav podle svého:


echo "20" > /etc/yum/vars/releasever

a pak to otestovat třeba na “yum clean all ; yum makecache”. Pokud toto projde, tak pokračuj přeinstalováním balíčku fedora-release (myslím, že tento může za to, aby systém fungoval se správnou verzí).

tak už to jede

moc dík

Ještě jsem zapomněl - po reinstalaci balíku fedora-release ten soubor zase smaž a zkus, jestli yum funguje jak má. Měl by. Později by to mohlo dělat binec (hádám, že minimálně při upgradu na 21)