Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge/portage tells me service vcron already provide cron!
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
HomerSimpson
l33t
l33t


Joined: 25 Jan 2003
Posts: 869
Location: Ohio, USA

PostPosted: Mon Nov 10, 2003 6:56 pm    Post subject: emerge/portage tells me service vcron already provide cron! Reply with quote

I had been using vcron for many months. I had a problem with it so I went with dcron. The problem in vcron was solved so I went back to vcron but everytime now that I emerge anything I get this message:
Code:
 Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
 *  Service 'vcron' already provide 'cron'!;
 *  Not adding service 'dcron'...                                         [ ok ]


I just emerged dosemu and it gave me the above message. How do I clean it up? I am running vcron now (again).

Thx
_________________
The strong must protect the Sweet.
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: Mon Nov 10, 2003 7:06 pm    Post subject: Reply with quote

Did you remove dcron from your default runlevel ?
Back to top
View user's profile Send private message
aja
l33t
l33t


Joined: 26 Aug 2002
Posts: 705
Location: Edmonton, Canada

PostPosted: Mon Nov 10, 2003 7:09 pm    Post subject: Reply with quote

You probably need to issue

Code:

rc-update del dcron


To remove it from your service dependancies. It looks like you have both vcron and dcron registered to start.

Code:

rc-update show


To see your services list.
Back to top
View user's profile Send private message
HomerSimpson
l33t
l33t


Joined: 25 Jan 2003
Posts: 869
Location: Ohio, USA

PostPosted: Mon Nov 10, 2003 9:47 pm    Post subject: Reply with quote

I had already deleted it from my default runlevel before posting but I did it again to make sure:
Code:
# rc-update del dcron
 * dcron not found in any of the specified runlevels.


rc-update does show dcron in the list but it has no runlevel associated with it.

I found that dcron was still in /etc/init.d/dcron and deleted it and now it no longer shows up when I do:
Code:
rc-update show


On the next emerge I didn't notice the error.

Thanks for your help!
_________________
The strong must protect the Sweet.
Back to top
View user's profile Send private message
PatG
n00b
n00b


Joined: 27 Oct 2003
Posts: 62
Location: texas

PostPosted: Tue Nov 11, 2003 2:04 am    Post subject: Reply with quote

I had a similar problem with the syslog because I did not read the install docs close enough and tried to set 2 loggers to start on the default runlevel. Try this:

# rc-update del vcron
# rc-update add dcron default (to be sure it is on the default run level)
# reboot

# rc-update del dcron
# rc-update add vcron default
# reboot

Essentially your delete the valid entry (the one you want), let the other one run for one reboot and then switch it back. I did something similar to this. I know it is not elegant but I could not figure out another way.
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:50 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