[Rijeseno] Munin i CentOS 6.3

Linux, poslužitelj, mreže i sigurnost

Moderator/ica: Moderatori/ce

Avatar
redtux
Postovi: 84
Pridružen/a: 03 stu 2012, 23:02
Spol: M
OS: CentOS 6.3

Re: Munin i CentOS 6.3

Post Postao/la redtux »

Kod: Označi sve

Installed:
  htop.i386 0:1.0.2-1.el5.rf               libedit.i386 0:20090923-3.0_1.el5.rf    libffi.i386 0:3.0.9-1.el5.rf           nagios-plugins-setuid.i386 0:1.4.16-1.el5.rf
  perl-Test-Harness.noarch 0:3.22-1.el5.rf perl-Test-Simple.noarch 0:0.98-1.el5.rf phpmyadmin.noarch 0:2.11.11.3-2.el5.rf portreserve.i386 0:0.0.5-2.el5.rf

Updated:
  libssh2.i386 0:1.2.9-1.el5.rf

Complete!

Kod: Označi sve

rpm -e python-paramiko
error: Failed dependencies:
        python-paramiko is needed by (installed) cas-0.15-1.el6.1.noarch
[root@home-srv Dropbox]# yum install cas-0.15-1.el6.1.noarch
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * Webmin: webmin.mirror.somersettechsolutions.co.uk
 * base: mirror.centos.com.ba
 * epel: mirror.kiewel-online.ch
 * extras: mirror.centos.com.ba
 * remi: remi-mirror.dedipower.com
 * rpmforge: mirror.de.leaseweb.net
 * updates: mirror.centos.com.ba
Setting up Install Process
Package cas-0.15-1.el6.1.noarch already installed and latest version
Nothing to do

Kod: Označi sve

[root@home-srv Dropbox]# yum install python-paramiko
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * Webmin: download.webmin.com
 * base: mirror.centos.com.ba
 * epel: mirror.affix.me
 * extras: mirror.centos.com.ba
 * remi: rpms.famillecollet.com
 * rpmforge: mirror1.hs-esslingen.de
 * updates: mirror.centos.com.ba
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python-paramiko.noarch 0:1.7.5-2.1.el6 will be updated
---> Package python-paramiko.noarch 0:1.7.6-1.el5.rf will be an update
--> Processing Dependency: python(abi) = 2.4 for package: python-paramiko-1.7.6-1.el5.rf.noarch
--> Finished Dependency Resolution
Error: Package: python-paramiko-1.7.6-1.el5.rf.noarch (rpmforge)
           Requires: python(abi) = 2.4
           Installed: python-2.6.6-29.el6_3.3.i686 (@updates)
               python(abi) = 2.6
           Available: python-2.6.6-29.el6_2.2.i686 (base)
               python(abi) = 2.6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Avatar
drade
Postovi: 910
Pridružen/a: 12 svi 2010, 07:57
OS: linux

Re: Munin i CentOS 6.3

Post Postao/la drade »

Sigh,

Kod: Označi sve

rpm -e --nodeps --force python-paramiko-1.7.6-1.el5.rf.noarch
yum install python-paramiko
When you're a kid and you wanna go "Weee !", but you ain't got drugs yet ... You hold out for your life, hold on to your little GONADS ... and STRIFE.
Avatar
redtux
Postovi: 84
Pridružen/a: 03 stu 2012, 23:02
Spol: M
OS: CentOS 6.3

Re: Munin i CentOS 6.3

Post Postao/la redtux »

Kod: Označi sve

rpm -e --nodeps --force python-paramiko-1.7.6-1.el5.rf.noarch
rpm: only installation, upgrading, rmsource and rmspec may be forced

Kod: Označi sve

rpm -e --nodeps python-paramiko-1.7.6-1.el5.rf.noarch
error: package python-paramiko-1.7.6-1.el5.rf.noarch is not installed
Avatar
drade
Postovi: 910
Pridružen/a: 12 svi 2010, 07:57
OS: linux

Re: Munin i CentOS 6.3

Post Postao/la drade »

Cek malo, daj prvo output naredbe:

Kod: Označi sve

rpm -qa | grep python-paramiko
EDIt:
Preduhitro si me, cini mi se da ti je jos negdje ostao el5 repo.

Daj output naredbe:

Kod: Označi sve

grep -ri el5 /etc/yum.repos.d/*
When you're a kid and you wanna go "Weee !", but you ain't got drugs yet ... You hold out for your life, hold on to your little GONADS ... and STRIFE.
Avatar
redtux
Postovi: 84
Pridružen/a: 03 stu 2012, 23:02
Spol: M
OS: CentOS 6.3

Re: Munin i CentOS 6.3

Post Postao/la redtux »

python-paramiko-1.7.5-2.1.el6.noarch

ok, kriva verzija, napravio sam

Kod: Označi sve

rpm -e --nodeps python-paramiko-1.7.5-2.1.el6.noarch
i proslo je.

Kod: Označi sve

[b]grep -ri el5 /etc/yum.repos.d/*[/b]
Binary file /etc/yum.repos.d/remi-release-6.rpm matches
Binary file /etc/yum.repos.d/rpmforge-release-0.5.2-2.el5.rf.i386.rpm matches
Binary file /etc/yum.repos.d/rpmforge-release-0.5.2-2.el5.rf.i386.rpm.1 matches
Netko
Postovi: 290
Pridružen/a: 13 ožu 2012, 20:14

Re: Munin i CentOS 6.3

Post Postao/la Netko »

drade je napisao/la: @ redtux

Ima rjesenje, napravi sljedece:

Kod: Označi sve

mkdir /usr/src/Software && cd /usr/src/Software
wget ftp://ftp.ntua.gr/pub/linux/scientificlinux/6.3/i386/os/Packages/libssh2-1.2.2-7.el6_2.3.i686.rpm
rpm2cpio libssh2-1.2.2-7.el6_2.3.i686.rpm | cpio -idmv
cp -av ./usr /
Samo da se osrvnem na ovo, mislim da ovo nikako nije dobra ideja, tako stavljat u /usr/ bez package managera... Rpm radi bez curla samo sto kad mu se da url ga poziva(kolko sam ja uspjeo skuzit), zato nevidim zasto jednostavno rpm-om nebi instalirao paket. No dobro, to sad vise i nije tako vazno...

Meni se cini da taj rmpforge jednostavno ima el5 pakete koji su noviji od onih iz glavnih repoa distre(el6) i ti paketi naravno zavise o stvarima koje se mogu nac u el5...
Avatar
drade
Postovi: 910
Pridružen/a: 12 svi 2010, 07:57
OS: linux

Re: Munin i CentOS 6.3

Post Postao/la drade »

Opali

Kod: Označi sve

rpm -qa | grep rpmforge
Takodjer, daj output naredbe:

Kod: Označi sve

yum repolist all
When you're a kid and you wanna go "Weee !", but you ain't got drugs yet ... You hold out for your life, hold on to your little GONADS ... and STRIFE.
Avatar
redtux
Postovi: 84
Pridružen/a: 03 stu 2012, 23:02
Spol: M
OS: CentOS 6.3

Re: Munin i CentOS 6.3

Post Postao/la redtux »

Kod: Označi sve

rpm -qa | grep rpmforge
rpmforge-release-0.5.2-2.el6.rf.i686

Kod: Označi sve

yum repolist all
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * Webmin: webmin.mirror.somersettechsolutions.co.uk
 * base: mirror.centos.com.ba
 * epel: mirror.de.leaseweb.net
 * extras: mirror.centos.com.ba
 * remi: rpms.famillecollet.com
 * rpmforge: mirror.de.leaseweb.net
 * updates: mirror.centos.com.ba
repo id                                                 repo name                                                                                        status
C6.0-base                                               CentOS-6.0 - Base                                                                                disabled
C6.0-centosplus                                         CentOS-6.0 - CentOSPlus                                                                          disabled
C6.0-contrib                                            CentOS-6.0 - Contrib                                                                             disabled
C6.0-extras                                             CentOS-6.0 - Extras                                                                              disabled
C6.0-updates                                            CentOS-6.0 - Updates                                                                             disabled
C6.1-base                                               CentOS-6.1 - Base                                                                                disabled
C6.1-centosplus                                         CentOS-6.1 - CentOSPlus                                                                          disabled
C6.1-contrib                                            CentOS-6.1 - Contrib                                                                             disabled
C6.1-extras                                             CentOS-6.1 - Extras                                                                              disabled
C6.1-updates                                            CentOS-6.1 - Updates                                                                             disabled
C6.2-base                                               CentOS-6.2 - Base                                                                                disabled
C6.2-centosplus                                         CentOS-6.2 - CentOSPlus                                                                          disabled
C6.2-contrib                                            CentOS-6.2 - Contrib                                                                             disabled
C6.2-extras                                             CentOS-6.2 - Extras                                                                              disabled
C6.2-updates                                            CentOS-6.2 - Updates                                                                             disabled
Webmin                                                  Webmin Distribution Neutral                                                                      enabled:    136
base                                                    CentOS-6 - Base                                                                                  enabled:  4,776
c6-media                                                CentOS-6 - Media                                                                                 disabled
centosplus                                              CentOS-6 - Plus                                                                                  disabled
contrib                                                 CentOS-6 - Contrib                                                                               disabled
debug                                                   CentOS-6 - Debuginfo                                                                             disabled
epel                                                    Extra Packages for Enterprise Linux 6 - i386                                                     enabled:  6,698
epel-debuginfo                                          Extra Packages for Enterprise Linux 6 - i386 - Debug                                             disabled
epel-source                                             Extra Packages for Enterprise Linux 6 - i386 - Source                                            disabled
epel-testing                                            Extra Packages for Enterprise Linux 6 - Testing - i386                                           disabled
epel-testing-debuginfo                                  Extra Packages for Enterprise Linux 6 - Testing - i386 - Debug                                   disabled
epel-testing-source                                     Extra Packages for Enterprise Linux 6 - Testing - i386 - Source                                  disabled
extras                                                  CentOS-6 - Extras                                                                                enabled:      7
remi                                                    Les RPM de remi pour Enterprise Linux 6 - i386                                                   enabled:    840
remi-test                                               Les RPM de remi en test pour Enterprise Linux 6 - i386                                           disabled
rpmforge                                                RHEL 6 - RPMforge.net - dag                                                                      enabled: 11,348
rpmforge-extras                                         RHEL 6 - RPMforge.net - extras                                                                   disabled
rpmforge-testing                                        RHEL 6 - RPMforge.net - testing                                                                  disabled
updates                                                 CentOS-6 - Updates                                                                               enabled:    731
virtualbox                                              Oracle Linux / RHEL / CentOS-6 / i386 - VirtualBox                                               enabled:     13
repolist: 24,549
ili user-visible

http://img823.imageshack.us/img823/6321 ... a37ed9.png
Zadnja izmjena: redtux, dana/u 24 stu 2012, 19:31, ukupno mijenjano 1 put.
Avatar
drade
Postovi: 910
Pridružen/a: 12 svi 2010, 07:57
OS: linux

Re: Munin i CentOS 6.3

Post Postao/la drade »

Netko je napisao/la:
drade je napisao/la: @ redtux

Ima rjesenje, napravi sljedece:

Kod: Označi sve

mkdir /usr/src/Software && cd /usr/src/Software
wget ftp://ftp.ntua.gr/pub/linux/scientificlinux/6.3/i386/os/Packages/libssh2-1.2.2-7.el6_2.3.i686.rpm
rpm2cpio libssh2-1.2.2-7.el6_2.3.i686.rpm | cpio -idmv
cp -av ./usr /
Samo da se osrvnem na ovo, mislim da ovo nikako nije dobra ideja, tako stavljat u /usr/ bez package managera... Rpm radi bez curla samo sto kad mu se da url ga poziva(kolko sam ja uspjeo skuzit), zato nevidim zasto jednostavno rpm-om nebi instalirao paket. No dobro, to sad vise i nije tako vazno...

Meni se cini da taj rmpforge jednostavno ima el5 pakete koji su noviji od onih iz glavnih repoa distre(el6) i ti paketi naravno zavise o stvarima koje se mogu nac u el5...
Naravno da nije dobra ideja, no sadrzaj libssh2 paketa je minimalan (removal bi bio trivijalan, u najmanju ruku).

Nadalje, yum bi prepisao lokalne datoteke (uz ili bez dodatnih switcheva), prilikom instalacije paketa iz repoa. Buduci da je paket binarno komaptibilan s RH forkovima (SL i CentOS) cini stvar jos boljom.
When you're a kid and you wanna go "Weee !", but you ain't got drugs yet ... You hold out for your life, hold on to your little GONADS ... and STRIFE.
Avatar
redtux
Postovi: 84
Pridružen/a: 03 stu 2012, 23:02
Spol: M
OS: CentOS 6.3

Re: Munin i CentOS 6.3

Post Postao/la redtux »

pokusao sam sad:

Kod: Označi sve

yum install python-paramiko
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * Webmin: webmin.mirror.somersettechsolutions.co.uk
 * base: mirror.centos.com.ba
 * epel: mirror.karneval.cz
 * extras: mirror.centos.com.ba
 * remi: remirpm.mirror.gymkl.ch
 * rpmforge: mirror.de.leaseweb.net
 * updates: mirror.centos.com.ba
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python-paramiko.noarch 0:1.7.6-1.el5.rf will be installed
--> Processing Dependency: python(abi) = 2.4 for package: python-paramiko-1.7.6-1.el5.rf.noarch
--> Finished Dependency Resolution
Error: Package: python-paramiko-1.7.6-1.el5.rf.noarch (rpmforge)
           Requires: python(abi) = 2.4
           Installed: python-2.6.6-29.el6_3.3.i686 (@updates)
               python(abi) = 2.6
           Available: python-2.6.6-29.el6_2.2.i686 (base)
               python(abi) = 2.6
 You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
cas-0.15-1.el6.1.noarch has missing requires of python-paramiko
a yum install munin jos daje isti error kao i u prvom postu.
Odgovori