ifupdown conflicts with netbase both of which own /etc/init.d/networking
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
ifupdown (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
root@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_
Unpacking replacement ifupdown ...
dpkg: error processing /var/cache/
trying to overwrite '/etc/init.
No apport report written because MaxReports has already been reached
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: ifupdown 0.7~beta2ubuntu8
ProcVersionSign
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)
Related branches
Changed in ifupdown (Ubuntu): | |
importance: | Undecided → High |
Changed in dpkg (Ubuntu): | |
importance: | Undecided → Medium |
Changed in dpkg (Ubuntu): | |
status: | Invalid → Confirmed |
tags: | removed: quantal |
I managed to reproduce here with a minimal 12.04 install manually upgrading (apt-get dist-upgrade) to quantal.
Just a few notes. d/networking is a sysvinit script in netbase < 5.0 d/networking was dropped from netbase >= 5.0 d/networking was added to ifupdown >= 0.7.1 d/networking is a symlink to /lib/init/ upstart- job
- /etc/init.
- /etc/init.
- /etc/init.
- in ifupdown, /etc/init.
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: d/networking as now being part of ifupdown
- unpack new netbase
- unpack new ifupdown
- consider /etc/init.
- configure netbase
- configure ifupdown