Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33605 - too much same (kernel module tools) files from two packages
Summary: too much same (kernel module tools) files from two packages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High critical (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
: 34061 46793 56384 61606 61672 61820 61854 62525 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-16 06:53 UTC by Martin Holzer (RETIRED)
Modified: 2004-09-17 23:25 UTC (History)
9 users (show)

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 Martin Holzer (RETIRED) gentoo-dev 2003-11-16 06:53:03 UTC
see 
#qpkg -l module-init-tools
#qpkg -l modutils

they overwrite each other
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-11-16 06:54:37 UTC
at least

modprobe, depmod, rmmod and insmod shows

sys-apps/module-init-tools *
sys-apps/modutils *
Comment 2 SpanKY gentoo-dev 2003-11-16 07:36:09 UTC
if you want to use 2.6.x then emerge module-init-tools
then to use 2.4.x, use modprobe.old, depmod.old, etc...

about the only to do here would be to put blockers against the other package ...
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-11-16 14:55:07 UTC
Both provide virtual/modutils - when we go perm 2.6, module-init-tools will
provide the default for this, so it is your responsibility for now (like any
other instance where more than one packages supply the same virtual) to
unmerge the older one if you merge a new one.
Comment 4 SpanKY gentoo-dev 2003-11-21 14:36:44 UTC
*** Bug 34061 has been marked as a duplicate of this bug. ***
Comment 5 SpanKY gentoo-dev 2004-07-07 17:01:43 UTC
*** Bug 56384 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2004-08-25 17:55:21 UTC
*** Bug 46793 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2004-08-25 17:55:25 UTC
*** Bug 61672 has been marked as a duplicate of this bug. ***
Comment 8 Tim Yamin (RETIRED) gentoo-dev 2004-08-25 18:28:12 UTC
*** Bug 61606 has been marked as a duplicate of this bug. ***
Comment 9 Andrej Kacian (RETIRED) gentoo-dev 2004-08-25 23:59:00 UTC
I accept the fact about it being "our responsibility", but f.e. I had no clue that I need module-init-tools instead of modutils after moving to 2.6 kernel. There should atleast be a ewarn message in kernel-2.eclass that informs user about this.
Comment 10 Tim Yamin (RETIRED) gentoo-dev 2004-08-26 13:14:24 UTC
*** Bug 61820 has been marked as a duplicate of this bug. ***
Comment 11 Daniel Drake (RETIRED) gentoo-dev 2004-09-01 14:43:12 UTC
*** Bug 62525 has been marked as a duplicate of this bug. ***
Comment 12 Daniel Drake (RETIRED) gentoo-dev 2004-09-02 05:17:12 UTC
Can we do anything about this? It seems that a lot of users are running into problems, especially after the recent modutils upgrade (modutils overwrites module-init-tools' core binaries).
Comment 13 Daniel Drake (RETIRED) gentoo-dev 2004-09-02 05:17:23 UTC
*** Bug 61854 has been marked as a duplicate of this bug. ***
Comment 14 SpanKY gentoo-dev 2004-09-02 06:26:41 UTC
they block each other now
Comment 15 Daniel Drake (RETIRED) gentoo-dev 2004-09-14 13:26:48 UTC
Looks like we can't win that easily.. Users who have both modutils and module-init-tools installed are running into issues now that the block is in place.

From an emerge -u world:

[blocks B     ] sys-apps/modutils (from pkg sys-apps/module-init-tools-3.0-r2)
[blocks B     ] sys-apps/module-init-tools (from pkg sys-apps/modutils-2.4.25)

Anything more we can do, or just let users figure it out?
Comment 16 SpanKY gentoo-dev 2004-09-14 14:30:23 UTC
blockers are simple, you remove one

we cant try and guess which version the user wants
Comment 17 Joakim 2004-09-16 14:28:50 UTC
Well it doesn't seam to help in this case. I remove module-init-tools (whitch I don't understand why was installed at first place as I use a 2.4 kernel and headers), re-emerge modutils(as I read they overwrite each other) and on emerge world portage complains the 'modutils' block 'module-init-tools' which portage for some reason want to intall again.

If I have understood it right 'module-init-tools' are for 2.6 kernels and headers or?
Comment 18 SpanKY gentoo-dev 2004-09-16 15:47:38 UTC
cant really help w/out `emerge info`
Comment 19 Joakim 2004-09-17 02:23:00 UTC
Ok sorry, it was late :-) here it is:

merc ~ # emerge info
Portage 2.0.51_rc1 (default-linux/x86/2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.4.27-gentoo-r1 i586)
=================================================================
System uname: 2.4.27-gentoo-r1 i586 AMD-K6(tm) 3D+ Processor
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21,sys-kernel/linux-headers-2.4.22,sys-kernel/linux-headers-2.4.19-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=k6-3 -O3 -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k6-3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox sfperms"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://www.gigaload.org/gentoo.org/ http://gentoo.mirror.sdv.fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="aalib apache2 avi berkdb crypt encode foomaticdb gd gdbm ggi gif gpm gtk2 imap imlib jpeg libg++ libwww mad maildir mpeg mysql ncurses nls pam pdflib perl png python quicktime readline sasl sdl slang snmp spell ssl tcpd tiff truetype usb vhosts wmf x86 xml xml2 zeo zlib"
Comment 20 SpanKY gentoo-dev 2004-09-17 05:32:37 UTC
check your world file to make sure both arent listed ...
Comment 21 Joakim 2004-09-17 09:45:13 UTC
Nope, only modutils. I had 'gentoo-test-sources' there as well as 'gentoo-sources', probably because they were 'test' when I upgraded the kernel first. But even removing it leave emerge to call for a need to install 
Comment 22 Joakim 2004-09-17 09:45:13 UTC
Nope, only modutils. I had 'gentoo-test-sources' there as well as 'gentoo-sources', probably because they were 'test' when I upgraded the kernel first. But even removing it leave emerge to call for a need to install ämodule-init-tools'? Here is my complete world:

media-libs/gd
dev-tcltk/expect
media-libs/tiff
dev-perl/libwww-perl
dev-db/mysql
app-arch/unzip
app-dicts/aspell-cs
dev-libs/openssl
dev-perl/XML-Parser
dev-perl/MIME-Base64
app-portage/mirrorselect
www-client/prozilla
dev-perl/TermReadKey
app-crypt/mhash
net-www/apache
app-arch/unrar
mail-client/mutt
dev-perl/Test-Builder-Tester
net-analyzer/snort
app-admin/syslog-ng
sys-kernel/gentoo-sources
net-dns/bind
sys-devel/libperl
dev-perl/Digest-MD5
app-admin/ulogd
dev-perl/DBD-mysql
media-libs/libpng
net-mail/courier-imap
sys-fs/reiserfsprogs
dev-perl/DB_File
net-misc/lrzsz
dev-perl/CGI
dev-util/dialog
net-libs/libwww
dev-perl/DBI
net-www/webapp-config
media-libs/pdflib
dev-libs/cyrus-sasl
net-mail/vacation
dev-perl/Test-Harness
sys-apps/modutils
sys-libs/glibc
app-editors/nano
dev-php/mod_php
net-misc/ntp
app-admin/makepasswd
app-dicts/aspell-sv
mail-filter/spamassassin
app-admin/usermin   
app-text/ghostscript
dev-perl/Archive-Tar
dev-libs/libxslt   
dev-perl/Safe   
net-misc/telnet-bsd
mail-mta/postfix    
dev-perl/Authen-PAM     
app-arch/lha       
dev-perl/Net-Daemon 
sys-apps/memtest86
net-analyzer/net-snmp
net-www/lynx  
dev-util/strace 
app-portage/ufed            
app-admin/logrotate
mail-filter/amavis 
sys-devel/gettext        
app-admin/webmin
dev-perl/Storable
net-ftp/pure-ftpd  
sys-libs/pam_mysql
dev-perl/Net-SSLeay
dev-libs/libxml2 
dev-libs/gmp         
app-dicts/aspell-en 
dev-perl/Archive-Zip
dev-php/jpgraph
app-dicts/aspell-es
net-firewall/iptables
app-portage/gentoolkit
net-dns/bind-tools
app-dicts/aspell-uk  
dev-perl/module-build
dev-perl/PlRPC     
dev-libs/libpcre 
sys-apps/fcron       
sys-apps/coreutils
net-misc/whois
net-www/mod_layout
dev-perl/mod_perl
dev-perl/Convert-UUlib
app-antivirus/clamav
net-www/mod_auth_mysql
net-firewall/shorewall  
app-crypt/gnupg     
dev-perl/MIME-tools 
app-text/aspell     
media-gfx/imagemagick
dev-perl/MD5    
app-admin/apg

Is upgrade from gentoo-sources-2.4 to 2.6 a plain go, or does it need a lot of 'fixing'? I assume 2.6 start to become defacto now or stil unstable?
Comment 23 Joakim 2004-09-17 12:03:14 UTC
Well just found out that module-init-tools are backward compatible with 2.4 so the correct thing to do is removing modutils rather then module-init-tools. Now I just wonder how it is with this and 2.6 headers, are they also backward compatible. Asking because there seam to be an issue with new glibc that seam to need the 2.6 headers to compile.
Comment 24 André Terpstra 2004-09-17 23:25:32 UTC
To compile the new glibc:

emerge unmerge linux-headers
emerge linux26-headers
emerge glibc