Removed a file by accident

NoOp glgxg at
Sat Oct 9 04:55:50 UTC 2010

On 10/08/2010 09:43 PM, Stephen S. Disbrow wrote:
>> On 10/08/2010 08:58 PM, Stephen S. Disbrow wrote:
>>> Hello, I'm running ubuntu 10.04 with the latest updates. I
>>> accidentally removed the  /sbin/restart file. Where can I get this
>>> file  from?Can I use apt-get or something like that, or do I have to
>>> download it from somewhere? I do everything from the command line so
>>> that method might be best for me. Also how can I find out what
>>> package that file belonged to?
>> Search the contents of packages
>> <>
>> File  Packages
>> /sbin/restart upstart
>> $ sudo apt-get install --reinstall upstart
>> if you still have problems, you can download directly:
>> depending upon your cpu.

It is. But if the web/network connection is down perhaps one of the
cli/'apt-get' folks can tell us how to do this via the terminal. There
is a way, I've just forgotten how to do it at the moment.

As an added note: Please bottom post on this list (meaning to put your
reply at the bottom of the post. See:
[Technical guidelines
Proper quoting:]


More information about the ubuntu-users mailing list