at update from 11.10 to 12.04, there is an error "Could not install 'update-notifier-common'"

Bug #1002770 reported by Bouke Bunnik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

During the Distribution Upgrade process from 11.10 I got this error message. Since the upgrade is still in progress, I don't yet know what this effectively means. Will update information after install is done.

Tags: dist-upgrade
Bouke Bunnik (bosyber)
tags: added: dist-upgrade
Revision history for this message
Bouke Bunnik (bosyber) wrote :

From /var/log/dist-upgrade/main.log:
---
2012-05-22 11:17:24,740 DEBUG got a conffile-prompt from dpkg for file: '/etc/up
date-manager/release-upgrades'
2012-05-22 11:33:04,843 WARNING no activity on terminal for 240 seconds (Configuring update-manager-core)
2012-05-22 11:33:49,832 ERROR got an error from dpkg for pkg: 'update-notifier-common': 'subprocess installed post-installation script returned error exit status 1'
2012-05-22 11:33:49,852 DEBUG running apport_pkgfailure() update-notifier-common: subprocess installed post-installation script returned error exit status 1
2012-05-22 11:33:50,440 ERROR got an error from dpkg for pkg: 'update-notifier-common': 'subprocess installed post-installation script returned error exit status 1'
2012-05-22 11:36:06,067 ERROR got an error from dpkg for pkg: 'update-notifier': 'dependency problems - leaving unconfigured'
2012-05-22 11:36:06,068 DEBUG running apport_pkgfailure() update-notifier: dependency problems - leaving unconfigured
2012-05-22 11:36:06,068 ERROR got an error from dpkg for pkg: 'update-notifier': 'dependency problems - leaving unconfigured'
---

Could this be triggered by me being away from the computer for long enough to make the dialog for /etc/update-manager/ updating (I had it set to "Prompt=normal") give a timeout? I did get the dialog though, and the file was updated.

Revision history for this message
Bouke Bunnik (bosyber) wrote :

Hm, so no, that isn't likely it, the timeout happened with some others too. This though (/var/log/dist-upgrade/apt-term.log):
Setting up update-notifier-common (0.119ubuntu8.2) ...
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefont
s/andale32.exe
Traceback (most recent call last):
  File "/usr/lib/update-notifier/package-data-downloader", line 234, in process_
download_requests
    dest_file = urllib.urlretrieve(files[i])[0]
  File "/usr/lib/python2.7/urllib.py", line 93, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook, data)
  File "/usr/lib/python2.7/urllib.py", line 239, in retrieve
    fp = self.open(url, data)
  File "/usr/lib/python2.7/urllib.py", line 207, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.7/urllib.py", line 344, in open_http
    h.endheaders(data)
  File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
    self.send(msg)
  File "/usr/lib/python2.7/httplib.py", line 776, in send
    self.connect()
  File "/usr/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
  File "/usr/lib/python2.7/socket.py", line 553, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
IOError: [Errno socket error] [Errno -2] Name or service not known
Traceback (most recent call last):
  File "/usr/lib/update-notifier/package-data-downloader", line 296, in <module>
    process_download_requests()
  File "/usr/lib/update-notifier/package-data-downloader", line 292, in process_download_requests
    trigger_update_notifier(our_failures)
  File "/usr/lib/update-notifier/package-data-downloader", line 150, in trigger_update_notifier
    {'packages' : ", ".join(packages)}))
  File "/usr/lib/python2.7/string.py", line 172, in substitute
    return self.pattern.sub(convert, self.template)
  File "/usr/lib/python2.7/string.py", line 162, in convert
    val = mapping[named]
KeyError: 'paquetes'
dpkg: error processing update-notifier-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of update-notifier:
 update-notifier depends on update-notifier-common (= 0.119ubuntu8.2); however:
  Package update-notifier-common is not configured yet.
dpkg: error processing update-notifier (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ttf-mscorefonts-installer:
 ttf-mscorefonts-installer depends on update-notifier-common (>= 0.119ubuntu2); however:
  Package update-notifier-common is not configured yet.
dpkg: error processing ttf-mscorefonts-installer (--configure):
 dependency problems - leaving unconfigured
---
Seems to be more likely the problem.

Revision history for this message
Robert Roth (evfool) 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 #1003100, 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. Feel free to continue to report any other bugs you may find.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

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

Other bug subscribers

Bug attachments

Remote bug watches

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