<---- template headericclude ----->
malformed database image issue with yum
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2010
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    malformed database image issue with yum

    Hi,
    Any time I've tried to run 'yum search' or 'yum info' I end up getting a error "database disk image is malformed"

    Code:
    $ yum info postgresql
    Loaded plugins: presto, refresh-packagekit
    Error: database disk image is malformed
    I am, however, able to update and install software without this error occuring.

    I've tried the 'yum clean all", "yum clean metadata", "yum clean datacache", and rebuilding with "yum makecache", but still this problem crops up. As I understand it, the error message comes from something possibly not having been updated properly in one of the sqlite databases that yum stores information in.
    I probably could fix it if I knew which sqlite db that 'yum search' and 'yum info' hit.

    Thanks in advance for any help!

  2. #2
    Join Date
    Jun 2010
    Location
    Lost...
    Posts
    1,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: malformed database image issue with yum

    Hello,
    do you have try
    Code:
    yum clean dbcache
    ?
    What does the command
    Code:
    yum check
    return ?
    :confused:

  3. #3
    Join Date
    Aug 2010
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: malformed database image issue with yum

    the 'yum clean dbcache' seemed to fix things. thanks!

  4. #4
    Join Date
    Dec 2009
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: malformed database image issue with yum

    I had the same problem on a fresh install of Fedora 14
    But it was found in running tum update....
    I also wasnt able to configure Eth0 on the install to add other repos.....but maybe that's another thread
    here's my output
    [dave@d-box ~]$ su -
    Password:
    [root@d-box ~]# yum update
    Loaded plugins: langpacks, presto, refresh-packagekit
    Adding en_US to language list
    Error: database disk image is malformed

    [root@d-box ~]# yum clean dbcache
    Loaded plugins: langpacks, presto, refresh-packagekit
    Adding en_US to language list
    Cleaning repos: fedora updates
    5 sqlite files removed

    [root@d-box ~]# yum check
    Loaded plugins: langpacks, presto, refresh-packagekit
    Adding en_US to language list
    check all

    [root@d-box ~]# yum update
    Loaded plugins: langpacks, presto, refresh-packagekit
    Adding en_US to language list
    fedora/primary_db | 11 MB 00:09
    updates/primary_db | 571 kB 00:00
    Setting up Update Process
    Resolving Dependencies
    --> Running transaction check


    so far all is running welll 5 min into it

    Thx!!!!
    Last edited by HackSwiTcH; 4th November 2010 at 09:04 PM.

Similar Threads

  1. Replies: 8
    Last Post: 18th July 2011, 08:35 AM
  2. software source database malformed ?
    By Milena in forum Using Fedora
    Replies: 2
    Last Post: 5th February 2010, 07:12 PM
  3. Fedora 10 gtk-murrine-engine.1386 database disk image is malformed
    By bharat211 in forum Alpha, Beta & Snapshots Discussions (Fedora 10 Only)
    Replies: 1
    Last Post: 22nd November 2008, 05:43 PM
  4. Replies: 0
    Last Post: 3rd July 2008, 10:50 PM
  5. Replies: 0
    Last Post: 29th October 2006, 07:33 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]