现在,即使在优秀 指南的帮助下,专有 ATI Catalyst 驱动程序的升级也很痛苦。
这些命令都成功运行(如$? -eq 0):
sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev* \
xorg-driver-fglrx
sudo apt-get install build-essential cdbs fakeroot dh-make debhelper \
debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 \
dh-modaliases # Already installed
sudo apt-get install ia32-libs # Ditto
sudo sh ./ati-driver-installer-11-7-x86.x86_64.run --buildpkg Ubuntu/natty
sudo dpkg -i fglrx*.deb
Run Code Online (Sandbox Code Playgroud)
重新启动后,它在图形引导阶段崩溃了。安全模式下重启,恢复旧配置:
sudo mv /etc/X11/xorg.conf{.fglrx-N,}
Run Code Online (Sandbox Code Playgroud)
现在它启动,并直接进入正确的视频模式,但CCC 中显示的版本号仍然显示 11.5!
尝试卸载驱动程序,并注意到一些警告:
dpkg: warning: while removing fglrx, directory '/usr/lib32/fglrx' not empty so not removed.
dpkg: …Run Code Online (Sandbox Code Playgroud) 有一个(据我所知)未记录的功能gnome-control-center可用于直接显示特定面板。例如,gnome-control-center sound将显示“声音”面板。我一直试图弄清楚“键盘布局”面板的名称,但没有成功:
gnome-control-center keyboard # Just the "Typing" and "Shortcuts" tabs
gnome-control-center layout # Not found
gnome-control-center keyboardlayout # Not found
gnome-control-center 'keyboard layout' # Not found
Run Code Online (Sandbox Code Playgroud)
在哪里可以找到与此命令一起使用的面板名称列表?
以下命令运行良好,即不要求输入密码,不打印警告或错误,仅提供 DB 提示:
$ psql -U dbuser dbname
psql (8.4.10)
Type "help" for help.
dbname=#
Run Code Online (Sandbox Code Playgroud)
当尝试使用SchemaSpy(以同一主机用户身份运行)从此数据库生成 ERD 时,它不起作用:
$ java -jar ~/schemaSpy.jar -dp /usr/share/java/postgresql.jar -t pgsql \
-host localhost -db dbname -u dbuser -o ~/db
Using database properties:
[/[...]/schemaSpy.jar]/net/sourceforge/schemaspy/dbTypes/pgsql.properties
Failed to connect to database URL [jdbc:postgresql://localhost/dbname]
org.postgresql.util.PSQLException: The server requested password-based
authentication, but no password was provided.
Run Code Online (Sandbox Code Playgroud)
如果我尝试使用空白密码 ( -p ''),它会打印:
org.postgresql.util.PSQLException: FATAL: password authentication failed for
user "dbuser"
Run Code Online (Sandbox Code Playgroud)
如何使用没有密码的数据库用户在 PostgreSQL 数据库上运行 SchemaSpy?
我尝试将pg_hba.conf …
您好,我最近下载了 Ubuntu 12.04 并将其与我的 windows7 一起安装。安装完成后,它要求我升级,我升级了,但之后我的 Ubuntu 桌面变成了 12.10。现在它再次要求我升级到 13.04。
我真的很困惑,因为在 Ubuntu 下载中心,据说 Ubuntu 12.04 将支持到 2017 年。
到底发生了什么?每次它要求我升级时我都需要升级还是我可以跳过升级。我第一个安装的 Ubuntu 12.04 版本会怎样?它会支持到 2017 年吗?
我真的是 Linux 和 Ubuntu 的初学者。
在 Ubuntu 20.04 上运行 Tor 浏览器会产生以下输出:
$ torbrowser-launcher
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.3.2
https://github.com/micahflee/torbrowser-launcher
Downloading Tor Browser for the first time.
Downloading https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/x/en-US
Latest version: 10.0
Downloading https://dist.torproject.org/torbrowser/10.0/tor-browser-linux64-10.0_en-US.tar.xz.asc
Downloading https://dist.torproject.org/torbrowser/10.0/tor-browser-linux64-10.0_en-US.tar.xz
Verifying Signature
Refreshing local keyring...
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/torbrowser_launcher/launcher.py", line 589, in verify
c.verify(signature=sig, signed_data=signed)
File "/usr/lib/python3/dist-packages/gpg/core.py", line 541, in verify
raise errors.BadSignatures(results[1], results=results)
gpg.errors.BadSignatures: 110775B5D101FB36BC6C911BEB774491D9FF06E2: Key expired
During handling of the above exception, another exception occurred:
Traceback (most recent call …Run Code Online (Sandbox Code Playgroud)