LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 828|回复: 0

如何解决:You must upgrade dpkg before installing this package

[复制链接]
发表于 2008-4-21 11:16:06 | 显示全部楼层 |阅读模式
我想在Debian下安装VLC,执行

apt-get -f install vlc

后,提示存在未安装的依赖关系,其中第一个是zlib1g-dev,执行:

apt-get -f install zlib1g-dev

后,出现如标题所示错误信息。

请问是为什么呢?如何解决?

附:aptitude show dpkg的结果如下:

Package: dpkg
Essential: yes
State: installed
Automatically installed: no
Version: 1.13.25
Priority: required
Section: admin
Maintainer: Dpkg Developers <team@dpkg.org>
Uncompressed Size: 6447k
PreDepends: libc6 (>= 2.3.6-6), coreutils (>= 5.93-1)
Suggests: apt, lzma
Conflicts: sysvinit (< 2.82-1), dpkg-iasearch (< 0.11), dpkg-static, dpkg-dev (< 1.10)
Replaces: dpkg-doc-ja, dpkg-static, manpages-de (<= 0.4-3), manpages-pl (<= 20051117-1)
Description: package maintenance system for Debian
This package contains the low-level commands for handling the installation and removal of packages on your
system.

In order to unpack and build Debian source packages you will need to install the developers' package
`dpkg-dev' as well as this one.

Tags: admin::package-management, implemented-in::c, implemented-in::perl, interface::commandline,
      role::program, scope::utility, suite::debian, use::configuring, use::scanning,
      works-with::software:package
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表