I cant zypper ref unless i do so from local repos, i added the most current TW iso as local repo thus far, i have reinstalled everything associated with zypper, the errors on refresh point to curl cant find url, although the url exists
Helllo,
Your description is only the explaining part of the facts, but the facts are not there. Always post what your computer says by copy/paste. In this case you should post the zypper ref command and all that follows here (between CODE tags).
And about those CODE tags:
There is an important, but not easy to find feature on the forums.
Please in the future use CODE tags around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.
An example is here: Using CODE tags Around your paste.
Regards,
My bad, i dont forum post much, will do better
https://susepaste.org/36304908
this is what i am up against, dns from 10.0.0.164 = localhost/127.0.0.1
dns via dnsmasq service, service running fine, i am on a mac now and using dns from 10.0.064
the script ran from within TW errors out, although the ip is found by dnsmasq, i am guessing the system is resolving from elsewhere
emanuel@skynet-HP-TW:~> ping -c1 forums.opensuse.orgping: forums.opensuse.org: Name or service not known
emanuel@skynet-HP-TW:~>
Apparently the name forums.opensuse.org can not be resolved to an IP address, A DNS problem (and thus has nothing to do with zypper at all).
BTW, you started this telling that doing a zypper command gave you error messages. I told you that telling that alone without showing will not provide much information to non-clairvoyant helpers. I am not sure what you are after, but you still did not post that zypper command with all it’s output.
I am afraid that you are doing some bug analisys and as a result made some jumps, but forgot to explain all those.
Can you please try to explain what your problem is now and illustrate that with computer facts?
emanuel@skynet-HP-TW:~> sudo zypper refProblem retrieving files from 'Virtual_Box'.
Download (curl) error for 'https://download.virtualbox.org/virtualbox/rpm/opensuse/13.2/repodata/repomd.xml':
Error code: Connection failed
Error message: Could not resolve host: download.virtualbox.org
Please see the above error message for a hint.
Skipping repository 'Virtual_Box' because of the above error.
Repository 'local-repo' is up to date.
Problem retrieving files from 'kde-extra-experimental'.
Download (curl) error for 'http://download.opensuse.org/repositories/KDE:/Extra/KDE_Frameworks5_openSUSE_Tumbleweed/repodata/repomd.xml':
Error code: Connection failed
Error message: Could not resolve host: download.opensuse.org
Please see the above error message for a hint.
Skipping repository 'kde-extra-experimental' because of the above error.
Repository 'opensuse-tw-iso' is up to date.
Problem retrieving files from 'nVidia Graphics Drivers'.
Download (curl) error for 'https://download.nvidia.com/opensuse/tumbleweed/repodata/repomd.xml':
Error code: Connection failed
Error message: Could not resolve host: download.nvidia.com
Please see the above error message for a hint.
Skipping repository 'nVidia Graphics Drivers' because of the above error.
Problem retrieving files from 'Main Repository (NON-OSS)'.
Download (curl) error for 'http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml':
Error code: Connection failed
Error message: Could not resolve host: download.opensuse.org
Please see the above error message for a hint.
Skipping repository 'Main Repository (NON-OSS)' because of the above error.
Problem retrieving files from 'Main Repository (OSS)'.
Download (curl) error for 'http://download.opensuse.org/tumbleweed/repo/oss/repodata/repomd.xml':
Error code: Connection failed
Error message: Could not resolve host: download.opensuse.org
Please see the above error message for a hint.
Skipping repository 'Main Repository (OSS)' because of the above error.
Problem retrieving files from 'Main Update Repository'.
Download (curl) error for 'http://download.opensuse.org/update/tumbleweed/repodata/repomd.xml':
Error code: Connection failed
Error message: Could not resolve host: download.opensuse.org
Please see the above error message for a hint.
Skipping repository 'Main Update Repository' because of the above error.
Problem retrieving files from 'google-chrome-beta'.
Download (curl) error for 'http://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/repomd.xml':
Error code: Connection failed
Error message: Could not resolve host: dl.google.com
Please see the above error message for a hint.
Skipping repository 'google-chrome-beta' because of the above error.
Problem retrieving files from 'network'.
Download (curl) error for 'http://download.opensuse.org/repositories/network/openSUSE_Tumbleweed/repodata/repomd.xml':
Error code: Connection failed
Error message: Could not resolve host: download.opensuse.org
Please see the above error message for a hint.
Skipping repository 'network' because of the above error.
Problem retrieving files from 'NordVPN YUM repository - x86_64'.
Download (curl) error for 'https://repo.nordvpn.com/yum/nordvpn/centos/x86_64/repodata/repomd.xml':
Error code: Connection failed
Error message: Could not resolve host: repo.nordvpn.com
Please see the above error message for a hint.
Skipping repository 'NordVPN YUM repository - x86_64' because of the above error.
Problem retrieving files from 'NordVPN YUM repository - noarch'.
Download (curl) error for 'https://repo.nordvpn.com/yum/nordvpn/centos/noarch/repodata/repomd.xml':
Error code: Connection failed
Error message: Could not resolve host: repo.nordvpn.com
Please see the above error message for a hint.
Skipping repository 'NordVPN YUM repository - noarch' because of the above error.
Problem retrieving files from 'monitoring-openSUSE_Tumbleweed'.
Download (curl) error for 'http://download.opensuse.org/repositories/server:/monitoring/openSUSE_Tumbleweed/repodata/repomd.xml':
Error code: Connection failed
Error message: Could not resolve host: download.opensuse.org
Please see the above error message for a hint.
Skipping repository 'monitoring-openSUSE_Tumbleweed' because of the above error.
Problem retrieving files from 'X11:/Wayland/openSUSE_Tumbleweed'.
Download (curl) error for 'https://download.opensuse.org/repositories/X11:/Wayland/openSUSE_Tumbleweed/repodata/repomd.xml':
Error code: Connection failed
Error message: Could not resolve host: download.opensuse.org
Please see the above error message for a hint.
Skipping repository 'X11:/Wayland/openSUSE_Tumbleweed' because of the above error.
Problem retrieving files from 'libdvdcss repository'.
Download (curl) error for 'http://opensuse-guide.org/repo/openSUSE_Tumbleweed/repodata/repomd.xml':
Error code: Connection failed
Error message: Could not resolve host: opensuse-guide.org
Please see the above error message for a hint.
Skipping repository 'libdvdcss repository' because of the above error.
Problem retrieving files from 'Packman Repository'.
Download (curl) error for 'http://packman.jacobs-university.de/suse/openSUSE_Tumbleweed/repodata/repomd.xml':
Error code: Connection failed
Error message: Could not resolve host: packman.jacobs-university.de
Please see the above error message for a hint.
Skipping repository 'Packman Repository' because of the above error.
Some of the repositories have not been refreshed because of an error.
emanuel@skynet-HP-TW:~>
emanuel@skynet-HP-TW:~> dig packman.jacobs-university.de
; <<>> DiG 9.16.19 <<>> packman.jacobs-university.de
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47572
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;packman.jacobs-university.de. IN A
;; ANSWER SECTION:
packman.jacobs-university.de. 25200 IN A 212.201.44.24
;; Query time: 708 msec
;; SERVER: 10.0.0.164#53(10.0.0.164)
;; WHEN: Thu Aug 12 13:56:09 EDT 2021
;; MSG SIZE rcvd: 73
emanuel@skynet-HP-TW:~>
dig is provided by dnsmasq on localhost , changing server setting on dnsmasq to 127.0.0.1 does not make a diff
emanuel@skynet-HP-TW:~> ping -c1 packman.jacobs-university.de
ping: packman.jacobs-university.de: Name or service not known
emanuel@skynet-HP-TW:~>
emanuel@skynet-HP-TW:~> inxi -FxxxzSystem: Kernel: 5.13.6-1-default x86_64 bits: 64 compiler: gcc v: 11.1.1 Desktop: N/A dm: XDM
Distro: openSUSE Tumbleweed 20210806
Machine: Type: Desktop Mobo: HP model: 828A v: 1.01 serial: <filter> UEFI-[Legacy]: AMI v: F.15 date: 09/19/2016
CPU: Info: Quad Core model: Intel Core i7-6700 bits: 64 type: MT MCP arch: Skylake-S rev: 3 cache: L2: 8 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 54398
Speed: 847 MHz min/max: 800/4000 MHz Core speeds (MHz): 1: 847 2: 900 3: 879 4: 900 5: 900 6: 851 7: 800 8: 865
Graphics: Device-1: NVIDIA GM107 [GeForce GTX 750 Ti] vendor: Hewlett-Packard driver: nvidia v: 470.57.02 bus-ID: 01:00.0
chip-ID: 10de:1380 class-ID: 0300
Display: server: X.org 1.20.13 driver: loaded: nvidia unloaded: modesetting alternate: fbdev,nouveau,nv,vesa
Message: No advanced graphics data found on this system.
Audio: Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
bus-ID: 00:1f.3 chip-ID: 8086:a170 class-ID: 0403
Device-2: NVIDIA GM107 High Definition Audio [GeForce 940MX] vendor: Hewlett-Packard driver: snd_hda_intel
v: kernel bus-ID: 01:00.1 chip-ID: 10de:0fbc class-ID: 0403
Sound Server-1: ALSA v: k5.13.6-1-default running: yes
Sound Server-2: PulseAudio v: 14.2-rebootstrapped running: yes
Sound Server-3: PipeWire v: 0.3.32 running: yes
Network: Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi v: kernel port: e000 bus-ID: 03:00.0
chip-ID: 8086:24fb class-ID: 0280
IF: wlp3s0 state: down mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Hewlett-Packard driver: r8169 v: kernel
port: d000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: macvtap0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth: Device-1: Intel Wireless-AC 3168 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-5:4 chip-ID: 8087:0aa7
class-ID: e001
Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: N/A rfk-block: hardware: no software: no
address: see --recommends
Drives: Local Storage: total: 1.36 TiB used: 43.04 GiB (3.1%)
ID-1: /dev/sda vendor: Western Digital model: WD10EZEX-60WN4A0 size: 931.51 GiB speed: 6.0 Gb/s rotation: 7200 rpm
serial: <filter> rev: 1A01 scheme: GPT
ID-2: /dev/sdb vendor: Western Digital model: WDBNCE5000PNC-WRSN size: 465.76 GiB speed: 6.0 Gb/s rotation: SSD
serial: <filter> rev: 10WD scheme: MBR
Partition: ID-1: / size: 19.56 GiB used: 12.66 GiB (64.7%) fs: ext4 dev: /dev/sdb6
ID-2: /home size: 119.94 GiB used: 30.39 GiB (25.3%) fs: xfs dev: /dev/sdb7
Swap: ID-1: swap-1 type: partition size: 16.01 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda2
Sensors: Missing: Required tool sensors not installed. Check --recommends
Info: Processes: 201 Uptime: 5h 24m wakeups: 0 Memory: 15.57 GiB used: 2.43 GiB (15.6%) Init: systemd v: 248 runlevel: 5
target: graphical.target Compilers: gcc: 11.1.1 alt: 10/11/7 Packages: rpm: 2910 Shell: Bash v: 5.1.8
running-in: sshd (SSH) inxi: 3.3.04
emanuel@skynet-HP-TW:~>
Show content of /etc/nsswitch.conf and /usr/etc/nsswitch.conf. If you have /etc/nsswitch.conf.d, show all files in this directory.
As I said earlier, you have a DNS problem. I e.g. can resolve
henk@boven:~> nslookup download.virtualbox.org
Server: 194.109.6.66
Address: 194.109.6.66#53
Non-authoritative answer:
download.virtualbox.org canonical name = download.oracle.com.edgekey.net.
download.oracle.com.edgekey.net canonical name = e2875.d.akamaiedge.net.
Name: e2875.d.akamaiedge.net
Address: 104.85.4.85
henk@boven:~>
or
henk@boven:~> host download.virtualbox.org
download.virtualbox.org is an alias for download.oracle.com.edgekey.net.
download.oracle.com.edgekey.net is an alias for e2875.d.akamaiedge.net.
e2875.d.akamaiedge.net has address 104.85.4.85
henk@boven:~>
as requested, i ran commands per your example
emanuel@skynet-HP-TW:~> nslookup download.virtualbox.orgServer: 10.0.0.164
Address: 10.0.0.164#53
Non-authoritative answer:
download.virtualbox.org canonical name = download.oracle.com.edgekey.net.
download.oracle.com.edgekey.net canonical name = e2875.d.akamaiedge.net.
Name: e2875.d.akamaiedge.net
Address: 23.12.37.19
emanuel@skynet-HP-TW:~> host download.virtualbox.org
download.virtualbox.org is an alias for download.oracle.com.edgekey.net.
download.oracle.com.edgekey.net is an alias for e2875.d.akamaiedge.net.
e2875.d.akamaiedge.net has address 184.26.132.28
emanuel@skynet-HP-TW:~>
was that what you were looking for?
as requested,
emanuel@skynet-HP-TW:~> cat /etc/nsswitch.conf
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
# compat Use compatibility setup
# nisplus Use NIS+ (NIS version 3)
# nis Use NIS (NIS version 2), also called YP
# dns Use DNS (Domain Name Service)
# files Use the local files
# [NOTFOUND=return] Stop searching if not found so far
#
# For more information, please read the nsswitch.conf.5 manual page.
#
passwd: compat
group: compat
shadow: compat
hosts: [NOTFOUND=return] files mdns_minimal dns
networks: files dns
services: files usrfiles
protocols: files usrfiles
rpc: files usrfiles
ethers: files
netmasks: files
netgroup: files
publickey: files
bootparams: files
automount: files
aliases: files
emanuel@skynet-HP-TW:~> cat /usr/etc/nsswitch.conf
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# Valid databases are: aliases, ethers, group, gshadow, hosts,
# initgroups, netgroup, networks, passwd, protocols, publickey,
# rpc, services, and shadow.
#
# Valid service provider entries include (in alphabetical order):
#
# compat Use /etc files plus *_compat pseudo-db
# db Use the pre-processed /var/db files
# dns Use DNS (Domain Name Service)
# files Use the local files in /etc
# hesiod Use Hesiod (DNS) for user lookups
# nis Use NIS (NIS version 2), also called YP
# nisplus Use NIS+ (NIS version 3)
#
# See `info libc 'NSS Basics'` for more information.
#
# Commonly used alternative service providers (may need installation):
#
# ldap Use LDAP directory server
# myhostname Use systemd host names
# mymachines Use systemd machine names
# mdns*, mdns*_minimal Use Avahi mDNS/DNS-SD
# resolve Use systemd resolved resolver
# sss Use System Security Services Daemon (sssd)
# systemd Use systemd for dynamic user option
# winbind Use Samba winbind support
# wins Use Samba wins support
# wrapper Use wrapper module for testing
#
# Notes:
#
# 'sssd' performs its own 'files'-based caching, so it should generally
# come before 'files'.
#
# WARNING: Running nscd with a secondary caching service like sssd may
# lead to unexpected behaviour, especially with how long
# entries are cached.
#
# Installation instructions:
#
# To use 'db', install the appropriate package(s) (provide 'makedb' and
# libnss_db.so.*), and place the 'db' in front of 'files' for entries
# you want to be looked up first in the databases, like this:
#
# passwd: db files
# shadow: db files
# group: db files
passwd: compat
group: compat
shadow: compat
# Allow initgroups to default to the setting for group.
# initgroups: compat
hosts: files dns
networks: files dns
aliases: files usrfiles
ethers: files usrfiles
gshadow: files usrfiles
netgroup: files nis
protocols: files usrfiles
publickey: files
rpc: files usrfiles
services: files usrfiles
automount: files nis
bootparams: files
netmasks: files
emanuel@skynet-HP-TW:~> ls -a /etc/nsswitch.conf.d
ls: cannot access '/etc/nsswitch.conf.d': No such file or directory
emanuel@skynet-HP-TW:~> cd /etc/nsswitch.conf.d
-bash: cd: /etc/nsswitch.conf.d: No such file or directory
emanuel@skynet-HP-TW:~>
Delete [noparse][NOTFOUND=return][/noparse], this is absolutely wrong (at least, as the very first entry).
you are the opensuse god, :), your suggestion was the fix, thank you, all that is left is wondering how that line got entered into the conf, i did not tweak the conf, again, i owe you a beer
From my “nsswitch.conf” (on Leap 15.3):
hosts: files mdns_minimal [NOTFOUND=return] dns
Somehow that line got rearranged on your system, so that it did not make sense.
I cannot guess how it got rearranged.
what i should do is figure out what the default conf as shipped looks like for TW, probably looks like as yours.