package update-notifier 0.60 failed to install/upgrade: underprocess post-installation script failed with error code 1

Bug #150666 reported by Fredrik Schön on 2007-10-08
58
Affects Status Importance Assigned to Milestone
update-notifier (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: update-notifier

Upgrade of the package mentioned above failed.

ProblemType: Package
Architecture: i386
Date: Mon Oct 8 20:50:42 2007
DistroRelease: Ubuntu 7.10
ErrorMessage: underprocess post-installation script gav felkod 1
Package: update-notifier 0.60
PackageArchitecture: i386
SourcePackage: update-notifier
Title: package update-notifier 0.60 failed to install/upgrade: underprocess post-installation script gav felkod 1
Uname: Linux Insula 2.6.22-13-generic #1 SMP Thu Oct 4 17:18:44 GMT 2007 i686 GNU/Linux

Fredrik Schön (fredrikschon) wrote :
bwat47 (bwat47) wrote :

same here

brandon@brandon-desktop:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up update-notifier (0.60) ...
/usr/share/gconf/schemas/update-notifier.schemas:12: parser error : Opening and ending tag mismatch: default line 7 and schema
    </schema>
             ^
/usr/share/gconf/schemas/update-notifier.schemas:14: parser error : expected '>'
  </schemalist>
          ^
/usr/share/gconf/schemas/update-notifier.schemas:15: parser error : Opening and ending tag mismatch: schemalist line 2 and gconfschemafile
</gconfschemafile>
                  ^
/usr/share/gconf/schemas/update-notifier.schemas:16: parser error : Premature end of data in tag gconfschemafile line 1

^
dpkg: error processing update-notifier (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 update-notifier
E: Sub-process /usr/bin/dpkg returned an error code (1)
brandon@brandon-desktop:~$

I have the same problem, here is the relevant aptitude output in english:
Setting up update-notifier (0.60) ...
/usr/share/gconf/schemas/update-notifier.schemas:12: parser error : Opening and ending tag mismatch: default line 7 and schema
    </schema>
             ^
/usr/share/gconf/schemas/update-notifier.schemas:14: parser error : expected '>'
  </schemalist>
          ^
/usr/share/gconf/schemas/update-notifier.schemas:15: parser error : Opening and ending tag mismatch: schemalist line 2 and gconfschemafile
</gconfschemafile>
                  ^
/usr/share/gconf/schemas/update-notifier.schemas:16: parser error : Premature end of data in tag gconfschemafile line 1

^
dpkg: error processing update-notifier (--configure):
 subprocess post-installation script returned error exit status 1

I took a look at /usr/share/gconf/schemas/update-notifier.schemas and line 7 looked like
       <default>false/default>

It should look like

       <default>false</default>

Making this small change fixes the problem.
Godspeed

Sean W. (seton-mts) wrote :

im gettin the exact same error on upgrade

Albert Damen (albrt) wrote :

Same problem here. Unpacking the update-notifier 0.60 package shows the problem:
in usr/share/gconf/schemas/update-notifier.schemas line 7 reads: <default>false/default>
So the end tag on line 7 is not correct.

Changed in update-notifier:
status: New → Confirmed
Changed in update-notifier:
importance: Undecided → Medium
Pjotr12345 (computertip) wrote :

same here

Eric Donkersloot (ericd) wrote :

Could somebody paste the correct file contents here ? I was stupid enough to remove the file. Cheers.

Laurent GUERBY (laurent-guerby) wrote :

Here is the fixed version:

<gconfschemafile>
  <schemalist>
    <schema>
      <key>/schemas/apps/update-notifier/show_apport_crashes</key>
      <applyto>/apps/update-notifier/show_apport_crashes</applyto>
      <type>bool</type>
      <default>false</default>
      <locale name="C">
        <short>Display apport crash reports automatically</short>
        <long>If this is disabled, the user will not be notified about pending apport crash reports.</long>
      </locale>
    </schema>

  </schemalist>
</gconfschemafile>

hasan (hassanidin) wrote :

I just did the update, and I am getting the same error. However, update-notifier seems to be installed fine, but every time I install something in synaptic now I am being greeted by this annoying message:

An error occured
The following details are provided:
 E: update-notifier: subprocess post-installation script returned error exit status 1

How can I get rid of it?

alfredocba (bermudezalfredo) wrote :

more of the same ;)
Configurando update-notifier (0.60) ...
/usr/share/gconf/schemas/update-notifier.schemas:12: parser error : Opening and ending tag mismatch: default line 7 and schema
    </schema>
             ^
/usr/share/gconf/schemas/update-notifier.schemas:14: parser error : expected '>'
  </schemalist>
          ^
/usr/share/gconf/schemas/update-notifier.schemas:15: parser error : Opening and ending tag mismatch: schemalist line 2 and gconfschemafile
</gconfschemafile>
                  ^
/usr/share/gconf/schemas/update-notifier.schemas:16: parser error : Premature end of data in tag gconfschemafile line 1

^
dpkg: error al procesar update-notifier (--configure):
 el subproceso post-installation script devolvió el código de salida de error 1
Se encontraron errores al procesar:
 update-notifier

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

Other bug subscribers