HELP! I destroyed /var/cache/apt **FIXED**

Steve yorvik.ubunto at googlemail.com
Fri Feb 5 20:38:36 UTC 2010


On Fri, 05 Feb 2010 03:26:06 -0000, Jay Ridgley <jridgley2 at austin.rr.com>  
wrote:

>
>  > On Sat, 30 Jan 2010 16:40:43 -0000 Steve
> <yorvik.ubunto at googlemail.com> wrote:
>  > Subject: Re: HELP! I destroyed /var/cache/apt
>  > To: "Ubuntu user technical support, not for general discussions"
> <ubuntu-users at lists.ubuntu.com>
>  > Message-ID: <op.u7ctx5ri3z9ow3 at wharfe>
>  > Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
>  > > On Sat, 30 Jan 2010 16:35:39 -0000, Jay Ridgley wrote:
>  > > Folks,
>  > >
>  > > Well to put it simply "I shot myself in the foot"!
>  > >
>  > > How do I recover a completely destroyed /var/cache/apt directory? I
>  > > messed up with an sudo rm -rf to get rid of some files in /var...
>  > >
>  > > How do I rebuild the information on installed packages?? Can I copy  
> one
>  > > from another system?
>  > >
>  > > With egg on my face,
>  > > Jay
>  > >
>  > > PS Thanks for the help about the NFS entry in my /etc/fstab
>  > >
>  > Restore from your backup  :p
>  >
>  > ...or have a read of man apt-cache
>  >
>  > -- Steve
>
> Folks,
>
> Well I got it back together, but is was not pretty...
>
> I wound up doing a complete install and applied all the updates...
>
> Then reconfigured everything(and that was a bunch). The system is my
> firewall and is headless to boot...
>
> A gentle word here-- IF YOU ARE DOING SPARSE BACKUPS INCLUDE /var AS
> PART OF IT! I had not been...
>
> Cheers,
> Jay
>
We’ve all been there Jay, glad you’re back functioning.

-- 
Steve




More information about the ubuntu-users mailing list