我有几个与以下错误相关的问题:
为什么我安装 curl 时 postfix 被重新配置了?这是正常的吗?
我需要做什么来解决提到的 Postfix 错误?
sudo apt-get install curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libcurl3
The following NEW packages will be installed:
curl libcurl3
0 upgraded, 2 newly installed, 0 to remove and 7 not upgraded.
1 not fully installed or removed.
Need to get 403kB of archives.
After this operation, 729kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://us.archive.ubuntu.com hardy-updates/main libcurl3 7.18.0-1ubuntu2.3 [206kB]
Get:2 http://us.archive.ubuntu.com hardy-updates/main curl 7.18.0-1ubuntu2.3 [197kB]
Fetched 403kB in 3s (102kB/s)
Selecting previously deselected package libcurl3.
(Reading database ... 48741 files and directories currently installed.)
Unpacking libcurl3 (from .../libcurl3_7.18.0-1ubuntu2.3_i386.deb) ...
Selecting previously deselected package curl.
Unpacking curl (from .../curl_7.18.0-1ubuntu2.3_i386.deb) ...
Setting up postfix (2.5.1-2ubuntu1.4) ...
setting inet_protocols: all
Postfix is now set up with the changes above. If you need to make changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.
Running newaliases
postalias: fatal: open /etc/postfix/aliases.db: Permission denied
dpkg: error processing postfix (--configure):
subprocess post-installation script returned error exit status 1
Setting up libcurl3 (7.18.0-1ubuntu2.3) ...
Setting up curl (7.18.0-1ubuntu2.3) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
答案1
事实证明我可以忽略该错误。显然什么都没有损坏。