[opensuse] zypper up: access denied error
Since updating to 15.0, a "zypper -v up" sometimes gives an "access denied" error for some files (see below). Looking with a browser into the "ftp.gwdg.de/..." structure, I can see the files and can/could download them. "LANG=En_US zypper -v up ... Overall download size: 178.1 MiB. Already cached: 229.4 MiB. After the operation, additional 394.8 MiB will be used. Continue? [y/n/...? shows all options] (y): y committing In cache MozillaFirefox-60.6.1-lp150.3.45.1.x86_64.rpm (1/149), 41.4 MiB (154.4 MiB unpacked) Retrieving package apache2-utils-2.4.33-lp150.2.14.1.x86_64 (2/149), 158.5 KiB (202.2 KiB unpacked) Retrieving: apache2-utils-2.4.33-lp150.2.14.1.x86_64.rpm ......................[error] Permission to access 'http://ftp.gwdg.de/pub/opensuse/update/leap/15.0/oss/rpms/x86_64/apache2-uti...' denied. Abort, retry, ignore? [a/r/i/...? shows all options] (a): r Retrieving: apache2-utils-2.4.33-lp150.2.14.1.x86_64.rpm ......................[error] Permission to access 'http://ftp.gwdg.de/pub/opensuse/update/leap/15.0/oss/rpms/x86_64/apache2-uti...' denied. Abort, retry, ignore? [a/r/i/...? shows all options] (a): a Problem occurred during or after installation or removal of packages: Installation aborted by user Please see the above error message for a hint." List of my repositories: "zypper lr Die Repository-Prioritäten sind ohne Effekt. Alle aktivierten Repositorys teilen sich die gleiche Priorität. # | Alias | Name | Aktiviert | GPG-Überprüfung | Aktualisierung ---+-------------------------------------+-----------------------------------------------------------------------------------+-----------+-----------------+--------------- 1 | CODE | CODE | Nein | ---- | ---- 2 | adobe | adobe | Nein | ---- | ---- 3 | devel_libraries_c_c++ | A project for basic libraries shared among multiple projects (openSUSE_Leap_15.0) | Nein | ---- | ---- 4 | http-download.opensuse.org-3d6396a6 | openSUSE:infrastructure | Ja | (r ) Ja | Ja 5 | http-download.opensuse.org-cef1e4ca | home:vitsoft:freepbx | Ja | (r ) Ja | Ja 6 | oss150dvd | oss150dvd | Ja | ( p) Ja | Nein 7 | repo-non-oss | openSUSE-Leap-15.0-Non-Oss | Nein | ---- | ---- 8 | repo-oss | openSUSE-Leap-15.0-Oss | Nein | ---- | ---- 9 | repo-update | openSUSE-Leap-15.0-Update | Ja | (r ) Ja | Ja 10 | repo-update-non-oss | openSUSE-Leap-15.0-Update-Non-Oss | Ja | (r ) Ja | Ja " Any hints? Thanks Hermann-Josef Beckers -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/04/2019 12.11, Hermann-Josef Beckers wrote:
Since updating to 15.0, a "zypper -v up" sometimes gives an "access denied" error for some files (see below). Looking with a browser into the "ftp.gwdg.de/..." structure, I can see the files and can/could download them.
"LANG=En_US zypper -v up
...
Overall download size: 178.1 MiB. Already cached: 229.4 MiB. After the operation, additional 394.8 MiB will be used. Continue? [y/n/...? shows all options] (y): y committing In cache MozillaFirefox-60.6.1-lp150.3.45.1.x86_64.rpm (1/149), 41.4 MiB (154.4 MiB unpacked) Retrieving package apache2-utils-2.4.33-lp150.2.14.1.x86_64 (2/149), 158.5 KiB (202.2 KiB unpacked) Retrieving: apache2-utils-2.4.33-lp150.2.14.1.x86_64.rpm ......................[error] Permission to access 'http://ftp.gwdg.de/pub/opensuse/update/leap/15.0/oss/rpms/x86_64/apache2-uti...' denied.
Are you in some sort of corporate or college network?
List of my repositories:
"zypper lr
Please use instead: LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 zypper lr --details > somefile.txt and then attach that file to avoid line wrap, or upload to susepaste.org: susepaste -n "H-J B" -t "zypper lr --details" -e 10080 somefile and post here the link. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
Are you in some sort of corporate or college network?
Yes, see thread " Self signed certificate" from end of March 19. The certificate is included in /var/lib/ca-certificates/*
Please use instead:
LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 zypper lr --details > somefile.txt
and then attach that file to avoid line wrap, or upload to susepaste.org:
susepaste -n "H-J B" -t "zypper lr --details" -e 10080 somefile
and post here the link.
Pasted as: http://susepaste.org/16732784 http://paste.opensuse.org/16732784 Thanks Hermann-Josef Beckers
On Thu, Apr 11, 2019 at 1:19 PM Hermann-Josef Beckers <Hermann-Josef.Beckers@kreis-steinfurt.de> wrote:
Pasted as: http://susepaste.org/16732784 http://paste.opensuse.org/16732784
your repos #9 and #10 are fixed linked to gwdg server not recommended or not best practices thats also the server you initially wrote about with access errors better use the generic addresses as with some of your other leap15 repo addresses download.opensuse.org is the main source and advances you to the actual mirror servers via mirrorbrain concept -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/04/2019 13.28, cagsm wrote:
On Thu, Apr 11, 2019 at 1:19 PM Hermann-Josef Beckers <Hermann-Josef.Beckers@kreis-steinfurt.de> wrote:
Pasted as: http://susepaste.org/16732784 http://paste.opensuse.org/16732784
your repos #9 and #10 are fixed linked to gwdg server not recommended or not best practices
Yes, better to use download.opensuse.org and let mirrorbrain do the choosing, unless there is some reason not to.
thats also the server you initially wrote about with access errors
It may be that server who is creating the access denied error, not the outside repo. I see also that some repos have refresh disabled. Well, the oss repo is not likely to get updates, but... :-? Wait, those two repos are disabled. They should be enabled. The repo "openSUSE:infrastructure" worries me, it is for version 42.3 -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
On Thu, Apr 11, 2019 at 12:11 PM Hermann-Josef Beckers <Hermann-Josef.Beckers@kreis-steinfurt.de> wrote:
Since updating to 15.0, a "zypper -v up" sometimes gives an "access denied" error for some files (see below). Looking with a browser into the "ftp.gwdg.de/..." structure, I can see the files and can/could download them. "LANG=En_US zypper -v up Overall download size: 178.1 MiB. Already cached: 229.4 MiB. After the operation, additional 394.8 MiB will be used. Continue? [y/n/...? shows all options] (y): y committing In cache MozillaFirefox-60.6.1-lp150.3.45.1.x86_64.rpm (1/149), 41.4 MiB (154.4 MiB unpacked) Retrieving package apache2-utils-2.4.33-lp150.2.14.1.x86_64 (2/149), 158.5 KiB (202.2 KiB unpacked) Retrieving: apache2-utils-2.4.33-lp150.2.14.1.x86_64.rpm ......................[error] Permission to access 'http://ftp.gwdg.de/pub/opensuse/update/leap/15.0/oss/rpms/x86_64/apache2-uti...' denied. Abort, retry, ignore? [a/r/i/...? shows all options] (a): r Retrieving: apache2-utils-2.4.33-lp150.2.14.1.x86_64.rpm ......................[error] Permission to access 'http://ftp.gwdg.de/pub/opensuse/update/leap/15.0/oss/rpms/x86_64/apache2-uti...' denied. Abort, retry, ignore? [a/r/i/...? shows all options] (a): a Problem occurred during or after installation or removal of packages: Installation aborted by user Please see the above error message for a hint."
sometimes select mirrors or infrastructure parts dont have all the files populated yet. or you are using a fixed address single repository server instead of the general bouncers (mirrorbrain) generic forwarding urls. what is your repo details? these should read something like this on vanilla or clean systems. zypper lr -d Repository priorities are without effect. All enabled repositories share the same priority. # | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service --+-----------------+-----------------+---------+-----------+---------+----------+--------+---------------------------------------------------------------+-------- 1 | 15.0-oss | 15.0-oss | Yes | (r ) Yes | No | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/oss/ | 2 | 15.0-update-oss | 15.0-update-oss | Yes | (r ) Yes | No | 99 | rpm-md | http://download.opensuse.org/update/leap/15.0/oss/ | re-set your repo addresses to the generic addresses and sometimes updates to the repo infrastrucutres are still lagging and not an atomic process, then you need to wait until the selected mirror server does have the update bits or the rights set properly and so on. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hermann-Josef Beckers wrote:
Since updating to 15.0, a "zypper -v up" sometimes gives an "access denied" error for some files (see below). Looking with a browser into the "ftp.gwdg.de/..." structure, I can see the files and can/could download them.
[snip]
Retrieving: apache2-utils-2.4.33-lp150.2.14.1.x86_64.rpm ......................[error] Permission to access 'http://ftp.gwdg.de/pub/opensuse/update/leap/15.0/oss/rpms/x86_64/apache2-uti...' denied.
This sounds like your client was denied by the gwdg server, very odd. Did you try with wget to double check? -- Per Jessen, Zürich (10.1°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
cagsm
-
Carlos E. R.
-
Hermann-Josef Beckers
-
Per Jessen