Συντάκτης: Kevin Chadwick Ημερομηνία: Προς: dng Αντικείμενο: Re: [DNG] , ,
how 2 solve aptitude/apt/apt-get Could not resolve 'deb.devuan.org'
dns fails with IPv4
On 03/09/2024 10:57, Arnt Karlsen wrote: > Hi,
>
> ,,how 2 solve aptitude/apt/apt-get Could not resolve 'deb.devuan.org'
> with IPv4: paste in: " echo 'Acquire::ForceIPv4 "true";' | sudo tee \
> /etc/apt/apt.conf.d/99force-ipv4 ", or, as root, paste in:
> " echo 'Acquire::ForceIPv4 "true";' >/etc/apt/apt.conf.d/99force-ipv4 "
>
> ..either of these 2 commands will create a new file 99force-ipv4
> with content that will force aptitude et al to only use IPv4.
>
> ..source: Chimarea box with apt* dns fails (with (Debian's?) IPv6) and
> https://raspberrypi.stackexchange.com/questions/91053/cannot-use-apt-get-or-
> ping-internet-is-working
Perhaps adding ipv6.disable=1 to the GRUB_CMDLINE_LINUX in /etc/default/grub and
then running update-grub would work too.