[Yum-devel] freaky
Tim Lauridsen
tim.lauridsen at googlemail.com
Wed Dec 12 12:35:28 UTC 2007
seth vidal wrote:
> fedora 8 - i686 box:
>
> yum list kernel
> Installed Packages
> kernel.i686 2.6.23.1-49.fc8 installed
> Available Packages
> kernel.i586 2.6.23.8-63.fc8 updates
> kernel.i686 2.6.23.8-63.fc8 updates
>
> why the kernel.i586 is listed is whatever but now watch this:
>
> yum install kernel
> Setting up Install Process
> Parsing package install arguments
> Resolving Dependencies
> --> Running transaction check
> ---> Package kernel.i686 0:2.6.23.1-42.fc8 set to be installed
> ---> Package kernel.i686 0:2.6.23.8-63.fc8 set to be installed
> --> Finished Dependency Resolution
>
> Dependencies Resolved
>
> =============================================================================
> Package Arch Version Repository
> Size
> =============================================================================
> Installing:
> kernel i686 2.6.23.1-42.fc8 fedora 16 M
> kernel i686 2.6.23.8-63.fc8 updates 16 M
>
> Transaction Summary
> =============================================================================
> Install 2 Package(s)
> Update 0 Package(s)
> Remove 0 Package(s)
>
> Total download size: 32 M
> Is this ok [y/N]:
>
> the hell?
>
> okay now it gets even more fun:
>
> import yum
> my = yum.YumBase()
> my.install(name='kernel')
> for pkg in my.tsInfo.getMembers():
> print pkg.po
>
>>> kernel - 2.6.23.8-63.fc8.i686
> my.resolveDeps()
> for pkg in my.tsInfo.getMembers():
> print pkg.po
>>> kernel - 2.6.23.8-63.fc8.i686
>
> so my.install() is working but cli's installs are broooooooooken.
>
> I'll be playing with this tomorrow but I have this sinking suspicion a
> lot of code may end up getting a beating.
>
> -sv
>
>
>
>
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at linux.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum-devel
Yes, this is freaky
it get this result.
$ yum list kernel
Loading "fedorakmod" plugin
Installed Packages
kernel.i686 2.6.23.1-49.fc8
installed
kernel.i686 2.6.23.8-63.fc8
installed
Available Packages
kernel.i586 2.6.23.8-63.fc8 updates
[tim at naboo iniparse]$ yum install kernel
Loading "fedorakmod" plugin
You need to be root to perform this command.
$ sudo yum install kernel
Password:
Loading "fedorakmod" plugin
updates-testing 100% |=========================| 2.3 kB
00:00
livna 100% |=========================| 2.1 kB
00:00
fedora 100% |=========================| 2.1 kB
00:00
adobe-linux-i386 100% |=========================| 951 B
00:00
updates 100% |=========================| 2.3 kB
00:00
Setting up Install Process
Parsing package install arguments
Package kernel - 2.6.23.8-63.fc8.i686 is already installed.
Resolving Dependencies
--> Running transaction check
---> Package kernel.i686 0:2.6.23.1-42.fc8 set to be installed
--> Finished Dependency Resolution
--> Running transaction check
---> Package kernel.i686 0:2.6.23.1-42.fc8 set to be installed
---> Package kernel.i686 0:2.6.23.1-49.fc8 set to be erased
--> Processing Dependency: kernel-i686 = 2.6.23.1-49.fc8 for package:
kmod-madwifi-2.6.23.1-49.fc8
--> Running transaction check
---> Package kmod-madwifi-2.6.23.1-49.fc8.i686 0:0.9.3.3-10.lvn8 set to
be erased
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository
Size
=============================================================================
Installing:
kernel i686 2.6.23.1-42.fc8 fedora
16 M
Removing:
kernel i686 2.6.23.1-49.fc8 installed
45 M
Removing for dependencies:
kmod-madwifi-2.6.23.1-49.fc8 i686 0.9.3.3-10.lvn8 installed
625 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 2 Package(s)
Total download size: 16 M
Is this ok [y/N]: n
Exiting on user Command
Complete!
I have commit a unittest test to show the problem.
so 'make test' will so the current issue.
Tim
More information about the Yum-devel
mailing list