A few weeks ago, I installled the *.tar.gz version of Dyninst. I got errors, but it seemd to work.
Now I have found the latest and greatest rpm version of dyninst and I want to install that.
However, the carefully built *tar.gz version was on the hard drive and it and its the whole directory has since been removed.
When I typed
sudo yum install dyninst-8.0-1.el6.x86_64.rpm
I got the warning:
Warning: RPMDB altered outside of yum.
Yes, I did install a tar.gz version of dyninst.
It is gone now. What does this warning mean?
Thanks in advance.
Newport_j
RPMDB altered outside of yum
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
RPMDB altered outside of yum
The warning means that you ran rpm directly instead of using yum.
Re: RPMDB altered outside of yum
Okay, I thought that
make clean all
would get rid of it this warning. It did not.
Should I be worried?
When I ran
[code]
yum install dyninst-8.0-1.el6.x86_64.rpm
Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security
You need to be root to perform this command.
[james@james Downloads]$ sudo yum install dyninst-8.0-1.el6.x86_64.rpm
Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: holmes.umflint.edu
* elrepo: mirror.ventraip.net.au
* extras: ftp.usf.edu
* updates: holmes.umflint.edu
Setting up Install Process
Examining dyninst-8.0-1.el6.x86_64.rpm: dyninst-8.0-1.el6.x86_64
Marking dyninst-8.0-1.el6.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package dyninst.x86_64 0:8.0-1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================================================================
Installing:
dyninst x86_64 8.0-1.el6 /dyninst-8.0-1.el6.x86_64 9.5 M
Transaction Summary
=============================================================================================================================================================================================================================================
Install 1 Package(s)
Total size: 9.5 M
Installed size: 9.5 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : dyninst-8.0-1.el6.x86_64 1/1
Verifying : dyninst-8.0-1.el6.x86_64 1/1
Installed:
dyninst.x86_64 0:8.0-1.el6
Complete!
[/code]
It required me to be root to run the command. I then ran
sudo yum install dyninst-8.0-1.el6.x86_64.rpm
and it installed. Now I know that you warned me about usng sudo too much,
but I went ahead and used it anyway. I had to.
One final question. Where did it install? Where is the Dyninst directory?
I must configre this with TAU and it wants the dyniinst directory. So where is it.
I ran
sudo find ./ -mmin -10
and it should no files.
Where did it go?
Any help appreciated. Thanks in advance.
Newport_j
Any help appreaciated. thanks in advance.
Newport_j
make clean all
would get rid of it this warning. It did not.
Should I be worried?
When I ran
[code]
yum install dyninst-8.0-1.el6.x86_64.rpm
Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security
You need to be root to perform this command.
[james@james Downloads]$ sudo yum install dyninst-8.0-1.el6.x86_64.rpm
Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: holmes.umflint.edu
* elrepo: mirror.ventraip.net.au
* extras: ftp.usf.edu
* updates: holmes.umflint.edu
Setting up Install Process
Examining dyninst-8.0-1.el6.x86_64.rpm: dyninst-8.0-1.el6.x86_64
Marking dyninst-8.0-1.el6.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package dyninst.x86_64 0:8.0-1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================================================================
Installing:
dyninst x86_64 8.0-1.el6 /dyninst-8.0-1.el6.x86_64 9.5 M
Transaction Summary
=============================================================================================================================================================================================================================================
Install 1 Package(s)
Total size: 9.5 M
Installed size: 9.5 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : dyninst-8.0-1.el6.x86_64 1/1
Verifying : dyninst-8.0-1.el6.x86_64 1/1
Installed:
dyninst.x86_64 0:8.0-1.el6
Complete!
[/code]
It required me to be root to run the command. I then ran
sudo yum install dyninst-8.0-1.el6.x86_64.rpm
and it installed. Now I know that you warned me about usng sudo too much,
but I went ahead and used it anyway. I had to.
One final question. Where did it install? Where is the Dyninst directory?
I must configre this with TAU and it wants the dyniinst directory. So where is it.
I ran
sudo find ./ -mmin -10
and it should no files.
Where did it go?
Any help appreciated. Thanks in advance.
Newport_j
Any help appreaciated. thanks in advance.
Newport_j
Re: RPMDB altered outside of yum
[quote]
newport_j wrote:
One final question. Where did it install? Where is the Dyninst directory?
[/quote]
Use "rpm -ql dyninst" to see the list of files installed by the dyninst package.
newport_j wrote:
One final question. Where did it install? Where is the Dyninst directory?
[/quote]
Use "rpm -ql dyninst" to see the list of files installed by the dyninst package.
Re: RPMDB altered outside of yum
Regarding the "RPMDB altered outside of yum" warning, try :
[code]
yum history sync
[/code]
and see if that "fixes" it.
[code]
yum history sync
[/code]
and see if that "fixes" it.
Re: RPMDB altered outside of yum
Thanks, yum history sync workd for me.
Re: RPMDB altered outside of yum
Actually that was not required, the warning clears itself as soon as it appears. You only see it once, then yum internally checks the consistency and resets the warning so unless you then rerun rpm to install/uninstall something then you shouldn't see the warning again.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke