Project

General

Profile

Anomalie #8006

Maj-Cd : traceback à l'installation

Added by Emmanuel GARETTE almost 7 years ago. Updated almost 7 years ago.

Status:
Fermé
Priority:
Haut
Assigned To:
Category:
-
Start date:
04/16/2014
Due date:
04/18/2014
% Done:

100%

Estimated time:
1.00 h
Spent time:
Distribution:
EOLE 2.4

Description

root@scribe:~# Query-Auto
root@scribe:~# apt-get install man-db=2.6.1-2
[..]
root@scribe:~# Maj-Cd 
*** scribe 2.4 (000GNU) ***

Configuring CDROM
Update packages indexes
Installing 1 package: 0 new 1 upgrade

Traceback (most recent call last):
  File "/usr/bin/Maj-Cd", line 179, in <module>
    main()
  File "/usr/bin/Maj-Cd", line 157, in main
    PKGMGR.dist_upgrade()
  File "/usr/lib/python2.7/dist-packages/pyeole/pkg.py", line 1085, in dist_upgrade
    silent=silent)
  File "/usr/lib/python2.7/dist-packages/pyeole/pkg.py", line 1070, in upgrade
    silent=silent)
  File "/usr/lib/python2.7/dist-packages/pyeole/pkg.py", line 936, in _run
    **kwargs))
  File "/usr/lib/python2.7/dist-packages/pyeole/pkg.py", line 401, in _run
    return {u'root': getattr(self, func)(silent=silent, **kwargs)}
  File "/usr/lib/python2.7/dist-packages/pyeole/pkg.py", line 764, in upgrade
    self.commit(silent=silent)
  File "/usr/lib/python2.7/dist-packages/pyeole/pkg.py", line 486, in commit
    self.cache.commit(self._acquire_progress, self._install_progress)
  File "/usr/lib/python2.7/dist-packages/apt/deprecation.py", line 98, in deprecated_function
    return func(*args, **kwds)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 501, in commit
    res = self._fetch_archives(fetcher, pm)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 327, in _fetch_archives
    return self._run_fetcher(fetcher)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 293, in _run_fetcher
    for item in fetcher.items:
AttributeError: 'CdromProgress' object has no attribute 'stop'
Maj-Cd - 'CdromProgress' object has no attribute 'stop'
root@scribe:~# 

Related issues

Related to python-pyeole - Anomalie #7159: pkg: Le montage du CDROM ne fonctionne pas Fermé 01/21/2014 04/04/2014

Associated revisions

Revision df59c27b (diff)
Added by Daniel Dehennin almost 7 years ago

Plantage à l’installation depuis le CDROM

Le gestionnaire d’affichage de progression pour « cdrom » nécessite un
« sources.list » de type « cdrom: » et ne fonctionne pas avec la gestion
EOLE qui utilise « file: ».

Le gestionnaire « CdromProgress() » doit gérer le montage du cdrom.

  • pyeole/pkg.py (EolePkgApt.__init__): Ne pas utiliser
    « CdromProgress() » pour le type d’installation « cdrom ».

Fixes: #8006 @15m

History

#1 Updated by Joël Cuissinat almost 7 years ago

  • Due date set to 04/18/2014
  • Estimated time set to 1.00 h

#2 Updated by Daniel Dehennin almost 7 years ago

  • Project changed from creole to python-pyeole
  • Status changed from Nouveau to Accepté
  • Assigned To set to Daniel Dehennin
  • Start date set to 04/16/2014

#3 Updated by Daniel Dehennin almost 7 years ago

  • Status changed from Accepté to Résolu
  • % Done changed from 0 to 100

#4 Updated by Emmanuel GARETTE almost 7 years ago

  • Status changed from Résolu to Fermé
root@scribe:~# Maj-Cd 
*** scribe 2.4 ***

Configuring CDROM
Update packages indexes
Installing 1 package: 0 new 1 upgrade

Done file:/media/cdrom/ precise/main man-db amd64 2.6.1-2ubuntu1
Done downloading            
Préconfiguration des paquets... 
(Lecture de la base de données... 83037 fichiers et répertoires déjà installés.)
Préparation du remplacement de man-db 2.6.1-2 (en utilisant .../man-db_2.6.1-2ubuntu1_amd64.deb) ...
Dépaquetage de la mise à jour de man-db ...
Paramétrage de man-db (2.6.1-2ubuntu1) ... 
Updating database of manual pages ... 
Maj-Cd - Un ou plusieurs paquets ont été mis à jour, utilisez la commande [reconfigure] pour que les modifications soient prises en compte.

Also available in: Atom PDF