Netatalk fails to install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netatalk (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: netatalk
ian@cheesebot-
Selecting previously deselected package netatalk.
(Reading database ... 202964 files and directories currently installed.)
Preparing to replace netatalk 2.0.3-6ubuntu1 (using .../netatalk_
hostname: Unknown host
invoke-rc.d: initscript netatalk, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
hostname: Unknown host
invoke-rc.d: initscript netatalk, action "stop" failed.
dpkg: error processing /var/cache/
subprocess new pre-removal script returned error exit status 1
hostname: Unknown host
invoke-rc.d: initscript netatalk, action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: error processing netatalk (--configure):
Package is in a very bad inconsistent state - you should
reinstall it before attempting configuration.
Errors were encountered while processing:
netatalk
Press return to continue.
------
Fixed by changing two files:
1) /etc/default/
FROM: ATALK_NAME=
TO: ATALK_NAME=
2) /etc/init.
FROM: ATALK_NAME=
TO: ATALK_NAME=
-----
After the changes, seems to work normally: (Hooray!)
ian@cheesebot-
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up netatalk (2.0.3-6ubuntu1) ...
Starting Netatalk services (this will take a while): eth1: disabled.
atalkd afpd papd.
ian@cheesebot-
ProblemType: Bug
Architecture: i386
Date: Sun Oct 28 10:27:41 2007
DistroRelease: Ubuntu 7.10
Uname: Linux cheesebot-supremo 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux
I can confirm this bug. It fails to install.