Ubunut出错啦。。。。
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 7
- 注册时间: 2007-07-24 13:36
Ubunut出错啦。。。。
执行apt-get install -f 时出错啦。。
root@ProvenceServer:/usr/bin# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
postfix
Suggested packages:
procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin resolvconf postfix-cdb
The following NEW packages will be installed:
postfix
0 upgraded, 1 newly installed, 0 to remove and 33 not upgraded.
6 not fully installed or removed.
Need to get 0B/1119kB of archives.
After unpacking 2589kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 112311 files and directories currently installed.)
Unpacking postfix (from .../postfix_2.4.5-3~feisty1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/postfix_2.4.5-3~feisty1_i386.deb (--unpack):
unable to create `./usr/sbin/postalias': Permission denied
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/postfix_2.4.5-3~feisty1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ProvenceServer:/usr/bin# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
postfix
Suggested packages:
procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin resolvconf postfix-cdb
The following NEW packages will be installed:
postfix
0 upgraded, 1 newly installed, 0 to remove and 33 not upgraded.
6 not fully installed or removed.
Need to get 0B/1119kB of archives.
After unpacking 2589kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 112311 files and directories currently installed.)
Unpacking postfix (from .../postfix_2.4.5-3~feisty1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/postfix_2.4.5-3~feisty1_i386.deb (--unpack):
unable to create `./usr/sbin/postalias': Permission denied
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/postfix_2.4.5-3~feisty1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
-
- 帖子: 7
- 注册时间: 2007-07-24 13:36
执行删除操作的结果如下,还是不行呢。
root@ProvenceServer:/var/cache/apt/archives# apt-get remove mailx postfix
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mailx is not installed, so not removed
Package postfix is not installed, so not removed
The following packages will be REMOVED:
initscripts upstart upstart-compat-sysv upstart-logd
0 upgraded, 0 newly installed, 4 to remove and 1 not upgraded.
4 not fully installed or removed.
Need to get 0B of archives.
After unpacking 1057kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 112286 files and directories currently installed.)
Removing upstart-compat-sysv ...
dpkg: error processing upstart-compat-sysv (--remove):
cannot remove `/sbin/poweroff': Permission denied
Removing initscripts ...
dpkg: error processing initscripts (--remove):
cannot remove `/bin/mountpoint': Permission denied
Removing upstart-logd ...
dpkg: error processing upstart-logd (--remove):
cannot remove `/sbin/logd': Permission denied
Removing upstart ...
dpkg: error processing upstart (--remove):
cannot remove `/sbin/status': Permission denied
Errors were encountered while processing:
upstart-compat-sysv
initscripts
upstart-logd
upstart
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ProvenceServer:/var/cache/apt/archives# apt-get remove mailx postfix
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mailx is not installed, so not removed
Package postfix is not installed, so not removed
The following packages will be REMOVED:
initscripts upstart upstart-compat-sysv upstart-logd
0 upgraded, 0 newly installed, 4 to remove and 1 not upgraded.
4 not fully installed or removed.
Need to get 0B of archives.
After unpacking 1057kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 112286 files and directories currently installed.)
Removing upstart-compat-sysv ...
dpkg: error processing upstart-compat-sysv (--remove):
cannot remove `/sbin/poweroff': Permission denied
Removing initscripts ...
dpkg: error processing initscripts (--remove):
cannot remove `/bin/mountpoint': Permission denied
Removing upstart-logd ...
dpkg: error processing upstart-logd (--remove):
cannot remove `/sbin/logd': Permission denied
Removing upstart ...
dpkg: error processing upstart (--remove):
cannot remove `/sbin/status': Permission denied
Errors were encountered while processing:
upstart-compat-sysv
initscripts
upstart-logd
upstart
E: Sub-process /usr/bin/dpkg returned an error code (1)
- goldfox_79
- 帖子: 2004
- 注册时间: 2005-10-16 8:26
- 来自: 地球
- xiehuoli
- 帖子: 5941
- 注册时间: 2006-06-10 8:43
- 来自: 中国 CS
- xiehuoli
- 帖子: 5941
- 注册时间: 2006-06-10 8:43
- 来自: 中国 CS
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙