![]() |
Disable all catalogues at once ?
When i'm not at home and there is no wifi i connect to the internet via my supporter (vodafone) and app manager automatically start to update in the background consuming large amount of credit, so wherever i'm outdoor and i wanted to connect i manually disable all catalogues one by one and then connect and when i'm home i check them back.
Is there a command that i can type to disable all catalogues at once and then return them back when i'm offline ? i'm aware of Code:
gconftool -s --type int /apps/hildon/update-notifier/check_interval NEW_VALUE |
Re: Disable all catalogues at once ?
so, any1 ?
|
Re: Disable all catalogues at once ?
Then occasionally do a 'apt-get update' at the command line, and 'apt-get upgrade' if you want to run a upgrade. Edit - reason: http://talk.maemo.org/showpost.php?p...&postcount=119 - sorry I forgot you don't like my posts. |
Re: Disable all catalogues at once ?
The catalogues are stored in /etc/hildon-application-manager/catalogues, so you could probably do (as root):
Disable all: Code:
sed -i -e "s/<enabled\/>/<disabled\/>/" /etc/hildon-application-manager/catalogues Code:
sed -i -e "s/<disabled\/>/<enabled\/>/" /etc/hildon-application-manager/catalogues |
Re: Disable all catalogues at once ?
Quote:
Quote:
Quote:
Quote:
|
Re: Disable all catalogues at once ?
Quote:
But why am I even bothering to waste my time when you've made it clear that you "don't like my posts". |
Re: Disable all catalogues at once ?
One way to prevent unwanted automatic updates is to disable all repositories in HAM and use Faster Application Manager (FAM) as your main application manager. Is that an option?
Manually updating software is possible with FAM so long as you have the appropriate repositories set up and enabled but you won't get that little yellow symbol in the status area. |
Re: Disable all catalogues at once ?
1. Use ifup/ifdown scripts to enable/disable the the checking depending on the network connection.
2. Use rob1n's method, except use sed to put a '#' infront of everyline. 3. Jedi's solution. Personally I would opt for Jedi's solution, it is the easiest/most foolproof to implement. Just accept that maybe once a month you should check for updates with HAM, hell even put a reminder in the calender if it matters that much. Frankly, updates are pretty rare and people useually talk on the forum if there are any. Further more this mitigates the daily PITA that is that stupid update check. |
Re: Disable all catalogues at once ?
@demolition : thanks for the advice but i still want to use HAM as my 1ry application manager and i'm sure therer is a command that can edit catalogues file as Rob1n said
|
Re: Disable all catalogues at once ?
yes there is:
Code:
vi |
All times are GMT. The time now is 23:12. |
vBulletin® Version 3.8.8