[Yum] After successfully running, yum no longer works.

Paul Dickson dickson at permanentmail.com
Thu Nov 27 15:36:25 UTC 2003


On Sun, 23 Nov 2003 20:03:35 -0500, seth vidal wrote:

> On Sun, 2003-11-23 at 19:55, Paul Dickson wrote:
> > On Sun, 23 Nov 2003 18:54:35 -0500, seth vidal wrote:
> > 
> > > what are you erasing? Updates are marked in the logs as updates, not as
> > > installs, then erasures.
> > 
> > I upgrade bash and yum erased bash-doc.  The log file only shows that bash
> > was updated.
> > 
> what version of yum is this?
> 
> I can't replicate this behavior.
> 
> from my /var/log/yum.log
> 11/23/03 19:58:23 Installed: zsh 4.0.7-1.1.i386
> 11/23/03 19:59:19 Erased: zsh 4.0.7-1.1.i386
> 
> that was after I ran:
> yum install zsh
> yum erase zsh
> 
> -sv

It did it again this morning.  I'm using yum-2.0.4-20031121 but I think it
did it in plain 2.0.4.  Below is the command output and the log output.

I'm not sure why I got "Unable to find pid", this is the only time I've
seen it.  The run below is the second run.  The first was interrupted when
I dialup connection disconnected.  Yum currently just waits when that
happens.  Then when I press Ctrl-C, yum restarts the current file and
exits when it finishes that.

I'm downloading the last rpms of fedora-core-1 via yum right now (via
dialup).  Having test3's CDs copied to packages really helped avoid
downloading everything.


The initial time in the prompt is from where yum last exited.  I awoke and
found yum hanging after the modem disconnected, I pressed Ctrl-C (twice)
and went back to sleep, eventually yum restarted the download, finished
the file, and then exited.

The erasing was done as steps 16/26 and 22/26.  Nothing was logged about
these steps.

[root at violet 03:04:04 root]# yum  -c /etc/yum-fedora.conf upgrade "php*" "mozilla*" "emacs*"
Unable to find pid
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
Server: Fedora Core 1
Server: Fedora Core 1 updates
Server: Freshrpms packages for Red Hat Linux 9
Server: Red Hat Linux 9 - Updates
Finding updated packages
Downloading needed headers
Finding obsoleted packages
Resolving dependencies
Dependencies resolved
I will do the following:
[update: emacs 21.3-7.i386]
[update: php-pgsql 4.3.3-6.i386]
[update: php 4.3.3-6.i386]
[update: mozilla-mail 37:1.4.1-18.i386]
[update: php-mysql 4.3.3-6.i386]
[update: mozilla-nspr 37:1.4.1-18.i386]
[update: mozilla-nss 37:1.4.1-18.i386]
[update: mozilla 37:1.4.1-18.i386]
[update: emacs-leim 21.3-7.i386]
[update: emacs-el 21.3-7.i386]
[update: php-ldap 4.3.3-6.i386]
[update: php-imap 4.3.3-6.i386]
Is this ok [y/N]: y
Getting php-ldap-4.3.3-6.i386.rpm
php-ldap-4.3.3-6.i386.rpm 100% |=========================|  26 kB    00:07
Getting php-imap-4.3.3-6.i386.rpm
php-imap-4.3.3-6.i386.rpm 100% |=========================| 418 kB    02:07
Running test transaction:
Test transaction complete, Success!
mozilla-nspr 100 % done 1/26
php 100 % done 2/26
emacs 100 % done 3/26
mozilla-nss 100 % done 4/26
mozilla 100 % done 5/26
mozilla-mail 100 % done 6/26
php-pgsql 100 % done 7/26
php-mysql 100 % done 8/26
emacs-leim 100 % done 9/26
emacs-el 100 % done 10/26
php-ldap 100 % done 11/26
php-imap 100 % done 12/26
Completing update for emacs  - 13/26
Completing update for php-pgsql  - 14/26
Completing update for php  - 15/26
Erasing: php-manual 16/26
Completing update for mozilla-mail  - 17/26
Completing update for php-mysql  - 18/26
Completing update for mozilla-nspr  - 19/26
Completing update for mozilla-nss  - 20/26
Completing update for mozilla  - 21/26
Erasing: mozilla-psm 22/26
Completing update for emacs-leim  - 23/26
Completing update for emacs-el  - 24/26
Completing update for php-ldap  - 25/26
Completing update for php-imap  - 26/26
Updated:  emacs 21.3-7.i386 php-pgsql 4.3.3-6.i386 php 4.3.3-6.i386 mozilla-mail 37:1.4.1-18.i386 php-mysql 4.3.3-6.i386 mozilla-nspr 37:1.4.1-18.i386 mozilla-nss 37:1.4.1-18.i386 mozilla 37:1.4.1-18.i386 emacs-leim 21.3-7.i386 emacs-el 21.3-7.i386 php-ldap 4.3.3-6.i386 php-imap 4.3.3-6.i386
Transaction(s) Complete
[root at violet 07:18:31 root]#



11/27/03 07:07:54 Updated: emacs 21.3-7.i386
11/27/03 07:07:54 Updated: php-pgsql 4.3.3-6.i386
11/27/03 07:07:54 Updated: php 4.3.3-6.i386
11/27/03 07:07:54 Updated: mozilla-mail 37:1.4.1-18.i386
11/27/03 07:07:54 Updated: php-mysql 4.3.3-6.i386
11/27/03 07:07:54 Updated: mozilla-nspr 37:1.4.1-18.i386
11/27/03 07:07:54 Updated: mozilla-nss 37:1.4.1-18.i386
11/27/03 07:07:54 Updated: mozilla 37:1.4.1-18.i386
11/27/03 07:07:54 Updated: emacs-leim 21.3-7.i386
11/27/03 07:07:54 Updated: emacs-el 21.3-7.i386
11/27/03 07:07:54 Updated: php-ldap 4.3.3-6.i386
11/27/03 07:07:54 Updated: php-imap 4.3.3-6.i386

	-Paul



More information about the Yum mailing list