LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-15-2017, 04:11 AM   #1
hd_scania
Member
 
Registered: Apr 2017
Location: Nowhere
Distribution: Plenties found in my signatures :)
Posts: 268
Blog Entries: 6

Rep: Reputation: Disabled
Exclamation Upgrading Debian in a live CD


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.
 
Old 11-15-2017, 01:15 PM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,484

Rep: Reputation: Disabled
You can't upgrade a 'live' CD, you will need to remaster it.
 
Old 11-17-2017, 02:24 AM   #3
hd_scania
Member
 
Registered: Apr 2017
Location: Nowhere
Distribution: Plenties found in my signatures :)
Posts: 268

Original Poster
Blog Entries: 6

Rep: Reputation: Disabled
Smile

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 View Post
You can't upgrade a 'live' CD, you will need to remaster it.

Last edited by hd_scania; 11-17-2017 at 02:26 AM.
 
Old 11-17-2017, 08:31 PM   #4
hd_scania
Member
 
Registered: Apr 2017
Location: Nowhere
Distribution: Plenties found in my signatures :)
Posts: 268

Original Poster
Blog Entries: 6

Rep: Reputation: Disabled
Exclamation

Code:
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?

Last edited by hd_scania; 11-17-2017 at 11:22 PM.
 
Old 11-18-2017, 12:39 AM   #5
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Is the network working? ping -c2 lq.org
(If not, can you manually bring it up?)
(Or maybe I don't understand the situation; if so, my apology)

Last edited by !!!; 11-18-2017 at 12:43 AM.
 
Old 11-18-2017, 03:06 AM   #6
hd_scania
Member
 
Registered: Apr 2017
Location: Nowhere
Distribution: Plenties found in my signatures :)
Posts: 268

Original Poster
Blog Entries: 6

Rep: Reputation: Disabled
My NetworkManager is surely working, but somewhy dead for apt and web browsers.
Quote:
Originally Posted by !!! View Post
Is the network working? ping -c2 lq.org
(If not, can you manually bring it up?)
(Or maybe I don't understand the situation; if so, my apology)
 
Old 11-18-2017, 11:27 AM   #7
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
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 #.#.#.#

Last edited by !!!; 11-18-2017 at 11:49 AM.
 
1 members found this post helpful.
Old 11-25-2017, 05:02 AM   #8
hd_scania
Member
 
Registered: Apr 2017
Location: Nowhere
Distribution: Plenties found in my signatures :)
Posts: 268

Original Poster
Blog Entries: 6

Rep: Reputation: Disabled
Smile

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.
 
Old 11-25-2017, 05:33 AM   #9
hd_scania
Member
 
Registered: Apr 2017
Location: Nowhere
Distribution: Plenties found in my signatures :)
Posts: 268

Original Poster
Blog Entries: 6

Rep: Reputation: Disabled
Talking

WtX they are??? subdom.deb seems to be nothing and also lq.org is redirected to LifeQuest, a clinical centre in Pennsylvania.
Quote:
Originally Posted by !!! View Post
Try wget (subdom.deb or lq.org)
 
Old 12-12-2017, 12:12 AM   #10
hd_scania
Member
 
Registered: Apr 2017
Location: Nowhere
Distribution: Plenties found in my signatures :)
Posts: 268

Original Poster
Blog Entries: 6

Rep: Reputation: Disabled
Wink

My last issue is, I find the below startup command (manually) annoying,
Code:
sudo mount /dev/sda14 / -o rw,remount && sudo nano /etc/resolv.conf && sudo sddm
But I have appended Qubes and Subgraph into the Debian system, how to prevent from this anymore?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Upgrading from Debian 6 Squeeze with ISPConfig and courier/postfix to Debian 7 Wheezy LXer Syndicated Linux News 0 08-16-2016 05:36 PM
[SOLVED] Blackscreen installing Debian Jessie upgrading from Debian Wheezy ismaeltxu Linux - Newbie 2 05-11-2015 01:47 AM
LXer: I'm using Debian Live-based Tails from a live USB stick to preserve privacy and anonymity LXer Syndicated Linux News 0 01-09-2012 11:50 AM
503box-Live aka Lenny & 3/4 OR Debian-Live on Gas! linus72 Debian 28 11-06-2009 07:20 PM
upgrading the kernel from live-cd raffigee Linux - Newbie 2 03-04-2006 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration