Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
a couple of emerge/portage problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
andip
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2002
Posts: 116
Location: .no

PostPosted: Thu Nov 13, 2003 7:48 pm    Post subject: a couple of emerge/portage problems Reply with quote

Hi there,

I'm having a slight problem with emerge/portage. A few days back i wanted to replace the "default" mail-"daemon" that's installed with *cron, namely ssmtp with sendmail. This went all ok, and things worked just fine, and i got rid of the pesky "port 25 not open" msg's on my console. This worked just fine, until i wanted to do a update on my crondaemon (and several other apps). This resulted in ssmtp being installed again, and thus overwrote the sendmail-binary. When i try re-emerging sendmail ssmtp "blocks" it, but apparently not the other way around.

The other problem, more an annoyance really, might be linked somehow, has to do with portage and cron. I've had some problems getting cron to do what i want, so i've tried differnd daemons (fcron, dcron and vcron). I'm currently using vcron, but whenever ld.so.cache is updated i get this :

>>> Regenerating /etc/ld.so.cache...
* Caching service dependencies...
* Service 'vcron' already provide 'cron'!;
* Not adding service 'dcron'...

like i said, an annoyance, but i'd like to get it fixed.

Any clues?

cheers
Back to top
View user's profile Send private message
Lion
Apprentice
Apprentice


Joined: 23 Jun 2002
Posts: 207

PostPosted: Fri Nov 14, 2003 12:57 pm    Post subject: Reply with quote

I think both problems you mentioned could stem from the same cause.
Did you unmerge ssmtp after merging sendmail? And did you unmerge the old cron after emerging the new one?

I think in theory when different packages provide the same functionality, they should block each other. After all, it makes no sense to have both ssmtp and sendmail installed at the same time.

But if these packages don't block each other, then you could happily install both of them, and end up in the troubles you are in now.

If you had not yet unmerged the packages you don't use any longer, then try that first. If you had already done that, it may be that they are still registered in /var/cache/edb/world, so you may have to remove them manually from there.

Success!
Back to top
View user's profile Send private message
andip
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2002
Posts: 116
Location: .no

PostPosted: Fri Nov 14, 2003 3:19 pm    Post subject: Reply with quote

thanks for your reply :)

As i mentioned (i think), ssmtp blocks sendmail, but not the other way around.. so, the effect of that is that emerge wants to install ssmtp whenever theres an update for vcron (for instance). Also for alot of other things. But, when i try re-emerging sendmail afterwards, due to the missing bin-files, sendmail is blocked by ssmtp. So i have to remove ssmtp.. as you understand this is a merry-go-round.

EDIT : To answer your question, yes, i _had_ to unmerge ssmtp _before_ i emerged sendmail. (and i still have to do that, everytime i re-emerge sendmail)

The other problem is not related to /var/cache/edb/world afaik. at least, "grep cron /var/cache/edb/world" only gives sys-apps/vcron.

I have no clue as to how i can fix the ssmtp/sendmail-problem, but the dcron/vcron-thing is just some kind of "hangup" i believe. that has to do with updateing/regenerating /etc/ld.so.cache. dcron isn't even installed on my system, even tho it was at one point. the root of this problem is most likely that i forgot to rc-update del dcron default, before i did rc-update add vcron default, or vice versa.

EDIT2: got the dcron-thingy fixed.. just had to remove /etc/init.d/dcron manually.

Anyone know if these problems can "escalate" over time, so that i'll get more mismatches with portage/emerge after a while?

cheers
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9175
Location: beyond the rim

PostPosted: Fri Nov 14, 2003 4:05 pm    Post subject: Reply with quote

check /var/cache/edb/virtuals for packages you no longer want and remove them (but leave the line itself if there is more than one package listed)
Back to top
View user's profile Send private message
andip
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2002
Posts: 116
Location: .no

PostPosted: Fri Nov 14, 2003 4:43 pm    Post subject: Reply with quote

thanks alot Genome, that fixed it.. both sendmail and ssmtp was listed on the same line under "virtual/mta".

While trying to find a solution to this problem i used "regenworld". Apparently this added quite alot of packages i "need" to get, cause now emerge -u world wants me to install _alot_ of gnome-packages, even tho i've had -gnome as a USE-variable for quite a while.

Does anyone know why this is so?

emerge -u world before regenworld wanted to upgrade and install ssmtp and vcron (in that order)
an emerge -u world now, after regenworld, gives me this list :
These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild N ] gnome-base/ORBit2-2.8.2 -doc +ssl
[ebuild N ] gnome-base/gconf-2.4.0.1 -doc
[ebuild U ] sys-apps/vcron-3.0.1-r3 [3.0.1-r2] -selinux
[ebuild U ] media-libs/libsdl-1.2.6-r2 [1.2.6-r1] +oss +alsa -esd -arts -nas +X -dga +xv -xinerama -fbcon +directfb -ggi +svga +aalib +opengl -noaudio -novideo -nojoystick
[ebuild N ] media-libs/xine-lib-1_beta12 -arts -esd +avi +nls +dvd +aalib +X +directfb +oggvorbis +alsa
[ebuild N ] gnome-base/libbonobo-2.4.0 -doc
[ebuild N ] gnome-base/libgnomecanvas-2.4.0 -doc
[ebuild U ] gnome-base/gnome-mime-data-2.4.0 [2.2.0]
[ebuild U ] app-admin/fam-oss-2.6.10-r1 [2.6.9-r3]
[ebuild N ] gnome-base/gnome-vfs-2.4.0 -doc +ssl
[ebuild N ] gnome-base/libgnome-2.4.0 -doc
[ebuild N ] gnome-base/libbonoboui-2.4.0 -doc
[ebuild N ] gnome-base/libgnomeui-2.4.0.1 -doc +jpeg
[ebuild N ] x11-themes/gnome-icon-theme-1.0.9
[ebuild N ] x11-themes/gtk-engines-2.2.0
[ebuild N ] x11-themes/gtk-engines-thinice-2.0.2-r1
[ebuild N ] x11-themes/gnome-themes-2.4.0
[ebuild N ] gnome-base/gnome-desktop-2.4.0
[ebuild N ] x11-wm/metacity-2.6.2
[ebuild N ] gnome-base/gail-1.4.0 -doc
[ebuild N ] gnome-base/eel-2.4.0
[ebuild N ] app-text/opensp-1.5-r1 +nls
[ebuild U ] app-text/openjade-1.3.2-r1 [1.3.1-r6]
[ebuild U ] app-text/docbook-dsssl-stylesheets-1.77-r2 [1.77-r1]
[ebuild N ] net-www/lynx-2.8.4.1c +ssl +nls -ipv6
[ebuild U ] app-text/docbook-sgml-utils-0.6.12 [0.6.11-r2] -tetex
[ebuild U ] app-text/scrollkeeper-0.3.12 [0.3.11-r1] +nls
[ebuild N ] gnome-base/nautilus-2.4.0 +oggvorbis -cups
[ebuild N ] gnome-base/control-center-2.4.0


I'm using "grip", and know that this has caused some gnome-libs to be installed in the past, but this is too much..

anyone?

cheers
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Thu Jan 22, 2004 5:51 pm    Post subject: Reply with quote

tomk pointed out that there are a lot of people having issues with this. The official solution thread is here: Minor service dependancy annoyance... Please post there for further assistance on this topic.

Moving from Portage and Programming.

tomk wrote:
Noticed a few of these *cron posts recently. These are the dupes I've found:

https://forums.gentoo.org/viewtopic.php?t=114461
https://forums.gentoo.org/viewtopic.php?t=124942
https://forums.gentoo.org/viewtopic.php?t=124214
https://forums.gentoo.org/viewtopic.php?t=120640
https://forums.gentoo.org/viewtopic.php?t=119611
https://forums.gentoo.org/viewtopic.php?t=119166
https://forums.gentoo.org/viewtopic.php?t=115113
https://forums.gentoo.org/viewtopic.php?t=105625
https://forums.gentoo.org/viewtopic.php?t=104659
https://forums.gentoo.org/viewtopic.php?t=69621

This seems to be the definative answer:

https://forums.gentoo.org/viewtopic.php?t=121455

Edit: one more i missed

https://forums.gentoo.org/viewtopic.php?t=126998

_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum