ApeZ
October 18, 2020, 8:14am
1
Произошли изменения в файле /etc/portage/repos.conf/zz-calculate.conf
[gentoo]
…
sync-type = calculate
[calculate]
…
sync-type = calculate
[distros]
…
sync-type = calculate
Соответственно система ругается
!!! Repository ‘gentoo’ has sync-type attribute set to unsupported value: ‘calculate’
!!! Installed sync-types are: ‘[‘cvs’, ‘git’, ‘mercurial’, ‘rsync’, ‘svn’, ‘webrsync’]’
!!! Repository ‘calculate’ has sync-type attribute set to unsupported value: ‘calculate’
!!! Installed sync-types are: ‘[‘cvs’, ‘git’, ‘mercurial’, ‘rsync’, ‘svn’, ‘webrsync’]’
!!! Repository ‘distros’ has sync-type attribute set to unsupported value: ‘calculate’
!!! Installed sync-types are: ‘[‘cvs’, ‘git’, ‘mercurial’, ‘rsync’, ‘svn’, ‘webrsync’]’
У меня с такими же значениями этих переменных всё синкается через cl-update.
ApeZ
October 18, 2020, 12:04pm
3
Я посмотрел в архиве этот файл. Там sync-type =git
Поставил так же. Система перестала ругаться. Как должно быть, не знаю.
soda
November 21, 2022, 9:31am
4
Repeatedly, I have had the same issue. Finally I was able to fix it by editing file
$ sudo vim /etc/portage/repos.conf/zz-calculate.conf
and changing all sync-type
values to webrsync
.
Also, pay attention to emerge --sync
messages and update the portage
prior to whole system update.
EDIT : whenever I run cl-update
it will rewrite the sync-type
to calculate
again. Don’t know to deal with this.
EDIT: whenever I run cl-update it will rewrite the sync-type to calculate again. Don’t know to deal with this.
Not just cl-update - I get it with eix-sync, moreover there are number of overwrites, perhaps per each repo.
Used this command for little diagnistic:
inotifywait -m --timefmt '%T' --format 'notify-send "%T: %e"' /etc/portage/repos.conf/zz-calculate.conf | sh
Мне помогла переустановка portage.
Раньше была похожая проблема: httptes://forums.gentoo.org/viewtopic-p-7697438.html
soda: Try to emerge portage again.
update: it’s still =calculate
after eix-sync, but no more errors.
3 Likes