[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: RPM problems



> > > 
> > > 	3) Upgrade to rpm-4.0.4-6x.21, all packages in single transaction.
> > By this do you mean
> >  a)put all the .i386.rpm's from above in one directory
> >  b)rpm -Uvh *.rpm
> 
> Yup.

Well, I've got trouble.  the rpm's wouldn't install because of dependencies
(old versions all depended on librpm), so I di this:
[root@helium rpm]# rpm -Uvh --force --nodeps *.rpm
/bin/chown: rpm.rpm: invalid user
removal of /usr/man/man8/rpm2cpio.8.gz failed: No such file or directory
removal of /usr/man/man8/rpm.8.gz failed: No such file or directory
removal of /usr/man/man1/gendiff.1.gz failed: No such file or directory
removal of /usr/lib/rpm/rpmv failed: No such file or directory
removal of /usr/lib/rpm/rpmu failed: No such file or directory
removal of /usr/lib/rpm/rpmq failed: No such file or directory
removal of /usr/lib/rpm/rpmpopt-4.0.4 failed: No such file or directory
removal of /usr/lib/rpm/rpmk failed: No such file or directory
removal of /usr/lib/rpm/rpmi failed: No such file or directory
removal of /usr/lib/rpm/rpme failed: No such file or directory
removal of /usr/lib/rpm/rpmd failed: No such file or directory
removal of /usr/lib/rpm/rpm2cpio.sh failed: No such file or directory
removal of /usr/lib/rpm/rpm.xinetd failed: No such file or directory
removal of /usr/lib/rpm/rpm.log failed: No such file or directory
removal of /usr/lib/rpm/rpm.daily failed: No such file or directory
removal of /usr/lib/rpm/noarch-redhat-linux failed: No such file or directory
removal of /usr/lib/rpm/noarch-linux failed: No such file or directory
removal of /usr/lib/rpm/i686-redhat-linux/macros failed: No such file or directory
rmdir of /usr/lib/rpm/i686-redhat-linux failed: No such file or directory
removal of /usr/lib/rpm/i686-linux failed: No such file or directory
removal of /usr/lib/rpm/i586-redhat-linux/macros failed: No such file or directory
rmdir of /usr/lib/rpm/i586-redhat-linux failed: No such file or directory
removal of /usr/lib/rpm/i586-linux failed: No such file or directory
removal of /usr/lib/rpm/i486-redhat-linux/macros failed: No such file or directory
rmdir of /usr/lib/rpm/i486-redhat-linux failed: No such file or directory
removal of /usr/lib/rpm/i486-linux failed: No such file or directory
removal of /usr/lib/rpm/i386-redhat-linux/macros failed: No such file or directory
rmdir of /usr/lib/rpm/i386-redhat-linux failed: No such file or directory
removal of /usr/lib/rpm/i386-linux failed: No such file or directory
removal of /usr/lib/rpm/athlon-redhat-linux/macros failed: No such file or directory
rmdir of /usr/lib/rpm/athlon-redhat-linux failed: No such file or directory
removal of /usr/lib/rpm/athlon-linux failed: No such file or directory
removal of /usr/lib/librpmio-4.0.4.so failed: No such file or directory
removal of /usr/lib/librpmdb-4.0.4.so failed: No such file or directory
removal of /usr/lib/librpmbuild-4.0.4.so failed: No such file or directory
removal of /usr/lib/librpm-4.0.4.so failed: No such file or directory
removal of /usr/doc/rpm-4.0.4/tsort failed: No such file or directory
removal of /usr/doc/rpm-4.0.4/triggers failed: No such file or directory
removal of /usr/doc/rpm-4.0.4/spec failed: No such file or directory
removal of /usr/doc/rpm-4.0.4/signatures failed: No such file or directory
removal of /usr/doc/rpm-4.0.4/rollbacks failed: No such file or directory
removal of /usr/doc/rpm-4.0.4/relocatable failed: No such file or directory
removal of /usr/doc/rpm-4.0.4/queryformat failed: No such file or directory
removal of /usr/doc/rpm-4.0.4/multiplebuilds failed: No such file or directory
removal of /usr/doc/rpm-4.0.4/macros failed: No such file or directory
removal of /usr/doc/rpm-4.0.4/hregions failed: No such file or directory
removal of /usr/doc/rpm-4.0.4/format failed: No such file or directory
removal of /usr/doc/rpm-4.0.4/dependencies failed: No such file or directory
removal of /usr/doc/rpm-4.0.4/conditionalbuilds failed: No such file or directory
removal of /usr/doc/rpm-4.0.4/buildroot failed: No such file or directory
removal of /usr/doc/rpm-4.0.4/builddependencies failed: No such file or directory
removal of /usr/doc/rpm-4.0.4/RPM-PGP-KEY failed: No such file or directory
removal of /usr/doc/rpm-4.0.4/RPM-GPG-KEY failed: No such file or directory
removal of /usr/doc/rpm-4.0.4/GROUPS failed: No such file or directory
removal of /usr/doc/rpm-4.0.4/CHANGES failed: No such file or directory
rmdir of /usr/doc/rpm-4.0.4 failed: No such file or directory
removal of /usr/bin/rpmverify failed: No such file or directory
removal of /usr/bin/rpmsign failed: No such file or directory
removal of /usr/bin/rpmquery failed: No such file or directory
removal of /usr/bin/rpmdb failed: No such file or directory
rmdir of /etc/rpm failed: No such file or directory
cannot remove /usr/src/redhat/SRPMS - directory not empty
cannot remove /usr/src/redhat/SPECS - directory not empty
cannot remove /usr/src/redhat/SOURCES - directory not empty
cannot remove /usr/src/redhat/RPMS/noarch - directory not empty
rmdir of /usr/src/redhat/RPMS/i686 failed: No such file or directory
rmdir of /usr/src/redhat/RPMS/i586 failed: No such file or directory
rmdir of /usr/src/redhat/RPMS/i486 failed: No such file or directory
cannot remove /usr/src/redhat/RPMS/i386 - directory not empty
rmdir of /usr/src/redhat/RPMS/athlon failed: No such file or directory
cannot remove /usr/src/redhat/RPMS - directory not empty
cannot remove /usr/src/redhat/BUILD - directory not empty
cannot remove /usr/src/redhat - directory not empty
removal of /usr/man/man8/rpmbuild.8.gz failed: No such file or directory
removal of /usr/lib/rpm/vpkg-provides2.sh failed: No such file or directory
removal of /usr/lib/rpm/vpkg-provides.sh failed: No such file or directory
removal of /usr/lib/rpm/u_pkg.sh failed: No such file or directory
removal of /usr/lib/rpm/trpm failed: No such file or directory
removal of /usr/lib/rpm/rpmt failed: No such file or directory
removal of /usr/lib/rpm/rpmdiff.cgi failed: No such file or directory
removal of /usr/lib/rpm/rpmdiff failed: No such file or directory
removal of /usr/lib/rpm/rpmb failed: No such file or directory
removal of /usr/lib/rpm/perl.req failed: No such file or directory
removal of /usr/lib/rpm/perl.prov failed: No such file or directory
removal of /usr/lib/rpm/magic.req failed: No such file or directory
removal of /usr/lib/rpm/magic.prov failed: No such file or directory
removal of /usr/lib/rpm/javadeps failed: No such file or directory
removal of /usr/lib/rpm/http.req failed: No such file or directory
removal of /usr/lib/rpm/getpo.sh failed: No such file or directory
removal of /usr/lib/rpm/get_magic.pl failed: No such file or directory
removal of /usr/lib/rpm/find-requires.perl failed: No such file or directory
removal of /usr/lib/rpm/find-requires failed: No such file or directory
removal of /usr/lib/rpm/find-req.pl failed: No such file or directory
removal of /usr/lib/rpm/find-provides.perl failed: No such file or directory
removal of /usr/lib/rpm/find-provides failed: No such file or directory
removal of /usr/lib/rpm/find-prov.pl failed: No such file or directory
removal of /usr/lib/rpm/find-lang.sh failed: No such file or directory
removal of /usr/lib/rpm/cross-build failed: No such file or directory
removal of /usr/lib/rpm/cpanflute2 failed: No such file or directory
removal of /usr/lib/rpm/cpanflute failed: No such file or directory
removal of /usr/lib/rpm/config.site failed: No such file or directory
removal of /usr/lib/rpm/check-prereqs failed: No such file or directory
removal of /usr/lib/rpm/brp-strip-shared failed: No such file or directory
removal of /usr/lib/rpm/brp-strip-comment-note failed: No such file or directory
removal of /usr/lib/rpm/brp-strip failed: No such file or directory
removal of /usr/lib/rpm/brp-sparc64-linux failed: No such file or directory
removal of /usr/lib/rpm/brp-redhat failed: No such file or directory
removal of /usr/lib/rpm/brp-compress failed: No such file or directory
removal of /usr/lib/rpm/Specfile.pm failed: No such file or directory
removal of /usr/bin/rpmbuild failed: No such file or directory
removal of /usr/lib/librpmio.so failed: No such file or directory
removal of /usr/lib/librpmio.la failed: No such file or directory
removal of /usr/lib/librpmio.a failed: No such file or directory
removal of /usr/lib/librpmdb.so failed: No such file or directory
removal of /usr/lib/librpmdb.la failed: No such file or directory
removal of /usr/lib/librpmdb.a failed: No such file or directory
removal of /usr/include/rpm/ugid.h failed: No such file or directory
removal of /usr/include/rpm/rpmmessages.h failed: No such file or directory
removal of /usr/include/rpm/rpmlog.h failed: No such file or directory
removal of /usr/include/rpm/rpmerr.h failed: No such file or directory
removal of /usr/include/rpm/rpmdb.h failed: No such file or directory
removal of /usr/include/rpm/rpmcli.h failed: No such file or directory
removal of /usr/include/rpm/hdrinline.h failed: No such file or directory
rmdir of /usr/doc/rpm-devel-4.0.4 failed: No such file or directory
removal of /usr/lib/python1.5/site-packages/rpmmodule.so failed: No such file or directory


> 
> > > 
> > > 	4) Immediately do rpm --rebuilddb to convert from db1 -> db3
> > > 	   format. If rpm -qa "works", you've succeeded.
> 
> Add -vv and you get to watch.

After the above, I tried and got this:
[root@helium lib]# rpm --rebuilddb -vv
bash: /bin/rpm: No such file or directory

[root@helium /root]# which rpm
which: no rpm in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin)

-- 
ACCEL Services, Inc.| Specialists in Gravity, Magnetics |  1(713)993-0671 ph.
 2401 Fountain View |   and Integrated Interpretation   |  1(713)993-0608 fax
     Suite 900      |                                   |
 Houston, TX, 77057 |          Chuck Campbell           | campbell@accelinc.com
                    |  President & Senior Geoscientist  |

     "Integration means more than having all the maps at the same scale!"





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []