修复冲突的依赖关系

目前在带有i5 660的Dell Optiplex上运行Ubuntu 16.04

我遇到的问题看起来像依赖冲突,但我不确定我是否正确解释输出。 有人可以帮我理解我在看什么并帮我修复它吗?

sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: libwinpr-heap0.1 : Depends: libc6 (= .= 2.2.5) but 2.23-0ubuntu5 is installed E: Unmet dependencies. Try using -f. humberto@DellServer:~$ sudo apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following additional packages will be installed: libwinpr-heap0.1 Suggested packages: freerdp-x11 The following packages will be upgraded: libwinpr-heap0.1 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 16.3 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libwinpr-heap0.1 amd64 1.1.0~git20140921.1.440916e+dfsg1-5ubuntu1 [16.3 kB] Fetched 16.3 kB in 0s (49.5 kB/s) dpkg: warning: parsing file '/var/lib/dpkg/status' near line 16472 package 'libavdevice-ffmpeg56:amd64': error in 'Version' field string '7:".8.10-0ubuntu0.16.04.1': version number does not start with digit dpkg: warning: parsing file '/var/lib/dpkg/status' near line 16536 package 'libc6:i386': missing description dpkg: warning: parsing file '/var/lib/dpkg/status' near line 16580 package 'libwinpr-heap0.1:amd64': 'Depends' field, reference to 'libc6': implicit exact match on version number, suggest using '=' instead dpkg: warning: parsing file '/var/lib/dpkg/status' near line 16580 package 'libwinpr-heap0.1:amd64': 'Depends' field, reference to 'libc6': version value starts with non-alphanumeric, suggest adding a space dpkg: error: parsing file '/var/lib/dpkg/status' near line 16580 package 'libwinpr-heap0.1:amd64': 'Depends' field, reference to 'libc6': version contains ' ' E: Sub-process /usr/bin/dpkg returned an error code (2) 

你有多久这个问题? 您可以使用状态旧文件,例如sudo cp /var/lib/dpkg/status{,.broken}然后sudo cp / var / lib / dpkg / status {-old,}或者从其中一个备份/ var / backups / dpkg.status.0,/ var / backups / dpkg.status.1.gz等 – steeldriver 3小时前