Package managers gone haywire! yum, apt, rpm: pam is totally borked

Kam Leo kam.leo at gmail.com
Mon Jun 18 07:10:14 UTC 2007


On 6/17/07, Claude Jones <claude_jones at levitjames.com> wrote:
> On Monday June 18 2007 2:45:23 am White RavenOak wrote:
> > It's most likely not a PAM problem. Have you tried
> > `rm /var/lib/rpm/__db.00?` and doing a `rpm --rebuilddb` yet? Does the
> > problem always happen when it is going to commit the RPM transaction?
> > Try installing some other package, have it ignore the PAM package during
> > that. Does the problem occur while you are installing a package using
> > just rpm?
> >
> > Just a few things I can think of off the top of my head, just to help
> > find where the problem actually is.
>
> [root at localhost ~]# rm /var/lib/rpm/__db.00
> rm: cannot remove `/var/lib/rpm/__db.00': No such file or directory
> [root at localhost ~]# rpm --rebuilddb
> [root at localhost ~]# yum update
> Loading "installonlyn" plugin
> Setting up Update Process
> kde                       100% |=========================| 1.1 kB    00:00
> kde-testing               100% |=========================|  951 B    00:00
> fedora                    100% |=========================| 2.1 kB    00:00
> kde-all                   100% |=========================|  951 B    00:00
> kde-testing-all           100% |=========================|  951 B    00:00
> updates                   100% |=========================| 1.9 kB    00:00
> Resolving Dependencies
> --> Running transaction check
> ---> Package pam.i386 0:0.99.7.1-5.1.fc7 set to be updated
> ---> Package pam-devel.i386 0:0.99.7.1-5.1.fc7 set to be updated
>
> Dependencies Resolved
>
> =============================================================================
>  Package                 Arch       Version          Repository        Size
> =============================================================================
> Updating:
>  pam                     i386       0.99.7.1-5.1.fc7  updates           1.0 M
>  pam-devel               i386       0.99.7.1-5.1.fc7  updates           188 k
>
> Transaction Summary
> =============================================================================
> Install      0 Package(s)
> Update       2 Package(s)
> Remove       0 Package(s)
>
> Total download size: 1.2 M
> Is this ok [y/N]: y
> Downloading Packages:
> Running Transaction Test
> Finished Transaction Test
> Transaction Test Succeeded
> Running Transaction
>   Updating  : pam
> [1/4]warning: /etc/pam.d/system-auth created as /etc/pam.d/system-auth.rpmnew
>   Updating  : pam                          ######################### [1/4]
> /sbin/ldconfig: file /usr/lib/libfreetype.so.6.3.15;46620a2f is truncated
>
>   Updating  : pam-devel                    ######################### [2/4]
>   Cleanup   : pam                          ######################### [3/4]
>   Cleanup   : pam-devel                    ######################### [4/4]
>
> Updated: pam.i386 0:0.99.7.1-5.1.fc7 pam-devel.i386 0:0.99.7.1-5.1.fc7
> Complete!
> ********************************************************************
> Well, that seemed to help! As you can see, I'm still getting that libfreetype
> error.
>
> By the way, there was no /usr/lib/rpm/__db0  BUT there were __db01, __db02,
> and __db03
>
> I deleted all three and ran the `rpm --rebuilddb`
> --
> Claude Jones
> Brunswick, MD
>

Seems like a good time to perform an fsck. Also you might use smart to
reinstall freetype.




More information about the fedora-list mailing list