proftpd won't install from the repository and gives a dpkg error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nexenta Operating System |
Fix Released
|
Medium
|
anilg |
Bug Description
OS is NCP2 Beta2.
$ sudo apt-get install proftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
proftpd-doc
The following NEW packages will be installed:
proftpd
0 upgraded, 1 newly installed, 0 to remove and 29 not upgraded.
2 not fully installed or removed.
Need to get 0B/906kB of archives.
After this operation, 70.7kB of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 37411 files and directories currently installed.)
Unpacking proftpd (from .../proftpd_
dpkg: error processing /var/cache/
trying to overwrite `/usr/sbin/
Processing triggers for man-db ...
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
fopen: Permission denied
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Confirmed. sunwftpu is not installed by default install. Once installed it provides /usr/sbin/ftpshut, also provided by proftpd.
Correcting by adding a 'conflicts' entry in proftpd's control file.