[PlanetCCRMA] Issues after upgrading to RH9

Fernando Pablo Lopez-Lezcano nando@ccrma.Stanford.EDU
Tue Aug 5 14:52:01 2003


> I got qjackctl compiled, but only after I did an "rpm --erase --nodeps
> qt-designer qt qt-devel" on my system.  I first tried to get apt-get to
> do a reinstall of packages, but it did some and not others.  (Note that I'd
> put ReInstall "true"; in the APT::Get section of my /etc/apt/apt.conf file)
> 
> [jh@xtc jh]# apt-get install qt-designer qt2-Xt qt qt-devel qt2
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Reinstallation of qt-designer is not possible, it cannot be downloaded.
> Reinstallation of qt is not possible, it cannot be downloaded.
> Reinstallation of qt-devel is not possible, it cannot be downloaded.
> 0 packages upgraded, 0 newly installed, 2 reinstalled, 0 removed and 0 not upgraded.
> Need to get 4147kB of archives.
> After unpacking 0B of additional disk space will be used.
> Do you want to continue? [Y/n] Y
> Get:1 http://www-ccrma.stanford.edu redhat/9/en/i386/os qt2 1:2.3.1-13 [4124kB]
> Get:2 http://www-ccrma.stanford.edu redhat/9/en/i386/os qt2-Xt 1:2.3.1-13 [23.8kB]
> Fetched 4147kB in 12s (326kB/s)                                                
> Executing RPM (-Uvh)...
> warning: /var/cache/apt/archives/qt2_1%3a2.3.1-13_i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
> Preparing...                ########################################### [100%]
>    1:qt2                    ########################################### [ 50%]
>    2:qt2-Xt                 ########################################### [100%]
> 
> Why just these 2 and not the others?  I dunno.  But at any rate, I did
> the rpm --erase as noted above, then did the apt-get on the 3 packages that
> I couldn't re-install.  That went fine, and I was then able to compile
> qjackctl just fine.

You could check to see which qt packages you currently have (ie: redhat
or planetccrma) by saying:

  rpm -q -a |grep ^qt-|xargs rpm -q -i|grep "Build Host"

That should print the "Build Host" line of all of them, the hosts should
be whatever.redhat.com (in my install tweety.devel.redhat.com). 

If they are not then you still have the old 7.3 planetccrma-supplied qt
packages. You should erase them (with --nodeps) and install the redhat
packages (that are part of the cdrom distribution). 

> This raises the very serious question of how to get my system completely
> up to speed on RH9.  Since I'd already had a system that was up to date on
> Redhat 7.3 when I ran the upgrade to RH9.0, some, if not most of my packages
> are compiled with gcc2.95.  This, as we have seen, is a problem when trying
> to build new software with gcc3.2.2!

Yes, it is a problem. I have to start embedding the rh version in the
package version, the problem with that approach is that it forces a
complete update of all packages even if it is not strictly necessary. 

One way to see what was upgraded and what was not would be to do:

  rpm -q -a --last > packages_by_date

That will write a file "packages_by_date" of all packages on the system
ordered by install date. It should be obvious what was done before the
redhat 9 update and which package you should consider updating. 

> I think I may take a list of the installed packages and force reinstallation
> of all of 'em...  that'd be easier than re-installing RH9 and letting it
> scrag my / partition, anyway....

Try to check this time ordered listing of all packages. If you cannot
figure things out please send me the output of the command (off the
list) so I can suggest what to do. 

-- Fernando