Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23043 - updated default-x86 profile cause conflicts between iputils and netkit-base
Summary: updated default-x86 profile cause conflicts between iputils and netkit-base
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jon Portnoy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-18 06:48 UTC by Andrea Barisani (RETIRED)
Modified: 2003-06-20 11:12 UTC (History)
1 user (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 Andrea Barisani (RETIRED) gentoo-dev 2003-06-18 06:48:38 UTC
netkit-base has been removed from the default profile in favor of
iputils, in fact an 'emerge -u --deep world' correctly install the new
iputils but without deleting netkit-base.

So after doing the update an 'epm -q -f /bin/ping' shows that the binary
belongs to netkit-base AND iputils. To fix that I've got to do
'emerge unmerge netkit-base ; emerge iputils'.

Clearly when some replacement are made in profiles old packages must
be handled some way. 

Bye

Reproducible: Always
Steps to Reproduce:
1. emerge -u --deep world
2. epm -q -f /bin/ping
3.

Actual Results:  
box root # emerge -pv -u --deep world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild  N   ] net-misc/iputils-020927  -doc 

box root # emerge -u --deep world

box root # epm -q -f /bin/ping
netkit-base-0.17-r6
iputils-020927
Comment 1 Jon Portnoy (RETIRED) gentoo-dev 2003-06-18 17:00:59 UTC
I'll be posting an updated netkit-base that no longer provides conflicting packages soon.
Comment 2 Jon Portnoy (RETIRED) gentoo-dev 2003-06-19 13:24:55 UTC
Just committed -r8 to ~x86 - please test. I'd like to mark it stable as soon as possible, but need testers first.
Comment 3 Andrea Barisani (RETIRED) gentoo-dev 2003-06-20 06:59:04 UTC
I've noticed that unmerging iputils cause some files to remain on the host,
for example /etc/init.d/inetd and /usr/man/man3/daemon.3.gz. In order to
avoid this kind of problems (also the conflict described in this bug) wouldn't
be advisable to create a script that check consistency of installed binaries
against portage db (like double entries) and file not owned by any package?
Comment 4 Andrea Barisani (RETIRED) gentoo-dev 2003-06-20 07:47:15 UTC
By the way I've just tested -r8, looks fine to me.
Comment 5 Jon Portnoy (RETIRED) gentoo-dev 2003-06-20 11:12:36 UTC
inetd and daemon things are only provided by netkit-base, not iputils. iputils doesn't provide any inetd functionality, but most people should use xinetd instead anyway. (netkit-base is still in the tree for people who want old-style inetd).

Thanks, closing bug.