Page 1 of 1

Howto enable "Mark All Upgrades" in Synaptic

Posted: Mon Dec 10, 2012 7:11 pm
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.

Re: Howto enable "Mark All Upgrades" in Synaptic

Posted: Mon Dec 10, 2012 7:48 pm
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

Re: Howto enable "Mark All Upgrades" in Synaptic

Posted: Tue Dec 11, 2012 6:39 am
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.

Re: Howto enable "Mark All Upgrades" in Synaptic

Posted: Tue Dec 11, 2012 7:35 am
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.

Re: Howto enable "Mark All Upgrades" in Synaptic

Posted: Tue Dec 11, 2012 3:39 pm
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"