Howto enable "Mark All Upgrades" in Synaptic

Archived topics about LMDE 1 and LMDE 2
Locked
arcorreia

Howto enable "Mark All Upgrades" in Synaptic

Post by arcorreia »

It's quite simple, just do the following.

Open a terminal and type:

gksu gedit /etc/linuxmint/adjustments/10-mintsystem-synaptic.overwrite

Change the line:

/usr/lib/linuxmint/mintSystem/adjustments/synaptic.glade /usr/share/synaptic/glade/window_main.glade

to:

#/usr/lib/linuxmint/mintSystem/adjustments/synaptic.glade /usr/share/synaptic/glade/window_main.glade

Save the file and exit.

Now go into synaptic, and find the package synaptic. Right-click on it and choose re-install, apply the change and after finished exit synaptic.

Launch again synaptic and the missing "Mark All Upgrades" will be back.

Hope this will help.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
zerozero

Re: Howto enable "Mark All Upgrades" in Synaptic

Post by zerozero »

actually that is not the correct way of doing it :D because your "fix" will be overwritten by updates.
check this topic http://forums.linuxmint.com/viewtopic.php?f=200&t=70449
arcorreia

Re: Howto enable "Mark All Upgrades" in Synaptic

Post by arcorreia »

zerozero wrote:actually that is not the correct way of doing it :D because your "fix" will be overwritten by updates.
check this topic http://forums.linuxmint.com/viewtopic.php?f=200&t=70449
You are absolutely right, my fix vanishes with a mintsystem update.

The correct way is the one by Roken.
Roken wrote:OK - here's the fix.

If you haven't already (or if you've rebooted) reinstall synaptic.

Now, before you reboot open a terminal and:


sudo gedit /etc/linuxmint/adjustments/10-mintsystem-synaptic.preserve



This will create a new text file. Add the following two lines to the file:


/usr/share/synaptic/glade/window_main.glade
/usr/share/synaptic/gtkbuilder/window_main.ui



Save. Now your "Mark All Upgrades" button should be back and surviving reboots.

To revert to default mint behaviour:

sudo rm /etc/linuxmint/adjustments/10-mintsystem-synaptic.preserve



This is the correct way to disable the mintsystem change to synaptic (based on examination of the mintsystem script) and should survive updates in the future.
Thanks zerozero for pointing us in the right direction.
User avatar
MALsPa
Level 8
Level 8
Posts: 2040
Joined: Mon Nov 19, 2007 10:17 pm
Location: albuquerque

Re: Howto enable "Mark All Upgrades" in Synaptic

Post by MALsPa »

arcorreia wrote:
zerozero wrote:actually that is not the correct way of doing it :D because your "fix" will be overwritten by updates.
check this topic http://forums.linuxmint.com/viewtopic.php?f=200&t=70449
You are absolutely right, my fix vanishes with a mintsystem update.

The correct way is the one by Roken.
Roken wrote:OK - here's the fix.

If you haven't already (or if you've rebooted) reinstall synaptic.

Now, before you reboot open a terminal and:


sudo gedit /etc/linuxmint/adjustments/10-mintsystem-synaptic.preserve



This will create a new text file. Add the following two lines to the file:


/usr/share/synaptic/glade/window_main.glade
/usr/share/synaptic/gtkbuilder/window_main.ui



Save. Now your "Mark All Upgrades" button should be back and surviving reboots.

To revert to default mint behaviour:

sudo rm /etc/linuxmint/adjustments/10-mintsystem-synaptic.preserve



This is the correct way to disable the mintsystem change to synaptic (based on examination of the mintsystem script) and should survive updates in the future.
Thanks zerozero for pointing us in the right direction.
Thanks, zerozero and arcorreia, for posting this -- I'd missed the fix posted earlier by Roken. Looks like this solves one of my pet peeves about Linux Mint.
zerozero

Re: Howto enable "Mark All Upgrades" in Synaptic

Post by zerozero »

for completeness i should add that the synaptic patch makes sense in the main edition if we follow the rationale Clem uses for the updates in MU; furthermore it would make no sense to have 2 update tools with different defaults.

if we accept the idea of ranking the updates by levels and disable the ones we believe dangerous (and the feedback here in the forum is that users accept and use that policy) then that patch makes sense.


in lmde it's the other way around;
finally we got rid of those levels http://forum.linuxmint.com/viewtopic.php?f=201&t=67561 (tough fight :lol: but Clem listened to us)
then we got the new MU-debian http://forum.linuxmint.com/viewtopic.ph ... w=viewpoll (adapted finally to lmde's reality)

in this context, yes, the synaptic patch doesn't make sense and Clem agrees
https://bugs.launchpad.net/linuxmint/+bug/959865
(feel free to add your "this bug affects me too"
Locked

Return to “LMDE Archive”