Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280548 - media-sound/alsa-utils-1.0.20-r4: finds obsolete config and dies
Summary: media-sound/alsa-utils-1.0.20-r4: finds obsolete config and dies
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-06 11:38 UTC by Joe Guithues
Modified: 2009-08-06 16:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Guithues 2009-08-06 11:38:19 UTC
Upgrading alsa-utils from 1.0.19-r2 to 1.0.20-r4.  It doesn't resolve an obsolete config file normally.  Obsolete config at /etc/modules.d/alsa which it wants to move to /etc/modprobe.d/alsa.conf

Reproducible: Always

Steps to Reproduce:
1. have previous version of alsa-utils
2. emerge --sync
3. emerge -av1 alsa-utils OR emerge -uaDNv world

Actual Results:  

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] media-sound/alsa-utils-1.0.20-r4 [1.0.19-r2] USE="nls -doc -minimal" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-sound/alsa-utils-1.0.20-r4
 * alsa-utils-1.0.20.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                   [ ok ]
 * checking ebuild checksums ;-) ...                                                                                           [ ok ]
 * checking auxfile checksums ;-) ...                                                                                          [ ok ]
 * checking miscfile checksums ;-) ...                                                                                         [ ok ]
 * Obsolete config /etc/modules.d/alsa found.
 *
 * ERROR: media-sound/alsa-utils-1.0.20-r4 failed.
 * Call stack:
 *                     ebuild.sh, line   49:  Called pkg_setup
 *   alsa-utils-1.0.20-r4.ebuild, line   34:  Called die
 * The specific snippet of code:
 *              die "Move /etc/modules.d/alsa to /etc/modprobe.d/alsa.conf."
 *  The die message:
 *   Move /etc/modules.d/alsa to /etc/modprobe.d/alsa.conf.
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-sound/alsa-utils-1.0.20-r4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/alsa-utils-1.0.20-r4/temp/die.env'.
 *



Expected Results:  
successful upgrade
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-08-06 16:23:24 UTC
This is intentional.
portage won't move/rename config files for you. You have to do it yourself. To ensure that you do it, this error gets triggered. 
No bug but a feature.