Re: atrpms kernel modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2006-07-18 at 10:41 +0200, Axel Thimm wrote:
> On Mon, Jul 17, 2006 at 10:57:28PM -0400, Michael H. Warfield wrote:
> > On Tue, 2006-07-18 at 03:24 +0200, Axel Thimm wrote:
> > > But it's not a real problem, on ATrpms' archives you'll find
> > > three-line recipes that effectively do what you want it to do.
> > 
> > 	Funny...  Livna doesn't seem to have this problem.
> > 
> > 	Ok...  You got some URL's or even some search terms or are we just
> > suppose to spider the archives?

> On Tue, Jul 18, 2006 at 09:10:20AM +0200, Eric Tanguy wrote:
> > I don't have this problem with kernel module from livna but it does not
> > matter. If there is a recipe to do this, can you please give me a more
> > precise pointer and maybe this recipe need to be somewhere on your
> > website.
> > Eric

> The issues are with upgrading within a kernel and coinstalling for
> different kernels. If you merge the two different versions then the
> system can never know whether the packages are to be coinstalled or
> replaced and upgraded. *Both* operations are required. ATrpms solves
> this by requiring one to be done manually. If you merge the versions
> you either sacrifice upgrades within a kernel line or supporting
> concurrently installed kernels.

	Which is exactly what I think I saw with the recent Zaptel release and
the conflicts between the kmdl zaptel modules for the 2145 and 2157
kernels.  They can't coexexist because of the conflicting requirements
for zaptel and it requires manual intervention to clean it up.  I've
never had that happen with Livna and ntfs or ndiswrapper.  Maybe they
didn't do what they appeared to do and maybe there would be some
operational problems if I dropped back to an earlier kernel, but it
routinely installs the new modules and new common code and the current
build ends up updated and operational without manual intervention.

> Here is a more elaborate script ripped out of my own
> anaconda/reinstall system:

> kernels=`rpm -qf /boot/vmlinuz-* | grep -v "^file .* is not owned by any package"`
> uname_rs=`rpm -ql $kernels | grep ^/boot/vmlinuz- | sed -e's,^/boot/vmlinuz-\(.*\)$,\1,'`
> for kmdl in `rpm -qa \*kmdl\* | sed -e's,-kmdl-.*,-kmdl,' | sort -u`;
> do
>   for uname_r in $uname_rs; do
>     package=${kmdl}-$uname_r
>     rpm -q $package > /dev/null 2>&1 || echo $package
>   done
> done | xargs -r smart install -y

> It will coinstall kmdls for any newly installed kernel, even an older
> one.

	Ok... Very cool!  That will definitely come in very handy.  Thx!

> On Mon, Jul 17, 2006 at 10:57:28PM -0400, Michael H. Warfield wrote:
> > --> Running transaction check
> > --> Processing Dependency: ocaml = 3.09.2-1.fc5 for package: labltk
> > --> Processing Dependency: lame = 3.96.1-6.lvn5 for package: lame-mp3x
> > --> Finished Dependency Resolution
> > Error: Missing Dependency: ocaml = 3.09.2-1.fc5 is needed by package labltk
> > Error: Missing Dependency: lame = 3.96.1-6.lvn5 is needed by package lame-mp3x
 
> > 	(I'm looking at most of what it wanted to update and I'm coming to the
> > conclusion that ATrpms and Livna have never learned to play nicey nicey
> > in the same sandbox).

> I think this conclusion is wrong. In your example above there isn't
> any ATrpms package. Also livna and ATrpms are at good terms, even
> though incompatibilites between different repos may always arise. But
> even here the maintainers are thinking of better solutions. Still the
> above example has no ATrpms in it, so it is not from the
> incompatibilities category.

	Ok...  I didn't want to post the "full" example because it's pretty
big.  So, I freshened things up a bit to make sure all packages are
correctly up to date and reran.  Forgive the length.

	First is a simple run with yum update

[root@mtking ~]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
livna                                                                [1/4]
updates                                                              [2/4]
core                                                                 [3/4]
extras                                                               [4/4]
Reading repository metadata in from local files
No Packages marked for Update/Obsoletion

	You will noticed that there are only 4 repos.  Livna, Updates, Core,
and Extras.

	Now...  I'll simply enable ATrpms and nothing else and rerun that same
update (all the packages from ATrpms I have installed on this system are
up to date, so this should, in theory, result in the same thing)...

[root@mtking ~]# yum --enablerepo=atrpms update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
atrpms                                                               [1/5]
livna                                                                [2/5]
updates                                                              [3/5]
core                                                                 [4/5]
extras                                                               [5/5]
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package lm_sensors.i386 0:2.10.0-43.rhfc5.at set to be updated
---> Package libsndfile.i386 0:1.0.16-8.fc5.at set to be updated
---> Package libmad.i386 0:0.15.1b-2.rhfc5.at set to be updated
---> Package lame.i386 0:3.96.1-10.rhfc5.at set to be updated
---> Package libmyth.i386 0:0.19-129.rhfc5.at set to be updated
---> Package libgcrypt.i386 0:1.2.2-12.fc5.at set to be updated
---> Package mplayerplug-in.i386 0:3.25-28.rhfc5.at set to be updated
---> Package clamav.i386 0:0.88.3-19.rhfc5.at set to be updated
---> Package mplayer-fonts.noarch 4:1.0-6.at set to be updated
---> Package xvidcore.i386 0:1.1.0-8.rhfc5.at set to be updated
---> Package libmad-devel.i386 0:0.15.1b-2.rhfc5.at set to be updated
---> Package ffmpeg.i386 0:0.4.9-14_cvs20060301.rhfc5.at set to be updated
---> Package xml-common.noarch 0:0.6.3-17_11.at set to be updated
---> Package pm-utils.i386 0:0.15-1.4cubbi_suspend2 set to be updated
---> Package ocaml.i386 1:3.09.2-14.rhfc5.at set to be updated
---> Package sgml-common.noarch 0:0.6.3-17_11.at set to be updated
---> Package mplayer.i386 4:1.0-54_pre8.fc5.at set to be updated
---> Package lirc.i386 0:0.8.1-cvs20060628_60.rhfc5.at set to be updated
---> Package directfb.i386 0:0.9.25.1-9.rhfc5.at set to be updated
---> Package mplayer-skins.noarch 4:1.0-pre3_12.at set to be updated
---> Package mythtv-themes.i386 0:0.19-129.rhfc5.at set to be updated
---> Package libgpg-error.i386 0:1.3-0_8.rhfc5.at set to be updated
---> Package spamassassin.i386 0:3.1.3-1_31.rhfc5.at set to be updated
---> Package imlib2.i386 0:1.2.1-5.rhfc5.at set to be updated
---> Package lame-devel.i386 0:3.96.1-10.rhfc5.at set to be updated
--> Running transaction check
--> Processing Dependency: libsndfile.so.1 for package: libsndfile
--> Processing Dependency: perl(IO::Zlib) for package: spamassassin
--> Processing Dependency: libavcodec51 = 0.4.9-14_cvs20060301.rhfc5.at for package: ffmpeg
--> Processing Dependency: /usr/bin/pyzor for package: spamassassin
--> Processing Dependency: libavutil.so.49 for package: ffmpeg
--> Processing Dependency: libavcodec.so.51 for package: ffmpeg
--> Processing Dependency: libavformat.so.50 for package: ffmpeg
--> Processing Dependency: libmad.so.0 for package: audacity
--> Processing Dependency: ocaml = 3.09.2-1.fc5 for package: labltk
--> Processing Dependency: libavcodec.so.51 for package: xine-lib
--> Processing Dependency: atrpms-perl-module-helper for package: spamassassin
--> Processing Dependency: libavutil49 = 0.4.9-14_cvs20060301.rhfc5.at for package: ffmpeg
--> Processing Dependency: libpostproc.so.51 for package: xine-lib
--> Processing Dependency: libdc1394_control.so.13 for package: ffmpeg
--> Processing Dependency: perl(Mail::SPF::Query) for package: spamassassin
--> Processing Dependency: liblirc_client.so.0 for package: mplayer
--> Processing Dependency: libgcrypt.so.11 for package: NetworkManager
--> Processing Dependency: liblirc_client.so.0 for package: lirc
--> Processing Dependency: libdirect-0.9.so.25 for package: mplayer
--> Processing Dependency: perl(Mail::DomainKeys) for package: spamassassin
--> Processing Dependency: libsndfile.so.1(libsndfile.so.1.0) for package: libsndfile
--> Processing Dependency: mplayer-skin-mini for package: mplayerplug-in
--> Processing Dependency: libgcrypt.so.11(GCRYPT_1.2) for package: NetworkManager
--> Processing Dependency: libsndfile.so.1 for package: audacity
--> Processing Dependency: lirc-lib = 0.8.1 for package: lirc
--> Processing Dependency: libmad.so.0 for package: mpg321
--> Processing Dependency: libmad0 = 0.15.1b-2.rhfc5.at for package: libmad
--> Processing Dependency: libgcrypt.so.11 for package: yelp
--> Processing Dependency: libgcrypt.so.11 for package: NetworkManager-gnome
--> Processing Dependency: libgcrypt.so.11 for package: libxslt
--> Processing Dependency: libfusion-0.9.so.25 for package: directfb
--> Processing Dependency: libmad.so.0 for package: mplayer
--> Processing Dependency: /usr/bin/dccproc for package: spamassassin
--> Processing Dependency: libsndfile.so.1(libsndfile.so.1.0) for package: libsamplerate
--> Processing Dependency: liblirc_client.so.0 for package: xine
--> Processing Dependency: libxvidcore.so.4 for package: ffmpeg
--> Processing Dependency: libgcrypt.so.11 for package: gnutls
--> Processing Dependency: libgcrypt.so.11(GCRYPT_1.2) for package: vino
--> Processing Dependency: liblirc_client.so.0 for package: libmyth
--> Processing Dependency: libpostproc51 = 0.4.9-14_cvs20060301.rhfc5.at for package: ffmpeg
--> Processing Dependency: perl(IO::Socket::SSL) for package: spamassassin
--> Processing Dependency: libgcrypt.so.11(GCRYPT_1.2) for package: gnutls
--> Processing Dependency: perl(Archive::Tar) for package: spamassassin
--> Processing Dependency: libsndfile.so.1(libsndfile.so.1.0) for package: audacity
--> Processing Dependency: libxvidcore4 = 1.1.0-8.rhfc5.at for package: xvidcore
--> Processing Dependency: libmad.so.0 for package: madplay
--> Processing Dependency: libmad0 = 0.15.1b-2.rhfc5.at for package: libmad-devel
--> Processing Dependency: libdirect-0.9.so.25 for package: directfb
--> Processing Dependency: libgcrypt.so.11(GCRYPT_1.2) for package: libxslt
--> Processing Dependency: libfusion-0.9.so.25 for package: mplayer
--> Processing Dependency: libxvidcore.so.4 for package: mplayer
--> Processing Dependency: libgcrypt.so.11 for package: vino
--> Processing Dependency: perl(Razor2::Client::Version) >= 2.61 for package: spamassassin
--> Processing Dependency: libavformat50 = 0.4.9-14_cvs20060301.rhfc5.at for package: ffmpeg
--> Processing Dependency: libsndfile.so.1 for package: libsamplerate
--> Processing Dependency: lame = 3.96.1-6.lvn5 for package: lame-mp3x
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package libpostproc51.i386 0:0.4.9-14_cvs20060301.rhfc5.at set to be updated
---> Package mplayer-skin-mini.noarch 4:0.1-11.1.at set to be updated
---> Package DCC.i386 0:1.3.37-14.rhfc5.at set to be updated
---> Package libavformat50.i386 0:0.4.9-14_cvs20060301.rhfc5.at set to be updated
---> Package libavcodec51.i386 0:0.4.9-14_cvs20060301.rhfc5.at set to be updated
---> Package libdc1394_control13.i386 0:1.1.0-5.rhfc5.at set to be updated
---> Package libavutil49.i386 0:0.4.9-14_cvs20060301.rhfc5.at set to be updated
---> Package razor-agents.i386 0:2.82-14.rhfc5.at set to be updated
---> Package libfusion-0.9_25.i386 0:0.9.25.1-9.rhfc5.at set to be updated
---> Package pyzor.noarch 0:0.4.0-9.fc4 set to be updated
---> Package perl-Mail-SPF-Query.noarch 0:1.999.1-1.fc5 set to be updated
---> Package atrpms.noarch 0:67-1.at set to be updated
---> Package lirc-lib.i386 0:0.8.1-cvs20060628_60.rhfc5.at set to be updated
---> Package libgcrypt11.i386 0:1.2.2-12.fc5.at set to be updated
---> Package perl-IO-Socket-SSL.noarch 0:0.97-5.fc5.at set to be updated
---> Package perl-Mail-DomainKeys.noarch 0:0.21-2.fc5.at set to be updated
---> Package libdirect-0.9_25.i386 0:0.9.25.1-9.rhfc5.at set to be updated
---> Package libsndfile1.i386 0:1.0.16-8.fc5.at set to be updated
---> Package libmad0.i386 0:0.15.1b-2.rhfc5.at set to be updated
---> Package perl-Archive-Tar.noarch 0:1.29-1 set to be updated
---> Package perl-IO-Zlib.noarch 0:1.04-4.2 set to be updated
---> Package libxvidcore4.i386 0:1.1.0-8.rhfc5.at set to be updated
--> Running transaction check
--> Processing Dependency: perl(Mail::Address) for package: perl-Mail-DomainKeys
--> Processing Dependency: ocaml = 3.09.2-1.fc5 for package: labltk
--> Processing Dependency: perl(Net::CIDR::Lite) >= 0.15 for package: perl-Mail-SPF-Query
--> Processing Dependency: perl(Net::CIDR::Lite) for package: perl-Mail-SPF-Query
--> Processing Dependency: perl(Crypt::OpenSSL::RSA) for package: perl-Mail-DomainKeys
--> Processing Dependency: lame = 3.96.1-6.lvn5 for package: lame-mp3x
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package perl-Crypt-OpenSSL-RSA.i386 0:0.22-3.fc5.at set to be updated
---> Package perl-Net-CIDR-Lite.noarch 0:0.20-1.fc5 set to be updated
---> Package perl-MailTools.noarch 0:1.74-1.fc5 set to be updated
--> Running transaction check
--> Processing Dependency: ocaml = 3.09.2-1.fc5 for package: labltk
--> Processing Dependency: perl(Date::Parse) for package: perl-MailTools
--> Processing Dependency: perl(Crypt::OpenSSL::Bignum) for package: perl-Crypt-OpenSSL-RSA
--> Processing Dependency: perl(Date::Format) for package: perl-MailTools
--> Processing Dependency: lame = 3.96.1-6.lvn5 for package: lame-mp3x
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package perl-Crypt-OpenSSL-Bignum.i386 0:0.03-3.fc5.at set to be updated
---> Package perl-TimeDate.noarch 1:1.16-3.2 set to be updated
--> Running transaction check
--> Processing Dependency: ocaml = 3.09.2-1.fc5 for package: labltk
--> Processing Dependency: lame = 3.96.1-6.lvn5 for package: lame-mp3x
--> Finished Dependency Resolution
Error: Missing Dependency: ocaml = 3.09.2-1.fc5 is needed by package labltk
Error: Missing Dependency: lame = 3.96.1-6.lvn5 is needed by package lame-mp3x

	Ok...  The only difference is that I enabled ATrpms.  I don't know what
it's trying to install, but the list at the very beginning is NOT very
encouraging.  It looks like it's trying to update a bunch of sound and
multimedia packages that I think originally came from Livna (hence my
earlier comment about Livna and ATrpms not cooperating)!  None of those
packages that are selected to be "updated" to a .at rpm came from ATrpms
originally.

	This is all I have installed from ATrpms:

[root@mtking ~]# rpm -qa | grep '\.at$'
spandsp-devel-0.0.2-3_pre26.rhfc5.at
zaptel-kmdl-2.6.17-1.2157_FC5-1.2.7-16.fc5.at
mythtv-0.19-129.rhfc5.at
libpri-devel-1.2.3-8.rhfc5.at
zaptel-1.2.7-16.fc5.at
libpri1-1.2.3-8.rhfc5.at
mythtv-backend-0.19-129.rhfc5.at
asterisk-1.2.10-26.fc5.at
mythtv-frontend-0.19-129.rhfc5.at
spandsp-0.0.2-3_pre26.rhfc5.at
libpri-1.2.3-8.rhfc5.at
asterisk-sounds-1.2.1-7.at
mythtv-themes-0.19-128.rhfc5.at
zaptel-kmdl-2.6.17-1.2157_FC5xen0-1.2.7-16.fc5.at
zaptel-devel-1.2.7-16.fc5.at
libmyth-0.19-128.rhfc5.at
mythtv-setup-0.19-129.rhfc5.at
asterisk-devel-1.2.10-26.fc5.at

	None of that shows up in the original "to be updated" pile before the
first transaction check.

> > I've been in dependency hell too often after making that mistake and
> > the above is an illustration why.

> You should perhaps try using smart instead of yum. At the very least
> it will not bail out and you will get a better understanding of which
> package was trying to block the upgrade process.

	I'll give smart a look.

> > 	If I am totally up to date with the other repositories, why in the name
> > of Budda does ATrpm try to update stuff that was never installed from
> > ATrpms in the first place and then dick up the dependencies????

> Sorry, see above, there is nothing from ATrpms trying to install.

	Then what's with that second yum update?  What's it trying to do?
Sorry I didn't include more of the update output in the earlier message.
The first part of the update is much clearer on what it's trying to do
and would have answered that question.

	Regards,
	Mike
-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw@xxxxxxxxxxxx
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471        | possible worlds.  A pessimist is sure of it!

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux