Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Rpm not working

  1. #1

    Unhappy Rpm not working

    I have tried to install rpm based applications, but all in-vain this is the error i get below...
    Any help will be highly appreciated.

    Downloading package linux-kernel-headers-2.6.27-2.28.noarch, 667.1 K (2.4 M unpacked)
    Downloading: linux-kernel-headers-2.6.27-2.28.noarch.rpm
    * Downloading [100%]
    * Installing: linux-kernel-headers-2.6.27-2.28 [100%]Installation of [S2:1][package]linux-kernel-headers-2.6.27-2.28.noarch failed:
    (with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed: cpio: Bad magic


    Cheers

  2. #2
    Join Date
    Jun 2008
    Location
    Berlin
    Posts
    2,061

    Default Re: Rpm not working

    Code:
    cpio: Bad magic
    One reason might be that you are using an .rpm which is not matching the version of your distribution (for example an openSUSE11.1 package on openSUSE11.3). The headers you try to install indeed seem to be a bit out of date.

    BTW: '--nodeps --force' = bad idea.

  3. #3

    Default Re: Rpm not working

    Am running a gateway that is openSUSE10.3 so i wanted to updated by making new repos, but i looks like i can't go further than that. so please advise me on what to do next.
    I will show you what i did below...

    mv /etc/zypp/repos.d /etc/zypp/repos.d.old

    rm /var/cache/zypp/zypp.db

    zypper ar h..ttp://download.opensuse.org/distribution/11.1/repo/oss/ openSUSE11_1

    zypper ar h..ttp://download.opensuse.org/distribution/11.1/repo/non-oss/ openSUSE11_1-non-oss

    zypper ar h..ttp://packman.iu-bremen.de/suse/11.1/ packman

    rpm -Uhv h..ttp://download.opensuse.org/distribution/11.1/repo/oss/suse/i586/rpm-4.8.0-4.4.i586.rpm

    zypper in zypper

    zypper ref


    Advise please, should i use an older repos or its ok with that.
    The main reason for updating is that i want to install the following rpms;
    zlib-devel
    gcc
    gcc++
    rpmlib
    iodine

    but i can't get it to work. so please advise...

  4. #4
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Rpm not working

    On 01/25/2011 05:06 PM, robin bga wrote:

    > Am running a gateway that is openSUSE10.3
    >
    > but i can't get it to work. so please advise..


    openSUSE 10.3 has not been supported with updates (security or
    otherwise) since october 2009..

    and, you are running it as a gateway?

    facing the internet?

    my advice would be to very soon backup data and install a new, modern
    version and do your magic to secure it..

    others may have a different opinion, wait for the one you want..

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 11.3, KDE4.4.4
    release 3, Thunderbird3.0.11,]
    "It is far easier to read, understand and follow the instructions than
    to undo the problems caused by not." DD 23 Jan 11

  5. #5

    Default Re: Rpm not working

    Yes its the gateway to the internet acting as a router, so i thought that i can update it by adding new repos and then run the update command...
    Ok then if i can get it to work i will have to try that that is suggested by DenverD, but if there is anything i can try, please let me know...
    Thank you very much guys for you help...

  6. #6
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    1,918

    Default Re: Rpm not working

    Quote Originally Posted by robin_bga View Post
    Yes its the gateway to the internet acting as a router, so i thought that i can update it by adding new repos and then run the update command...
    Ok then if i can get it to work i will have to try that that is suggested by DenverD, but if there is anything i can try, please let me know...
    Thank you very much guys for you help...
    Here's a procedure for a live upgrade from 11.2 to 11.3 which worked for me.
    SDB:System upgrade - openSUSE
    However AFAIK it's not supported for versions other than 11.2. So an upgrade from 10.3 will most likely be problematic.

    I've also heard that there is an upgrade option on openSUSE DVD so You could download the latest DVD and try it but I have never tested it.

    Oh and I wholeheartedly agree with DenverD. Be sure to backup and upgrade as soon as possible as 10.3 has a lot of security holes nowadays.

    Best regards,
    Greg
    Best regards,
    Greg

  7. #7
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,803
    Blog Entries
    14

    Default Re: Rpm not working

    Quote Originally Posted by robin_bga View Post
    Am running a gateway that is openSUSE10.3 so i wanted to updated by making new repos, but i looks like i can't go further than that. so please advise me on what to do next.
    I will show you what i did below...

    mv /etc/zypp/repos.d /etc/zypp/repos.d.old

    rm /var/cache/zypp/zypp.db

    zypper ar h..ttp://download.opensuse.org/distribution/11.1/repo/oss/ openSUSE11_1

    zypper ar h..ttp://download.opensuse.org/distribution/11.1/repo/non-oss/ openSUSE11_1-non-oss

    zypper ar h..ttp://packman.iu-bremen.de/suse/11.1/ packman

    rpm -Uhv h..ttp://download.opensuse.org/distribution/11.1/repo/oss/suse/i586/rpm-4.8.0-4.4.i586.rpm

    zypper in zypper

    zypper ref


    Advise please, should i use an older repos or its ok with that.
    The main reason for updating is that i want to install the following rpms;
    zlib-devel
    gcc
    gcc++
    rpmlib
    iodine

    but i can't get it to work. so please advise...

    This will definitely bring trouble. You cannot just add 11.1 repos (which will soon be empty, since 11.1 has reached the end of support, i.e. no updates) and install from those. My 2 cents? Backup all configs etc, install 11.3, or wait a bit and install 11.4
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  8. #8

    Default Re: Rpm not working

    From the DVD, you can start the install and then you'll have an "other options" where you can select upgrade. You'll have to look close for it. Using this with the 11.3 disc would probably be your best bet, and you would then be able to update from the new repositories.

    But, it may be a better idea like others have said to just reinstall.

  9. #9

    Default Re: Rpm not working

    Thanks guys i guess i will just have to reinstall, oh and by the way i alway get problems jumping in for the latest releases... So i will go for the 11.3 and not .4...
    Or else i may have to switch to what ma conversant with, which is Fedora...
    Thank you very much for you help...I really appreciated.

  10. #10
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Rpm not working

    On 01/26/2011 07:06 PM, robin bga wrote:
    >
    > may have to switch to what ma conversant with, which is Fedora...
    >
    >


    of course, if Fedora works for you, then use it!!

    but, if you also let it go 15 months with no security updates then
    that won't be a laughing matter there either..

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 11.3, KDE4.4.4
    release 3, Thunderbird3.0.11,]
    "It is far easier to read, understand and follow the instructions than
    to undo the problems caused by not." DD 23 Jan 11

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •