yum - aktualizace

Ahoj,
uz delsi dobu mam potize s yumem, zkousel jsem, co se dalo, ale uz me nic nenapada.
Mam tyto problemy:

  1. mam nainstalovany yumex, kdyz ho spustim, objevi se okno pro zadani hesla root, jenze po jeho zadani vse zmizi a nic se nedeje

2)mam nastaveny repozitare presne tak, jak je uvedeno na techto strankach, plus repozitar livna. Jakmile chci aktualizovat nejaky balik, vetsinou mi to vypise podobne hlaseni, jako tohle:

Downloading Packages:
(1/2): qt4-x11-4.2.3-3.fc 100% |=========================| 5.3 MB 00:25
(2/2): qt4-4.2.3-3.fc6.1. 100% |=========================| 1.1 MB 00:05
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : qt4 ######################### [1/5]
error: %post(qt4-4.2.3-3.fc6.1.x86_64) scriptlet failed, exit status 255
Updating : qt4-x11 ######################### [2/5]
Cleanup : qt4-x11 ######################### [3/5]

Updated: qt4.x86_64 0:4.2.3-3.fc6.1
Dependency Updated: qt4-x11.x86_64 0:4.2.3-3.fc6.1
Complete!

Kdyz chci provest veskere aktualizace, tak na konci se mi zobrazi toto:
–> Running transaction check
–> Processing Dependency: bind = 31:9.3.4-2.fc6 for package: bind-chroot
–> Finished Dependency Resolution
Error: Missing Dependency: bind = 31:9.3.4-2.fc6 is needed by package bind-chroot

pritom

[root@arnold ~]# rpm -q 31:9.3.4-2.fc6
balíček 31:9.3.4-2.fc6 není nainstalován
[root@arnold ~]# yum install 31:9.3.4-2.fc6
Loading “installonlyn” plugin
Setting up Install Process
Setting up repositories
core 100% |=========================| 1.1 kB 00:00
livna 100% |=========================| 1.1 kB 00:00
updates-released 100% |=========================| 1.2 kB 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: 31:9.3.4-2.fc6
Nothing to do

Tak vazne nevim, kde muze byt chyba. Prosim o radu. Dekuju, Cenda

ad1) co je spatne s yumexem nevim, pokud vam zasadne nechybi pouzivejte yum

ad2) k chybe “error: %post(qt4-4.2.3-3.fc6.1.x86_64) scriptlet failed, exit status 255” dojde v instalacnim skriptu baliku qt4 a nekdo ho dost mozna spatne napsal Pokud by se vam to delo u vsech instalovanych baliku povazoval bych to za problem, pokud to je jen obcas jsou tam holt asi chyby.

K druhemu problemu - spatne interpretujete chybovou zpravu. Ta totiz rika - mate nainstalovany baliku bind-chroot nebo se vam z nejakeho duvodu chce nainstalovat, ale ten zavisi na baliku bind verze (!) 31:9.3.4-2.fc6, ktery ovsem v instalacnich repozitarich neni. Pokud balik bind-chroot odinstalujte (pokud nevite co to je take ho muzete klidne odinstalovat). Jinak i zde se muze jednat o chybu autora baliku a balik ma spatne nadefinovane zavyslosti.

Yumex jsem odinstaloval.
Balik bind nebo bind-chroot ale odinstalovat nejde:
[root@arnold ~]# yum remove bind-chroot
Loading “installonlyn” plugin
Setting up Remove Process
Resolving Dependencies
–> Populating transaction set with selected packages. Please wait.
—> Package bind-chroot.x86_64 31:9.3.4-2.fc6 set to be erased
—> Package bind-chroot.x86_64 31:9.3.4-3.fc6 set to be erased
–> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size

Removing:
bind-chroot x86_64 31:9.3.4-2.fc6 installed 0.0
bind-chroot x86_64 31:9.3.4-3.fc6 installed 0.0

Transaction Summary

Install 0 Package(s)
Update 0 Package(s)
Remove 2 Package(s)

Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
error: %preun(bind-chroot-9.3.4-3.fc6.x86_64) scriptlet failed, exit status 255
error: %preun(bind-chroot-9.3.4-2.fc6.x86_64) scriptlet failed, exit status 255

Removed: bind-chroot.x86_64 31:9.3.4-2.fc6 bind-chroot.x86_64 31:9.3.4-3.fc6
Complete!
[root@arnold ~]# rpm -q bind-chroot
bind-chroot-9.3.4-2.fc6
bind-chroot-9.3.4-3.fc6
[root@arnold ~]# yum remove bind
Loading “installonlyn” plugin
Setting up Remove Process
Resolving Dependencies
–> Populating transaction set with selected packages. Please wait.
—> Package bind.x86_64 31:9.3.4-2.fc6 set to be erased
–> Running transaction check
Setting up repositories
core 100% |=========================| 1.1 kB 00:00
livna 100% |=========================| 1.1 kB 00:00
updates-released 100% |=========================| 1.2 kB 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 115 kB 00:00
livna : ################################################## 351/351
primary.xml.gz 100% |=========================| 1.4 MB 00:04
extras : ################################################## 4541/4541
–> Processing Dependency: bind = 31:9.3.4-3.fc6 for package: bind-chroot
–> Processing Dependency: bind = 31:9.3.4-2.fc6 for package: bind-chroot
–> Restarting Dependency Resolution with new changes.
–> Populating transaction set with selected packages. Please wait.
—> Package bind-chroot.x86_64 31:9.3.4-3.fc6 set to be erased
—> Package bind-chroot.x86_64 31:9.3.4-2.fc6 set to be erased
–> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size

Removing:
bind x86_64 31:9.3.4-2.fc6 installed 2.1 M
Removing for dependencies:
bind-chroot x86_64 31:9.3.4-3.fc6 installed 0.0
bind-chroot x86_64 31:9.3.4-2.fc6 installed 0.0

Transaction Summary

Install 0 Package(s)
Update 0 Package(s)
Remove 3 Package(s)

Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
error: %preun(bind-9.3.4-2.fc6.x86_64) scriptlet failed, exit status 255
error: %preun(bind-chroot-9.3.4-3.fc6.x86_64) scriptlet failed, exit status 255
error: %preun(bind-chroot-9.3.4-2.fc6.x86_64) scriptlet failed, exit status 255

Removed: bind.x86_64 31:9.3.4-2.fc6
Dependency Removed: bind-chroot.x86_64 31:9.3.4-3.fc6 bind-chroot.x86_64 31:9.3.
4-2.fc6
Complete!
[root@arnold ~]# rpm -q bind
bind-9.3.4-2.fc6

a chyby typu “scriptlet failed” se vyskytuji u vice balicku:
[root@arnold ~]# yum update screen
Loading “installonlyn” plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
–> Populating transaction set with selected packages. Please wait.
—> Package screen.x86_64 0:4.0.3-2.fc6 set to be updated
–> Running transaction check
–> Processing Dependency: libpam.so.0(LIBPAM_1.0)(64bit) for package: screen
–> Processing Dependency: libpam.so.0()(64bit) for package: screen
–> Restarting Dependency Resolution with new changes.
–> Populating transaction set with selected packages. Please wait.
—> Package pam.x86_64 0:0.99.6.2-3.16.fc6 set to be updated
–> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size

Updating:
screen x86_64 4.0.3-2.fc6 updates-released 564 k
Installing for dependencies:
pam x86_64 0.99.6.2-3.16.fc6 updates-released 924 k

Transaction Summary

Install 1 Package(s)
Update 1 Package(s)
Remove 0 Package(s)

Total download size: 1.5 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): screen-4.0.3-2.fc6 100% |=========================| 564 kB 00:07
(2/2): pam-0.99.6.2-3.16. 100% |=========================| 924 kB 00:06
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
error: %pre(pam-0.99.6.2-3.16.fc6.x86_64) scriptlet failed, exit status 255
error: install: %pre scriptlet failed (2), skipping pam-0.99.6.2-3.16.fc6
error: %pre(screen-4.0.3-2.fc6.x86_64) scriptlet failed, exit status 255
error: install: %pre scriptlet failed (2), skipping screen-4.0.3-2.fc6

Dependency Installed: pam.x86_64 0:0.99.6.2-3.16.fc6
Updated: screen.x86_64 0:4.0.3-2.fc6
Complete!

Nevim, co s tim, nechapu to. Dekuji za odpovedi, Cenda

Podle tohoto:
http://linux.derkeiler.com/Mailing-Lists/RedHat/2005-10/0305.html
bych to typoval na problem se SELinuxem. Zkuste ho vypnout…

Mate pravdu, selinux jsem zakazal a je to v poradku.
Dekuji mockrat! Cenda

Znovu jsem nainstaloval yumex a funguje.