hi
why is the rpm giving out so many errors,
instead of just dying on first permission problem?
and also the garbage it outputs corrupts my terminal
this happens if i run rpm (accidentally) by non-root
[EMAIL PROTECTED] tmp $ rpm -Uhv *.rpm --oldpackage
Preparing... ########################################### [100%]
1:glibc-misc ########################################### [ 25%]
error: unpacking of archive failed on file /etc/nsswitch.conf;425f5d81: cpio:
open failed - Permission denied
2:glibc ########################################### [ 50%]
error: unpacking of archive failed on file /lib/ld-2.3.3.so;425f5d81: cpio:
open failed - Permission denied
3:iconv ########################################### [ 75%]
error: unpacking of archive failed on file /usr/lib/gconv: cpio: chmod failed -
Operation not permitted
4:glibc-devel ########################################### [100%]
error: unpacking of archive failed on file /usr/bin/gencat;425f5d81: cpio: open
failed - Permission denied
/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission
denied
telinit: must be superuser.
error: %postun(glibc-2.3.4-0.20041122.2.1) scriptlet failed, exit status 1
rpmdb: DBcursor->del: attempt to modify a read-only tree
error: db4 error(13) from dbcursor->c_del: Permission denied
error: db4 error(13) from dbcursor->c_del: Permission denied
error: error(13) removing record "glibc" from Name
error: db4 error(13) from dbcursor->c_del: Permission denied
error: error(13) removing record "ld.so.cache" from Basenames
error: db4 error(13) from dbcursor->c_del: Permission denied
error: error(13) removing record "ld.so.conf" from Basenames
error: db4 error(13) from dbcursor->c_del: Permission denied
error: error(13) removing record "ld-2.3.3.so" from Basenames
...
error: db4 error(13) from dbcursor->c_del: Permission denied
error: error(13) removing record "|a/t>����v�gn" from Filemd5s
error: db4 error(13) from dbcursor->c_del: Permission denied
error: error(13) removing record "Hx)�o�1æYgn" from Filemd5s
error: db4 error(13) from dbcursor->c_del: Permission denied
error: error(13) removing record "�E.D� �"��_���gn" from Filemd5s
error: db4 error(13) from dbcursor->c_del: Permission denied
error: error(13) removing record "=��xnP�eeD�K
��gn" from Filemd5s
error: db4 error(13) from dbcursor->c_del: Permission denied
error: error(13) removing record "0��rd "C�-�
ɾA�`�fgn" from Filemd5s
error: db4 error(13) from dbcursor->c_del: Permission denied
-�GC|ת-�gn" from Filemd5secord "�H
error: db4 error(13) from dbcursor->c_del: Permission denied
error: error(13) removing record "�-�^s�Km�Y�����gn" from Filemd5s
error: db4 error(13) from dbcursor->c_del: Permission denied
error: error(13) removing record "WS8+( ��2�f��,gn" from Filemd5s
error: db4 error(13) from dbcursor->c_del: Permission denied
error: error(13) removing record "A�<��Jowf�gn" from Filemd5s
error: db4 error(13) from dbcursor->c_del: Permission denied
error: error(13) removing record "
�Zȥ����Pgn" from Filemd5s
--
glen
_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en