Skip to content

Help! Terminal keeps freezing/not working

So here is whats happening. When I start terminal I get this long wall of text:

declare -x COLORTERM="gnome-terminal" declare -x DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus- zbUrEjkgvf,guid=f28aa492f76eab45594490c40000001a" declare -x DESKTOP_SESSION="gnome" declare -x DISPLAY=":0" declare -x GDMSESSION="gnome" declare -x GDM_LANG="en_US.utf8" declare -x GJS_DEBUG_OUTPUT="stderr" declare -x GJS_DEBUG_TOPICS="JS ERROR;JS LOG" declare -x GNOME_DESKTOP_SESSION_ID="this-is-deprecated" declare -x GNOME_KEYRING_CONTROL="/tmp/keyring-pZVUii" declare -x GNOME_KEYRING_PID="1228" declare -x GPG_AGENT_INFO="/tmp/keyring-pZVUii/gpg:0:1" declare -x G_BROKEN_FILENAMES="1" declare -x HOME="/home/connor" declare -x J2REDIR="/usr/lib/jvm/java-6-openjdk/jre" declare -x J2SDKDIR="/usr/lib/jvm/java-6-openjdk" declare -x JAVA_HOME="/usr/lib/jvm/java-6-openjdk" declare -x LANG="en_US.utf8" declare -x LOGNAME="connor" declare -x MOZ_PLUGIN_PATH="/usr/lib/mozilla/plugins" declare -x OLDPWD declare -x PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl" declare -x PWD="/home/connor" declare -x SESSION_MANAGER="local/myhost:@/tmp/.ICE-unix/1245,unix/myhost:/tmp/.ICE-unix/1245" declare -x SHELL="/bin/bash" declare -x SHLVL="1" declare -x SSH_AUTH_SOCK="/tmp/keyring-pZVUii/ssh" declare -x TERM="xterm" declare -x USER="connor" declare -x USERNAME="connor" declare -x WINDOWID="33554437" declare -x WINDOWPATH="7" declare -x XAUTHORITY="/var/run/gdm/auth-for-connor-NETHkh/database" declare -x XDG_CACHE_HOME="/home/connor/.cache" declare -x XDG_CONFIG_DIRS="/etc/xdg" declare -x XDG_CONFIG_HOME="/home/connor/.config" declare -x XDG_DATA_DIRS="/usr/share/:/usr/local/share/" declare -x XDG_DATA_HOME="/home/connor/.local/share" declare -x XDG_SESSION_COOKIE="cd9fad7c1c2e3c9f7397a332000000cd-1320645375.169364-1866114541" bash: /platform-tools: Permission denied

Then when I type in any pacman command like pacman -Syy or -Syu or -S it says the first line and never finishes forcing me to close it. I then open pacman and i'm greeted with this:

error: failed to init transaction (unable to lock database) if you're sure a package manager is not already running, you can remove /var/lib/pacman/db.lck

After doing rm /var/lib/pacman/db.lck the same thing happens again.

Help me reddit you are my only hope. <3

0 points0 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
m38pr

Author

17
posts
51
comments
7
media
View profile
Nobody had commented when we saved it.

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.