update to 12-10 crashes- File "/tmp/update-manager-9JqPjZ/quantal", line 10, in <module>

Bug #1155648 reported by Pierre G. ROY
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
New
Undecided
Unassigned

Bug Description

The crash report on updating to 12-10 is asking me to send the followings:

var/log/dist-upgrade/main.log
TwWmfJ2013-03-15 10:44:29,355 INFO Using config files '['./DistUpgrade.cfg', '/etc/update-manager/release-upgrades.d/opera.cfg']'
2013-03-15 10:44:29,356 INFO uname information: 'Linux pgroy 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:50:42 UTC 2011 i686'
2013-03-15 10:44:29,356 INFO apt version: '0.8.16~exp12ubuntu10.10'
2013-03-15 10:44:29,356 INFO release-upgrader version '0.190.4' started
2013-03-15 10:44:30,199 DEBUG Using 'DistUpgradeViewGtk3' view
2013-03-15 10:44:30,267 DEBUG aufsOptionsAndEnvironmentSetup()
2013-03-15 10:44:30,268 DEBUG using '/tmp/upgrade-rw-SRQnId' as aufs_rw_dir
2013-03-15 10:44:30,269 DEBUG using '/tmp/upgrade-chroot-24yZRS' as aufs chroot dir
2013-03-15 10:44:30,269 DEBUG enable dpkg --force-overwrite
2013-03-15 10:44:30,287 DEBUG creating statefile: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'
2013-03-15 10:44:34,265 DEBUG lsb-release: 'precise'
2013-03-15 10:44:34,266 DEBUG _pythonSymlinkCheck run
2013-03-15 10:44:34,267 DEBUG openCache()
2013-03-15 10:44:34,267 DEBUG No such plugin directory: ./plugins
2013-03-15 10:44:34,268 DEBUG plugins for condition 'PreCacheOpen' are '[]'
2013-03-15 10:44:34,268 DEBUG plugins for condition 'quantalPreCacheOpen' are '[]'
2013-03-15 10:44:34,269 DEBUG plugins for condition 'from_precisePreCacheOpen' are '[]'
2013-03-15 10:44:34,269 DEBUG quirks: running PreCacheOpen
2013-03-15 10:44:34,269 DEBUG running Quirks.PreCacheOpen
2013-03-15 10:44:35,232 DEBUG /openCache(), new cache size 39551
2013-03-15 10:44:35,233 DEBUG need_server_mode(): run in 'desktop' mode, (because of pkg 'ubuntu-desktop')
2013-03-15 10:44:35,233 DEBUG checkViewDepends()
2013-03-15 10:44:35,233 DEBUG running doUpdate() (showErrors=False)
2013-03-15 10:44:37,349 DEBUG openCache()
2013-03-15 10:44:43,106 DEBUG /openCache(), new cache size 39551
2013-03-15 10:44:43,107 DEBUG doPostInitialUpdate
2013-03-15 10:44:43,107 DEBUG plugins for condition 'PostInitialUpdate' are '[]'
2013-03-15 10:44:43,107 DEBUG plugins for condition 'quantalPostInitialUpdate' are '[]'
2013-03-15 10:44:43,107 DEBUG plugins for condition 'from_precisePostInitialUpdate' are '[]'
2013-03-15 10:44:43,108 DEBUG quirks: running from_precisePostInitialUpdate
2013-03-15 10:44:43,158 DEBUG _test_and_warn_for_unity_3d_support '/usr/lib/nux/unity_support_test' returned '0'
2013-03-15 10:45:02,044 DEBUG Foreign: libreoffice-impress libreoffice-base libcmis-0.3-3 libreoffice-java-common libreoffice-style-tango uno-libs3 python-uno libclucene-core1 skype adobe-flash-properties-gtk libreoffice-core google-talkplugin libreoffice-gnome libreoffice-style-galaxy libwpd-0.9-9 libreoffice-common acroread fonts-opensymbol adobe-flashplugin libvisio-0.0-0 skype-bin libreoffice-math libreoffice-base-core libmspub-0.0-0 liblcms2-2 libreoffice-gtk libreoffice-calc google-chrome-beta libicu48 libreoffice-emailmerge libreoffice-style-human libexttextcat-data libreoffice-pdfimport libreoffice-writer dropbox libreoffice-filter-mobiledev libreoffice-l10n-en-za ure libclucene-contribs1 libcdr-0.0-0 libwps-0.2-2 acroread-bin vmware-view-client libreoffice-l10n-en-gb libreoffice-draw libreoffice-help-en-us libexttextcat-2.0-0
2013-03-15 10:45:02,044 DEBUG Obsolete: language-support-en ta-lib0-dev linux-image-2.6.38-11-generic gcc-3.4 brmfcfaxcups language-support-writing-en libta-lib0 gcc-3.4-base libstdc++6-dev brmfcfaxlpd sun-java6-source sun-java6-javadb sun-java6-jre sun-java6-plugin teamviewer7 phonon-backend-xine sun-java6-jdk cpp-3.4 linux-image-3.0.0-12-generic sun-java6-bin opera g++-3.4 libcmis-0.2-2
2013-03-15 10:45:02,045 DEBUG updateSourcesList()
2013-03-15 10:45:02,206 DEBUG rewriteSourcesList()
2013-03-15 10:45:02,217 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu/ precise main restricted multiverse universe'
2013-03-15 10:45:02,217 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu/ quantal main restricted multiverse universe' updated to new dist
2013-03-15 10:45:02,218 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu/ precise main restricted'
2013-03-15 10:45:02,218 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu/ quantal main restricted' updated to new dist
2013-03-15 10:45:02,218 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted multiverse universe'
2013-03-15 10:45:02,218 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu/ quantal-updates main restricted multiverse universe' updated to new dist
2013-03-15 10:45:02,218 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu/ precise-updates main restricted'
2013-03-15 10:45:02,218 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu/ quantal-updates main restricted' updated to new dist
2013-03-15 10:45:02,219 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu/ precise universe'
2013-03-15 10:45:02,219 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu/ quantal universe' updated to new dist
2013-03-15 10:45:02,219 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu/ precise-updates universe'
2013-03-15 10:45:02,219 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu/ quantal-updates universe' updated to new dist
2013-03-15 10:45:02,219 DEBUG examining: 'deb http://archive.canonical.com/ubuntu precise partner'
2013-03-15 10:45:02,220 DEBUG entry 'deb http://archive.canonical.com/ubuntu quantal partner' updated to new dist
2013-03-15 10:45:02,220 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu/ precise-security main restricted multiverse universe'
2013-03-15 10:45:02,220 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu/ quantal-security main restricted multiverse universe' updated to new dist
2013-03-15 10:45:02,220 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu/ precise-security main restricted'
2013-03-15 10:45:02,220 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu/ quantal-security main restricted' updated to new dist
2013-03-15 10:45:02,221 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu/ precise-security universe'
2013-03-15 10:45:02,221 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu/ quantal-security universe' updated to new dist
2013-03-15 10:45:02,221 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu/ precise-proposed restricted main multiverse universe'
2013-03-15 10:45:02,221 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu/ quantal-proposed restricted main multiverse universe' updated to new dist
2013-03-15 10:45:02,221 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu/ precise-backports restricted main multiverse universe'
2013-03-15 10:45:02,222 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu/ quantal-backports restricted main multiverse universe' updated to new dist
2013-03-15 10:45:02,222 DEBUG examining: 'deb-src http://hu.archive.ubuntu.com/ubuntu/ hardy-updates universe'
2013-03-15 10:45:02,222 DEBUG examining: 'deb http://extras.ubuntu.com/ubuntu precise main #Third party developers repository'
2013-03-15 10:45:02,222 DEBUG entry 'deb http://extras.ubuntu.com/ubuntu quantal main #Third party developers repository' updated to new dist
2013-03-15 10:45:02,223 DEBUG examining: 'deb-src http://archive.canonical.com/ lucid partner'
2013-03-15 10:45:02,223 DEBUG examining: 'deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu precise main'
2013-03-15 10:45:02,229 DEBUG entry '# deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu quantal main # disabled on upgrade to quantal' was disabled (unknown mirror)
2013-03-15 10:45:02,229 DEBUG examining: 'deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu precise main'
2013-03-15 10:45:02,235 DEBUG entry '# deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu quantal main # disabled on upgrade to quantal' was disabled (unknown mirror)
2013-03-15 10:45:02,235 DEBUG examining: 'deb http://linux.dropbox.com/ubuntu precise main'
2013-03-15 10:45:02,241 DEBUG entry '# deb http://linux.dropbox.com/ubuntu quantal main # disabled on upgrade to quantal' was disabled (unknown mirror)
2013-03-15 10:45:02,241 DEBUG examining: 'deb http://archive.canonical.com/ubuntu precise partner'
2013-03-15 10:45:02,242 DEBUG entry 'deb http://archive.canonical.com/ubuntu quantal partner' updated to new dist
2013-03-15 10:45:02,242 DEBUG examining: 'deb http://dl.google.com/linux/chrome/deb/ stable main'
2013-03-15 10:45:02,247 DEBUG entry '# deb http://dl.google.com/linux/chrome/deb/ stable main # disabled on upgrade to quantal' was disabled (unknown mirror)
2013-03-15 10:45:02,248 DEBUG examining: 'deb http://dl.google.com/linux/talkplugin/deb/ stable main'
2013-03-15 10:45:02,253 DEBUG entry '# deb http://dl.google.com/linux/talkplugin/deb/ stable main # disabled on upgrade to quantal' was disabled (unknown mirror)
2013-03-15 10:45:04,434 DEBUG running doUpdate() (showErrors=True)
2013-03-15 10:45:24,464 DEBUG openCache()
2013-03-15 10:45:24,464 DEBUG failed to SystemUnLock() (E:Not locked)
2013-03-15 10:45:35,026 DEBUG failed to lock the cache, retrying (1)
2013-03-15 10:45:44,726 DEBUG failed to lock the cache, retrying (2)
2013-03-15 10:45:46,434 DEBUG failed to lock the cache, retrying (3)
2013-03-15 10:45:48,814 DEBUG failed to lock the cache, retrying (4)
2013-03-15 10:45:50,778 DEBUG failed to lock the cache, retrying (5)
2013-03-15 10:45:52,480 DEBUG failed to lock the cache, retrying (6)
2013-03-15 10:45:54,702 DEBUG failed to lock the cache, retrying (7)
2013-03-15 10:45:56,591 DEBUG failed to lock the cache, retrying (8)
2013-03-15 10:45:58,418 DEBUG failed to lock the cache, retrying (9)
2013-03-15 10:46:02,144 DEBUG failed to lock the cache, retrying (10)
2013-03-15 10:46:03,861 DEBUG failed to lock the cache, retrying (11)
2013-03-15 10:46:06,024 DEBUG failed to lock the cache, retrying (12)
2013-03-15 10:46:07,782 DEBUG failed to lock the cache, retrying (13)
2013-03-15 10:46:16,033 DEBUG failed to lock the cache, retrying (14)
2013-03-15 10:46:17,639 DEBUG failed to lock the cache, retrying (15)
2013-03-15 10:46:19,229 DEBUG failed to lock the cache, retrying (16)
2013-03-15 10:46:20,801 DEBUG failed to lock the cache, retrying (17)
2013-03-15 10:46:22,388 DEBUG failed to lock the cache, retrying (18)
2013-03-15 10:46:23,991 DEBUG failed to lock the cache, retrying (19)
2013-03-15 10:46:25,613 DEBUG failed to lock the cache, retrying (20)
2013-03-15 10:46:26,752 ERROR not handled expection:
Traceback (most recent call last):

  File "/tmp/update-manager-9JqPjZ/quantal", line 10, in <module>

  File "/tmp/update-manager-9JqPjZ/DistUpgrade/DistUpgradeMain.py", line 240, in main

  File "/tmp/update-manager-9JqPjZ/DistUpgrade/DistUpgradeController.py", line 1764, in run

  File "/tmp/update-manager-9JqPjZ/DistUpgrade/DistUpgradeController.py", line 1681, in fullUpgrade

  File "/tmp/update-manager-9JqPjZ/DistUpgrade/DistUpgradeController.py", line 207, in openCache

  File "/tmp/update-manager-9JqPjZ/DistUpgrade/DistUpgradeController.py", line 235, in _openCache

  File "/tmp/update-manager-9JqPjZ/DistUpgrade/DistUpgradeCache.py", line 118, in __init__

  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__

  File "/usr/lib/python2.7/subprocess.py", line 1135, in _execute_child

  File "/usr/lib/python2.7/subprocess.py", line 1091, in pipe_cloexec

OSError: [Errno 24] Too many open files

2013-03-15 10:46:26,752 DEBUG running apport_crash()
2013-03-15 10:46:26,753 ERROR failed to import apport python module, can't report bug: No module named report
2013-03-15 10:46:26,753 ERROR Unable to launch '/usr/share/apport/apport-gtk'
Traceback (most recent call last):
  File "/tmp/update-manager-9JqPjZ/DistUpgrade/DistUpgradeApport.py", line 113, in run_apport
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
  File "/usr/lib/python2.7/subprocess.py", line 1135, in _execute_child
  File "/usr/lib/python2.7/subprocess.py", line 1091, in pipe_cloexec
OSError: [Errno 24] Too many open files
2013-03-15 10:49:40,309 DEBUG enabling apt cron job

AND THE FOLLOWING:

var/log/dist-upgrade/apt.log

Log time: 2013-03-15 10:44:35.232543
Log time: 2013-03-15 10:44:43.106361

affects: update-manager (Ubuntu) → ubuntu-release-upgrader (Ubuntu)
Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

Thanks for reporting this bug and help in making Ubuntu better. Can you please attach (instead of pasting) all the files that you have in the following directory: /var/log/dist-upgrade ? Did the upgrade finally complete?

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Incomplete
Revision history for this message
Pierre G. ROY (pgroy) wrote : Re: [Bug 1155648] Re: update to 12-10 crashes

Yes it did 2 days latter, where my system advise I had upgrade available.
It than upgraded to 12-10. Still getting an error at times asking to
send the
report which I have been getting for since 12-04 upgrade and sent many
reports
already. This error seems to occur most, when I used my printer.
Regards
On 13-03-20 08:26 AM, Walter Garcia-Fontes wrote:

Merci et au plaisir

Pierre G. ROY
St-Georges Qc. CA
G5Y 8B2
Tel. 418-228-7946
Courriel: <email address hidden>

<http://www.wwmarketing.ca/visithostpapa.php>

> Thanks for reporting this bug and help in making Ubuntu better. Can you
> please attach (instead of pasting) all the files that you have in the
> following directory: /var/log/dist-upgrade ? Did the upgrade finally
> complete?
>
> ** Changed in: ubuntu-release-upgrader (Ubuntu)
> Status: New => Incomplete
>

Revision history for this message
Sasa Paporovic (melchiaros) wrote : Re: update to 12-10 crashes

o.K here.

You have clearly a traceback of the ubuntu-release upgrader.

And a following one of appor(the crash reporter itself).

Whuu, a double one.

summary: - update to 12-10 crashes
+ update to 12-10 crashes- File "/tmp/update-manager-9JqPjZ/quantal", line
+ 10, in <module>
Revision history for this message
Sasa Paporovic (melchiaros) wrote :

I set this back to new for now, bnecause Pierre has provided the logs.

Changed in ubuntu-release-upgrader (Ubuntu):
status: Incomplete → New
Revision history for this message
Sasa Paporovic (melchiaros) wrote :

Pierre,
 I know time is low, but could you attach from your archive the apt and the main log seperately?

Revision history for this message
Sasa Paporovic (melchiaros) wrote :

The apt_clone file is in the tar.gz archive, if someone whant to play arround.

Revision history for this message
Pierre G. ROY (pgroy) wrote : Re: [Bug 1155648] Re: update to 12-10 crashes- File "/tmp/update-manager-9JqPjZ/quantal", line 10, in <module>

Here it is.
On 13-04-01 09:26 AM, melchiaros wrote:

Merci et au plaisir

Pierre G. ROY
St-Georges Qc. CA
G5Y 8B2
Tel. 418-228-7946
Courriel: <email address hidden>

<http://www.wwmarketing.ca/visithostpapa.php>

> Pierre,
> I know time is low, but could you attach from your archive the apt and the main log seperately?
>

Revision history for this message
Sasa Paporovic (melchiaros) wrote :

(smile)

o.K my fault.

Ment was without compressing.

But it is o.K like it is.

Let it in this style. A little bit more clicking for those who whant to handle(I am only on preparation).

Thank you for bear on this.

melchiaros

Revision history for this message
Sasa Paporovic (melchiaros) wrote :

Jup, clearly in the main log:

Traceback (most recent call last):

  File "/tmp/update-manager-9JqPjZ/quantal", line 10, in <module>

  File "/tmp/update-manager-9JqPjZ/DistUpgrade/DistUpgradeMain.py", line 240, in main

  File "/tmp/update-manager-9JqPjZ/DistUpgrade/DistUpgradeController.py", line 1764, in run

  File "/tmp/update-manager-9JqPjZ/DistUpgrade/DistUpgradeController.py", line 1681, in fullUpgrade

  File "/tmp/update-manager-9JqPjZ/DistUpgrade/DistUpgradeController.py", line 207, in openCache

Revision history for this message
Sasa Paporovic (melchiaros) wrote :

Interestingly there is just before a problem to lock the cache:

2013-03-15 10:45:24,464 DEBUG openCache()
2013-03-15 10:45:24,464 DEBUG failed to SystemUnLock() (E:Not locked)
2013-03-15 10:45:35,026 DEBUG failed to lock the cache, retrying (1)
2013-03-15 10:45:44,726 DEBUG failed to lock the cache, retrying (2)
.
..
...

and so on.

Revision history for this message
Sasa Paporovic (melchiaros) wrote :

I have seen just something similiar here:

https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1159502

, but this is on quantal to raring and without stacktrace.

tags: added: dist-upgrade precise precise2quantal
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.