Jump to content

Photo

About /var/mail/root

- - - - -

Best Answer cardinal , 27 September 2016 - 12:23 AM

The error message in your first post:

egencache: error: --repo option is required

Your existing crontab has no --repo option:

00      21      *       *       *       /usr/bin/egencache --update-use-local-desc

you don't need to run update of use-local-desc. it's in included in portage tree. But real problem in your case was missing --repo=gentoo

Replace --update-use-local-desc with --repo=gentoo

00      21      *       *       *       /usr/bin/egencache --repo=gentoo
Go to the full post »


6 replies to this topic

#1
Sandro

Sandro

    Advanced Member

  • Members
  • PipPipPip
  • 339 posts
  • LocationSaronno, Via IV Novembre, 23 21047 Italy

Hi ... reading the mails for root, i can see this error

Date: Thu, 22 Sep 2016 21:00:01 +0200 (CEST) 

usage: egencache [options] <action> ... [atom] ...
egencache: error: --repo option is required

From root@ci74771ht.localdomain  Fri Sep 23 21:00:01 2016
Return-Path: <root@ci74771ht.localdomain>
X-Original-To: root
Delivered-To: root@ci74771ht.localdomain
Received: by ci74771ht.localdomain (Postfix, from userid 0)
       id D984F100821; Fri, 23 Sep 2016 21:00:01 +0200 (CEST)
From: root@ci74771ht.localdomain (Cron Daemon)
To: root@ci74771ht.localdomain
Subject: Cron <root@ci74771ht> /usr/bin/egencache --update-use-local-desc
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Message-Id: <20160923190001.D984F100821@ci74771ht.localdomain>
Date: Fri, 23 Sep 2016 21:00:01 +0200 (CEST)

usage: egencache [options] <action> ... [atom] ...
egencache: error: --repo option is required

It is related to vixie-cron & anacron.

 

My crontab :

ci74771ht ~ # crontab -l 
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/home/sandro/Funtoo/crons.cron installed on Sat Jul 30 23:39:51 2016)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
00      23      1       *       *       /sbin/fstrim -v -a >> /var/log/fstrim.lo
g
00      22      *       *       *       /usr/bin/updatedb
00      21      *       *       *       /usr/bin/egencache --update-use-local-desc

Thanks for any suggestion ^^



#2
Oleg Vinichenko

Oleg Vinichenko

    Staff

  • Moderators
  • 362 posts

why do you run egencache --update-use-local-desc?


www.funtoo.org

#3
Sandro

Sandro

    Advanced Member

  • Members
  • PipPipPip
  • 339 posts
  • LocationSaronno, Via IV Novembre, 23 21047 Italy

why do you run egencache --update-use-local-desc?

Cause I sincerely don't know if it must be "refreshed" (similar mlocate/updatedb for example)

 

If mi thought is incorrect ... i will remove the instruction from crontab :)



#4
Oleg Vinichenko

Oleg Vinichenko

    Staff

  • Moderators
  • 362 posts

you don't need to run update of use-local-desc. it's in included in portage tree. But real problem in your case was missing --repo=gentoo


  • Sandro likes this
www.funtoo.org

#5
Sandro

Sandro

    Advanced Member

  • Members
  • PipPipPip
  • 339 posts
  • LocationSaronno, Via IV Novembre, 23 21047 Italy

you don't need to run update of use-local-desc. it's in included in portage tree. But real problem in your case was missing --repo=gentoo

 

Excuse me i've not understood ..... where i must add "--repo=gentoo" ?

 

excuse my ignorance :|



#6
cardinal

cardinal

    Advanced Member

  • Members
  • PipPipPip
  • 232 posts
✓  Best Answer

The error message in your first post:

egencache: error: --repo option is required

Your existing crontab has no --repo option:

00      21      *       *       *       /usr/bin/egencache --update-use-local-desc

you don't need to run update of use-local-desc. it's in included in portage tree. But real problem in your case was missing --repo=gentoo

Replace --update-use-local-desc with --repo=gentoo

00      21      *       *       *       /usr/bin/egencache --repo=gentoo

  • Sandro likes this

#7
Sandro

Sandro

    Advanced Member

  • Members
  • PipPipPip
  • 339 posts
  • LocationSaronno, Via IV Novembre, 23 21047 Italy

egencache --repo=gentoo --update-use-local-desc

 

Thx Oleg and Cardinal :) 

 

excuse me for my "stupid" question _'_

 

Thx to All :)





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users