Results 1 to 8 of 8

Thread: download curl error [packman] if change mirror, do I need to "zypperdup --from" again?

  1. #1

    Default download curl error [packman] if change mirror, do I need to "zypperdup --from" again?


    I tend to only remember to "zypper up" occasionally. I feel good about myself if I
    remember to do so on a monthly basis. But sometimes it's more like quarterly {sigh}

    However even though my enabled repositories are set to auto ref, I habitually run a
    zypper ref before updating or installing new packages. A couple days ago I wanted to
    update my opensuse leap 42.1 installation. But when I run zypper ref from a virtual
    console I get the following error. {Note GPM not set up on virtual console, and error
    differs slightly from when I run it from X inside a Konsole window. So the first
    error example was manually reproduced:}

    Code:
    Download (curl) error for 'http://packman.inode.at/suse/openSUSE_Leap_42.1/repodata/repomd.xml':
    Error code: Unrecognized error
    Error message: Recv failure: Connection reset by peer
    and when I run zypper ref in a Konsole window I get:

    Code:
    Timeout exceeded when accessing 'http://packman.inode.at/suse/openSUSE_Leap_42.1/repodata/repomd.xml'.
    I have no idea why the error would be different in a virtual console AKA tty1

    But I noticed that in both cases zypper is trying to access packman at

    Code:
    http://packman.inode.at/suse/openSUSE_Leap_42.1/
    Which didn't quite look right to me. So I checked and both

    https://www.reddit.com/r/openSUSE/co...y_in_leap_421/

    and

    https://en.opensuse.org/Additional_p...tories#Packman

    indicate that I should have used:

    Code:
    http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.1/
    When I added packman...!!!??? I have no clue how I did that, but until now it's been working.

    I'm thinking of removing packman, and re-adding it using the recommended URL

    [code]
    zypper rr packman
    zypper ar -f -g http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.1/ packman
    [code]

    But even if that change solves the timeout/curl error problem, I'm not sure if I would
    then need to also do a new vendor change to the new URL:

    Code:
    zypper dup --from packman
    Or if the previous vendor change to the other packman URL would still be in effect
    for the packages involved???

    Any/all suggestions welcome.

    --
    Joe

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,650
    Blog Entries
    15

    Default Re: download curl error [packman] if change mirror, do I need to "zypperdup --from" again?

    Hi
    Changing mirrors doesn't matter, the packages are signed with the same key etc...
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,978

    Default Re: download curl error [packman] if change mirror, do I need to "zypperdup --from" again?

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Changing mirrors doesn't matter, the packages are signed with the same key etc...
    To expand a bit on that, I get the idea that you think that changing mirrors is including changing Vendors. It is not. Those are independent phenomenons.
    Henk van Velden

  4. #4

    Default Re: download curl error [packman] if change mirror, do I need to"zypperdup --from" again?


    It would appear that on Sep 5, hcvv did say:

    > malcolmlewis;2791390 Wrote:
    > > Hi
    > > Changing mirrors doesn't matter, the packages are signed with the same
    > > key etc...

    > To expand a bit on that, I get the idea that you think that changing
    > mirrors is including changing Vendors. It is not. Those are independent
    > phenomenons.


    Thank you both for the prompt replies. Like I said in my post Henk, I wasn't sure.

    Not understanding the method that zypper and/or yast use to identify the repo a
    packages vendor is set to, I wasn't quite sure that changing my system's URL for the
    repo couldn't break it. And considering how much I dislike borking my Linux
    installations I wanted to be sure.

    Thanks again!

    --
    Joe


  5. #5
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,481
    Blog Entries
    3

    Default Re: download curl error [packman] if change mirror, do I need to "zypperdup --from" again?

    Changing the URL for a repo should not cause problems (assuming it is to a different mirror).

    Changing the repo name or alias very likely would cause problems.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,978

    Default Re: download curl error [packman] if change mirror, do I need to "zypperdup --from" again?

    Quote Originally Posted by nrickert View Post
    Changing the repo name or alias very likely would cause problems.
    I doubt this.

    When you look in the Versions tab of a product in YaST > Software Management, the Vendor is openSUSE regardless if it comes from the OSS repo or the OSS-Update repo. And those repos have different names and aliases.

    The same table also tells which repos (by name) the versions are on, but that is not the same as the Vendor. I assume that when you chage the name of a repo in your repo list and thn do a refresh, all we be OK.

    I also assume that the Vendor name is either in the repo data (the XML file?), or, more likely, it is stored in the RPM itself.
    Henk van Velden

  7. #7
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: download curl error [packman] if change mirror, do I need to "zypperdup --from" again?

    the sweet short answer is no you do not need to do another dup with the new url.
    why, the rpm's on both servers are identical, their digital signatures are identical, the build identifier (packman) is identical
    ...but it would not hurt to do it, if prior to the change your files wore updated no files will be downloaded, if your files wore not up to date then you'll just do a needed update
    much to do about nothing

  8. #8

    Default Re: download curl error [packman] if change mirror, do I need to"zypperdup --from" again?


    It would appear that on Sep 5, nrickert did say:

    > Changing the URL for a repo should not cause problems (assuming it is to
    > a different mirror).
    >
    > Changing the repo name or alias very likely would cause problems.


    Well since I'm pretty sure I've never used the --name or -n option to zypper ar, I
    expect the actual name packman got by default would likely be the same. And since I
    was careful to specify the alias with the same all lowercase "packman" both times I
    should probably be good to go. Had I used the alias "packman" once and "Packman" the
    other time I'd now be concerned... But I didn't, so I'm not.

    In any case after I re-added packman with the recommended mirror, "zypper ref" worked
    and the subsequent "zypper up" seemed to work correctly. At least it didn't suddenly
    tell me about any upgrades that wouldn't be installed...

    --
    Joe

Posting Permissions

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