Page 1 of 1

Where did the packages in repo "Local" come from?

Posted: Fri Jul 29, 2011 11:03 am
by cdysthe
Hi,

When I look at packages sorted by Origin in Synaptic I can see the sources I know and have added to sources.list, but there's quite a few packages under "Local" and I do not know how they got installed, and how they get upgraded. Could someone please let me know what the "repo" Local which contains 62 packages is?

Re: Where did the packages in repo "Local" come from?

Posted: Fri Jul 29, 2011 12:09 pm
by secipolla
Local or obsolete packages are packages (or versions of packages) that are installed in your system but that ain't available in any of your active repositories.

Re: Where did the packages in repo "Local" come from?

Posted: Fri Jul 29, 2011 1:28 pm
by cdysthe
secipolla wrote:Local or obsolete packages are packages (or versions of packages) that are installed in your system but that ain't available in any of your active repositories.
I still need them though, right? Or can I remove them. I guess I can find out by trying and see what breaks :)

Re: Where did the packages in repo "Local" come from?

Posted: Fri Jul 29, 2011 1:43 pm
by grizzler
cdysthe wrote:I still need them though, right?
Very likely, yes. Only the ones that are autoremovable (third option in the Status set - if that's what it's called in the English version) can be removed without problems. Or so they say (I've had Synaptic itself listed there once...).
Or can I remove them. I guess I can find out by trying and see what breaks :)
Yeah, that'll be fun... :wink:

Re: Where did the packages in repo "Local" come from?

Posted: Fri Jul 29, 2011 2:49 pm
by secipolla
If you didn't install anything manually (you would remember, right?) then the packages are there probably because you changed repositories. Like if you were using the Debian testing repos and then changed them for the new LMDE repos (latest/incoming).
If you run 'apt-get autoremove --purge' or 'deborphan' and nothing is removable then leave them there because they're needed in some way.
'aptitude why package' also gives some info.

Re: Where did the packages in repo "Local" come from?

Posted: Fri Jul 29, 2011 4:09 pm
by cdysthe
grizzler wrote:
cdysthe wrote:I still need them though, right?
Very likely, yes. Only the ones that are autoremovable (third option in the Status set - if that's what it's called in the English version) can be removed without problems. Or so they say (I've had Synaptic itself listed there once...).
Or can I remove them. I guess I can find out by trying and see what breaks :)
Yeah, that'll be fun... :wink:
I spent some time on this today and got all the Local packages removed. Nothing seems to be broken and there were no complex dependency issues either. A lot of them depended on each other so it went quite smoothly. The only package I did keep was Virtualbox which I did install from a downloaded package. Now "Local" is gone and I feel much cleaner! :)