Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24) ,Network is unreachable) [IP: 91.189.88.142 80
That looks like a misconfigured IPv6 stack. Linux thinks it has IPv6 and tries to use it (prefers it actually) to connect.
You can force apt-get
to use IPv4 adding -o Acquire::ForceIPv4=true
. For example:
$ sudo apt-get -o Acquire::ForceIPv4=true update
If you want to make the option permanent you can add it to a file in /etc/apt/apt.conf.d/
, for example inside /etc/apt/apt.conf.d/99only-ipv4
:
Acquire::ForceIPv4 "true";
Cecilia
Updated on September 18, 2022Comments
-
Cecilia over 1 year
I have a Woocommerce site with Ocean WP theme. The checkout page, order review table, product line is messed up. The Product Name and Product Quantity and Product Amount are compressed into small narrow columns on Mobile Only.
I have researched endlessly for similar issues and can't find something similar. I have tried modifying the table widths to no effect. How can I see what is blocking the columns from occupying the full width of the table?
Here is what I've tried:
@media only screen and (max-width: 600px) { tr.cart_item, td.product_name, td.product_total{ width: 100% !important; padding: 0px !important; margin: 0px !important;} table.woocommerce-checkout-review-order-table .product-quantity { width: 200px !important;} }
Here is the link: https://****.com/checkout/
See screenshot.
-
Howard E about 4 yearsHi. What have you tried to fix this?
-
Cecilia about 4 yearsI added some code to the description.
-
Mast almost 4 yearsDid you verify your own network isn't the problem?
-
Edward almost 4 yearsYou say you found many others with the same problem. It may help to add links to those problems.
-
Saurav Raj Joshi almost 4 years@Mast how do i do this ? I am using a google wifi as a router, does that harm any way ? other than that how do I know ?
-
Sascha about 2 yearsFor me it was the corporate proxy, this was my solution: sudo http_proxy=http://<ip>:<port> https_proxy=http://<ip>:<port> apt-get update
-
-
Saurav Raj Joshi almost 4 yearsI did try this , and yes this works. But is there a permanent solution ?
-
Saurav Raj Joshi almost 4 yearsOk even forcing to use IPv4 gives the same error .
-
Edison Pebojot almost 3 yearsIt works for me, but how you can make it permanent. For example, without using -o Acquire::ForeIPv4=true
-
Eduardo Trápani almost 3 years@EdisonPebojot check the updated answer and maybe
man apt.conf
for all the details.