Safe to Remove PackageKit?

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
johnywhy
Level 4
Level 4
Posts: 320
Joined: Tue Feb 05, 2008 9:22 pm
Contact:

Safe to Remove PackageKit?

Post by johnywhy » Sun Aug 19, 2018 9:35 pm

Mint 19 xfce

I need to optimize disk space and RAM.
I already removed the "Software" application, because i manage packages with Synaptic and command-line.
So far, so good.

From what i've read on the web, PackageKit is used only by the Software application. https://en.wikipedia.org/wiki/PackageKit
Correct?

If so, then i want to remove PackageKit.
But, when i try to remove all PackageKit components in synaptic, it wants to remove lots of important-sounding stuff.
Any suggestions?

Update:
Instead of removing ALL packages with PackageKit in their name, i only removed the main packagekit package. That required removal of far fewer packages, none of which seemed critical. On reboot, no probs yet.

Here are the 2 packages which i didn't remove:
gir1.2-packagekitglib-1.0
libpackagekit-glib2-18

PackageKit.jpg
Mint 19 xfce. Semi-noob

User avatar
smurphos
Level 8
Level 8
Posts: 2050
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher...

Re: Safe to Remove PackageKit?

Post by smurphos » Mon Aug 20, 2018 1:45 am

You are doing the right thing checking the impact of removals and holding back if other non-consequential packages are going to be removed.

Just keep your timeshift up to date and keep a note of what you are removing and what gets removed with them (or acquaint yourself with the various apt logs or synaptics history function) so should you come across some ill-effects you can diagnose the cause. I'd have thought that removing it will break removing packages from the menu, although I don't think XFCE supported that in the first place?

A few other things use packagekit - deja dup springs to mind, but if you ever install it, packagekit should be brought back in back in.

Good call on leaving the two other packagekit libraries alone - removing those would be pretty destructive.

johnywhy
Level 4
Level 4
Posts: 320
Joined: Tue Feb 05, 2008 9:22 pm
Contact:

Re: Safe to Remove PackageKit?

Post by johnywhy » Mon Aug 20, 2018 6:31 am

timeshift... up to date and keep a note of what you are removing
timeshift has saved my Mint a couple times.
Not taking any notes. Timeshift works :)
removing it will break removing packages from the menu
xfce handles all the menu updates.
packagekit - deja dup
Thx for that tip! I'm trying to conserve RAM, by removing unnecessary always-on services. packagekit appears to be such a one.
Good call on leaving the two other packagekit libraries alone
:idea: :D
Mint 19 xfce. Semi-noob

User avatar
Flemur
Level 16
Level 16
Posts: 6205
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Safe to Remove PackageKit?

Post by Flemur » Mon Aug 20, 2018 9:20 am

johnywhy wrote:
Mon Aug 20, 2018 6:31 am
Thx for that tip! I'm trying to conserve RAM, by removing unnecessary always-on services. packagekit appears to be such a one.
You can disable them rather than removing the package:

Code: Select all

sudo systemctl disable name.service
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

johnywhy
Level 4
Level 4
Posts: 320
Joined: Tue Feb 05, 2008 9:22 pm
Contact:

Re: Safe to Remove PackageKit?

Post by johnywhy » Mon Aug 20, 2018 2:22 pm

Flemur wrote:
Mon Aug 20, 2018 9:20 am
You can disable them rather than removing the package:

Code: Select all

sudo systemctl disable name.service
thx, but also trying to slim down the OS footprint.
deja dup seems something i can adequately replicate with a cron job and ftp.
Mint 19 xfce. Semi-noob

Post Reply

Return to “Installation & Boot”