One Repository is Corrupted. Cannot Validate [Solved].

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

One Repository is Corrupted. Cannot Validate [Solved].

Postby albfneto » Wed Aug 02, 2017 16:07

In my main Sabayon installation, today, 08-03-2017, one of my entropy repositories (sabayonlinux.org) seems corrupted and cannot validated....

I use Sabayonlinux.org, Sabayon Limbo and 3 Community repos (Community, Mudler and KDE-Unstable.

this is the overall error in the "# equo up" command:

Code: Select all
$ sudo equo up☛ Repositório sabayonlinux.org está corrompido. Não é possível validar
☛ SystemDatabaseError()
╠  @@ Sincronização de repositórios ...
╠   # mudler Repository
╠   # URL do Repositório: http://mirror1.mirror.garr.it/mirrors/sabayonlinux/community/mudler/standard/mudler/database/amd64/5 [bz2]
╠   # Diretório local da base de dados: /var/lib/entropy/client/database/amd64/mudler/standard/amd64/5
╠   # API do repositório: 2
╠   #  (1/1) Verificando URL: http://mirror1.mirror.garr.it/mirrors/sabayonlinux╠   # URL Selecionada: http://mirror1.mirror.garr.it/mirrors/sabayonlinux/community/mudler/standard/mudler/database/amd64/5 [bz2]
╠       Atenção: Todos os repositórios atualizados..
╠   # kde-unstable Repository
╠   # URL do Repositório: http://mirror1.mirror.garr.it/mirrors/sabayonlinux/community/kde-unstable/standard/kde-unstable/database/amd64/5 [bz2]
╠   # Diretório local da base de dados: /var/lib/entropy/client/database/amd64/kde-unstable/standard/amd64/5
╠   # API do repositório: 2
╠   #  (1/1) Verificando URL: http://mirror1.mirror.garr.it/mirrors/sabayonlinux╠   # URL Selecionada: http://mirror1.mirror.garr.it/mirrors/sabayonlinux/community/kde-unstable/standard/kde-unstable/database/amd64/5 [bz2]
╠       Atenção: Todos os repositórios atualizados..
╠   # community Repository
╠   # URL do Repositório: http://mirror1.mirror.garr.it/mirrors/sabayonlinux/community/community/standard/community/database/amd64/5 [bz2]
╠   # Diretório local da base de dados: /var/lib/entropy/client/database/amd64/community/standard/amd64/5
╠   # API do repositório: 2
╠   #  (1/1) Verificando URL: http://mirror1.mirror.garr.it/mirrors/sabayonlinux╠   # URL Selecionada: http://mirror1.mirror.garr.it/mirrors/sabayonlinux/community/community/standard/community/database/amd64/5 [bz2]
╠       Atenção: Todos os repositórios atualizados..
╠   # Sabayon Limbo Testing Repository, do not mix with sabayon-weekly, use with sabayonlinux.org
╠   # URL do Repositório: http://pkg.sabayon.org/standard/sabayon-limbo/database/amd64/5 [bz2]
╠   # URL do Repositório: http://pkg.repo.sabayon.org/standard/sabayon-limbo/database/amd64/5 [bz2]
╠   # Diretório local da base de dados: /var/lib/entropy/client/database/amd64/sabayon-limbo/standard/amd64/5
╠   # API do repositório: 3
╠   #  (1/2) Verificando URL: http://pkg.sabayon.org/standard/sabayon-limbo/data╠   # URL Selecionada: http://pkg.sabayon.org/standard/sabayon-limbo/database/amd64/5 [bz2]
╠       Atenção: Todos os repositórios atualizados..
╠   # Sabayon Linux Official Repository
╠   # URL do Repositório: http://pkg.sabayon.org/standard/sabayonlinux.org/database/amd64/5 [bz2]
╠   # URL do Repositório: http://pkg.repo.sabayon.org/standard/sabayonlinux.org/database/amd64/5 [bz2]
╠   # Diretório local da base de dados: /var/lib/entropy/client/database/amd64/sabayonlinux.org/standard/amd64/5
╠   # API do repositório: 2
╠   #  (1/2) Verificando URL: http://pkg.sabayon.org/standard/sabayonlinux.org/d╠   # URL Selecionada: http://pkg.sabayon.org/standard/sabayonlinux.org/database/amd64/5 [bz2]
☢ Oi, sou o Repórter dos Bugs. Desculpe. Seu Programa travou. Bem, você sabe, aconteceu alguma merda... rs!
☢ Mas há algo que você poderia fazer para ajudar a me tornar uma aplicação melhor.
☢ -- POR FAVOR, NÃO REPORTE A MESMA COISA MAIS DE UMA VEZ--
☢ Agora estou mostrando o que acontece. Não entre em pânico, estou aqui para ajudá-lo.
Traceback (most recent call last):
  File "/usr/bin/equo", line 15, in <module>
    main()
  File "/usr/lib/entropy/client/solo/main.py", line 332, in main
    exit_st = func(*func_args)
  File "/usr/lib/entropy/client/solo/commands/command.py", line 406, in _call_exclusive
    return func(client)
  File "/usr/lib/entropy/client/solo/commands/update.py", line 115, in _update
    rc = self._normal_update(entropy_client)
  File "/usr/lib/entropy/client/solo/commands/update.py", line 236, in _normal_update
    rc = repo_intf.sync()
  File "/usr/lib/entropy/lib/entropy/client/interfaces/repository.py", line 327, in sync
    rc = self._run_sync()
  File "/usr/lib/entropy/lib/entropy/client/interfaces/repository.py", line 146, in _run_sync
    self._entropy, repo, self.force, self._gpg_feature)
  File "/usr/lib/entropy/lib/entropy/client/interfaces/db.py", line 2764, in update
    return updater.update()
  File "/usr/lib/entropy/lib/entropy/client/interfaces/db.py", line 2034, in update
    updatable = self._is_repository_updatable(revision)
  File "/usr/lib/entropy/lib/entropy/client/interfaces/db.py", line 385, in _is_repository_updatable
    self._repository_id)
  File "/usr/lib/entropy/lib/entropy/client/interfaces/db.py", line 2778, in revision
    with codecs.open(fname, "r", encoding=enc) as f:
  File "/usr/lib64/python2.7/codecs.py", line 896, in open
    file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 117] Structure needs cleaning: u'/var/lib/entropy/client/database/amd64/sabayonlinux.org/standard/amd64/5/packages.db.revision'

Frame open in /usr/lib64/python2.7/codecs.py at line 896
               filename = u'/var/lib/entropy/client/database/amd64/sabayonlinux.org/standard/amd64/5/packages.db.revision'
                   mode = 'rb'
              buffering = 1
                 errors = 'strict'
               encoding = 'UTF-8'
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1763
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: One Repository is Corrupted. Cannot Validate [Solved].

Postby albfneto » Wed Aug 02, 2017 21:19

SOLVED.
They are errors in the filesystem, corrected with fsck, from a live RescueCD Boot.

However, my HDD gives these errors many times.... It is a new HDD, only 4 months...
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1763
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: One Repository is Corrupted. Cannot Validate [Solved].

Postby sabayonino » Thu Aug 03, 2017 12:59

consider to buy/change a new cable :mrgreen:
User avatar
sabayonino
Sagely Hen
 
Posts: 2945
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: One Repository is Corrupted. Cannot Validate [Solved].

Postby albfneto » Sun Aug 06, 2017 20:03

The cable... is new, and the HDD also.... 4 monthys....

sometimes, seems to me that "systemctl poweroff" cannot working good.
Sometimes, after shutdown system, some file system errors,

switch on sabayon again.... "emergency mode"
and the problems can be corrected using "fsck" under a live DVD environ.
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1763
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: One Repository is Corrupted. Cannot Validate [Solved].

Postby sabayonino » Mon Aug 07, 2017 9:52

Which filesystem do you use ?
User avatar
sabayonino
Sagely Hen
 
Posts: 2945
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: One Repository is Corrupted. Cannot Validate [Solved].

Postby albfneto » Mon Aug 07, 2017 23:21

ext4

some years ago, i used reiserfs, with very good results.
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1763
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: One Repository is Corrupted. Cannot Validate [Solved].

Postby albfneto » Tue Aug 08, 2017 19:29

Today, 8....

the same errors... file systems with errors.
in the Sabayon partitions (is this boot!), but also in the OpenSUSE partitions....

only working after corrected from the boot of a Live Disk od "systemrescueCD"

MOBO Problems? Or SystemD problems?
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1763
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: One Repository is Corrupted. Cannot Validate [Solved].

Postby Stupot » Wed Aug 09, 2017 16:59

I realize it's a new HDD, but that doesn't mean it's impossible for the drive to have hardware problems. That seems like the most likely issue to me. If it was a common software problem, way more people would have this issue.
Stupot
Sagely Hen
 
Posts: 1592
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: One Repository is Corrupted. Cannot Validate [Solved].

Postby albfneto » Thu Aug 10, 2017 18:25

The comp is used only for me. Thisd is my personal comp in the University.
Today, no errors. i'm still checking the hardware.
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1763
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil


Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest