LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-04-2020, 03:38 PM   #1
LacunaBlue
LQ Newbie
 
Registered: Apr 2020
Posts: 8

Rep: Reputation: Disabled
Tumbleweed GNOME terminal indefinite blinking cursor after command


I've been having issues with terminal commands. If I enter something like "zypper search vlc" or "grep dim", the command will be accepted, but the cursor blinks indefinitely.

Sometimes the cursor stays solid and doesn't blink for a while, if that means anything. I am able to close the terminal window at any time, so it's not freezing up. It's been blinking for about 20 minutes now after entering "zypper search vlc".

Initial search of the forums and google for 'terminal hang unresponsive' etc yielded no results.

Troubleshooting suggestions would be appreciated.
 
Old 06-04-2020, 03:58 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,876
Blog Entries: 13

Rep: Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929
Quote:
Originally Posted by LacunaBlue View Post
I've been having issues with terminal commands. If I enter something like "zypper search vlc" or "grep dim", the command will be accepted, but the cursor blinks indefinitely.

Sometimes the cursor stays solid and doesn't blink for a while, if that means anything. I am able to close the terminal window at any time, so it's not freezing up. It's been blinking for about 20 minutes now after entering "zypper search vlc".

Initial search of the forums and google for 'terminal hang unresponsive' etc yielded no results.

Troubleshooting suggestions would be appreciated.
How about if you just enter 'ls', does that work? Maybe the commands you're entering are never finding anything and this is why they're seemingly stuck.
 
1 members found this post helpful.
Old 06-04-2020, 04:05 PM   #3
LacunaBlue
LQ Newbie
 
Registered: Apr 2020
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rtmistler View Post
How about if you just enter 'ls', does that work?
That does actually work. Certain things definitely exist though, like "zypper search vlc" -- this command also causes a hang.

Just realized that YaST crashes around 50% or 57% when Loading the Package Manager within Software Management, as well.

While terminal just hangs on a cursor and can be closed out. YaST becomes completely unresponsive; can't be closed, can't "Skip Autorefresh" or anything.

Folks on similar threads tend to post their repos:

Code:
Tim@DESKTOP-U5GV7MN:~> zypper lr
Repository priorities are without effect. All enabled repositories share the same priority.

# | Alias                            | Name                           | Enabled | GPG Check | Refresh
--+----------------------------------+--------------------------------+---------+-----------+--------
1 | download.opensuse.org-non-oss    | Main Repository (NON-OSS)      | Yes     | (r ) Yes  | Yes
2 | download.opensuse.org-oss        | Main Repository (OSS)          | Yes     | (r ) Yes  | Yes
3 | download.opensuse.org-tumbleweed | Main Update Repository         | Yes     | (r ) Yes  | Yes
4 | home_Sauerland_hardware          | Hardware (openSUSE_Tumbleweed) | Yes     | (r ) Yes  | Yes
5 | openSUSE-20200502-0              | openSUSE-20200502-0            | No      | ----      | ----
6 | repo-debug                       | openSUSE-Tumbleweed-Debug      | No      | ----      | ----
7 | repo-source                      | openSUSE-Tumbleweed-Source     | No      | ----      | ----

PS. Thanks for the quick response!

Last edited by LacunaBlue; 06-04-2020 at 04:17 PM. Reason: postscript
 
Old 06-05-2020, 03:21 AM   #4
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,777

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by LacunaBlue View Post
I've been having issues with terminal commands. If I enter something like "zypper search vlc" or "grep dim", the command will be accepted, but the cursor blinks indefinitely.

Sometimes the cursor stays solid and doesn't blink for a while, if that means anything. I am able to close the terminal window at any time, so it's not freezing up. It's been blinking for about 20 minutes now after entering "zypper search vlc".

Initial search of the forums and google for 'terminal hang unresponsive' etc yielded no results.

Troubleshooting suggestions would be appreciated.
A command like "grep dim" isn't complete. Well... actually it is complete but not doing what you expected. "grep dim" will try and find "dim" in whatever you type into the terminal until you enter Ctrl-D. I suspect you were going for "grep dim *".

The zypper command works just fine on my desktop -- Leap, though, not Tumbleweed -- though it took a little time to wade through my Packman repository (before letting me know it was out of date). So I'm not sure what would make it hang for 20 minutes.

As for suggestions? I would probably run "strace zypper search vlc" to see what system calls it's hung on or looping on.

Good luck...
 
Old 06-05-2020, 03:50 AM   #5
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,777

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by LacunaBlue View Post
...

Just realized that YaST crashes around 50% or 57% when Loading the Package Manager within Software Management, as well.

...
Hmm... I've never seen that happen. I'd go into the Software Repositories and disable all but one repository, then try going into Software Management. If it loads without error, go back and disable that repository and enable the next one. Rinse and repeat for all repositories. My guess is that you'll find the repository that's causing the YaST crash. There could be more than one that induces a crash. I've (very) occasionally gotten warnings about repositories -- never any outright crashes, though -- and "zypper refresh 'repository-name'" has corrected the problem. There is also "zypper refresh --force 'repository-name'" though I've never used that.

My previous "strace" suggestion might reveal the repository that's causing the crash. Look for fopen(), fread(), or similar calls that return errors. Expect a lot of output, too, so consider piping it into "tee(1)" to capture it for later inspection.

Good luck...

Last edited by rnturn; 06-05-2020 at 03:53 AM.
 
Old 06-08-2020, 03:07 PM   #6
LacunaBlue
LQ Newbie
 
Registered: Apr 2020
Posts: 8

Original Poster
Rep: Reputation: Disabled
RE: replies

Thanks for the feedback, folks. Tested some things out in zypper today and it's functioning. I'm not sure if the load times were extended because of the broad search term or possible a slow mirror or connection at the time, but zypper search vlc, zypper search man-pages, etc worked fine.

As far as grep, looks like that command has to be used in conjunction with an initial command.
Code:
$ X Input |  grep Output
or something like this. Slowly learning.

Thanks!
 
  


Reply

Tags
cli, command line, gnome, hanging, terminal


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Fighting Back Against Unlawful Warrants and Indefinite Gag Orders to Protect Internet Privacy and Security LXer Syndicated Linux News 0 01-10-2017 03:06 AM
Strange crash with blinking cursor on blank terminal screen Cultist Slackware 2 06-08-2012 01:45 AM
VIM runs into an indefinite loop while editing a large file xuancong Linux - Software 1 04-12-2011 09:56 PM
lease time - indefinite - want to have it change ihopeto Linux - Networking 2 01-24-2006 09:53 PM
C++, indefinite function arguments and multiple constructor passing @_@ R00ts Programming 2 04-08-2005 04:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration