help! what to do next?!

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
newx
帖子: 146
注册时间: 2006-02-28 19:05

help! what to do next?!

#1

帖子 newx » 2007-02-14 18:11

Unpacking replacement libwnck-common ...
Preparing to replace libwnck18 2.14.1-0ubuntu2 (using .../libwnck18_2.17.91-0ubuntu1_i386.deb) ...
Unpacking replacement libwnck18 ...
Errors were encountered while processing:
/var/cache/apt/archives/metacity-common_1%3a2.17.5-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
newx@ubuntu-desktop:~$



-------------------

newx@ubuntu-desktop:~$sudo apt-get dist-upgrade --fix-missing
newx@ubuntu-desktop:~$sudo apt-get -f install

-------------------

the comonds above can not solve this programe

p.s:

packages are from archive.ubuntu.com
newx
帖子: 146
注册时间: 2006-02-28 19:05

#2

帖子 newx » 2007-02-14 18:16

Errors were encountered while processing:
/var/cache/apt/archives/metacity-common_1%3a2.17.5-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
newx@ubuntu-desktop:~$ sudo apt-get dist-upgrade --fix-missing
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
libmetacity0: Depends: metacity-common (>= 1:2.17) but it is not installed
Depends: metacity-common (< 1:2.18) but it is not installed
E: Unmet dependencies. Try using -f.
newx@ubuntu-desktop:~$
:(
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#3

帖子 BigSnake.NET » 2007-02-14 18:18

try --reinstall flag
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
newx
帖子: 146
注册时间: 2006-02-28 19:05

#4

帖子 newx » 2007-02-14 18:21

E: Invalid operation flag
:(

sudo apt-get --reinstall
apt 0.6.46.4ubuntu7 for linux i386 compiled on Feb 6 2007 18:49:33
Usage: apt-get [options] command
apt-get [options] install|remove pkg1 [pkg2 ...]
apt-get [options] source pkg1 [pkg2 ...]

apt-get is a simple command line interface for downloading and
installing packages. The most frequently used commands are update
and install.

Commands:
update - Retrieve new lists of packages
upgrade - Perform an upgrade
install - Install new packages (pkg is libc6 not libc6.deb)
remove - Remove packages
source - Download source archives
build-dep - Configure build-dependencies for source packages
dist-upgrade - Distribution upgrade, see apt-get(8)
dselect-upgrade - Follow dselect selections
clean - Erase downloaded archive files
autoclean - Erase old downloaded archive files
check - Verify that there are no broken dependencies

Options:
-h This help text.
-q Loggable output - no progress indicator
-qq No output except for errors
-d Download only - do NOT install or unpack archives
-s No-act. Perform ordering simulation
-y Assume Yes to all queries and do not prompt
-f Attempt to continue if the integrity check fails
-m Attempt to continue if archives are unlocatable
-u Show a list of upgraded packages as well
-b Build the source package after fetching it
-V Show verbose version numbers
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-get(8), sources.list(5) and apt.conf(5) manual
pages for more information and options.
This APT has Super Cow Powers.
:(
chezz99
帖子: 149
注册时间: 2006-10-29 21:10

#5

帖子 chezz99 » 2007-02-15 3:12

连题目都是英文,你英文很好了一定,那还看懂啊???
seshomaru samma
帖子: 6
注册时间: 2007-01-22 16:20

#6

帖子 seshomaru samma » 2007-02-15 11:54

1. what were you trying to do before you got that error?
2. why are you posting in a Chinese forum?
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#7

帖子 BigSnake.NET » 2007-02-15 12:03

sudo apt-get --reinstall install libwnck libwnck-*
if it dosen't work ,try removing it
上次由 BigSnake.NET 在 2007-02-15 12:47,总共编辑 1 次。
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
shiweifu
帖子: 66
注册时间: 2007-01-28 15:47

#8

帖子 shiweifu » 2007-02-15 12:31

看不懂。。漂过
回复