yum wont upgrade noarch -> arch-specific
Michael E Brown
Michael_E_Brown at dell.com
Sun Apr 8 19:26:08 UTC 2007
On Sun, Apr 08, 2007 at 03:08:17PM -0400, seth vidal wrote:
> On Sun, 2007-04-08 at 13:24 -0500, Michael E Brown wrote:
> > On Sun, Apr 08, 2007 at 07:50:53PM +0200, Michael Schwendt wrote:
> > > On Sun, 8 Apr 2007 12:15:14 -0500, Michael E Brown wrote:
> > >
> > > > Based upon the numerous comments about how firmware-addon-dell
> > > > should not be noarch, I converted it to arch-specific over the weekend
> > > > along with some other bugfixes I was making. In the previous thread,
> > > > somebody had stated that yum would handle this properly.
> > >
> > > Yes, it does.
> > >
> > > > Well, it turns out that yum will not upgrade a noarch.rpm to
> > > > arch-specific in FC6, at least, so I am busted.
> > > >
> > > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=235632
> > >
> > > Cannot confirm. Works for me. FC6 and Rawhide.
> > >
> > > $ rpm -q test
> > > test-1.0-0.fdr.3.fc7.7
> > > $ rpm -q test --qf %{arch}\\n
> > > noarch
> > >
> > > $ sudo yum update
> > > [...]
> > > ---> Package test.i386 0:1.0-0.fdr.4.fc7.7 set to be updated
> > > Checking deps for test.i386 0-1.0-0.fdr.4.fc7.7 - u
> > > Checking deps for test.noarch 0-1.0-0.fdr.3.fc7.7 - None
> > > filelists.xml.gz 100% |=========================| 402 B 00:00
> > >
> > > Dependencies Resolved
> > >
> > > =============================================================================
> > > Package Arch Version Repository Size
> > > =============================================================================
> > > Updating:
> > > test i386 1.0-0.fdr.4.fc7.7 misc 35 k
> >
> > I am wondering if this is just an issue going from .noarch -> x86_64,
> > because I set up a similar test, and going from noarch->i386 worked
> > fine, but noarch->x86_64 did not.
>
> it shouldn't matter but I'm curious of this:
>
> yum list pkgname
>
>
> I'd like to see all the potential updates that are available, please.
Should have posted this, because I ran it several times while verifying things:
$ sudo yum list firmware-addon-dell
[...]
Setting up repositories
macromedia 100% |=========================| 951 B 00:00
updates 100% |=========================| 1.2 kB 00:00
core 100% |=========================| 1.1 kB 00:00
extras 100% |=========================| 1.1 kB 00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
0 packages excluded due to repository priority protections
0 packages excluded due to repository protections
Installed Packages
firmware-addon-dell.noarch 1.2.6-1.fc6 installed
Available Packages
firmware-addon-dell.x86_64 1.2.10-1.fc6 extras
More information about the fedora-devel-list
mailing list