DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
By every time my Parabola system has experienced errors before entering my graphical shell I always remember my live ISO, running pacstrap and arch-chroot commands, under them full upgrading my whole system, and finally my Parabola system is recovered.
For deb systems, like Trisquel, Debian, Devuan, what are the possible commands correspondent to pacstrap and arch-chroot, to help to rescue my deb systems?
I have already tested the chroot command which NetworkManager is not working at all, even reinstalling NetworkManager packages in dpkg not working, which I need to look for the possibly alternative commands which are surely working.
I actually stand this for, running commands from a Debian live system for upgrading my local deb systems, I am not touching software packages from the live session, but using a live system to upgrade hence revive the local systems. This works well for a pacman system like Parabola, now doing the same for deb systems.
Quote:
Originally Posted by fatmac
You can't upgrade a 'live' CD, you will need to remaster it.
hdscania@deb:/etc/apt/apt.conf.d$ sudo apt update
Err:1 http://http.debian.net/debian testing InRelease
Could not resolve 'http.debian.net'
Err:2 http://deb.qubes-os.org/r4.0/vm stretch InRelease
Could not resolve 'deb.qubes-os.org'
Err:3 http://deb.qubes-os.org/r4.0/vm stretch-securitytesting InRelease
Could not resolve 'deb.qubes-os.org'
Err:4 http://devrepo.subgraph.com/subgraph aaron InRelease
Could not resolve 'devrepo.subgraph.com'
Err:5 http://http.debian.net/debian-security testing/updates InRelease
Could not resolve 'http.debian.net'
Err:6 http://security.debian.org testing/updates InRelease
Could not resolve 'security.debian.org'
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://http.debian.net/debian/dists/testing/InRelease Could not resolve 'http.debian.net'
W: Failed to fetch http://http.debian.net/debian-security/dists/testing/updates/InRelease Could not resolve 'http.debian.net'
W: Failed to fetch http://security.debian.org/dists/testing/updates/InRelease Could not resolve 'security.debian.org'
W: Failed to fetch http://deb.qubes-os.org/r4.0/vm/dists/stretch/InRelease Could not resolve 'deb.qubes-os.org'
W: Failed to fetch http://deb.qubes-os.org/r4.0/vm/dists/stretch-securitytesting/InRelease Could not resolve 'deb.qubes-os.org'
W: Failed to fetch http://devrepo.subgraph.com/subgraph/dists/aaron/InRelease Could not resolve 'devrepo.subgraph.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
hdscania@deb:/etc/apt/apt.conf.d$
After a rescue for my system the above error was occured, even after fixing the apt and NetworkManager packages and some deps using dpkg. What to do now?
Hmmmm..... Interesting Maybe double-check what I'm thinking here...
Is it DNS that's broke? /etc/resolv.conf (now a magic link to systemd's /run)
So, you can ping -c2 security.debian.org, immediately before apt command?
IF not, we need to dig up the tricks about fixing above resolv,
(assuming a ping of Satanic 8.8.8.8 works)
which I've recently seen several places. Oh, solut'n is DevuanSlack*
IF yes, try sudo on the ping, as an insane sanity check.
Or, IF only 'web' stuff, is some ufw firewall (which Idk) blocking?
Try wget (subdom. deb or lq .org)
and/or nslookup/dig, to try wget by IP #.#.#.#
Setting /etc/resolv.conf to 8.8.8.8 (the Lucifer's IP) works to revive apt and my web browsers, and I have upgraded and afterwards installed maps like Marble-noK and qGIS.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.