我正在尝试从源代码安装 kstars,但在配置时出现以下错误
./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for kde-config... not found
configure: error: The important program kde-config was not found!
Please check whether you installed KDE correctly.
Run Code Online (Sandbox Code Playgroud)
什么意思,我已经在我的电脑上安装了kde
我正在尝试在我的 Linux 上安装最新的 Skype 版本 (4.1)。
我已经从 Skype 官方网站下载了skype-ubuntu-lucid_4.1.0.20-1_i386.deb包。
我删除了所有已安装的版本,包括配置文件。
现在,当我尝试安装下载的软件包时,出现以下错误:
Unpacking skype:i386 (from skype-debian_4.1.0.20-1_i386.deb) ...
dpkg: dependency problems prevent configuration of skype:i386:
skype:i386 depends on libqt4-network (>= 4:4.8.0); however:
Version of libqt4-network:i386 on system is 4:4.7.4-0ubuntu8.2.
skype:i386 depends on libqtgui4 (>= 4:4.8.0); however:
Version of libqtgui4:i386 on system is 4:4.7.4-0ubuntu8.2.
skype:i386 depends on libqtwebkit4 (>= 2.1.0~2011week13); however:
dpkg: error processing skype:i386 (--install):
dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ... …Run Code Online (Sandbox Code Playgroud) 当我在终端中运行 python 脚本时,它会按预期运行;下载文件并将其保存在所需位置。
sudo python script.py
Run Code Online (Sandbox Code Playgroud)
我已将 python 脚本添加到根 crontab,但随后它按预期运行,除非它不写入文件。
$ sudo crontab -l
> * * * * * python /home/test/script.py >> /var/log/test.log 2>&1
Run Code Online (Sandbox Code Playgroud)
下面是一个仍然存在问题的简化脚本:
#!/usr/bin/python
scheduleUrl = 'http://test.com/schedule.xml'
schedule = '/var/test/schedule.xml'
# Download url and save as filename
def wget(url, filename):
import urllib2
try:
response = urllib2.urlopen(url)
except Exception:
import traceback
logging.exception('generic exception: ' + traceback.format_exc())
else:
print('writing:'+filename+';')
output = open(filename,'wb')
output.write(response.read())
output.close()
# Download the schedule
wget(scheduleUrl, schedule)
Run Code Online (Sandbox Code Playgroud)
我确实收到消息“正在写入:文件名;” 在日志中,cron 条目输出到日志中。但实际文件无处可寻......
目录 /var/test 被修改为 777 并且使用任何用户,我都可以随意添加和更改文件。
我认为这个问题在 AskUbuntu 中可能会得到更好的回答,因为乍一看,它似乎与 Ubuntu 的关系比与 Windows 的关系更大。
假设我有一个 foo.mkv 文件。缩略图预览适用于 Windows 7 和 Ubuntu。
当我将文件名更改为诸如 foo.bar 之类的任何随机名称时,或者当我删除扩展名本身(使其只是 foo)时,Nautilus 通常会显示缩略图,就像它可以识别它们是什么类型的文件一样 - 无需查看文件扩展名。
然而,这在 Windows 7 中不会发生。 Windows 开始询问我想使用哪个应用程序打开该文件的问题,只要我删除文件扩展名(忘记缩略图...)等。
那么,此缩略图预览在 Windows 7 和 Ubuntu 中如何工作?与 Windows 7 不同,是什么让 Ubuntu 识别“开箱即用”的文件?
我安装了牛至来学习电子电路。但是每当我按下模拟按钮时,它都会说:
Gnucap 2009.12.07 RCS 26.136 The Gnu Circuit Analysis Package 永远不要相信任何低于 1.0 的版本 版权所有 1982-2009, Albert Davis Gnucap 附带绝对没有保证 这是免费软件,欢迎您根据 GNU 通用条款重新分发它公共许可证,版本 3 或更高版本。有关详细信息,请参阅文件“复制”。Untitled.oregano /usr/share/oregano/models/7400b.model: 没有那个文件或目录
发现分析太少或没有
我用谷歌搜索并找到了这个答案。它说这不是错误,并且发生是因为这些模型未包含在上游 tarball 中。但我不知道如何安装这些模型。
只是出于我的好奇,当我在软件中心按下购买按钮时,正在发生什么过程?. 我只是注意到当我按下购买按钮时它会更新软件缓存。这意味着它为该应用程序添加了一个临时存储库?
看来,由于我没有从 ppa 安装 beta1 版本的 QT5,所以我无法使用 Ubuntu 组件包。我已经发布了 QT5 版本,现在对安装测试版不感兴趣。有解决方法吗?
The following packages have unmet dependencies:
qt-components-ubuntu : Depends: qtbase but it is not installable
Depends: qtdeclarative but it is not installable
Run Code Online (Sandbox Code Playgroud)
安装预览工具包的说明在这里。我跳过了安装 QT5 的步骤,因为我已经直接从 qt-project.org 获得了更新版本。
我现在工作的公司专门从事网络开发。他们目前正在销售客户软件包,为他们开发 Web 应用程序以帮助他们自动化某些业务任务。然后他们托管 Web 应用程序。这目前正在 Mochahost 上完成,直到他们过渡到私人服务器。
我最近设置了另一个运行 Ubuntu 12.04 的机器作为测试 Web 服务器。他们决定使用这个盒子作为 Mochahost 主服务器的备份 DNS 服务器。我对网络服务器的经验非常有限。实现这一目标的通用过程应该是什么?我想我只需要从 Mochahost 主服务器下载 db 文件,将它们保存到辅助服务器,将主服务器配置为指向辅助服务器进行区域更新,然后配置辅助服务器区域文件。我错过了什么吗?我应该如何从 Mochahost 主服务器获取 db 文件?
谢谢
我正在使用带有两个硬盘驱动器的 Ubuntu 12.04。
第二个驱动器设置为挂载,/home/myuser/DATA并且挂载正常。但是 gnome 在通知区域显示了一个“可移动设备”项目,其中列出了我的硬盘驱动器和卸载按钮。
如何让 Ubuntu 将第二块硬盘视为系统硬盘,而不建议我在通知区域卸载它?
过去几个小时我一直在浏览文档,但我不明白 PPA 是什么?我有一个跨平台的 Java 应用程序,我想将它发布到 Ubuntu 软件中心。我的应用程序是开源的,我正在使用 Github。
显然,将应用程序发布到商店并不像上传 deb 包那么简单——我说得对吗?我需要在 Launchpad 上创建一个帐户并将我的所有代码放在那里。
我不打算仅仅为了发布到应用商店而从 Git 迁移到 Bzr,但幸运的是,人们能够设置从 Github 到 Launchpad 的源代码镜像。
由于我的申请还为时过早,因此它会经常更新。当我在我的机器上构建我的应用程序时,我是直接转到我的 Ubuntu App Developer 页面并上传新的 DEB 包还是他们从源代码构建我的应用程序?
PPA 究竟是做什么用的?我认为我不需要太多 Launchpad 功能,所以如果可能的话,我想坚持使用 Github。
installation ×2
12.04 ×1
compiling ×1
deb ×1
dependencies ×1
dns ×1
dpkg ×1
mount ×1
nautilus ×1
ppa ×1
python ×1
qml ×1
scripts ×1
server ×1
skype ×1
thumbnails ×1
ubuntu-touch ×1
webserver ×1
windows ×1
windows-7 ×1