问题:笔记本电脑的扬声器音质比windows差很多。如何在 Ubuntu 18.04 中解决这个问题?
Nat Azodnem's questions
我一直在尝试在我新安装的 GRASS GIS 7.0 上安装几个扩展(按照此处的说明安装),其中包括“i.fusion.hpf”。扩展似乎并不重要,因为每个人的问题都是一样的。因此,当我运行 g.extension 并尝试添加扩展时,我收到了消息
错误:请安装 GRASS 开发包
在GRASS 的网站上,我读到这个错误意味着我必须安装“grass-dev”包。我尝试这样做,但是当我在终端中执行此操作时,我收到依赖项错误消息...(法语,之后是翻译)
~$ sudo apt install grass-dev
Reading package lists ... Done
Building the dependency tree
Reading status information ...
Some packages can not be installed. This can mean
that you asked for the impossible, or, if you use
the unstable distribution, that some packages have not yet
been created or did not come out of entering.
The following information will help you resolve the situation:
Following packages contain unsatisfied dependencies:
grass-dev: depends: libgdal-dev but won't be installed
depends: libpq-dev but won't be installed
E: impossible to fix problems, defective packages are in "keep as is" mode.
当我尝试安装依赖项时,我基本上得到了与其他依赖项相同的答案。因为我不想把这些弄得太多,所以我请求你的帮助:-)
[编辑]我尝试了亚伯汤姆的回答,但这就是我得到的:
$ sudo apt installs libgdal-dev libpq-dev
Reading package lists ... Done
Building the dependency tree
Reading status information ...
Some packages can not be installed. This can mean
that you asked for the impossible, or, if you use
the unstable distribution, that some packages have not yet
been created or did not come out of entering.
The following information will help you resolve the situation:
The following packages of unmet dependencies:
libpq-dev: Depends: libpq5 (= 9.5.8-0ubuntu0.16.04.1) but 9.5.9-0ubuntu0.16.04 must be installed
E: Unable to fix problems, packages are in "keep as is" mode.
我试过sudo apt install libpq5
但它已经安装了....奇怪。而且sudo apt install -f
也没有成功......
我尝试卸载并重新安装 GRASS GIS,但没有任何改变……除了现在卸载了 QGIS(所以我重新安装了它,似乎工作正常)。我尝试更改 ppa。我从ppa:ubuntugis/ubuntugis-unstable
到ppa:grass/grass-stable
然后降级到 GRASS 7.0。问题更严重,因为我什至无法访问附加组件数据库!现在我回到了7.2。
开始认为这是因为软件包正在开发中,不知何故?开发人员是否正在更新它们,因此它们无法访问?老实说,我真的不知道它是如何工作的......同样在 g.extension 的手册/故障排除中,它说:
由于扩展必须在基于 Unix 的系统(Linux、Mac OSX 等)上编译,除非安装了 Python 扩展,因此用户计算机上必须存在完整的编译器环境。
这是否意味着我可以安装一些 Python 扩展?我真的不确定这意味着什么。
再会,
纳特阿佐德内姆