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

Re: removing file??



I did that, but I got this :

jamiil@ArbolOne:~$ sudo apt clean
jamiil@ArbolOne:~$ sudo apt install codeblocks-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  codeblocks-dev
0 upgraded, 1 newly installed, 0 to remove and 322 not upgraded.
Need to get 522 kB of archives.
After this operation, 1,905 kB of additional disk space will be used.
Get:1 http://ftp.de.debian.org/debian sid/main amd64 codeblocks-dev amd64 20.03-3.1+b1 [522 kB]
Fetched 522 kB in 2s (313 kB/s)
(Reading database ... 258020 files and directories currently installed.)
Preparing to unpack .../codeblocks-dev_20.03-3.1+b1_amd64.deb ...
Unpacking codeblocks-dev:amd64 (20.03-3.1+b1) ...
dpkg: error processing archive /var/cache/apt/archives/codeblocks-dev_20.03-3.1+
b1_amd64.deb (--unpack):
 trying to overwrite '/usr/include/codeblocks/Alignment.h', which is also in pac
kage codeblocks-headers 20.03
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/codeblocks-dev_20.03-3.1+b1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

On 2022-11-10 11:17 p.m., Peter von Kaehne wrote:
Why do you want to remove it?

You would remove it with sudo apt clean

At which point that directory should be empty, it is just a cache for install files

Sent from my phone. Please forgive misspellings and weird “corrections”

On 11 Nov 2022, at 03:33, Amn <amnojeeuw@gmail.com> wrote:

I am trying to remove this file : '/var/cache/apt/archives/codeblocks-dev_20.03-3_amd64.deb', but after trying, even as a 'su', but I am unable to. Any suggestion how to do this?



Reply to: