Article View: comp.os.linux.redhat
Article #63Re: rpm -ivh command has been hanged up?
From: will
Date: Wed, 19 Feb 2003 21:10
Date: Wed, 19 Feb 2003 21:10
42 lines
2503 bytes
2503 bytes
Dieu Phan <dphan@dph.com> wrote: > "rpm -ivh command has been hanged up" is not the first time occurring in > my rh80 system. If I use redhat-install-packages to install a new-pkg, > sometimes it was hanged, then i have to kill this app. Afterward, I am > back to use rpm command on gnome terminal to install rpm pkg, it gets > nothing, even rpm -qa | grep [pkg name] gives nothing, and i have to kill > gnome-terminal as well (i can not use [ctrl+c] to back to shell). in situations like this, when you ^c won't kill a running program in a bash shell, you can try doing: <ctrl-z> followed by: kill %1 (if that's the only job you've got running, otherwise do: jobs to tell you what job has what number and then 'kill %2' or 'kill %3' or whatever the job's number is.) then do 'fg' and it should come back terminated. another possibility is to open another terminal and do: killall rpm and, if that doesn't work: killall -9 rpm however, this will only deal with the running process(es) you want to get rid of, not stale lock files that you may need to delete and which may be the original cause of the problem. i don't know anything about rpm lock files (and i hope i never have to find out!) but somebody else mentioned them on this ng recently. you'll need to find out what the lock file's called and where it lives and delete it. will
Technical Details
Message-ID:
<mpS4a.1$Ky.2162@nsw.nnrp.telstra.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.mathworks.com!lon-transit.news.telstra.net!news.telstra.net!nsw.nnrp.telstra.net!not-for-mailReferences:
<pan.2003.02.19.12.39.30.493273@dph.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 107b38,83a0038f126ac3da
X-Google-Attributes: gid107b38,public
X-Google-Thread: 102983,83a0038f126ac3da
X-Google-Attributes: gid102983,public
X-Google-ArrivalTime: 2003-02-19 13:10:46 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.mathworks.com!lon-transit.news.telstra.net!news.telstra.net!nsw.nnrp.telstra.net!not-for-mail
Sender: <will@beer.swaggie.net>
From: will@xxxx.swaggie.net
Subject: Re: rpm -ivh command has been hanged up?
Newsgroups: comp.os.linux.redhat,aus.computers.linux
References: <pan.2003.02.19.12.39.30.493273@dph.com>
Organization: swaggie.net
User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (Linux/2.4.18-7b (i586))
Lines: 43
Message-ID: <mpS4a.1$Ky.2162@nsw.nnrp.telstra.net>
Date: Wed, 19 Feb 2003 21:10:42 GMT
NNTP-Posting-Host: 139.130.74.228
X-Complaints-To: abuse@telstra.net
X-Trace: nsw.nnrp.telstra.net 1045689042 139.130.74.228 (Thu, 20 Feb 2003 08:10:42 EST)
NNTP-Posting-Date: Thu, 20 Feb 2003 08:10:42 EST