F8 - F9 rpms

2008-06-25 Thread Mark Haney
Most of you know I've had wireless card problems recently and decided to 
upgrade that box from F8 to F9 to see if this fixed some of that. Well 
it seems to have fixed /some/ but not all.  At this stage Im content 
with it as is as far as the wireless goes, since it's up and Im in the 
middle of using it to test a new GigE circuit we're bringing up for my 
office.


But, what bothers me now is the extraordinary number of F8 packages left 
on the box after the upgrade.  I don't use 3rd party repos, so that's 
not really an issue.  But what I don't get is, is that SOP for this 
upgrade?  To have lots of F8 packages left?  I mean it doesn't even look 
like there are F9 equivalents for various F8 packages I would call 
'important' like fedora-usermgmt-shadow-utils.  Part of the problem is 
that yum update completely implodes with dependency problems because of 
these legacy RPMs.  I know some of them have F9 equivalents that were 
installed, but not all.  I'm still working on a way to grep for all the 
packages that have both F8 and F9 on that system so I can remove the 
older ones.


So, can someone explain to me why this is so?  Or give me a way to find 
the duplicate packages a little more painlessly and dumping the rpm db 
into a file and manually looking for them?


--
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F8 - F9 rpms -- Complete bollocks.

2008-06-25 Thread Mark Haney

Mark Haney wrote:
I mean it doesn't even look 
like there are F9 equivalents for various F8 packages I would call 
'important' like fedora-usermgmt-shadow-utils.  Part of the problem is 
that yum update completely implodes with dependency problems because of 
these legacy RPMs.  I know some of them have F9 equivalents that were 
installed, but not all.  I'm still working on a way to grep for all the 
packages that have both F8 and F9 on that system so I can remove the 
older ones.


So, can someone explain to me why this is so?  Or give me a way to find 
the duplicate packages a little more painlessly and dumping the rpm db 
into a file and manually looking for them?




Okay, I have more information on this.  I think my rpmdb is completely 
FUBAR.  This is what I'm seeing when I 'yum update php' (for example)


ependencies Resolved

=
 Package Arch   Version  RepositorySize
=
Updating:
 php i386   5.2.6-2.fc8  updates 
1.2 M
 php-cli i386   5.2.6-2.fc8  updates 
2.4 M
 php-common  i386   5.2.6-2.fc8  updates 
227 k
 php-ldapi386   5.2.6-2.fc8  updates 
 30 k
 php-mysql   i386   5.2.6-2.fc8  updates 
 79 k
 php-odbci386   5.2.6-2.fc8  updates 
 47 k
 php-pdo i386   5.2.6-2.fc8  updates 
 61 k

Installing for dependencies:
 openssl i386   0.9.8b-17.fc8fedora 
1.4 M



Note, all these are FC8 updates (apparently).

Now, when I query rpm for php packages I get this:

[EMAIL PROTECTED] temp]# rpm -qa | grep php
php-5.2.5-7.fc9.i386
php-ldap-5.2.5-7.fc9.i386
php-odbc-5.2.5-7.fc9.i386
php-pdo-5.2.5-7.fc9.i386
php-mysql-5.2.5-7.fc9.i386
php-cli-5.2.5-7.fc9.i386
php-common-5.2.5-7.fc9.i386


So, it looks to me like I have F9 packages installed (at v5.2.5-7) but 
that the /updated/ php version is 5.2.6-2 F8?  I'm getting the feeling 
this upgrade wasn't as complete as the GUI told me it was.


Now, what do I do to fix this?




--
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F8 - F9 rpms -- Complete bollocks.

2008-06-25 Thread Rahul Sundaram

Mark Haney wrote:


Here's what I see.  It all points to F9 repos:

[EMAIL PROTECTED] yum.repos.d]# yum repolist
Loaded plugins: refresh-packagekit
repo id  repo name status
InstallMedia Fedora 8  enabled
adobe-linux-i386 Adobe Systems Incorporatedenabled
fedora   Fedora 9 - i386   enabled
updates  Fedora 9 - i386 - Updates enabled

Except the InstallMedia one.  Could that be the problem?


Yes. Disable or remove that repository file and then run

# yum install yum-utils
# package-cleanup --problems

Clean them up and run

# yum update

Rahul

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F8 - F9 rpms -- Complete bollocks.

2008-06-25 Thread Mark Haney

Rahul Sundaram wrote:

Mark Haney wrote:


Here's what I see.  It all points to F9 repos:

[EMAIL PROTECTED] yum.repos.d]# yum repolist
Loaded plugins: refresh-packagekit
repo id  repo name status
InstallMedia Fedora 8  enabled
adobe-linux-i386 Adobe Systems Incorporatedenabled
fedora   Fedora 9 - i386   enabled
updates  Fedora 9 - i386 - Updates enabled

Except the InstallMedia one.  Could that be the problem?


Yes. Disable or remove that repository file and then run

# yum install yum-utils
# package-cleanup --problems

Clean them up and run

# yum update

Rahul



I can do that, but it does not explain the yum update output for PHP as 
compared to the RPM query of PHP.  How can I tell if I'm getting the 
correct repos (maybe $releasever is being substituted incorrectly in yum 
somehow).



--
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F8 - F9 rpms -- Complete bollocks.

2008-06-25 Thread Rahul Sundaram

Mark Haney wrote:

I can do that, but it does not explain the yum update output for PHP as 
compared to the RPM query of PHP.  How can I tell if I'm getting the 
correct repos (maybe $releasever is being substituted incorrectly in yum 
somehow).


If #yum repolist points to Fedora 9 repositories completely, you 
shouldn't have any problems.  Yum can use -d range 1 to 9 to provide 
additional debugging information but simply disabling the Fedora 8 
repositories and running the commands I have given should fix this issue.


Rahul

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F8 - F9 rpms -- Complete bollocks.

2008-06-25 Thread Michael Schwendt
On Wed, 25 Jun 2008 10:50:26 -0400, Mark Haney wrote:

 Here's what I see.  It all points to F9 repos:
 
 [EMAIL PROTECTED] yum.repos.d]# yum repolist
 Loaded plugins: refresh-packagekit
 repo id  repo name status
 InstallMedia Fedora 8  enabled
 adobe-linux-i386 Adobe Systems Incorporatedenabled
 fedora   Fedora 9 - i386   enabled
 updates  Fedora 9 - i386 - Updates enabled
 
 Except the InstallMedia one.  Could that be the problem?

Careful here. That explains nothing. $basearch in your *.repo files
is also in the repo name field, but the repo baseurl could be
hardcoded to point to Fedora 8 updates. Do check your *.repo files
at a lower level, _not_ with yum repolist.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F8 - F9 rpms -- Complete bollocks.

2008-06-25 Thread Michael Schwendt
On Wed, 25 Jun 2008 11:00:20 -0400, Mark Haney wrote:

  # yum install yum-utils
  # package-cleanup --problems
  
  Clean them up and run
  
  # yum update
  
  Rahul
  
 
 I can do that, but it does not explain the yum update output for PHP as 
 compared to the RPM query of PHP.  How can I tell if I'm getting the 
 correct repos (maybe $releasever is being substituted incorrectly in yum 
 somehow).

Run rpm -q fedora-release and also yum clean metadata once your
repository baseurls are verified. And I meant $releasever not $basearch
in my other reply. :)

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F8 - F9 rpms -- Complete bollocks.

2008-06-25 Thread Mark Haney

Michael Schwendt wrote:

On Wed, 25 Jun 2008 10:50:26 -0400, Mark Haney wrote:


Here's what I see.  It all points to F9 repos:

[EMAIL PROTECTED] yum.repos.d]# yum repolist
Loaded plugins: refresh-packagekit
repo id  repo name status
InstallMedia Fedora 8  enabled
adobe-linux-i386 Adobe Systems Incorporatedenabled
fedora   Fedora 9 - i386   enabled
updates  Fedora 9 - i386 - Updates enabled

Except the InstallMedia one.  Could that be the problem?


Careful here. That explains nothing. $basearch in your *.repo files
is also in the repo name field, but the repo baseurl could be
hardcoded to point to Fedora 8 updates. Do check your *.repo files
at a lower level, _not_ with yum repolist.



Well, I did take a look at them manually and they /look/ okay.  I just 
can't tell for certain is $releasever is being inserted as '8' instead 
of '9' somehow.




--
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F8 - F9 rpms -- Complete bollocks.

2008-06-25 Thread Rahul Sundaram

Mark Haney wrote:
Well, I did take a look at them manually and they /look/ okay.  I just 
can't tell for certain is $releasever is being inserted as '8' instead 
of '9' somehow.


That value is derived from /etc/fedora-release. If you are still unsure, 
substituting the variable with a hardcoded number would work for now.


Rahul

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F8 - F9 rpms -- Complete bollocks.

2008-06-25 Thread Michael Schwendt
On Wed, 25 Jun 2008 12:11:20 -0400, Mark Haney wrote:

 Michael Schwendt wrote:
  On Wed, 25 Jun 2008 10:50:26 -0400, Mark Haney wrote:
  
  Here's what I see.  It all points to F9 repos:
 
  [EMAIL PROTECTED] yum.repos.d]# yum repolist
  Loaded plugins: refresh-packagekit
  repo id  repo name status
  InstallMedia Fedora 8  enabled
  adobe-linux-i386 Adobe Systems Incorporatedenabled
  fedora   Fedora 9 - i386   enabled
  updates  Fedora 9 - i386 - Updates enabled
 
  Except the InstallMedia one.  Could that be the problem?
  
  Careful here. That explains nothing. $basearch in your *.repo files
  is also in the repo name field, but the repo baseurl could be
  hardcoded to point to Fedora 8 updates. Do check your *.repo files
  at a lower level, _not_ with yum repolist.
  
 
 Well, I did take a look at them manually and they /look/ okay.  I just 
 can't tell for certain is $releasever is being inserted as '8' instead 
 of '9' somehow.

Unlikely, because above in yum repolist $releasever is 9 for two
repo names. Unless everything is hardcoded ;-) and the InstallMedia
repo is based on $releasever=8.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F8 - F9 rpms -- Complete bollocks.

2008-06-25 Thread Mark Haney

Michael Schwendt wrote:

On Wed, 25 Jun 2008 11:00:20 -0400, Mark Haney wrote:


# yum install yum-utils
# package-cleanup --problems

Clean them up and run

# yum update

Rahul

I can do that, but it does not explain the yum update output for PHP as 
compared to the RPM query of PHP.  How can I tell if I'm getting the 
correct repos (maybe $releasever is being substituted incorrectly in yum 
somehow).


Run rpm -q fedora-release and also yum clean metadata once your
repository baseurls are verified. And I meant $releasever not $basearch
in my other reply. :)



I actually had fedora-release-8 RPM still on the box. Hopefully removing 
that will fix it.




--
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F8 - F9 rpms -- Complete bollocks. -- SOLVED

2008-06-25 Thread Mark Haney

Mark Haney wrote:

Michael Schwendt wrote:

On Wed, 25 Jun 2008 11:00:20 -0400, Mark Haney wrote:


# yum install yum-utils
# package-cleanup --problems

Clean them up and run

# yum update

Rahul

I can do that, but it does not explain the yum update output for PHP 
as compared to the RPM query of PHP.  How can I tell if I'm getting 
the correct repos (maybe $releasever is being substituted incorrectly 
in yum somehow).


Run rpm -q fedora-release and also yum clean metadata once your
repository baseurls are verified. And I meant $releasever not $basearch
in my other reply. :)



I actually had fedora-release-8 RPM still on the box. Hopefully removing 
that will fix it.




That release RPM did it. That was the culprit, I'm not able to get all 
my F9 updates.  Thanks guys.




--
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list