[Bug 1023437] Re: ifupdown conflicts with netbase both of which own /etc/init.d/networking

Stéphane Graber stgraber at stgraber.org
Wed Jul 11 15:39:36 UTC 2012


I managed to reproduce here with a minimal 12.04 install manually
upgrading (apt-get dist-upgrade) to quantal.

Just a few notes.
 - /etc/init.d/networking is a sysvinit script in netbase < 5.0
 - /etc/init.d/networking was dropped from netbase >= 5.0
 - /etc/init.d/networking was added to ifupdown >= 0.7.1
 - in ifupdown, /etc/init.d/networking is a symlink to /lib/init/upstart-job

ifupdown 0.7.1ubuntu1 declares:
Replaces: netbase (<< 5.0)
Breaks: netbase (<< 5.0)

Which should be enough to have dpkg cope with the upgrade. It's expected to do the following:
 - unpack new netbase
 - unpack new ifupdown
 - consider /etc/init.d/networking as now being part of ifupdown
 - configure netbase
 - configure ifupdown

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1023437

Title:
  ifupdown conflicts with netbase both of which own
  /etc/init.d/networking

Status in “ifupdown” package in Ubuntu:
  New

Bug description:
  root at agent57:~# apt-get install -f
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Correcting dependencies... Done
  The following packages were automatically installed and are no longer required:
    cvs libapt-inst1.4 libcamel-1.2-23
  Use 'apt-get autoremove' to remove them.
  The following extra packages will be installed:
    ifupdown
  Suggested packages:
    rdnssd
  The following packages will be upgraded:
    ifupdown
  1 upgraded, 0 newly installed, 0 to remove and 722 not upgraded.
  743 not fully installed or removed.
  Need to get 0 B/53.5 kB of archives.
  After this operation, 19.5 kB of additional disk space will be used.
  Do you want to continue [Y/n]? 
  (Reading database ... 895051 files and directories currently installed.)
  Preparing to replace ifupdown 0.7~beta2ubuntu8 (using .../ifupdown_0.7.1ubuntu1_i386.deb) ...
  Unpacking replacement ifupdown ...
  dpkg: error processing /var/cache/apt/archives/ifupdown_0.7.1ubuntu1_i386.deb (--unpack):
   trying to overwrite '/etc/init.d/networking', which is also in package netbase 5.0ubuntu1
  No apport report written because MaxReports has already been reached
                                                                      Processing triggers for ureadahead ...
  Errors were encountered while processing:
   /var/cache/apt/archives/ifupdown_0.7.1ubuntu1_i386.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: ifupdown 0.7~beta2ubuntu8
  ProcVersionSignature: Ubuntu 3.4.0-3.8extraspostinst201205291835-generic 3.4.0
  Uname: Linux 3.4.0-3-generic i686
  ApportVersion: 2.0.1-0ubuntu11
  Architecture: i386
  Date: Wed Jul 11 15:31:22 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
  SourcePackage: ifupdown
  UpgradeStatus: Upgraded to quantal on 2012-01-04 (188 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1023437/+subscriptions




More information about the foundations-bugs mailing list