`Ffmpeg` aptitude install 似乎会破坏软件包。

`Ffmpeg` aptitude install 似乎会破坏软件包。

我尝试安装它,ffmpeg因为我认为编译 OpenCV 需要它。但是,当我尝试这样做时,我认为我搞砸了。我该如何撤消我的操作?

$ sudo aptitude install ffmpeg
The following packages will be REMOVED:  
libalut-dev{u} libalut0{u} libcoin60{u} libgeos-3.2.2{u} libgeos-c1{u} libhal1{u}
    libhdf4-0-alt{u} libnetcdf6{u} libogdi3.2{u} libopenal-dev{u} libproj0{u} 
    libxerces-c28{u} proj-bin{u} proj-data{u} unixodbc{u} 
0 packages upgraded, 0 newly installed, 15 to remove and 16 not upgraded.
Need to get 0 B of archives. After unpacking 25.1 MB will be freed.
Do you want to continue? [Y/n/?] y
(Reading database ... 222527 files and directories currently installed.)
Removing libalut-dev ...
Removing libalut0 ...
Removing libcoin60 ...
Removing libgeos-c1 ...
Removing libgeos-3.2.2 ...
Removing libhal1 ...
Removing libhdf4-0-alt ...
Removing libnetcdf6 ...
Removing libogdi3.2 ...
Removing libopenal-dev ...
Removing proj-bin ...
Removing libproj0 ...
Removing libxerces-c28 ...
Removing proj-data ...
Removing unixodbc ...
Processing triggers for man-db ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

Current status: 43955 new [+14349].
$ sudo aptitude safe-upgrade 
Resolving dependencies...                
Unable to resolve dependencies for the upgrade: no solution found.
Unable to safely resolve dependencies, try running with --full-resolver.

如果需要更多信息,请发表评论。

答案1

我解决了。对于其他人:

我照做了aptitude why ffmpeg,它给出了k9copydvdrip。我删除了它们。然后我删除了ffmpeg。这可能不是问题所在。apt-get dist-upgrade -s给了我一个要升级的软件包列表。第一个是libboost-all-dev。再次why告诉我不需要它,所以我remove做了。现在只剩下三个包了。所有这些都与 libboost 结合使用- 那些是我在升级前手动安装的软件包。我删除了它们,现在系统又干净了。

相关内容