The officially official Devuan Forum!

You are not logged in.

#1 2021-10-29 18:06:59

Altoid
Member
Registered: 2017-05-07
Posts: 925  

[SOLVED] apt and residual files

Hello:

I run Devuan Beowulf on an Asus 1000HE netbook, used only for coffee roasting duty or to take along if I am out of town.

root@eee-dev3:~# uname -a
Linux eee-dev3 4.19.0-18-686-pae #1 SMP Debian 4.19.208-1 (2021-09-29) i686 GNU/Linux
root@eee-dev3:~# 

Being rather limited (Atom 280+2Gb), I try to keep it thin and free of stuff I don't need/want.

Recently I cleaned up a lot of residual files but I have come across a couple of rather stubborn ones:

root@eee-dev3:~# apt list | grep residual
residualvm-data/oldstable 0.3.1+dfsg-1 all
residualvm/oldstable 0.3.1+dfsg-1 i386
root@eee-dev3:~# 

I have no idea as to where these two came from as I have never installed anything related to them.
eg: 3D games, etc. 

I cannot seem to get a reasonable answer to this:

oot@eee-dev3:~# apt remove --purge residualvm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'residualvm' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@eee-dev3:~# 
oot@eee-dev3:~# aptitude why residualvm
Not currently installed
The candidate version 0.3.1+dfsg-1 has priority optional
No dependencies require to install residualvm
root@eee-dev3:~# 

Independently of how this file happened to be (?) in my system, how can I get rid of it?

Thanks in advance,

A.

Last edited by Altoid (2021-10-29 18:07:59)

Offline

#2 2021-10-30 06:30:57

hevidevi
Member
Registered: 2021-09-17
Posts: 69  

Re: [SOLVED] apt and residual files

Yeah i have this as well, the package is not installed but still comes up with your command
apt list | grep residual

Mine says this using stable chimaera...

residualvm-data/stable 0.3.1+dfsg-2 all
residualvm/stable 0.3.1+dfsg-2 amd64

Quick debian package search and its a lucas arts game config or something??

Package: residualvm (0.3.1+dfsg-2)
interpreter to play LucasArts' Lua-based 3D adventures

https://packages.debian.org/bullseye/residualvm

weird!

edit: i think i understand why now, your command using apt list is picking up the repository contents, so when you grep any package you dont have it will come up, this just happens to be residualvm because you are using residual as a search term.

Last edited by hevidevi (2021-10-30 06:40:48)

Offline

#3 2021-10-30 06:43:13

hevidevi
Member
Registered: 2021-09-17
Posts: 69  

Re: [SOLVED] apt and residual files

use dpkg -l like so to search for unneeded config files.

dpkg -l | grep ^rc

then remove them like this.

sudo apt purge '~c'

Offline

#4 2021-10-30 08:11:23

ralph.ronnquist
Administrator
From: Clifton Hill, Victoria, AUS
Registered: 2016-11-30
Posts: 637  

Re: [SOLVED] apt and residual files

@Altoid, perhaps you where thinking

apt list --installed

Offline

#5 2021-10-30 11:45:44

Altoid
Member
Registered: 2017-05-07
Posts: 925  

Re: [SOLVED] apt and residual files

Hello:

hevidevi wrote:

... understand why now ...

Quite so ...
Result of not enough (or too much) coffee.  8^|

hevidevi wrote:

use dpkg -l like so to search for unneeded config files.

dpkg -l | grep ^rc

Yes.
Came up empty, as it should.

hevidevi wrote:

then remove them like this.

sudo apt purge "~c"    <-- double quotes.

Nothing to purge.

ralph.ronnquist wrote:

@Altoid, perhaps you where thinking
apt list --installed

Hmm ..

No, I was quite evidently not thinking, at least not coherently.

I started doing it right ie: with dpkg -l ...  but at some point wandered into apt list | grep residual ...  8^|
What else could have come up but a file named "residual"?

Thank you both for your input.
Have a good week-end.

Best,

A.

Last edited by Altoid (2021-10-30 11:46:33)

Offline

Board footer