rpm stupid

Elan Ruusamäe glen at delfi.ee
Fri Apr 15 08:24:50 CEST 2005


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

builder at pld-i686 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




More information about the pld-devel-en mailing list