Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 [2]

Author Topic: linux updates grief, no better than windows?  (Read 9690 times)

burakkucat

  • Respected
  • Senior Kitizen
  • *
  • Posts: 38300
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: linux updates grief, no better than windows?
« Reply #15 on: November 09, 2013, 03:58:37 AM »

No feathers ruffled here . . . nor fur!

A yum update will only perform its transaction from those repositories that are enabled. If, for example, no repository was enabled which contained an updated "getmail" package, then that package would not have been updated.

Just had a sudden thought. You system should have kept a log of all yum transactions. Have a look in the /var/log/ directory for a yum.log file. That will be an ASCII text file, readable by any normal means.

All of my systems have a cron job that checks for updates, once every 24 hours and, if any are available, it then sends me an e-mail message. At the next convenient moment I will then perform an update . . .

The best rule is to update packages as soon as they become available. That way it is easy to see what may be guilty -- if something goes wrong. With a "software hackers delight" of an OS, such as Fedora, there is a high probability that something will go wrong.  :(

With an "enterprise class" OS, such as Red Hat Enterprise Linux or its clones, problems should be very few . . . if any.

So here's hoping that all is now correctly fixed.

:friends: 

Edited to add a copy of the daily cron job which checks for updates --

Code: [Select]
#!/bin/sh

ETHN=eth0
WLAN=wlan0

if [ -n "$(/sbin/ifconfig $ETHN | /bin/grep RUNNING)" -o -n "$(/sbin/ifconfig $WLAN | /bin/grep RUNNING)" ]; then
/usr/bin/yum check-update > /var/tmp/$0-$$ 2>&1
if [ $? -eq 100 ]; then
/bin/mail -s "yum check-update" root < /var/tmp/$0-$$
fi
/bin/rm /var/tmp/$0-$$
fi

exit 0
« Last Edit: November 09, 2013, 06:38:21 PM by burakkucat »
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43625
  • Penguins CAN fly
    • DSLstats
Re: linux updates grief, no better than windows?
« Reply #16 on: November 09, 2013, 07:18:35 AM »

No feathers ruffled here either :)

Logged
  Eric

sevenlayermuddle

  • Helpful
  • Addicted Kitizen
  • *
  • Posts: 5369
Re: linux updates grief, no better than windows?
« Reply #17 on: November 09, 2013, 08:44:49 AM »

Now this is poetic justice, the sole item in my mailbox has subject....

Backup Completed with Errors.   Just like yesterday, and the day before  :o

But the reason for failure this time was, as I finally turned in last night, from force of habit I shut down the  XP PC as I noticed its was active .   That was not so wise, as the backup server had only just woken it up and was in the middle of copying stuff.    :blush:

And closer insection yields that the getmail scripts ran perfectly.   My 'fix' is to apply a cap, that is lower tan google's cap, to the data downloaded at one time.   That way I avoid the error, and Google's threat of suspension, yet after a few days, it'll catch up with itself again, and just be downloading 'new' messages each day.    Indeed, for all but one mailbox, it is already doing so. :graduate:

Logged

sevenlayermuddle

  • Helpful
  • Addicted Kitizen
  • *
  • Posts: 5369
Re: linux updates grief, no better than windows?
« Reply #18 on: November 09, 2013, 10:08:28 AM »


Just had a sudden thought. You system should have kept a log of all yum transactions. Have a look in the /var/log/ directory for a yum.log file. That will be an ASCII text file, readable by any normal means.

Quote
Nov 06 17:17:55 Updated: getmail-4.40.1-1.fc17.noarch
The finger of suspicion ?   :)

And that opens me up to further criticism; as you can now see I'm on FC17, whereas the latest is FC19.    :(  The trouble is, they come around too darned often.  But I think that was one of Burakkucat's criticisms.   When I do get around to moving on, I shall be revisiting this thread to explore the other recommendations. 

Thanks for all advice given.
Logged

UncleUB

  • Helpful
  • Senior Kitizen
  • *
  • Posts: 29544
Re: linux updates grief, no better than windows?
« Reply #19 on: November 09, 2013, 12:10:27 PM »

If this is the 'Chit Chat' thread I wouldn't want to read a technical one.... ;D
Logged

sevenlayermuddle

  • Helpful
  • Addicted Kitizen
  • *
  • Posts: 5369
Re: linux updates grief, no better than windows?
« Reply #20 on: November 09, 2013, 12:13:20 PM »

 :D
Guilty as charged, though I started off with good intent.
Logged

burakkucat

  • Respected
  • Senior Kitizen
  • *
  • Posts: 38300
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: linux updates grief, no better than windows?
« Reply #21 on: November 09, 2013, 06:43:55 PM »

Quote
Nov 06 17:17:55 Updated: getmail-4.40.1-1.fc17.noarch
The finger of suspicion ?   :)

In-diddle-de-deedy!

I note that the package has an fc17 tag, which tells me that it has been provided from the Fedora repository.

"Nay trust a Fedora-ite" is one of my phrases of caution.  ;)
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

burakkucat

  • Respected
  • Senior Kitizen
  • *
  • Posts: 38300
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: linux updates grief, no better than windows?
« Reply #22 on: November 09, 2013, 06:45:34 PM »

If this is the 'Chit Chat' thread I wouldn't want to read a technical one.... ;D

Sorry Uncle but when a kitteh has been woken from a nap and is hungry, caterwauling can be the result.  :P
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

tickmike

  • Kitizen
  • ****
  • Posts: 3641
  • Yes Another Penguin !. :)
Re: linux updates grief, no better than windows?
« Reply #23 on: November 11, 2013, 01:33:13 AM »

On the backup server I built I used 'LuckyBackup'  http://luckybackup.sourceforge.net/
and the email client 'sendEmail'
http://caspian.dotconf.net/menu/Software/SendEmail/

Both of these have now been added to to PCLinuxOS package manager.

The server was mainly built so my  daughters Linux laptop at Uni. will do automatic backups to home each day and then sends me a email

Note to Mods .. this tread needs moving to Linux.. !!!
« Last Edit: November 11, 2013, 11:28:01 AM by tickmike »
Logged
I have a set of 6 fixed IP's From  Eclipse  isp.BT ADSL2(G992.3) line>HG612 as a Modem, Bridge, WAN Not Bound to LAN1 or 2 + Also have FTTP (G.984) No One isp Fixed IP >Dual WAN pfSense (Hardware Firewall and routing).> Two WAN's, Ethernet LAN, DMZ LAN, Zyxel GS1100-24 Switch.

sevenlayermuddle

  • Helpful
  • Addicted Kitizen
  • *
  • Posts: 5369
Re: linux updates grief, no better than windows?
« Reply #24 on: November 11, 2013, 05:21:38 AM »


Note to Mods .. this tread needs moving to Linux.. !!!

It was only ever meant to be a slightly tongue-in-cheek discussion of the fact that system updates can have nasty side effects.   If it had stayed on topic, Chit-chat would have been fine.   :-[

In fact... there, I've just started a purpose-built thread in 'Linux' to mull over the technicalities.   Comments welcome, though I may be busy most of today.

http://forum.kitz.co.uk/index.php?topic=13245.0
 :)

« Last Edit: November 11, 2013, 05:30:12 AM by sevenlayermuddle »
Logged

tickmike

  • Kitizen
  • ****
  • Posts: 3641
  • Yes Another Penguin !. :)
Re: linux updates grief, no better than windows?
« Reply #25 on: November 11, 2013, 11:28:23 AM »

 :)
Logged
I have a set of 6 fixed IP's From  Eclipse  isp.BT ADSL2(G992.3) line>HG612 as a Modem, Bridge, WAN Not Bound to LAN1 or 2 + Also have FTTP (G.984) No One isp Fixed IP >Dual WAN pfSense (Hardware Firewall and routing).> Two WAN's, Ethernet LAN, DMZ LAN, Zyxel GS1100-24 Switch.
Pages: 1 [2]
 

anything