Howto enable "Mark All Upgrades" in Synaptic

Questions about applications and software
Forum rules
Before you post please read how to get help

Howto enable "Mark All Upgrades" in Synaptic

Postby arcorreia on Mon Dec 10, 2012 7:11 pm

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.
Image
User avatar
arcorreia
Level 1
Level 1
 
Posts: 5
Joined: Fri Dec 07, 2012 9:44 am
Location: Cascais, Portugal

Linux Mint is funded by ads and donations.
 

Re: Howto enable "Mark All Upgrades" in Synaptic

Postby zerozero on Mon Dec 10, 2012 7:48 pm

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

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6492
Joined: Tue Jul 07, 2009 2:29 pm

Re: Howto enable "Mark All Upgrades" in Synaptic

Postby arcorreia on Tue Dec 11, 2012 6:39 am

zerozero wrote:actually that is not the correct way of doing it :D because your "fix" will be overwritten by updates.
check this topic 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.
Image
User avatar
arcorreia
Level 1
Level 1
 
Posts: 5
Joined: Fri Dec 07, 2012 9:44 am
Location: Cascais, Portugal

Re: Howto enable "Mark All Upgrades" in Synaptic

Postby MALsPa on Tue Dec 11, 2012 7:35 am

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 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.
User avatar
MALsPa
Level 8
Level 8
 
Posts: 2030
Joined: Mon Nov 19, 2007 10:17 pm
Location: albuquerque

Re: Howto enable "Mark All Upgrades" in Synaptic

Postby zerozero on Tue Dec 11, 2012 3:39 pm

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"
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6492
Joined: Tue Jul 07, 2009 2:29 pm


Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 6 guests