Packman repository permission denied

Hi,

I’ve been having this issue since this morning when trying to zypper dup (and Permission to access ‘http://packman.inode.at/suse/openSUSE_Tumbleweed/repodata/repomd.xml’ denied when trying refresh) and don’t see it mentioned elsewhere…**

Problem retrieving files from ‘packman’.
Permission to access ‘http://packman.inode.at/suse/openSUSE_Tumbleweed/repodata/repomd.xml’ denied.

**Is this an issue with me or them? Is that the right address? Putting it in a browser directly gets 403 Forbidden

Thanks
MorayJ

There are several recent threads on this.

Short term answer – wait a few days and see if it corrects.

Long term answer – try using a different packman mirror.

Thanks - my search didn’t turn them up.

https://forums.opensuse.org/showthread.php/550627-zypper-ref-error-Problem-retrieving-files-from-packman

How do I use a different packman mirror? And unlike the OP, I’m using Leap 15.2

See here…
https://forums.opensuse.org/showthread.php/550999-Pacman-permission-denied?p=3008998#post3008998

The linked post tells me the packman mirror, that you’re recommending I switch to. But how do I actuality switch to it?

You can use Yast Software Repositories, and just edit the url.

Do as nrickert stated, or if you want to you can remove the existing repo with ‘zypper rr <alias_or_repo_number>’ and then add the new repo with

zypper ar -f http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.2/ packman

Thanks. But how do I know that I set up Packman correctly? It there some test I can use, perhaps a program that will fail unless Packman’s working properly? Mind you, I’m new to Linux.

You could do

zypper ref -r packman

Adjust to suit the name you used for the repo.

If you want to make sure of switching to packman packages where possible, do

zypper dup --from packman --allow-vendor-change

More info
https://en.opensuse.org/Additional_package_repositories

Being an openSUSE user since 1995 the hassle with packman servers is a minor annoyance for me, but for new users it is a big one. When I considered replacing Tumbleweed by Manjaro on my AMD Ryzen 5 3400G (it consistently fails to suspend/resume since 8 months while all other distributions work flawlessly) I ran into in a missing server problem, which was solved by copy/paste of a single line in their excellent documentation: https://wiki.manjaro.org/index.php/Pacman-mirrors

pacman-mirrors --country Germany && pacman -Syyu

I think there is ample margin for openSUSE improvements.


Currently I use the following 2 repos:

**erlangen:~ #** zypper lr packman Packman 
Alias          : packman 
Name           : Packman repository (openSUSE_Tumbleweed) 
**URI            : http://packman.inode.at/suse/openSUSE_Tumbleweed **
**Enabled        : No**
GPG Check      : ----
Priority       : 90 (raised priority)
Autorefresh    : On 
Keep Packages  : Off 
Type           : rpm-md 
GPG Key URI    : http://packman.inode.at/suse/openSUSE_Tumbleweed/repodata/repomd.xml.key 
Path Prefix    :  
Parent Service :  
Keywords       : --- 
Repo Info Path : /etc/zypp/repos.d/packman.repo 
MD Cache Path  : /var/cache/zypp/raw/packman 

Alias          : Packman 
Name           : Packman 
**URI            : http://ftp.fau.de/packman/suse/openSUSE_Tumbleweed/ **
**Enabled        : Yes **
GPG Check      : (r ) Yes 
Priority       : 90 (raised priority)
Autorefresh    : On 
Keep Packages  : Off 
Type           : rpm-md 
GPG Key URI    :  
Path Prefix    :  
Parent Service :  
Keywords       : --- 
Repo Info Path : /etc/zypp/repos.d/Packman.repo 
MD Cache Path  : /var/cache/zypp/raw/Packman 
**erlangen:~ #**

Switching between these is done by enabling the working one and disabling the failing one.