Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #179992

Re: Looks like apt-get autoremove Removed Too Much.

From "Martin McCormick" <martin.m@suddenlink.net>
Newsgroups linux.debian.user
Subject Re: Looks like apt-get autoremove Removed Too Much.
Date 2017-04-11 23:00 +0200
Message-ID <tvb3k-3yo-15@gated-at.bofh.it> (permalink)
References <tv8yu-27K-3@gated-at.bofh.it> <tv9bc-2lS-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


David Wright <deblis@lionunicorn.co.uk> writes:
> /var/log/apt/history.log should contain something like
> 
> Start-Date: 2017-03-02  06:48:56
> Commandline: apt-get autoremove
> 
> followed by the packages removed. If, during the removal, some service
> was stopped, or whatever, you might see some output somewhat buried in
> /var/log/apt/term.log at the corresponding time.

	I am rather sure I found it thanks to your suggestion.
Unfortunately, the system is running a cron job to record a radio
program right now so I can't cause a reboot without ruining the
on-going recording but I did as you suggested and found the file
as described. in amongst the no-longer-needed packages in the
list of removed software was network-manager, one that is quite
needed on this system. Since a network connection was already
established, nothing stopped at the time network-manager was
removed but the system couldn't then setup eth0 when it came up
again after the reboot I gave it to see if all was well. It
definitely was not well, having no eth0 on reboot.

	I had to manually issue the following commands on eth0 to
make the system able to use apt-get install network-manager:

#Bring eth0 up.
ifconfig eth0 inet 192.168.1.81 netmask "255.255.255.0"

#Setup a route to our internet router.
route add 192.168.1.1 eth0

#Let the system know where to route packets to the big wide world.
route add default gw 192.168.1.1

I forgot that last step at first and apt-get install network-manager 
would crash immediately because the system had no routing
information outside of our private network.  It couldn't do DNS
lookups nor could it reach the repositories. After I got that
done, it installed all the packages so I expect it to do dhcp
next time I reboot.

	Again, my thanks to everybody who helped.

Martin

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Looks like apt-get autoremove Removed Too Much. "Martin McCormick" <martin.m@suddenlink.net> - 2017-04-11 20:20 +0200
  Re: Looks like apt-get autoremove Removed Too Much. Hans <hans.ullrich@loop.de> - 2017-04-11 20:40 +0200
  Re: Looks like apt-get autoremove Removed Too Much. David Wright <deblis@lionunicorn.co.uk> - 2017-04-11 21:00 +0200
    Re: Looks like apt-get autoremove Removed Too Much. "Martin McCormick" <martin.m@suddenlink.net> - 2017-04-11 23:00 +0200
      Re: Looks like apt-get autoremove Removed Too Much. David Wright <deblis@lionunicorn.co.uk> - 2017-04-11 23:30 +0200
        Re: Looks like apt-get autoremove Removed Too Much. "Martin McCormick" <martin.m@suddenlink.net> - 2017-04-12 02:30 +0200
  Re: Looks like apt-get autoremove Removed Too Much. Brian <ad44@cityscape.co.uk> - 2017-04-11 21:10 +0200

csiph-web