Bio: RPM-Problem: Paket uninstallierbar

Beitrag lesen

Sup!

Ich bin dabei, eine chroot-Umgebung zu basteln - ich kopiere also quasi alle für Linux lebenswichtigen Dateien (Ein paar libs wie glibc, ld-linux, ein paar Sachen aus /bin, /sbin, etc. pp.) in ein Unterverzeichnis, erzeuge eine etc/mtab, die wichtigen Verzeichnisse für rpm, kopiere die rpmrc etc. pp.. Es funktioniert auch alles soweit ganz gut, und mit --nodeps kriege ich mit rpm auch die Pakete mit der glibc, rpm, die bash etc. "offiziell" installiert... aber was auch immer ich mache, auch wenn alles notwendige installiert ist - das ncurses-Paket will sich ums Verrecken nicht installieren lassen.

Ich gebe rpm -i --nodeps ncurses-5.2-262.i386.rpm --root /chrootdir ein - alles scheint zu funktionieren - aber nachher ist es nicht installiert. Das nodeps muss sein, um die Dependency zu /bin/sh zu unterdrücken - Das bash-Paket lässt sich nur mit ncurses installieren, und ausserdem habe ich /bin/bash und einen links von /bin/sh auf /bin/bash im chroot, es sollte also so gehen.

Auch --force hilft nichts.

Es ist egal, ob ich mit --root arbeite oder erst ein chroot auf das /chrootdir mache und dann rpm -i versuche - es kommt das gleiche raus (sollte ja auch).

Also, bei einem Versuch im chroot drin kam folgendes raus - es wird übrigens keine der aufgeführten Dateine erzeugt.

Gruesse,

Bio

bash-2.05# rpm -i --nodeps -vv ncurses-5.2-262.i386.rpm
D: counting packages to install
D: found 1 packages
D: looking for packages to download
D: retrieved 0 packages
D: New Header signature
D: Signature size: 156
D: Signature pad : 4
D: sigsize         : 160
D: Header + Archive: 748068
D: expected size   : 748068
D: opening database mode 0x42 in /var/lib/rpm
D: found 0 source and 1 binary packages
D: installing binary packages
D: getting list of mounted filesystems
D: New Header signature
D: Signature size: 156
D: Signature pad : 4
D: sigsize         : 160
D: Header + Archive: 748068
D: expected size   : 748068
D: package: ncurses-5.2-262 files test = 0
D:    file: /etc/termcap action: create
D:    file: /lib/libncurses.so.4 action: create
D:    file: /lib/libncurses.so.4.2 action: create
D:    file: /lib/libncurses.so.5 action: create
D:    file: /lib/libncurses.so.5.2 action: create
D:    file: /usr/bin/clear action: create
D:    file: /usr/bin/reset action: create
D:    file: /usr/bin/toe action: create
D:    file: /usr/bin/tput action: create
D:    file: /usr/bin/tset action: create
D:    file: /usr/lib/libform.so.4 action: create
D:    file: /usr/lib/libform.so.4.2 action: create
D:    file: /usr/lib/libform.so.5 action: create
D:    file: /usr/lib/libform.so.5.2 action: create
D:    file: /usr/lib/libmenu.so.4 action: create
D:    file: /usr/lib/libmenu.so.4.2 action: create
D:    file: /usr/lib/libmenu.so.5 action: create
D:    file: /usr/lib/libmenu.so.5.2 action: create
D:    file: /usr/lib/libpanel.so.4 action: create
D:    file: /usr/lib/libpanel.so.4.2 action: create
D:    file: /usr/lib/libpanel.so.5 action: create
D:    file: /usr/lib/libpanel.so.5.2 action: create
D:    file: /usr/lib/tabset action: create
D:    file: /usr/lib/terminfo action: create
D:    file: /usr/share/doc/packages/ncurses action: create
D:    file: /usr/share/doc/packages/ncurses/hackguide.doc action: create
D:    file: /usr/share/doc/packages/ncurses/hackguide.html action: create
D:    file: /usr/share/doc/packages/ncurses/ncurses-intro.doc action: create
D:    file: /usr/share/doc/packages/ncurses/ncurses-intro.html action: create
D:    file: /usr/share/doc/packages/ncurses/terminfo.src action: create
D:    file: /usr/share/man/man1/clear.1.gz action: create
D:    file: /usr/share/man/man1/reset.1.gz action: create
D:    file: /usr/share/man/man1/toe.1.gz action: create
D:    file: /usr/share/man/man1/tput.1.gz action: create
D:    file: /usr/share/man/man1/tset.1.gz action: create
D:    file: /usr/share/man/man5/term.5.gz action: create
D:    file: /usr/share/man/man5/terminfo.5.gz action: create
D:    file: /usr/share/misc/termcap action: create
D:    file: /usr/share/tabset action: create
D:    file: /usr/share/tabset/std action: create
D:    file: /usr/share/tabset/stdcrt action: create
D:    file: /usr/share/tabset/vt100 action: create
D:    file: /usr/share/tabset/vt300 action: create
D:    file: /usr/share/terminfo action: create
D:    file: /usr/share/terminfo/1 action: create
D:    file: /usr/share/terminfo/2 action: create
D:    file: /usr/share/terminfo/3 action: create
D:    file: /usr/share/terminfo/4 action: create
D:    file: /usr/share/terminfo/5 action: create
D:    file: /usr/share/terminfo/6 action: create
D:    file: /usr/share/terminfo/7 action: create
D:    file: /usr/share/terminfo/8 action: create
D:    file: /usr/share/terminfo/9 action: create
D:    file: /usr/share/terminfo/A action: create
D:    file: /usr/share/terminfo/E action: create
D:    file: /usr/share/terminfo/L action: create
D:    file: /usr/share/terminfo/M action: create
D:    file: /usr/share/terminfo/N action: create
D:    file: /usr/share/terminfo/P action: create
D:    file: /usr/share/terminfo/Q action: create
D:    file: /usr/share/terminfo/X action: create
D:    file: /usr/share/terminfo/a action: create
D:    file: /usr/share/terminfo/a/ansi action: create
D:    file: /usr/share/terminfo/a/arpanet action: create
D:    file: /usr/share/terminfo/b action: create
D:    file: /usr/share/terminfo/c action: create
D:    file: /usr/share/terminfo/d action: create
D:    file: /usr/share/terminfo/d/dialup action: create
D:    file: /usr/share/terminfo/d/dumb action: create
D:    file: /usr/share/terminfo/e action: create
D:    file: /usr/share/terminfo/f action: create
D:    file: /usr/share/terminfo/g action: create
D:    file: /usr/share/terminfo/g/gnome action: create
D:    file: /usr/share/terminfo/g/gnome-rh action: create
D:    file: /usr/share/terminfo/h action: create
D:    file: /usr/share/terminfo/i action: create
D:    file: /usr/share/terminfo/j action: create
D:    file: /usr/share/terminfo/k action: create
D:    file: /usr/share/terminfo/k/klone+color action: create
D:    file: /usr/share/terminfo/k/kvt action: create
D:    file: /usr/share/terminfo/k/kvt-rh action: create
D:    file: /usr/share/terminfo/l action: create
D:    file: /usr/share/terminfo/l/linux action: create
D:    file: /usr/share/terminfo/l/linux-m action: create
D:    file: /usr/share/terminfo/l/linux-nic action: create
D:    file: /usr/share/terminfo/m action: create
D:    file: /usr/share/terminfo/n action: create
D:    file: /usr/share/terminfo/n/net action: create
D:    file: /usr/share/terminfo/n/network action: create
D:    file: /usr/share/terminfo/n/nxterm action: create
D:    file: /usr/share/terminfo/o action: create
D:    file: /usr/share/terminfo/p action: create
D:    file: /usr/share/terminfo/p/patch action: create
D:    file: /usr/share/terminfo/q action: create
D:    file: /usr/share/terminfo/r action: create
D:    file: /usr/share/terminfo/r/rxvt action: create
D:    file: /usr/share/terminfo/s action: create
D:    file: /usr/share/terminfo/s/screen action: create
D:    file: /usr/share/terminfo/s/screen-w action: create
D:    file: /usr/share/terminfo/s/sun action: create
D:    file: /usr/share/terminfo/s/switch action: create
D:    file: /usr/share/terminfo/t action: create
D:    file: /usr/share/terminfo/u action: create
D:    file: /usr/share/terminfo/u/unknown action: create
D:    file: /usr/share/terminfo/v action: create
D:    file: /usr/share/terminfo/v/vt100 action: create
D:    file: /usr/share/terminfo/v/vt102 action: create
D:    file: /usr/share/terminfo/v/vt220 action: create
D:    file: /usr/share/terminfo/v/vt220-8 action: create
D:    file: /usr/share/terminfo/v/vt220-8bit action: create
D:    file: /usr/share/terminfo/v/vt320 action: create
D:    file: /usr/share/terminfo/v/vt52 action: create
D:    file: /usr/share/terminfo/w action: create
D:    file: /usr/share/terminfo/x action: create
D:    file: /usr/share/terminfo/x/xterm action: create
D:    file: /usr/share/terminfo/x/xterm-basic action: create
D:    file: /usr/share/terminfo/x/xterm-color action: create
D:    file: /usr/share/terminfo/x/xterm-nic action: create
D:    file: /usr/share/terminfo/x/xterm-r6 action: create
D:    file: /usr/share/terminfo/z action: create
D: running preinstall script (if any)