Quote:
Originally posted by perfect_circle
what distro are u using?
Why not replace the whole package?
|
i'm using debian
dpkg --ignore-depends=ifupdown -r net-tools
(Reading database ... 21778 files and directories currently installed.)
Removing net-tools ...
dpkg - warning: while removing net-tools, unable to remove directory `/bin/netst
at': Operation not permitted - directory may be a mount point ?
dpkg - warning: while removing net-tools, unable to remove directory `/sbin/ifco
nfig': Operation not permitted - directory may be a mount point ?
toksgw:/home/kestutis# apt-get install net-tools
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
net-tools
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 231kB of archives.
After unpacking 623kB of additional disk space will be used.
Get:1
http://debian.balt.net woody/main net-tools 1.60-4 [231kB]
Fetched 231kB in 3s (60.2kB/s)
Selecting previously deselected package net-tools.
(Reading database ... 21746 files and directories currently installed.)
Unpacking net-tools (from .../net-tools_1.60-4_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/net-tools_1.60-4_i386.deb (--unpa
ck):
unable to make backup link of `./sbin/ifconfig' before installing new version:
Operation not permitted
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/net-tools_1.60-4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)