Exo provlima me thn rpm database.
Sarantis Paskalis
sarantis at cnl.di.uoa.gr
Thu May 15 14:06:01 EEST 2003
On Thu, May 15, 2003 at 01:40:04PM +0300, kzorba at otenet.gr wrote:
> At Thu, 15 May 2003 13:10:20 +0300,
> Giannakis Eleftherios wrote:
> >
> > Exo Red Hat 8 kai exo provlima me thn rpm database.
> > Otan pao na kano kapoio install me rpm
> > kollaei kai menei ekei.
> > Eixa parei ena backup ths database mou paliotera kai to pernao apo
> > pano otan parousiazetai provlima, alla den apizei kala, giati xaneis oti exeis kanei install
> > teleftaia.Exei kaneis kamia lysh gia ayto?
> > Ennoeitai oti otan kollaei to rpm, ektelontas rpm -qa den pairneis response.
> > Thanks in advance..
> >
> >
> Eixa antimetopisei kai ego paromoio provlima me kapoio paketo. Otan
> kollisei to rpm skotose to rpm process. Den
> prepei na ginetai corrupt i database toy rpm, apla kapoio script pou
> trexei me tin egkatastasi tou paketou dimiourgei to provlima. Dose to
> option --noscripts kata tin egkatastasi kai tin apegkatastasi tou
> paketoy.
To --noscripts (opws kai to --nodeps) prepei na xrhsimopoiountai mono
otan ksereis ti kaneis. Synh8ws h egkatastash twn rpms xreiazetai ta
scripts kai bgazei xeirotera problhmata an den ta xrhsimopoihseis.
To 8ema einai ligo pio periploko. Prepei afou skotwseis to rpm,
meta na sbhseis kai ta /var/lib/rpm/__db.00? files. Mesa ekei yparxoun
kati locks gia ta rpm transactions pou menoun sto keno kai kollane meta
to rpm gia tis metepeita transactions.
To problhma einai oti menoun auta ta locks meta apo ka8e fora pou
diakopteis to rpm (eite me -9 eite me ^C), akoma dhladh kai otan trexeis
to rpm -qa gia na deis ta paketa pou exeis egkatasthsei kai to diakopteis
giati bare8hkes, afhnei to lock kai sthn epomenh fora pou 8a to
xrhsimopoihseis 8a kollhsei.
Stale locks mporei na meinoun kai me allous tropous, den eimai sigouros
poious. O tropos na ksefeugeis (proswrina) apo to kollhma einai:
1. kill rpm
2. rm /var/lib/rpm/__db.00?
3. restart rpm
-- Sarantis
More information about the Linux-greek-users
mailing list