Semi-automatic update/upgrade; is Arch wrong distro for these boxen?

I wanted to post here a semi-automatic update/upgrade solution I--with a lot of help from someone more knowledgeable--came up with in case it might be of benefit to anyone else. It's been working pretty well for me over the course of the last couple of weeks and should aid me in becoming a better Archer. I also want to ask in this thread for confirmation on whether installing Arch on a couple of machines I have that see fairly intermittent use is inadvisable: if so, I'll look into installing some other distro. First the semi-automatic update solution.
To begin with, what do I mean by "semi-automatic?" Mainly I mean something that's only partially automatic. See, I've come to understand that automating updates/upgrades is a bad idea©™. And I think I understand why. Still, I apparently lack the discipline to be a good Archer, upgrading/updating frequently so as to conform with the philosophy. So I thought I should use my computer to help me be more disciplined: that's partly what they're for, after all, isn't it?
I decided I might make the computer help me be more disciplined, first of all, by making it issue reminders at frequent, regular intervals, that it is time to update/upgrade. Of course cron came immediatelty to mind as part of the solution, though I ended up using the remind program instead. In any case, it seemed like a solution that, not only would remind me at regular, frequent intervals would be desireable, but one that would at the same time initiate the process, would be even better. I thought it must be possible to, for example, cause a terminal to open with a message and corresponding menu that would say something like "System update/upgrade needed: proceed now? 1. Yes 2. No"
This latter would be one of the elements that makes the solution semi-automatic (as opposed to automatic). Answering 2. in that terminal would cause the terminal to simply exit. Answering 1., on the other hand, runs the command sudo pacman -Syu. There is a further level of semi-automation at this stage: you are then prompted to enter the root password before pacman -Syu will run. So, no updating/upgrading happens without input at these two stages.
I should mention as I wrap up this description of my solution that there is yet another important element to it that, while independent of it, is nonetheless related: I subscribed some weeks ago to the Arch news RSS feed. I check that daily, so an even further level of semi-automation is in play here.
This seems to me like it will be a very good solution to bringing my behavior into better conformity with the Arch philosophy. It's worked well so far. That said, I'm certainly open to criticisms. I'm also very open to any improvements that might be suggested. Without further ado, here is the script I run every other day from the remind daemon:
#!/bin/bash
PS3='Begin full system upgrade? '
options=("Yes" "No")
select opt in "${options[@]}"
do
case $opt in
"Yes")
echo "Beginning full system upgrade..."
sudo pacman -Syu
exit
"No")
exit
echo "Please choose the corresponding number"
esac
done
Now, to my question about my other machines as possible Arch install targets. The above applies to the desktop machine in my apt. which is almost always powered on and connected to the 'net: what follows applies to two different machines.
One is a laptop that I use primarily when I travel. It often sits powered off for 1-2 months between uses. The other is an alternate desktop machine in my apt. that is also infrequently used: essentially, when both the wife and I want to work on-line separately--which is not all that frequently (she prefers knitting to computing during her time at home)--it gets fired up. Again, it often sits for 1-2 months without being used.
Now, it seems to me these machines are poor targets for an Arch install because they are far more frequently off-line than on-line, powered down than powered up. Thus they are very unlikely to be updated/upgraded on any kind of regular basis, and certainly never regularly and frequently, as seems to be recommended for Arch machines.
Am I correct in assuming I should be looking for some other distro to install on these infrequently-used machines?
Thanks,
James
Last edited by jamtat (2013-02-11 22:50:09)

I like pacmatic (as suggested at https://wiki.archlinux.org/index.php/Pa … _pacmatic). What is supposed to be wrong with it?
It doesn't ignore updates, by the way. It does two things. First, it checks the news and tells you about important news items as soon as you run e.g. pacmatic -Syu. Then it runs the upgrade in the normal way. For example, a news item today concerned lvm2, dev-mapper and linux being upgraded together. It gave me the news item. Then it did the usual paman upgrade routine and upgraded everything, including those packages. Second, every time you run it, it reminds you of any *.pacnew files you haven't dealt with and asks if you want to deal with them now. At least, it asks about most. It never mentions kdmrc.pacnew for some reason.
It's just a wrapper for pacman. From the script:
Pacmatic is a pacman wrapper that takes care of menial but critial tasks.
These include
Checking the archlinux.org news
Summarizing the arch-general mailing list
Reminding if it has been a while since the last sync
Reporting pacnew files
Editing pacnew files
Personally, I've installed an alternative distro on machines which I'm not sure I will be using very regularly. (Also, I like having distinct distros just in case something goes wrong in one case - even if it is a bit of a faff sometimes.)
Last edited by cfr (2013-02-13 01:49:24)

Similar Messages

  • I automatically updated to Firefox 4.0.1 for Mac, and now the program misbehaves. It hangs when I try to quit. Can I downgrade to 4.0?

    I was running 4.0 on my Intel Mac (Leopard 10.5.8), and everything was fine. Firefox automatically updated me to 4.0.1. Then I noticed my computer running very slowly. I am unable to quite Firefox without forcing a quit.
    Can I reinstall 4.0? If so, where can I download the original version?
    Thanks.

    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:'''1.9.0.11''') Gecko/'''2009060214''' Firefox/'''3.0.11 FBSMTWB'''
    Your users agent is stuck at Firefox 3.0.11 due to a extension during when you had 3.0.11 and it tacked on stuff on end and kept it from updating the version number. This was due to the "Fast Browser Search toolbar" extension (FBSMTWB). This issue is not a problem with Firefox 4.0 and newer.
    See this on how to reset it to normal. https://support.mozilla.com/en-US/kb/websites%20or%20add-ons%20incorrectly%20report%20incompatible%20browser#w_reset-your-user-agent

  • (semi-)automatically updating cells/tables in pages from a numbers document

    Hi,
    I've been googling around for a bit, but can't find out if this is possible and if so, how to do it.
    What I want to do is create a document in numbers (all the data for the invoices I send), then go to a standardized pages invoice and with a (couple of) click(s) generate the data from the numbers document.
    E.g.; I've done a job for someone, whereby I worked *2 hours* for €50/h = €100. They also pay my travelling costs, say 100km at €0.30/km = €30.
    Total amount excl. taxes = €130
    Add 19% taxes €24,70
    Total amount €154,70
    All the bold items would have to be in my invoice. I usually have a table in my invoice, so ideally I would crosslink cells from the the pages doc with the corresponding cells in the numbers doc and be able to update any changes I make from the numbers to the pages document with the click of a button.
    Is this possible within iWork '09?
    If so; how? If not; would it be possible with an external program?
    I'm now using MS Office, and my girlfriend knows how to do this between Word and Excel, but I don't want to always have to bother her for every invoice (it's not very easy, and I keep forgetting how to do it (and yes, I can write it down and look it up, but surely it should not be so hard to do someting like that on a Mac?)).
    Help is appreciated

    We may easily auto-fill a cell from the content of a cell of an other table.
    Assuming that we have sheet "Sheet 1" containing a table "Table 1"
    and
    a sheet "Sheet 2" containing a table "Table 1"
    In cell D5 of Table 1 of Sheet 2, insert the formula :
    ="Sheet 1 :: Table 1 :: B12"
    When you will insert something in cell B12 of Table 1 of Sheet 1,
    the value will be automatically available in cell D5 of Table 1 of Sheet 2.
    Yvan KOENIG (VALLAURIS, France) lundi 5 avril 2010 11:26:26

  • Arch based distro for mame cabinet

    hi all folk,
    I'm a retro gaming aficionado!!
    I made a cabinet on my own and installed mame and some other emulators on.
    the system is a win xp "modded" to boot directly to the frontend instead of explorer.
    but I would like to have an open source system.
    I think that archlinux could be the right distro to build a mame machine.
    anyone of you would to joinor help with this project?

    I found this in arch wiki:
    Arch Linux uses AIF aka 'Arch Linux Installation Framework' to perform installations.
    This tool - written in bash - consists of some libraries to perform various functions (installing packages, setting up disks etc) and some so called procedures which use these libraries to provide an easy means to do an installation or to smaller related tasks ('partial procedures'). These procedures are shipped by default:
    interactive: An interactive installation procedure, which asks you some questions, guides you through an installation and helps you configuring the target system by automatically changing some settings for you depending on what you did earlier (eg network settings)
    The installed system will initially have only a customisable set of "base" packages installed with whatever utilities and drivers you need to get online.
    Then once you've successfully booted the installed system, you'll run a full system upgrade and install any other packages you want. (aliased as /arch/setup)
    automatic: An automated, deploy-tool-alike procedure designed for low-to zero interactivity.
    uses profiles for configuration of the target system.
    See /usr/share/aif/examples/ for example profile files. The examples implement quite generic scenarios but you're free to change them how you like to install extra packages, do configuration tweaks, etc.
    base: basic, little-interactivity installation with some common defaults.
    This procedure is used by the others to inherit from, it is NOT meant to be used directly by end users
    partial-configure-network: exposes the network configuration step from the interactive procedure, to help you setup the network in the live environment
    partial-disks: Process disk subsystem or do a rollback
    partial-keymap: change your keymap/console font settings. (aliased as km)
    The benefit of procedures such as partial-keymap and partial-configure-network over direct usage of tools such as loadkeys or ifconfig is that when running the interactive procedure, you will get asked if you want to apply your settings to the config files of the target system.
    If you want to go further, you can also:
    write your own procedures from scratch or by overriding certain parts of other procedures
    write your own libraries, to provide new, reusable functionality
    create your own configs for the procedures that support them (eg automatic)
    For more information, consult the readme of AIF.
    is there any how to for this?
    anyone has experienced this kind of tool

  • Is arch the distro for me?

    Hiya all, just want to thank you in advance for your time and advice:D
    anyway, my plans are to buy the linux version of the MSI Wind when it is released in a few months.
    (http://www.msimobile.com/DetailPage.asp … d_NB_Linux)
    I have used SUSE (the distro it ships with) and did not like it too much.
    arch was recommended to me by a friend, so I started looking into the option.
    basically I need an easy to install distro that will work well enough on the wind to browse the internet, chat on IRC, play quake3, and maybe play starcraft under wine?
    does this sound like arch? I've used a little linux, sabayon, ubuntu, suse, but basically I can explain my skill level by saying I was never able to successfully install gentoo (for the life of me I cannot find my way around a text-based install)
    also, another bump in the road is that the wind does not have an optical drive, so no cds or dvds for me.
    I saw the usb .img install and grabbed it, but as I am in windows vista right now, none of the meathods for writing the .img file seem to work right.
    the closes I have gotten was by following this: http://webconverger.org/usb/
    but it doesn't seem to want to write to my usb stick for some reason.
    I type in the commands but it dosen't seem to do anything.
    screenshot here:http://i11.photobucket.com/albums/a157/g35x/arch.jpg
    I suppose it would  be easier to buy a usb optical drive, as I'm sure I will get tired of having to copy everything to a usb stick to get it onto the wind.
    basically I need to know if arch can do the things I've mentioned, will be easy to install, and most importantly will work on the MSI wind. I was unsure about being able to play quake3 and use wine for starcraft because of video drivers, will arch work with the intel onboard video well enough?
    again, thank you for your time, I look forward to using arch come time to buy my laptop:D
    Last edited by murderbymodem (2008-07-24 21:09:53)

    ghostHack wrote:
    Looking at the MSI website the Wind uses an Intel graphics chip so you will probably need the 'intel' X.org driver (package xf86-video-intel).  For hardware/driver related things it might be a good idea to boot into the Suse distro when you get the computer and find out what drivers etc are being used, that way you will know exactly what you need to install when you put Arch on it.
    Also, if you want to post the other areas of the Wiki guide that you have problems with we may be able to help (and improve the Wiki if needed)
    sounds like a good idea :]
    guess I'll be back here in a few months once the linux version is released (I'm tempted to buy the windows XP version right now, but $100 more for 512mb more ram and bluetooth isn't exactly worth it. looks like I'll be waiting:/)
    thanks for all the help guys!
    Last edited by murderbymodem (2008-07-24 22:33:29)

  • App auto updates are not saving configuration data for these Apps.

    I use Junos Pulse to connect to my work office on my iphone and my ipad air.    I am having problems when this App does an Auto Update from the App Store, that I loose all of my configuration settings.   I have co-workers that do not have this problem.  I'm at a loss to understand what settings on my devices are causing this to happen.

    now. SEEMS to be working o.k. again. but for how long ?
    do iDevices need a pre-update update in order to be able to install and apply an iOS update ???

  • 100% CPU utilization on svchost.exe or Automatic Updates service

    We have upgraded from WSUS 2.0 to 3.0 SP1 and now have few Windows XP SP2 PCs that are extremely slow because the CPU is at 100% utilization running a process called "svchost.exe."  If I go into services and stop and disable the "Automatic Updates" service the CPU drop to normal almost instantly.  I tried forcing a reinstall of the Windows Update Agent.  After I enable the "Automatic Updates" service the machine works fine for a day, than after a reboot it goes back to 100% CPU utilization.  We need this fixed so we can get these computers updates.

    Hi Ryan / Folks,
    NO CA Products here - but I have had the same issues with Microsoft updates!
    Here's the install path I used during my experience :
    Cold install of XP with SP1 on the PC (Full factory system restore/rebuild).
    Acer - Semperon 1.8GHz + 1GB RAM - 8Mb ADSL connection to Internet
    XP SP2
    Windows updates OK - used to install IE7
    Reason - I found IE is compromised if you go straight to XP SP3
    XP SP3
    Next Office 2003 Pro
    Switch to Microsoft updates - Custom Updates - SVCHost issue - Still checking for updates after 15 minutes
    Switch back to Windows updates - Custom Updates - NO SVCHost Issue - Checking complete after 2 minutes
    Tried both Microsoft fixes mentioned above
    http://support.microsoft.com/kb/927891
    Same report back - i.e. SP3 newer etc.
    http://support.microsoft.com/kb/943144 - Method 2
    Seems to install ok
    Reboot PC
    Swich back to manual Microsoft Updates and all is not really rosey as the initial "checking updates" scan can take at least 5 minutes with SVCHost at better than 90% CPU usage. So I believe the issue is not fixed, but it is just about useable.
    Interestingly, no issues on my work LAN where I am the systems manager - 20 PCs and 8 servers using WSUS. All units are up to date and no SVCHost issues.
    So.... No fix yet here, however my solution is as follows:
    On the problematic PC I decided to switch back to Automatic Windows Updates. This keeps the PC up to date with all Operating System patches. Performance is not affected. I have decided that I will manually switch to the Microsoft update system once every couple of weeks or so to catch the updates for Office etc. I'll just have to set the updates scan running over a quiet period I suppose.
    Plan B = Manual Office Updates http://office.microsoft.com/en-gb/downloads/default.aspx - Left Pane - Office Updates.
    Hope this sheds some light.
    Regards,
    Knaphie
     

  • On my windows 8.1 pc (i5 processor with 8GB ram) I can't get the automatic update voor CS4 master collection. I removed my panda antivirus and still can't automatically update. somebody any suggestion?

    on my windows 8.1 pc (i5 processor with 8GB ram) I can't get the automatic update voor CS4 master collection. I removed my panda antivirus and still can't automatically update. somebody any suggestion?

    thanks for your reply.
    in Dutch it says that there are no updates available. I know that after
    installing cs4 there are updates but i can't load them automatically. I did
    a delete and reinstall, but still get the message.
    kind regards,
    2014-09-23 16:28 GMT+02:00 Atul_saini123 <[email protected]>:
        on my windows 8.1 pc (i5 processor with 8GB ram) I can't get the
    automatic update voor CS4 master collection. I removed my panda antivirus
    and still can't automatically update. somebody any suggestion?  created
    by Atul_saini123 <https://forums.adobe.com/people/Atul_saini123> in *Downloading,
    Installing, Setting Up* - View the full discussion
    <https://forums.adobe.com/message/6755843#6755843>

  • Dimension: Automatic Updates of Lower Level Records

    Hi -
    In a dimension, when the parent level record gets updated, does OWB automatically update the child records too?
    For example, lets say I have two levels - Product Category and Product. So, the product records will have the product category attributes denormailized in the dimension. If I update one of the product category attributes using OWB, will that change automatically trickle down to the product records also?
    Thanks in advance for your response.

    I've just found this question, whilst looking for a similar answer myself. I know its been months since this has been asked, however since no answer was presented, I went searching. I've tested this on XP SP2, however I STRONGLY advise testing this in your own test environment, before going production... create the following regfile and import it. If you have trouble, email me and I'll email it as a file if requested.
    DaveyK - lists@ [nospame] daveyk.dyndns.org
    Windows Registry Editor Version 5.00
    [HKEY_CURRENT_USER\Software\JavaSoft\Java Update\Policy]
    "EnableAutoUpdateCheck"=hex:01,00,00,00,d0,8c,9d,df,01,15,d1,11,8c,7a,00,c0,4f,\
    c2,97,eb,01,00,00,00,c0,0b,5b,98,44,66,9d,4b,98,13,59,e4,c6,92,fa,88,00,00,\
    00,00,1c,00,00,00,50,00,61,00,73,00,73,00,77,00,6f,00,72,00,64,00,20,00,44,\
    00,61,00,74,00,61,00,00,00,03,66,00,00,a8,00,00,00,10,00,00,00,e6,88,2f,8a,\
    bb,3b,3f,48,b2,18,ad,fc,c0,9e,d1,60,00,00,00,00,04,80,00,00,a0,00,00,00,10,\
    00,00,00,e3,a1,9b,8d,09,f6,83,e6,0c,43,f4,33,40,fa,ea,8f,08,00,00,00,dc,c7,\
    ac,fd,8c,50,fc,1c,14,00,00,00,09,01,f0,c3,3a,dd,f1,3f,6a,de,fc,2d,bf,29,d3,\
    f6,46,44,55,1b

  • How to get automatic updates for P750 custom build

    I recently purchased a custom built P750 and want to sign up for automatic updates. There is no option for just a P750 which is my complete model number.
    8GB ram
    I7 2.20GHz
    Windows HP SP1 with all updates installed at this time.
    How can I get automatic updates for this machine and operating system and if so, how do I get signed up for those?
    Should I just choose a model number and pretend it is the model I have? Which number should I choose?
    Jon
    Solved!
    Go to Solution.

    Satellite P750 (PSAY3U-0RF03H)
    All computers in the same part-number family (PSAY3U) are essentially the same. The drivers and utilities for this one should work.
    Satellite P750-BT4G22 (PSAY3U-08703H)
    So go here.
    Hmm. Not many there. So let's go to the equivalent part-number family in Europe (PSAY3E).
    Get those here.
    Lots of ways to wiggle.
    -Jerry

  • Automatic Update never automatic updates!

    I have automatic update to, well, update automatic.
    However, there's always a pop-up message saying I need to download the new update, it opens a browser, asks me to install McAfee, I say no, then press to download, save a file, and then run the file to update.... how's that automatic updating?
    Flash updates so often that this gets annoying. It defeats the whole purpose of pressing Automatic Update.
    Is there a fix for this?
    1) I already went to the Flash Player Settings Manager and it does say "Allow Adobe to install updates"
    2) The mms.cfg file (found this on the net) says:
    SilentAutoUpdateEnable=1
    AutoUpdateDisable=0
    If it matters I'm running on Windows 7 64-bit

    Hi TruSake,
    The latest release of Flash Player was a 'loud' release, therefore it will not be updated via the Background Update (Automatic Update) process. Please see An outline of Flash Runtime installation options, specifically the 'Installation Options' section, for more information on why this is and how often Flash Player is updated.
    Maria.

  • My software update screen has been frozen for weeks now and I can't update any software or even close the automatic update screen

    My software update screen has been frozen for weeks now and I can't update any software or even close the automatic update screen. It says searching for updates and I can't cancel or do anything. Any help is greatly appreciated.

    You cannot update iPhone 4 to IOS 8.1.2, the highest you can update is IOS 7.1.2.
    Unless you've iPhone 4S (looks similar to iPhone 4)

  • I have a MacBook 5,1 (13.3" aluminum from 2007 or 2008). Automatic updates will only let me get to OSX 10.5.8.  Can I upgrade to Snow Leopard, Lion 10.6 or even 10.6.8?  Also, will I have any issues with my iPhone if it's updated to iOS 7.1?

    I have a MacBook 5,1 (13.3" aluminum from 2007 or 2008). Automatic updates will only let me get to OSX 10.5.8.  Can I upgrade to Snow Leopard, Lion 10.6 or even 10.6.8?  Also, will I have any issues with my iPhone if it's updated to iOS 7.1?

    The 10.6 Snow Leopard DVD is in the Apple online store. You can get it for $19.99. You will need to be running 10.6.8 to access the App Store to order Lion or Mountain Lion. http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    System Requirements for 10.6:
    Mac computer with an Intel processor
    1GB of memory
    5GB of available disk space
    DVD drive for installation
    Some features require a compatible internet service provider: fees may apply.
    You can upgrade direct from 10.6.8 to 10.8 Mountain Lion without going through 10.7 Lion with the Late 2008 model 5,1 Aluminum Unibody. The Model 5,1 will probably run 10.9 Mavricks when it comes out.
    10.8 Mountain Lion is a download from the App Store, the price is $19.99.
    Mountain Lion will require at least 2gb of RAM but really needs 4gb to run smoothly.
    As for third party programs see this list for compatibility with 10.8 http://roaringapps.com/apps:table
    Also Mountain Lion doesn't run any Power PC programs. To see if you have any Power PC programs go to the Apple in the upper left corner and select About This Mac, then click on More Info. When System Profiler comes up select Applications under Software. Then look under Kind to see if any of your applications are listed as Power PC. Universal and Intel will run under Mountain Lion.
    Before Mac switched to Intel processors in 2006 they used Power PC processors from 1994 to 2005. Power PC 601 through 604, G3, G4 and G5. Applications written for the Power PC processors need the application called Rosetta to run on Intel processors. This was part of the Operating System in 10.4 and 10.5 but was an optional install in 10.6. With 10.7 Lion Apple dropped all support for Power PC applications.

  • I have a MacBook 5,1 (13.3" aluminum from 2007 or 2008). Automatic updates will only let me get to OSX 10.5.8.  Can I upgrade to Snow Leopard, Lion, or Mountain Lion (to improve speed

    I have a MacBook 5,1 (13.3" aluminum from 2007 or 2008). Automatic updates will only let me get to OSX 10.5.8.  Can I upgrade to Snow Leopard, Lion, or Mountain Lion (to improve speed)?  I'm willing to purchase if necessary and it really helps.

    MacBook upgrade possibilities - https://discussions.apple.com/message/19577869 - "The Early 2006 model 1,1 Core Duo can only run a maximum of 10.6 Snow Leopard. The models Late 2006 Core 2 Duos 2,1 through Early 2008 4,1 can only run a maximum of 10.7 Lion. The Late 2008 model 5,1 Aluminum Unibody through the Mid 2010 White Unibody model 7,1 can run 10.8 Mountain Lion."
    Kappy 08/2012 post on upgrading to Snow Leopard, then Lion or Mountain Lion -  https://discussions.apple.com/message/19401628 - including how to get Snow Leopard and Lion since Apple removed them from the online store.

  • Armenian time is wrong in Apple server. I try to turn off automatically update,but then i cant call through facetime.

    Armenian time is wrong in Apple server. I try to turn off automatically update,but then i cant call through facetime.

    Not sure if this Term is Relevant towards an iPhone but, my iPhone won't Post unless if it's plugged into a Charger.

Maybe you are looking for