分页: 1 / 1

help! what to do next?!

发表于 : 2007-02-14 18:11
newx
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

发表于 : 2007-02-14 18:16
newx
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:~$
:(

发表于 : 2007-02-14 18:18
BigSnake.NET
try --reinstall flag

发表于 : 2007-02-14 18:21
newx
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.
:(

发表于 : 2007-02-15 3:12
chezz99
连题目都是英文,你英文很好了一定,那还看懂啊???

发表于 : 2007-02-15 11:54
seshomaru samma
1. what were you trying to do before you got that error?
2. why are you posting in a Chinese forum?

发表于 : 2007-02-15 12:03
BigSnake.NET
sudo apt-get --reinstall install libwnck libwnck-*
if it dosen't work ,try removing it

发表于 : 2007-02-15 12:31
shiweifu
看不懂。。漂过