我已经安装了 oracle virtualBox v.4.1.2_Ubuntu r38359。
程序 VM 启动时出错:
警告:字符设备 /dev/vboxdrv 不存在。请安装 virtualbox-ose-dkms 包和适当的头文件,很可能是 linux-headers-generic。
在解决此问题之前,您将无法启动 VM。
(VirtualBox:5642): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(VirtualBox:5642): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(VirtualBox:5642): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(VirtualBox:5642): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
Run Code Online (Sandbox Code Playgroud)
正如我所做的那样:
1)
sudo apt-get install virtualbox-ose virtualbox-ose-dkms
答案:
virtualbox-ose 已经是最新版本了。
virtualbox-ose-dkms 已经是最新版本了。
2)
sudo apt-get install linux-headers-`uname -r`
Run Code Online (Sandbox Code Playgroud)
回答:
linux-headers-3.0.0-12-generic-pae …
我正在使用代理,除了 cURL 之外没有任何问题。
任何时候我尝试做:
curl -L http://link.to.something
Run Code Online (Sandbox Code Playgroud)
我收到:
curl: (5) Couldn't resolve proxy 'http'
Run Code Online (Sandbox Code Playgroud)
尽管如此:
curl --proxy http://myproxy.com:8080 -L http://link.to.something
Run Code Online (Sandbox Code Playgroud)
会很好用。
有没有办法--proxy每次都不写?
sudo add-apt-repository ppa:pitti/postgresql
# ... OK
sudo apt-get install postgresql-8.4
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package postgresql-8.4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'postgresql-8.4' has no installation candidate
Run Code Online (Sandbox Code Playgroud)
我应该从http://packages.debian.org/squeeze/postgresql-8.4下载它并手动安装所有依赖项吗?