[Solved] I think my internet was deleted.

Kernels & Hardware, configuring network, installing services

[Solved] I think my internet was deleted.

Postby chadrick » 2017-07-08 03:06

Hello All,

I recently upgraded to Debian Stretch and all went good for about a week. Then, I installed a package using Aptitude from the Stretch repository. Aptitude deleted what looked like dozens, if not hundreds of packages. Now I have no Gnome, Cinnamon, XFCE etc.

I tried to open Aptitude to reinstall Gnome, Cinnamon and XFCE but it appears that I do not have Aptitude installed anymore.

I tried apt-get install aptitude. I get error messages saying that ftp.us.debian.org cannot resolve.

I then tried ifconfig and I do not see an eth0. I see a lo and a tun0 and an (UNSPEC). I think that means that I have no internet. Is that true?

chadrick
Last edited by chadrick on 2017-07-09 09:07, edited 1 time in total.
chadrick
 
Posts: 69
Joined: 2016-01-06 00:32

Re: I think my internet was deleted.

Postby kopper » 2017-07-08 06:24

Someone might ask what did you install and why would you let aptitude remove those packages without checking what was going to be removed?
Debian 9.1 Stable with i3
Secure your stuff: Securing Debian Manual
Don't break your stuff: Source List Management DontBreakDebian
kopper
 
Posts: 59
Joined: 2016-09-30 14:30

Re: I think my internet was deleted.

Postby kedaha » 2017-07-08 08:55

You might open a terminal to see what packages got removed; maybe you can restore the necessary packages for your internet connection.
$ cd && ls /var/cache/apt/archives
And while you're about it, post what's in your sources.list. It's a bit odd that all the packages should've gone south.
$ cat /etc/apt/sources.list
Mate DE & OSSv4.
LaMp, WordPress; ispmail
Debian Stable & Software

Words, as is well known, are the great foes of reality. Joseph Conrad.
User avatar
kedaha
 
Posts: 2794
Joined: 2008-05-24 12:26

Re: I think my internet was deleted.

Postby orythem27 » 2017-07-08 09:46

It might be fixable but on the other hand it might not. But honestly, a complete reinstall would probably require the least effort at this point. Use LiveCD/LiveUSB to rescue personal data if necessary.

kedaha wrote:You might open a terminal to see what packages got removed; maybe you can restore the necessary packages for your internet connection.
$ cd && ls /var/cache/apt/archives

I think you mean /var/log/apt/history.log
User avatar
orythem27
 
Posts: 252
Joined: 2017-05-11 07:59
Location: P.R. China

Re: I think my internet was deleted.

Postby chadrick » 2017-07-09 09:04

kopper wrote:Someone might ask what did you install and why would you let aptitude remove those packages without checking what was going to be removed?


Because I am a noob.
chadrick
 
Posts: 69
Joined: 2016-01-06 00:32

Re: I think my internet was deleted.

Postby chadrick » 2017-07-09 09:05

orythem27 wrote:It might be fixable but on the other hand it might not. But honestly, a complete reinstall would probably require the least effort at this point.

I am going that route. My system was becoming too frankenized anyway.
chadrick
 
Posts: 69
Joined: 2016-01-06 00:32


Return to System configuration

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable