Ask Your Question
1

Whenever I run a command, it gets stuck at 'Waiting for process with pid 3376 to complete'. Could someone tell me what the problem is?

asked 2015-10-06 08:10:40 -0600

Souradeep Bhattacharja gravatar image

I'm using the Fedora 22 workstation. Nothing happens even after hours of waiting. This happened when I tried installing anything from the terminal like VLC, or any of the media codecs. I plan on using Fedora as my secondary OS, please help me to get this right. P.S. I am what one would call a 'noob' in the Linux world so a little elaboration even on basic commands would help.

edit retag flag offensive close merge delete

Comments

Have you updated it yet ?

open a terminal window log in as su

sudo dnf update

Let it finish and then do a Hard reboot..( turn it off and leave it off for 10 seconds )

This will update Fedora..which is needed even after a new install..... I had problems when I first installed it...Always worth doing this anyway.... The PID3376 error is processor issue so an update may solve this.. fingers crossed

Orriginal gravatar imageOrriginal ( 2015-10-06 10:53:55 -0600 )edit

If you've used su, you're root, and don't need to use sudo.

sideburns gravatar imagesideburns ( 2015-10-06 11:46:32 -0600 )edit

Sorry, this is getting kinda fragmented, but see my comment in deshmukh's answer below; if you can give us some more information about the process, we can figure out what's going on. If the process is dnf, it may be that you have an extremely poor connection to the repository from which it is attempting to download information, 'causing the background process to stall indefinitely. There are possible reasons for this hangup which we can resolve.

bitwiseoperator gravatar imagebitwiseoperator ( 2015-10-06 21:00:00 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2015-10-06 10:58:15 -0600

deshmukh gravatar image

This is most likely the case of another dnf process is launched silently. It could be launched by Software to check for and install updates, etc.

Suggest you do the following: ps aux | grep 3376

It will most likely show a 'dnf' process.

Then, kill -9 3376. This might ask for authentication. Provide the password, etc.

Now, launch sudo dnf install vlc

It should work.

edit flag offensive delete link more

Comments

Yes, I recall a similar message and the cause was dnf running in the background.

FYI, an alternative to using 'ps aux' is systemctl status <pid> which prints a nicely formatted description of the process together with its 4 most recent log entries. To stop/kill the process run sytemctl stop/kill <process_name>.

andmalc gravatar imageandmalc ( 2015-10-06 12:07:18 -0600 )edit

Woah, woah woah - let's not advise that anyone ever kill -9 an unknown process (much less dnf!) except as an absolute last resort in a well-understood situation. If it's in the middle of something important (like, y'know, upgrading your system, as dnf is wont to do..), that could do some serious damage. I think we're getting ahead of ourselves here. Let's just query the process with systemctl status 3376 and see what's going on.

bitwiseoperator gravatar imagebitwiseoperator ( 2015-10-06 16:53:28 -0600 )edit

Incidentally, systemctl status will only return information on the PID if it belongs to a loaded systemd unit. Try systemctl status 1 to see what I mean. If you get a message indicating that the PID doesn't belong to any loaded unit, try ps u 3376 Post the output and we'll figure out what's going on.

bitwiseoperator gravatar imagebitwiseoperator ( 2015-10-06 20:57:42 -0600 )edit

The same thing happened to me. The laptop shutdown while I was installing sublime and your suggestion fixed it. Thanks

XenoZito gravatar imageXenoZito ( 2016-03-01 15:01:54 -0600 )edit

@XenoZito, will you please upvote if you found it useful?

Also, I advise strong caution when using it as suggested by @bitwiseoperator

deshmukh gravatar imagedeshmukh ( 2016-03-09 01:05:40 -0600 )edit
0

answered 2015-10-06 10:50:30 -0600

Orriginal gravatar image

Have you updated it yet ?

open a terminal window log in as su

sudo dnf update

Let it finish and then do a Hard reboot..( turn it off and leave it off for 10 seconds )

This will update Fedora..which is needed even after a new install..... I had problems when I first installed it...Always worth doing this anyway.... Also.what /graphics card are you using? I had many issues due to my NVIdia card

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-10-06 08:10:40 -0600

Seen: 6,269 times

Last updated: Oct 06 '15