Results 1 to 9 of 9

Thread: canot install anynthing on my opensuse 11.04

  1. #1

    Default canot install anynthing on my opensuse 11.04

    good evening to everyone

    i am trying to update my system from a new clean install that i made i am running the update from yast and i am getting the listed message:

    Code:
    Subprocess failed. Error: RPM failed: rpmdb: /var/lib/rpm/Basenames: unexpected file type or format
    error: cannot open Basenames index using db3 - Invalid argument (22)
    can someone help me with my problem

  2. #2
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: canot install anynthing on my opensuse 11.04

    It's openSUSE 11.4. oS doesn't use Ubuntu's version numbering system.

    How about posting the output of 'zypper lr -d' (wrapped in CODE tags).

  3. #3

    Default Re: canot install anynthing on my opensuse 11.04

    i knew that i had made a mistake, and imagine that when i posted the thread i had the feeling that something was wrong for the version i had entered. I any case i am sorry for the error.

    Here is the output of zypper lr -d

    Code:
    # | Alias                 | Name                       | Enabled | Refresh | Priority | Type   | URI                                                                         | Service
    --+-----------------------+----------------------------+---------+---------+----------+--------+-----------------------------------------------------------------------------+--------
    1 | openSUSE:11.4:Contrib | openSUSE:11.4:Contrib      | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/11.4:/Contrib/standard/ |        
    2 | repo-debug            | openSUSE-11.4-Debug        | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/debug/distribution/11.4/repo/oss/              |        
    3 | repo-debug-update     | openSUSE-11.4-Update-Debug | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/update/11.4/                             |        
    4 | repo-non-oss          | openSUSE-11.4-Non-Oss      | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/non-oss/                |        
    5 | repo-oss              | openSUSE-11.4-Oss          | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/oss/                    |        
    6 | repo-source           | openSUSE-11.4-Source       | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/11.4/repo/oss/             |        
    7 | repo-update           | openSUSE-11.4-Update       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.4/

  4. #4
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: canot install anynthing on my opensuse 11.04

    Quote Originally Posted by nonviotale View Post
    Here is the output of zypper lr -d

    Code:
    # | Alias                 | Name                       | Enabled | Refresh | Priority | Type   | URI                                                                         | Service
    --+-----------------------+----------------------------+---------+---------+----------+--------+-----------------------------------------------------------------------------+--------
    1 | openSUSE:11.4:Contrib | openSUSE:11.4:Contrib      | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/11.4:/Contrib/standard/ |        
    2 | repo-debug            | openSUSE-11.4-Debug        | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/debug/distribution/11.4/repo/oss/              |        
    3 | repo-debug-update     | openSUSE-11.4-Update-Debug | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/update/11.4/                             |        
    4 | repo-non-oss          | openSUSE-11.4-Non-Oss      | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/non-oss/                |        
    5 | repo-oss              | openSUSE-11.4-Oss          | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/oss/                    |        
    6 | repo-source           | openSUSE-11.4-Source       | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/11.4/repo/oss/             |        
    7 | repo-update           | openSUSE-11.4-Update       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.4/
    That looks fine. I don't know why you need the third one, though. Try cleaning up your db with zypper,

    Code:
    zypper clean --all
    zypper refresh

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,871

    Default Re: canot install anynthing on my opensuse 11.04

    Quote Originally Posted by chief_sealth View Post
    That looks fine. I don't know why you need the third one, though.
    Same here. And most people have #2 and #6 disabled. Most people do not need to debug nor the sources. But you may like to have them and I doo not think they make you having this problem.
    Henk van Velden

  6. #6

    Default Re: canot install anynthing on my opensuse 11.04

    i will try it when i will be at home and report back

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: canot install anynthing on my opensuse 11.04

    On 2011-07-06 16:36, nonviotale wrote:

    > Code:
    > --------------------
    >
    > Subprocess failed. Error: RPM failed: rpmdb: /var/lib/rpm/Basenames: unexpected file type or format
    > error: cannot open Basenames index using db3 - Invalid argument (22)
    >
    > --------------------



    I don't think zypper is the problem, but "rpm", its database. You may have
    to use "rpm --rebuilddb". See the man page for more details.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  8. #8
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: canot install anynthing on my opensuse 11.04

    Quote Originally Posted by robin_listas View Post
    I don't think zypper is the problem, but "rpm", its database. You may have
    to use "rpm --rebuilddb". See the man page for more details.
    This might also work, but the purpose of 'zypper clean' isn't to repair zypper itself but to clean the local caches.

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: canot install anynthing on my opensuse 11.04

    On 2011-07-07 18:06, chief sealth wrote:
    >
    > robin_listas;2361958 Wrote:
    >> I don't think zypper is the problem, but "rpm", its database. You may
    >> have to use "rpm --rebuilddb". See the man page for more details.
    >>

    >
    > This might also work, but the purpose of 'zypper clean' isn't to repair
    > zypper itself but to clean the local caches.


    Which is useless because zypper caches are not related to rpm databases.
    See the error message, it relates to rpm.

    Code:
    --------------------

    Subprocess failed. Error: RPM failed: rpmdb: /var/lib/rpm/Basenames:
    unexpected file type or format
    error: cannot open Basenames index using db3 - Invalid argument (22)

    --------------------

    IMO, of course.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

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
  •