apt-get

Derek Broughton news at pointerstop.ca
Tue Dec 5 18:45:45 UTC 2006


claydoh wrote:

> On Saturday 02 December 2006 8:35 am, Chiphazard56 at aol.com wrote:
>> hi all
>> my on going problem
>> rm /var/lock/rpm/transaction   no such file or directory
>> rm /var/lib/rpm/_db*     no such file or  directory
>> rm /var/cache/apt/archives/lock   no such file or directory
>> and i still can't update ,this is a fresh installation ???
>> chip hazard
>>>
>>>ninja at kubuntu:~$ rm /var/cache/apt/archives/lock
>>>rm: remove write-protected regular empty file
> `/var/cache/apt/archives/lock'? y
>>>rm: cannot remove `/var/cache/apt/archives/lock': Permission denied
> 
> Try using sudo to remove the offending file:
> sudo rm /var/cache/apt/archives/lock
> 
> The other files you are trying to remove aren't there to begin with so you
> probably can ignore the other commands

I suspect that he's trying to run dpkg and/or rpm as himself, instead of
using sudo.  Getting rid of the lock isn't the real problem...
-- 
derek





More information about the kubuntu-users mailing list