do-release-upgrade -s -d executed, I stopped it when asked to continue with Ctrl-C, then I executed it again and it crashed

Bug #1370657 reported by Richard
This bug report is a duplicate of:  Bug #1605259: do-release-upgrade --sandbox fails. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
New
Low
Unassigned

Bug Description

Terminal data:

root@CP2-Linux:~# do-release-upgrade
Verifica un nuovo rilascio di ubuntu
^CTraceback (most recent call last):
  File "/usr/bin/do-release-upgrade", line 116, in <module>
    useProposed=options.proposed_release)
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/MetaRelease.py", line 93, in __init__
    cache = apt.Cache()
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 107, in __init__
    self.open(progress)
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 172, in open
    self._set.add(pkg.get_fullname(pretty=True))
KeyboardInterrupt
root@CP2-Linux:~# do-release-upgrade
Verifica un nuovo rilascio di ubuntu
Nessun nuovo rilascio trovato
root@CP2-Linux:~# do-release-upgrade --help
Usage: do-release-upgrade [options]

Options:
  -h, --help show this help message and exit
  -V, --version Mostra la versione ed esce
  -d, --devel-release Verifica se è possibile avanzare all'ultima versione
                        di sviluppo
  --data-dir=DATA_DIR Directory contenente i file di dati
  -p, --proposed Tentativo di avanzamento all'ultimo rilascio usando lo
                        strumento di avanzamento da $distro-proposed
  -m MODE, --mode=MODE Eseguire in modalità speciale di avanzamento.
                        Attualmente sono supportati «desktop» per un
                        avanzamento normale di sistemi desktop e «server» per
                        sistemi server.
  -f FRONTEND, --frontend=FRONTEND
                        Esegue il frontend specificato
  -s, --sandbox Prova di avanzamento in ambiente sandbox con
                        sovrapposizione di file system aufs
  -c, --check-dist-upgrade-only
                        Controlla se è dispoibile un nuovo rilascio della
                        distribuzione e riporta il risultato tramite un codice
                        d'uscita
  -q, --quiet
root@CP2-Linux:~# do-release-upgrade -s
Verifica un nuovo rilascio di ubuntu
Nessun nuovo rilascio trovato
root@CP2-Linux:~# do-release-upgrade -s -d
Verifica un nuovo rilascio di ubuntu
Scaricamento di:1 Firma dello strumento di avanzamento versione [198 B]
Scaricamento di:2 Strumento di avanzamento versione [1.143 kB]
Recuperati 1.143 kB in 0s (0 B/s)
autenticazione di «utopic.tar.gz» con «utopic.tar.gz.gpg»
estrazione di «utopic.tar.gz»

Lettura della cache

Controllo gestore dei pacchetti

Modalità sandbox

Questo avanzamento viene eseguito in modalità "sandbox" (di prova).
Tutte le modifiche vengono scritte in «/tmp/upgrade-rw-fkld7cqr» e al
prossimo riavvio andranno perse.

Nessuna modifica salvata in una cartella di sistema, da ora al
prossimo riavvio, è permanente.

Per continuare premere [INVIO]
^C

Si è verificato un errore fatale

Se non è già stato fatto, segnalare questo bug includendo nella
segnalazione i file /var/log/dist-upgrade/main.log e
/var/log/dist-upgrade/apt.log. L'avanzamento si è interrotto.
Il file sources.list originale è stato salvato come
/etc/apt/sources.list.distUpgrade.

Traceback (most recent call last):

File "/tmp/ubuntu-release-upgrader-x3xl8d1f/utopic", line 8, in
<module>
sys.exit(main())

File
"/tmp/ubuntu-release-upgrader-x3xl8d1f/DistUpgrade/DistUpgradeMain.py",
line 239, in main
if app.run():

File
"/tmp/ubuntu-release-upgrader-x3xl8d1f/DistUpgrade/DistUpgradeController.py",
line 1822, in run
return self.fullUpgrade()

File
"/tmp/ubuntu-release-upgrader-x3xl8d1f/DistUpgrade/DistUpgradeController.py",
line 1644, in fullUpgrade
if not self.prepare():

File
"/tmp/ubuntu-release-upgrader-x3xl8d1f/DistUpgrade/DistUpgradeController.py",
line 416, in prepare
"permanent.") % aufs_rw_dir)

File
"/tmp/ubuntu-release-upgrader-x3xl8d1f/DistUpgrade/DistUpgradeViewText.py",
line 164, in information
readline()

File
"/tmp/ubuntu-release-upgrader-x3xl8d1f/DistUpgrade/DistUpgradeViewText.py",
line 46, in readline
s = sys.stdin.readline()

KeyboardInterrupt

root@CP2-Linux:~# ^C
root@CP2-Linux:~# do-release-upgrade -s -d -p
Le opzioni --devel-release e --proposed
si escludono a vicenda. Utilizzarne solo una.
root@CP2-Linux:~# do-release-upgrade -s -p
Verifica un nuovo rilascio di ubuntu
Nessun nuovo rilascio trovato
root@CP2-Linux:~# do-release-upgrade -s -d
Verifica un nuovo rilascio di ubuntu
Scaricamento di:1 Firma dello strumento di avanzamento versione [198 B]
Scaricamento di:2 Strumento di avanzamento versione [1.143 kB]
Recuperati 1.143 kB in 0s (0 B/s)
autenticazione di «utopic.tar.gz» con «utopic.tar.gz.gpg»
estrazione di «utopic.tar.gz»

Lettura della cache

Controllo gestore dei pacchetti

Impostazione della sandbox non riuscita.

Impossibile creare l'ambiente sanbox.

Preparazione dell'avanzamento di versione non riuscita

La preparazione del sistema per l'avanzamento non è riuscita. Sarà
ora possibile segnalare questo problema.

root@CP2-Linux:~#
(process:5022): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

Terminal data end

As the summary says, I launched "do-release-upgrade", then I stopped it (Ctrl-C) and it displayed that traceback (see terminal data), then I looked for help on how to use do-release-upgrade, then I tried some options, "-s", "-s -d", then during "-s -d" command I terminated it with Ctrl-C and I think it crashed, but no windows appeared, then I executed "-s -d -p" that doesn't make sense, then "-s -p" and do-release-upgrade didn't found any new version and then "-s -d" and it crashed showing me a window where I have let it send data about this crash to developers. After I clicked Send it opened a browser page, I logged in and then I wrote this text. I hope this will be useful.

root@CP2-Linux:~# lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04

root@CP2-Linux:~# apt-cache policy ubuntu-release-upgrader-core
ubuntu-release-upgrader-core:
  Installato: 1:0.220.5
  Candidato: 1:0.220.5
  Tabella versione:
 *** 1:0.220.5 0
        500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
        100 /var/lib/dpkg/status
     1:0.220.2 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main i386 Packages

I expected it stop upgrading process and let me launch it whenever I want.
I think what happened is obvious after all I said and posted.

I'm sorry if my English is not perfect, I am not English and I don't speak it really well.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-release-upgrader-core 1:0.220.5
ProcVersionSignature: Ubuntu 3.13.0-36.63-generic 3.13.11.6
Uname: Linux 3.13.0-36-generic i686
ApportVersion: 2.14.1-0ubuntu3.4
Architecture: i386
CrashDB: ubuntu
Date: Wed Sep 17 20:08:24 2014
InstallationDate: Installed on 2014-04-18 (151 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=it
 TERM=xterm
 PATH=(custom, no user)
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to trusty on 2014-09-17 (0 days ago)
mtime.conffile..etc.update.manager.release.upgrades: 2014-04-18T20:46:17.356835

Revision history for this message
Richard (ricky-sessa) wrote :
Changed in ubuntu-release-upgrader (Ubuntu):
importance: Undecided → Low
Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1605259, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.