You are not logged in.

#1 2017-07-14 00:50:02

KrunchTime
Member
Registered: 2015-09-29
Posts: 857

[SOLVED] Unable to Apt Update in Recovery Mode

Terminal output:

Err:1 http://pkg.bunsenlabs.org/debian bunsen-hydrogen InRelease
  Temporary failure resolving 'pkg.bunsenlabs.org'
Err:2 http://mirror.us.leaseweb.net/debian unstable InRelease
  Temporary failure resolving 'mirror.us.leaseweb.net'
Err:3 http://download.videolan.org/pub/debian/unstable  InRelease
  Temporary failure resolving 'download.videolan.org'
Err:4 http://repo.vivaldi.com/stable/deb stable InRelease
  Temporary failure resolving 'repo.vivaldi.com'
Err:5 http://pkg.bunsenlabs.org/debian jessie-backports InRelease
  Temporary failure resolving 'pkg.bunsenlabs.org'
Reading package lists...
Building dependency tree...
Reading state information...
1 package can be upgraded. Run 'apt list --upgradable' to see it.

Attempted via ethernet hookup.  Looks like no network access to me.  I'm also logged in as root.

Last edited by KrunchTime (2017-07-14 04:51:12)

Offline

#2 2017-07-14 01:30:14

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,013

Re: [SOLVED] Unable to Apt Update in Recovery Mode

repo.vivaldi.com/stable/deb stable

= 404 Not Found

What does your source.list look like?


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#3 2017-07-14 04:46:05

KrunchTime
Member
Registered: 2015-09-29
Posts: 857

Re: [SOLVED] Unable to Apt Update in Recovery Mode

^ Source list for the Vivaldi repo is fine.  I didn't have a network connection.

Offline

#4 2017-07-14 04:50:53

KrunchTime
Member
Registered: 2015-09-29
Posts: 857

Re: [SOLVED] Unable to Apt Update in Recovery Mode

So, in recovery mode, you do not have internet connectivity by default.  To enable connectivity for an ethernet connection:

ifconfig eth0 up
dhclient eth0
#Validate local IP/network config (if desired)
ifconfig

You should wait a second or two after entering the first command.  You'll understand if and when you do this.

Source

Note:  To others reading this thread, if you're running a true BL install, YMMV.  I performed a Debian net install and then installed the bunsen-meta-all package to bring in the BL goodies for my setup.

Last edited by KrunchTime (2017-07-14 05:59:53)

Offline

#5 2017-07-14 17:31:05

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,013

Re: [SOLVED] Unable to Apt Update in Recovery Mode

Oooo ... nice link  thank you

/ slightly off topic.
But in recovery mode is there no: /etc/network/interfaces ?

I ask because I keep a copy in: /media/5/Documents/Text/etc.network.interfaces.txt:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

## Original wally-jr Debian8 install
## by NOT installing the Network stuff.
# The primary network interface
# allow-hotplug eth0
# iface eth0 inet dhcp

## #! Waldorf and #! following Wheezy
## Wally-jr - Debian8 Crunchified
## and now Bunsen Labs

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

Handy because I rip out network manager, I don't not need it for a wired connection.  I then copy that over /etc/Network/interfaces and reboot with no network manager.  Has never failed me.

Installing the Debian Net install sets up DCHP quite nicely for my eth0 connection see here with one change, I now keep the "auto lo" and "iface lo inet loopback" lines after reading up in that a bit.

/returning to topic.

Last edited by Sector11 (2017-07-14 17:31:45)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#6 2017-07-15 23:28:30

KrunchTime
Member
Registered: 2015-09-29
Posts: 857

Re: [SOLVED] Unable to Apt Update in Recovery Mode

Sector11 wrote:

Oooo ... nice link  thank you

You're welcome.  wink

Sector11 wrote:

/ slightly off topic.
But in recovery mode is there no: /etc/network/interfaces ?

I didn't check, but there should be.  I don't know why it would go away or disappear just because you're in recovery mode.

Sector11 wrote:

I ask because I keep a copy in: /media/5/Documents/Text/etc.network.interfaces.txt:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

## Original wally-jr Debian8 install
## by NOT installing the Network stuff.
# The primary network interface
# allow-hotplug eth0
# iface eth0 inet dhcp

## #! Waldorf and #! following Wheezy
## Wally-jr - Debian8 Crunchified
## and now Bunsen Labs

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

Handy because I rip out network manager, I don't not need it for a wired connection.  I then copy that over /etc/Network/interfaces and reboot with no network manager.  Has never failed me.

Installing the Debian Net install sets up DCHP quite nicely for my eth0 connection see here with one change, I now keep the "auto lo" and "iface lo inet loopback" lines after reading up in that a bit.

/returning to topic.

Now that you mention it, after performing a Debian net install, I have to modify the /etc/network/interfaces file to get wireless to work.  I believe what you have suggested doing is what the file looks like after a Debian net install.

Offline

#7 2017-07-15 23:42:59

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,013

Re: [SOLVED] Unable to Apt Update in Recovery Mode

yes you would, DCHP is for wired stuff. But if you had a wired connection for the install process you could have installed wicd  smile  I use to swear by that little program.

Description: wired and wireless network manager - metapackage
 Wicd is a general-purpose network configuration server which aims to provide a simple but flexible
 interface for connecting to networks. Its features include: 
 * wide variety of settings; 
 * ability to connect to (and maintain profiles for) both wired and wireless networks; 
 * support for many encryption schemes, including WEP, WPA, WPA2 and custom schemes; 
 * wireless-tools compatibility; 
 * tray icon showing network activity and signal strength; 
 * lack of GNOME dependencies (although it does require GTK+), making it easy to use in Xfce,
   Fluxbox, Openbox, Enlightenment, etc. 
   
 This is a metapackage, it allows installation of all the components of Wicd, including one of the
 clients, which must be manually chosen.

Well after the net install it's already setup for DCHP.  I have to edit it when I remove Network Manager.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

Board footer

Powered by FluxBB