Test install failed because of package conflict

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: Message
Je veux créer un rpm qui modifie le fichier /etc/crontab (qui ajoute une ligne à ce fichier).
 
Je travaille sur et pour une Mandriva 10.2
 
J'ai donc ajouté :
- dans la section %post, la ligne suivante : echo "0-59/5 * * * * root /root/test.sh" >> %{_sysconfdir}/crontab
- dans la section %file, la ligne suivante : %attr(-,root,root) %config(noreplace) %{_sysconfdir}/crontab
 
La génération du rpm se passe bien.
 
Par contre, quand je veux l'installer, il y a une erreur : L'installation a échoué: file /etc/crontab from install of test-1.0.0-1mdk conflicts with file from package crontabs-1.10-4mdk
 
Comment puis je contourner cela ?
 
 
Merci d'avance
 
 
Marc POISSON
Radio France
DSI / Infrastructure - Bureau M115
Tél. 01 56 40 18 91  -  marc.poisson@xxxxxxxxxxxxxxx
 

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux