rpm's kai Upgrades
Pavlos Parissis
surfking at ath.forthnet.gr
Mon Apr 26 16:17:01 EEST 1999
File Hlia,
> ta ekshs: Otan mou bgazei mynhma gia dependencies, ti mporw na kanw
> gia na egkatasthsw telika to paketo? to --nodeps den einai lysh
> giati meta oti htan dependant ... den douleuei.
H kathe emfanish twn dependencies exei kai polles fores diaforetikh
antimetwphsh.
Alla as afhsoume thn theoria kai pame sto psito.
> To allo
> parakseno pou synanthsa einai oti merika paketa, apaitoun palaioters
> versions na einai installed.
Profanos anaferese sthn periptwsh pou to x-paketo thelei ton
y-1.1-paketo kai
esh exeis to y-1.6-paketo. H lysh einai to rebuild tou paketou.
Katevaseis to src,tha einai x-paketo.src.rpm kai kaneis:
rpm --rebuild x-paketo.src.rpm.
cd /usr/src/redhat/RPMS/i386
rpm -Uvh x-paketo.i386.rpm
> Epishs an kati to exw kanei compile kai douleuei kanonika
> kai an meta thelo na balw ena paketo pou apaitei prohgoumenos auto to
>
> opoio exw balei me compilation, synexizei na to apaitei (logiko e?)
otan les "compile" ennois oti to katevases se tar.gz morfi kai meta
./configure;make;make instal, sosta?
Ean nai tote logiko einai na to zitaei(ean to apetei) ena paketo se
morfi rpm otan to vazeis dioti psaxnei sthn rpm database to paketo pou
esh ekanes compile kai efoson den to vriskei arxizei na fonazei.
Gia afto yparxei lysh ara einai mia mikri istoria, pesmou se pio paketo
egine kai
tha to kitakso.
> Kai na ksekinhsw me ena paradeigma gia na ksanaxtisw oti katestrepsa
> me to format xthes to brady ... (kai to exw eidh metaniwsei pikra)
apo tote pou evala linux ena apo ta polla pou katalava einai oti to
format den einai lysh doiti sxedon panta mporei na lyseis to provlima
meta apo mikrh..megalh prospatheia.
> Thelo na balw thn libjpeg-6b-3
> mou bgazei diafora dependencies
> an kanw --test mou bgazei
katarxhn to redhat 5.1 pou exeis vazei thn libjpeg-6b-5 , esy giati thes
na valeis thn libjpeg-65-3?
> /usr/bin/cjpeg conflicts with a file from libjpeg-6b-3
> /usr/bin/djpeg conflicts with a file from libjpeg-6b-3
> /usr/bin/jpegtran conflicts with a file from libjpeg-6b-3
> /usr/bin/rdjpgcom conflicts with a file from libjpeg-6b-3
> /usr/bin/wrdjpgcom conflicts with a file from libjpeg-6b-3
>
> linjpeg-6b-3_i386.rpm cannot be installed
>
ta files pou sou grafei anhkoun sto libjpeg paketo pou exeis hdh mesa.
Gia na to deis dose rpm -qf /usr/bin/cjpeng
profanos piges na valeis paketo mia version piso.
Afto ginete me rpm -Uvh --oldpackage, alla giati na pas esy piso kai oxi
to paketo pou zitai thn prohgoumenh version tou paketo pou exeis?
Twra gia to pws tha valeis nees libs kai ti tha kaneis meta paketa pou
voulevoun "mono" me thn version ths libs pou exeis hdh mesa rikse mia
matia sto magaz 14.
Pantws ean thes pesmou se pia lib egine xamos, poly fovame einai h gtk++
kai glib. Ean einai aftes prepei na kaneis kati epipleon, mail me kai
tha sou po.
Sxetika me to rebuild,
einai kalo na kaneis rebuild san user kai oxi san root.
Gia na ginei afto prepei na pas ston /usr/src/redhat
kai oi parakatw folders
BUILD
RPMS
|-- i386
|
`-- noarch
SOURCES
SPECS
SRPMS
va exoun owner root kai group mia group sthn opia tha einai melos o
user.
kai ta permission na einai rwxrwxr-x se kathe folder.
Osoi apo esas skefteste na valete rpm-3.0-6.0 peta to upgrade doste
rpm --rebuilddb prin kanete install-upgrade-query diafora paketa.
Otan ego ekana install-upgrade-query paketa mou elege oti den exw
diafora files
installed alla egw fisika ta eixa.
Etsi edosa rebuilddb kai pleon den exw provlimata, aporo giati h redhat
den evale ena script sto rpm wste meta to upgrade na ginete apo mono
tou.
aaa to kpackage kai glint den voulevoun dioti sto rpm-3.0 to
/usr/lib/rpm/rpmrc
exoun kanei allages kai ola ta paths exoun metakomisei sto macros.
Tha kitakso shmera to vradi sto net gia na do ean yparxoun updates twn
glint kai kpackage kai ean oxi tha prospathiso na pirakso twn kwdika.
Gia afto opois kserei apo perl mail me:)
Ena kalo ergaleio einai to rpmfind
http://rufus.w3.org/linux/rpm2html/rpmfind.html.
Tou dineis pio paketo thes na valeis kai vlepei pia alla paketa thelei
afto kai esy ean den ta exeis sou lei ean thes na ta katevaseis!
Hlia pistevo na voithisa ligo.
PS: Eimai sigouro pws o Vasilis Vasaitis tha to diavazei kai tha ton
exoun piasei ta gelia, epese kai se lathos xrono to mail afto vlepeis:))
Filika,
Pavlos
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/archives
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================
More information about the Linux-greek-users
mailing list