Re: dnf install stuck

2023-08-17 Thread Mike Wright

On 8/15/23 20:34, Tim via users wrote:

On Tue, 2023-08-15 at 22:02 +0100, Barry wrote:

Better these days to replace ifconfig with:

  ip addr


I'm not so sure I agree with that, there's some useful info provided by
ifconf that ip addr doesn't supply.  For example:

 RX packets 24927062  bytes 16569920396 (15.4 GiB)
 RX errors 0  dropped 0  overruns 0  frame 0
 TX packets 8396381  bytes 1513217283 (1.4 GiB)
 TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  


ip -s a

1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT group default qlen 1000

link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
RX:  bytes packets errors dropped  missed   mcast
  1221  19  0   0   0   0
TX:  bytes packets errors dropped carrier collsns
  1221  19  0   0   0   0
2: eth0:  mtu 1500 qdisc fq_codel state 
UP mode DEFAULT group default qlen 1000

link/ether 00:50:56:39:76:2f brd ff:ff:ff:ff:ff:ff
RX:  bytes  packets errors dropped  missed   mcast
3322683844 37489609  0  233097   0  264049
TX:  bytes  packets errors dropped carrier collsns
 167566943   701810  0   0   0   0
altname enp11s0
altname ens192
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: dnf install stuck

2023-08-16 Thread Francis . Montagnac
On Wed, 16 Aug 2023 13:04:07 +0930 Tim via users wrote:

> On Tue, 2023-08-15 at 22:02 +0100, Barry wrote:
>> Better these days to replace ifconfig with:

>>  ip addr

> I'm not so sure I agree with that, there's some useful info provided by
> ifconf that ip addr doesn't supply.  For example:

> RX packets 24927062  bytes 16569920396 (15.4 GiB)
> RX errors 0  dropped 0  overruns 0  frame 0
> TX packets 8396381  bytes 1513217283 (1.4 GiB)
> TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Add the -s (-stats) option to the ip command.

Example: a can be used as a shortcut of addr show.

ip -s a
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group 
default qlen 1000


2: eth0:  mtu 1500 qdisc fq_codel state UP 
group default qlen 1000
link/ether f8:b1:56:cd:32:b6 brd ff:ff:ff:ff:ff:ff
altname enp0s25
inet 
RX:  bytes packets errors dropped  missed   mcast   
  10695641   36120  0   3   0 175 
TX:  bytes packets errors dropped carrier collsns   
   2616615   14078  0   0   0   0 

One can really forget ifconfig. For example, ifconfig do not output the
permanent mac addresses of the wifi interfaces.

Example: see the permaddr below:

ifconfig -a

wlan0: flags=4099  mtu 1500
ether e2:71:46:a6:ee:81  txqueuelen 1000  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ip a

3: wlan0:  mtu 1500 qdisc noqueue state DOWN 
group default qlen 1000
link/ether e2:71:46:a6:ee:81 brd ff:ff:ff:ff:ff:ff permaddr 
00:24:d7:0f:d4:2c
altname wlp3s0


-- 
francis
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: dnf install stuck

2023-08-15 Thread Tim via users
On Tue, 2023-08-15 at 22:02 +0100, Barry wrote:
> Better these days to replace ifconfig with:
> 
>  ip addr

I'm not so sure I agree with that, there's some useful info provided by
ifconf that ip addr doesn't supply.  For example:

RX packets 24927062  bytes 16569920396 (15.4 GiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 8396381  bytes 1513217283 (1.4 GiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: dnf install stuck

2023-08-15 Thread Barry


> On 15 Aug 2023, at 09:21, Tim via users  wrote:
> 
> If you type ifconfig into the command line, does your ethernet port
> have a valid IP (not 127.0.0.1 nor an IP starting 169.254)?  If it has
> one of them, it won't be able to do anything.  Likewise if it has none.
> 
> Does your PC have a nameserver configured in the settings?
> 
> e.g.  grep nameserver /etc/resolv.conf

Better these days to replace ifconfig with:

 ip addr

And check dns stuff with:

 resolvectl

Barry

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: dnf install stuck

2023-08-15 Thread Tim via users
On Tue, 2023-08-15 at 17:50 +0930, Tim via users wrote:
> Does your PC have a nameserver configured in the settings?
> 
> e.g.  grep nameserver /etc/resolv.conf

And, I just noticed that my resolv.conf file suggests this command:

resolvectl status

-- 
 
uname -rsvp
Linux 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: dnf install stuck

2023-08-15 Thread Tim via users
On Mon, 2023-08-14 at 22:34 -0700, Mike Wright wrote:
> 2 f38 hosts.  1 dnf install xxx works fine.  Very fast. 2) spins 
> forever: dnf.log shows
> 
> Error during transfer: Curl error (28): Timeout was reached for 
> https://mirrors.fedo...
> 
> Web searches show this to be common.  It also showed the cures to "just 
> wait", reboot, "try it again".  Nothing definitive.

Can the stalled machine do other things on the internet (e.g. browse a
webpage)?  If it can, then it's possibly just a DNF issue to figure
out.

If you type ifconfig into the command line, does your ethernet port
have a valid IP (not 127.0.0.1 nor an IP starting 169.254)?  If it has
one of them, it won't be able to do anything.  Likewise if it has none.

Does your PC have a nameserver configured in the settings?

e.g.  grep nameserver /etc/resolv.conf

Without a DNS server to consult, the PC won't be able to resolve any
host or domain names to connect to their IPs.

What sets the network addresses for your PCs?  Have you manually
configured each PC with static IPs?  Do you have a modem/router that
sets the PCs network configuration via DHCP?  Sometimes the
modem/router needs a reboot (they can have bugs just the same as
everything else).

-- 
 
uname -rsvp
Linux 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: dnf install stuck

2023-08-15 Thread Barry


> On 15 Aug 2023, at 06:34, Mike Wright  wrote:
> 
> Hi all,
> 
> 2 f38 hosts.  1 dnf install xxx works fine.  Very fast. 2) spins forever: 
> dnf.log shows
> 
> Error during transfer: Curl error (28): Timeout was reached for 
> https://mirrors.fedo...
> 
> Web searches show this to be common.  It also showed the cures to "just 
> wait", reboot, "try it again".  Nothing definitive.
> 
> Any body know how to move on from here?

You could try to diagnose what is wrong.

If you have a full url in the error then you can try:

Use curl to download the file
Use host to look up the ip address of the hostname in the url
Use ping to check if the hostname is reachable

Barry

> 
> TIA
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


dnf install stuck

2023-08-14 Thread Mike Wright

Hi all,

2 f38 hosts.  1 dnf install xxx works fine.  Very fast. 2) spins 
forever: dnf.log shows


Error during transfer: Curl error (28): Timeout was reached for 
https://mirrors.fedo...


Web searches show this to be common.  It also showed the cures to "just 
wait", reboot, "try it again".  Nothing definitive.


Any body know how to move on from here?

TIA
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue