nm 0.7 fails to install if update-notifier is not installed

Bug #255844 reported by diegoe
6
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

diego@milkyway:~$ sudo apt-get --reinstall install network-manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 244 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up network-manager (0.7~~svn20080720t224551+eni1-0ubuntu1) ...
 Removing any system startup links for /etc/init.d/NetworkManager ...
   /etc/rc2.d/S30NetworkManager
   /etc/rc3.d/S30NetworkManager
   /etc/rc4.d/S30NetworkManager
   /etc/rc5.d/S30NetworkManager
 Adding system startup for /etc/init.d/NetworkManager ...
   /etc/rc2.d/S30NetworkManager -> ../init.d/NetworkManager
   /etc/rc3.d/S30NetworkManager -> ../init.d/NetworkManager
   /etc/rc4.d/S30NetworkManager -> ../init.d/NetworkManager
   /etc/rc5.d/S30NetworkManager -> ../init.d/NetworkManager
/var/lib/dpkg/info/network-manager.postinst: 35: /usr/share/update-notifier/notify-reboot-required: not found
dpkg: error processing network-manager (--configure):
 subprocess post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of network-manager-gnome:
 network-manager-gnome depends on network-manager (>= 0.7~~svn20080720t224551); however:
  Package network-manager is not configured yet.
dpkg: error processing network-manager-gnome (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 network-manager
 network-manager-gnome
E: Sub-process /usr/bin/dpkg returned an error code (1)

A fake /usr/share/update-notifier/notify-reboot-required lets it be installed. The script should not force the need of update-notifier.

Revision history for this message
Alexander Sack (asac) wrote :

fixed in bzr

Changed in network-manager:
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package network-manager - 0.7~~svn20080818t061112+eni0-0ubuntu1

---------------
network-manager (0.7~~svn20080818t061112+eni0-0ubuntu1) intrepid; urgency=low

  * fix LP: #255844 - add update-notifier-common to the Depends
    - update debian/control
  * fix LP: #255958 - nm-tool broken on nm 0.7; we properly run make install
    for test/ source directory with proper DESTDIR in
    binary-install/network-manager:: cdbs target; in turn we dont explicitly
    install the nm-tool binary in network-manager.install
    - update debian/rules
    - update network-manager.install
  * adjust patches for new upstream codebase
    - update debian/patches/05-debian_backend.patch
    - update debian/patches/50_gcc43.patch
    - remove debian/patches/19_interfaces_can_have_more_than_one_instance.patch
    - update debian/patches/series
  * adjust files installed in libnm-util-dev package: we add
    nm-setting-ip6-config.h and we remove nm-setting-vpn-properties.h from
    and to the .install list
    - update debian/libnm-util-dev.install
  * add gtk-doc-tools to build-depends
    - update debian/control
  * Fix LP: #145653 - "signal handler prevents apport crash reporting"
    - add debian/patches/70_lp145653_no_sigaction_for_crashes.patch
    - update debian/patches/series

 -- Alexander Sack <email address hidden> Mon, 18 Aug 2008 21:27:59 +0200

Changed in network-manager:
status: Fix Committed → Fix Released
Revision history for this message
diegoe (diegoe-deactivatedaccount-deactivatedaccount) wrote :

Now it forces me to install update-manager! It should if it in the script, not force me to have that installed.

Revision history for this message
Adrian (adrian-dziubek) wrote :

+1 to above. Now I have to decide, whether I want my memory be eaten by apt-check (in update-notifier) or not have network-manager...

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.