[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rm -rf /var/cache/apt/archives/



> Hi all,
> 
> Just before I found out the apt-get clean I wiped out the
> /var/cache/apt/archives/. As it can be expected I badly screwed my apt-get
> :)
> 
> How can I bring this back?
> 
> raj
> 


Just create the following and you are set:

 [01:00:32 tmp]$ ls /var/cache/apt/archives -ld
drwxr-xr-x    3 root     root         8192 May 31 00:38 /var/cache/apt/archives
[01:00:35 tmp]$ ls /var/cache/apt/archives -lR
/var/cache/apt/archives:
total 4
-rw-r-----    1 root     root            0 May 31 00:38 lock
drwxr-xr-x    2 root     root         4096 May 30 21:38 partial

/var/cache/apt/archives/partial:
total 0
[01:00:38 tmp]$ 

Of course you will need to download again every package that you want to upgrade.
-- 
	
	Shaul Karl <shaulka@bezeqint.net>

Hillel used to say: If I am not for myself who will be for me?
Yet, if I am for myself only, what am I? And if not now, when?
                                          (Ethics Of The Fathers 1:14)





Reply to: