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:}


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:


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


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/comments/3qxvg1/how_to_add_packman_repository_in_leap_421/

and

https://en.opensuse.org/Additional_package_repositories#Packman

indicate that I should have used:


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


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

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:


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

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.

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

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.

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.

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 :slight_smile:

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