Request info: yum arm problem
by Lorenzo Giardina
Hi,
I'm newbie in arm linux! :(
I'm try to use fedora arm FS.
I've a problem on YUM, in particular on rpm; when I invoke rpm or yum I'm
obtain:
rpmdb: mmap: Invalid argument
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/repoquery", line 808, in <module>
main(sys.argv)
File "/usr/bin/repoquery", line 721, in main
repoq.doConfigSetup(debuglevel=initnoise, init_plugins=opts.plugins)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 113, in
doConfigSetup
errorlevel=errorlevel)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 159, in
_getConfig
self._conf = config.readMainConfig(startupconf)
File "/usr/lib/python2.5/site-packages/yum/config.py", line 613, in
readMainConfig
yumvars['releasever'] = _getsysver(startupconf.installroot,
startupconf.distroverpkg)
File "/usr/lib/python2.5/site-packages/yum/config.py", line 680, in
_getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed
I'm just try to delete DB and rebuild it by "rpm --rebuilddb" but the
problem remain.
After "rpm --rebuilddb" my /var/lib/rpm contest is:
-rw-r--r-- 1 root root 684032 Jan 10 19:32 Basenames
-rw-r--r-- 1 root root 12288 Jan 10 19:32 Conflictname
-rw-r--r-- 1 root root 135168 Jan 10 19:32 Dirnames
-rw-r--r-- 1 root root 655360 Jan 10 19:32 Filemd5s
-rw-r--r-- 1 root root 12288 Jan 10 19:32 Group
-rw-r--r-- 1 root root 8192 Jan 10 19:32 Installtid
-rw-r--r-- 1 root root 12288 Jan 10 19:32 Name
-rw-r--r-- 1 root root 4149248 Jan 10 19:32 Packages
-rw-r--r-- 1 root root 90112 Jan 10 19:32 Providename
-rw-r--r-- 1 root root 28672 Jan 10 19:32 Provideversion
-rw-r--r-- 1 root root 12288 Jan 10 19:29 Pubkeys
-rw-r--r-- 1 root root 45056 Jan 10 19:32 Requirename
-rw-r--r-- 1 root root 28672 Jan 10 19:32 Requireversion
-rw-r--r-- 1 root root 12288 Jan 10 19:32 Sha1header
-rw-r--r-- 1 root root 12288 Jan 10 19:32 Sigmd5
-rw-r--r-- 1 root root 12288 Jan 10 19:32 Triggername
-rw-r--r-- 1 root root 0 May 30 08:43 __db.000
-rw-r--r-- 1 root root 24576 May 30 08:43 __db.001
Can You help me?
Thanks in advance
Lorenzo Giardina
--
Ing.I.Lorenzo Giardina
Via Fiorentina 578/D
51032 Pistoia
P.IVA 001553160472
CF: GRDLNZ77H08G713E
Avviso di riservatezza
Le informazioni contenute nella presente comunicazione e i relativi
allegati possono essere riservati e sono,
comunque, destinati esclusivamente alle persone o alla Società sopraindicati.
La diffusione, distribuzione e/o copiatura del documento trasmesso da parte
di qualsiasi soggetto diverso dal
destinatario è proibita, sia ai sensi dell'art. 616 c.p. , che ai sensi
del D.Lgs. n. 196/2003. Se avete ricevuto
questo messaggio per errore, vi preghiamo di distruggerlo e di informarci
immediatamente inviando un
messaggio all'indirizzo e-mail: lorenzo(a)lorenzogiardina.com
Confidentiality Notice
The information in this e-mail (which includes any files transmitted with
it) is confidential and may also be
legally privileged. It is intended for the addressee only. Access to this
e-mail by anyone else is unauthorised.
Any use, dissemination, forwarding, printing or copying of this e-mail is
prohibited. If you have received this
e-mail in error please notify us immediately at
lorenzo(a)lorenzogiardina.com, destroy any copies and delete
it from your computer system.
--
Ing.I.Lorenzo Giardina
Via Fiorentina 578/D
51032 Pistoia
P.IVA 001553160472
CF: GRDLNZ77H08G713E
Avviso di riservatezza
Le informazioni contenute nella presente comunicazione e i relativi
allegati possono essere riservati e sono,
comunque, destinati esclusivamente alle persone o alla Società sopraindicati.
La diffusione, distribuzione e/o copiatura del documento trasmesso da parte
di qualsiasi soggetto diverso dal
destinatario è proibita, sia ai sensi dell'art. 616 c.p. , che ai sensi
del D.Lgs. n. 196/2003. Se avete ricevuto
questo messaggio per errore, vi preghiamo di distruggerlo e di informarci
immediatamente inviando un
messaggio all'indirizzo e-mail: lorenzo(a)lorenzogiardina.com
Confidentiality Notice
The information in this e-mail (which includes any files transmitted with
it) is confidential and may also be
legally privileged. It is intended for the addressee only. Access to this
e-mail by anyone else is unauthorised.
Any use, dissemination, forwarding, printing or copying of this e-mail is
prohibited. If you have received this
e-mail in error please notify us immediately at
lorenzo(a)lorenzogiardina.com, destroy any copies and delete
it from your computer system.
15 years, 6 months
RE: [fedora-arm] Question about f8 arm-linux rpms (xorg-x11)
by ffileppo
> >
> > Hi all,
>
>
> Hi Francesco
>
> >
> > I'd like to use rpms from
> >
> (http://ftp.linux.org.uk/pub/linux/arm/fedora/pub/fedora/linux/releases/
> 8/
> > Everything/arm/os/Packages/) to get a working xorg/x11 server on my
> > embedded box.
> >
> > I'm quite confused about various xorg-x11* packages, for example there
> is
> > no xorg-x11-server rpm (only xorg-x11-server-utils).
>
> You need the URL that you mentioned and the one below -
> http://ftp.linux.org.uk/pub/linux/arm/fedora/pub/fedora/linux/updates/8/
> arm/
>
> >
> > Would anyone explain me which rpms are needed to get a working
> xorg/x11
> > server on my embedded box?
>
> The main idea is that you start with a 80MB base rootfs that has bash +
> yum + rpm. Afterwards you configure yum to get feeds from the fedora-8
> ARM repos (both the releases and updates); and once that's done you
> simply 'yum install' what you need.
>
> Do you have an initial rootfs with yum and rpm as indicated by previous
> email (emails referring to Fedora-ARM wikis)?
> If not then -
> 1. Get a working rootfs from -
> http://ftp.linux.org.uk/pub/linux/arm/fedora/rootfs/
>
> 2. Download and place the yum repo file config (URL below) into your
> /etc/yum.repo.d . Note that the repo file already indicates the releases
> and updates repos.
> http://ftp.linux.org.uk/pub/linux/arm/fedora/fedora-arm-f8.repo
>
> 3. run 'yum clean all' to remove all history in yum database so next
> time you call 'yum' it will refresh it's database.
>
> 4. Install what you need. For example 'yum install xorg-x11-server-Xorg'
> and yum will automatically download and install all the dependencies.
>
> >
> > Thank you,
> >
> > Francesco
> >
Hi Rabeeh,
thanks for your answer and for your help.
I didn't notice the second URL (http://ftp.linux.org.uk/pub/linux/arm/fedora/pub/fedora/linux/updates/8/arm/) at first, so I was missing xorg-x11-server-Xorg rpm.
With this rpm I'm able to start the X server.
Thanks again,
Francesco
15 years, 6 months
Installing rpm packages to rootfs-f8
by ffileppo
Hi,
I'm trying to install some rpm packages from http://ftp.linux.org.uk/pub/linux/arm/fedora/pub/fedora/linux/releases/8/... to rootfs-f8 (fedora8 arm).
I'm getting this error:
root@portatile-hp:~/Desktop/arm rpm# rpm -ivh --root=/root/tmp/f8/rootfs-f8 libXau-1.0.3-3.fc8.armv5tel.rpm
Preparing... ########################################### [100%]
package libXau-1.0.3-3.fc8 is intended for a armv5tel architecture
Is it possible to install these rpms on a x86 machine?
What's the corret way to add new rpms to rootfs-f8?
Thank you,
Francesco
15 years, 6 months