Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] apt-get update doesn't work in safe mode

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
Mephistopheles
Posts: 20
Joined: 2017-08-25 07:13

Re: apt-get update doesn't work in safe mode

#16 Post by Mephistopheles »

kedaha wrote:OK, as root run this:

Code: Select all

# dhclient
After running said command, the terminal outputs this:

Code: Select all

RTNETLINK answers: File exists

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: apt-get update doesn't work in safe mode

#17 Post by kedaha »

How about:

Code: Select all

iwlist scan
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

Mephistopheles
Posts: 20
Joined: 2017-08-25 07:13

Re: apt-get update doesn't work in safe mode

#18 Post by Mephistopheles »

kedaha wrote:How about:

Code: Select all

iwlist scan
The output reads

Code: Select all

bash: iwlist: command not found
Last edited by Mephistopheles on 2017-08-27 11:51, edited 1 time in total.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: apt-get update doesn't work in safe mode

#19 Post by kedaha »

Assuming you've already read wiki.debian.org/WiFi/HowToUse#Command_Line
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

Mephistopheles
Posts: 20
Joined: 2017-08-25 07:13

Re: apt-get update doesn't work in safe mode

#20 Post by Mephistopheles »

kedaha wrote:Assuming you've already read wiki.debian.org/WiFi/HowToUse#Command_Line
I get the same error when typing iwconfig, and I've installed connman but can't seem to access it from the terminal.

User avatar
Lysander
Posts: 643
Joined: 2017-02-23 10:07
Location: London
Been thanked: 1 time

Re: apt-get update doesn't work in safe mode

#21 Post by Lysander »

OP, you are not learning anything. You are now only looking for quick fixes. It's the equivalent of moving to another country and repeating stock phrases to the locals rather than learning the language from base. In addition to that, the gfx card-related 'fix' that you found after reading one of the links I posted was very easy to find.

You're turning into a help vampire. Get off the forums, read the Debian Wiki [or alternately, leave the house]. I'm out.

Mephistopheles
Posts: 20
Joined: 2017-08-25 07:13

Re: apt-get update doesn't work in safe mode

#22 Post by Mephistopheles »

Lysander wrote:OP, you are not learning anything. You are now only looking for quick fixes. It's the equivalent of moving to another country and repeating stock phrases to the locals rather than learning the language from base. In addition to that, the gfx card-related 'fix' that you found after reading one of the links I posted was very easy to find.

You're turning into a help vampire. Get off the forums, read the Debian Wiki [or alternately, leave the house]. I'm out.
No, you're right and I apologise, instead of reading and trying to take things in I'm just taking what I'm being told and trying to do it in hopes of an easy fix and that's stupid and unfair of me. For now I'll stick to the Wiki and read through it in regards to any problems I have. Thank you for whatever help you did give me, and the same goes to everyone else who gave me advice and helped me out. I appreciate it more than I may make it seem. I'm going to just use the Wiki for advice from now on.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: apt-get update doesn't work in safe mode

#23 Post by kedaha »

I too think you should be able to solve it now; you're very close.
Of course, you just need to connect to the router wirelessly so you need to enter the password.
Try connecting directly to the router, not through the booster.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

Re: apt-get update doesn't work in safe mode

#24 Post by dilberts_left_nut »

Mephistopheles wrote:I think the reason it classes it as an Ethernet connection is because I'm connected to the wifi booster via an ethernet cable, but the connection is still wireless.
No.
It is ethernet.
Post output of 'ip a'
AdrianTM wrote:There's no hacker in my grandma...

Mephistopheles
Posts: 20
Joined: 2017-08-25 07:13

Re: apt-get update doesn't work in safe mode

#25 Post by Mephistopheles »

dilberts_left_nut wrote:
Mephistopheles wrote:I think the reason it classes it as an Ethernet connection is because I'm connected to the wifi booster via an ethernet cable, but the connection is still wireless.
No.
It is ethernet.
Post output of 'ip a'
The output of "ip a" is as follows:

Code: Select all

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 40:8d:5c:e1:fe:77 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.193/24 brd 192.168.1.255 scope global dynamic enp3s0
       valid_lft 85281sec preferred_lft 85281sec
    inet6 fe80::428d:5cff:fee1:fe77/64 scope link 
       valid_lft forever preferred_lft forever

Post Reply