#2878 RPM upgrade fails

1.350
closed
Jamie Cameron
5
2007-08-08
2007-08-07
Anonymous
No

OS: Mandriva 2006 x64
browser: firefox 2.0.0.4
webmin version: 1.35

want to upgrade to 1.36

1) downloaded the webmin-1.360-1.noarch.rpm supplied by www.webmin.com as I always do.

2) used "update webmin" option of de "Webmin configuration" module to upgrade my webmin server. It used to work, now it doesn't anymore. It seems that the module looks for the tar.gz file instead...
- I tried with and whithout the check signature option
- I tried from local file and form file on server option

3) verified that the rpm downloaded is not corrupted: It is OK. I can open it and browse through its content using 7zip without any problem.

Copy and paste of the output I get:

No package signature verification done.

Failed to upgrade from /install/install_add/RPM_pack/webmin/webmin-1.360-1.noarch.rpm : Failed to untar file :tar: This does not look like a tar archive tar: Skipping to next header tar: Archive contains obsolescent base-64 headers tar: Error exit delayed from previous errors

Discussion

  • Logged In: NO

    I just tried to upgrade from usermin 1.28 to usermin 1.29 and it works for usermin (see the output). Yet this module interface has not changed...

    Mise à niveau de Usermin avec la commande rpm -U --ignoreos --ignorearch --nodeps \/install\/install_add\/RPM_pack\/webmin\/usermin\-1\.290\-1\.noarch\.rpm en cours...

    Usermin install complete. You can now login to https://scommuns.leunis.net:20000/
    as any user on your system.

     
  • Jamie Cameron
    Jamie Cameron
    2007-08-07

    Logged In: YES
    user_id=129364
    Originator: NO

    Odd, I was able to make an RPM upgrade with no problems on a few test systems.
    What does the /usr/libexec/webmin/install-type file contain on your system?

     
  • Logged In: NO

    Here is the content of the /usr/libexec/webmin/install-type file :

    rpm

     
  • Jamie Cameron
    Jamie Cameron
    2007-08-07

    Logged In: YES
    user_id=129364
    Originator: NO

    That looks OK ..
    If you upgrade manually using the command :

    rpm -U webmin-1.360-1.noarch.rpm

    does it work OK?

     
  • Logged In: NO

    Yes it does work. Here is the output of the command:

    # rpm -U webmin-1.360-1.noarch.rpm
    Webmin install complete. You can now login to https://scommuns.leunis.net:10000/
    as root with your root password.
    #

     
  • Jamie Cameron
    Jamie Cameron
    2007-08-07

    Logged In: YES
    user_id=129364
    Originator: NO

    Ok .. so if you re-visit the Upgrade Webmin page now, does it mention that it will be doing an RPM upgrade? You should see a message like :

    This form allows you to upgrade your entire webmin installation to a new version using RPM's upgrade option.

     
  • Logged In: NO

    The Upgrade Webmin page shows what you expect. It is OK.

     
  • Jamie Cameron
    Jamie Cameron
    2007-08-08

    • status: open --> closed
     
  • Jamie Cameron
    Jamie Cameron
    2007-08-08

    Logged In: YES
    user_id=129364
    Originator: NO

    Ok, so it looks like whatever the problem was, it has been fixed in Webmin 1.360.
    The work-around for anyone else seeing this is to upgrade manually.

     
  • Logged In: NO

    Thanks a lot for the help!