[SLUG] yum update TypeError: unsubscriptable object
From: Voytek Eymont li...@sbt.net.au To: slug@slug.org.au Reply-To: li...@sbt.net.au User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit I'm trying to run 'yum update' on centos but it fails with screensfule of failures like: -- File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 861, in getProvides return self._search(provides, name, flags, version) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 43, in newFunc return func(*args, **kwargs) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 837, in _search for pkg in self.searchFiles(name, strict=True): File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 43, in newFunc return func(*args, **kwargs) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 586, in searchFiles self._sql_pkgKey2po(rep, cur, pkgs) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 470, in _sql_pkgKey2po pkg = self._packageByKey(repo, ob['pkgKey']) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 413, in _packageByKey po = self.pc(repo, cur.fetchone()) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 68, in __init__ self._read_db_obj(db_obj) File /usr/lib/python2.4/site-packages/yum/sqlitesack.py, line 94, in _read_db_obj setattr(self, item, _share_data(db_obj[item])) TypeError: unsubscriptable object [r...@centos ~]# any suggestion ? -- Voytek -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] where to get an Ethernet hub (NOT a switch)
Amos == Amos Shapira amos.shap...@gmail.com writes: Amos Hello, Amos I'm looking for an Ethernet hub to be used for network Amos troubleshooting (trying to find which of our hosts is involved Amos in the load on our office uplink). You probably need a switch with port mirroring. You can pick up HP Procurve 100Mb switches second hand pretty cheap on eBay. They have a lifetime warranty from HP, so are pretty safe to buy. Peter C -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] where to get an Ethernet hub (NOT a switch)
peter == peter pe...@chubb.wattle.id.au writes: Amos == Amos Shapira amos.shap...@gmail.com writes: Amos Hello, Amos I'm looking for an Ethernet hub to be used for network Amos troubleshooting (trying to find which of our hosts is involved Amos in the load on our office uplink). If you really want a hub, you're mostly stuck with 10Mb/s -- most 100Mb gear does 10/100 and switching. Even if it's *called* a hub. Peter C -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] where to get an Ethernet hub (NOT a switch)
On Sun, Jul 19, 2009 at 09:36, Amos Shapiraamos.shap...@gmail.com wrote: I'm looking for an Ethernet hub to be used for network troubleshooting (trying to find which of our hosts is involved in the load on our office uplink). Would something like this be useful instead? http://www.enigmacurry.com/articles/building-an-ethernet-tap/ - Matt -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] where to get an Ethernet hub (NOT a switch)
Amos, Of course if you purely want to find out the top talkers by IP, probably the industry-standard of way of doing is to in the longer term is to have your router send netflow stats to a collection server. Pretty much any business level router will do this. And if you have chosen a Linksys WRT type of router you run DD-WRT or OpenWRT on it and it will also have a netflow (or a clone, DD-WRT uses rflowd). Netflow stats can then be captured and processed with flow-tools (for scrit based processing) or Ntop which gives a more graphical way of viewing things. The custom WRT firmware can also run tcpdump which can be used for detailed analysis by Wireshark. So depending on your choice of routers you may not even need a hub or port-mirroring switch. Regards, Martin martinvisse...@gmail.com -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] where to get an Ethernet hub (NOT a switch)
On Sun, July 19, 2009 7:55 pm, pe...@chubb.wattle.id.au wrote: Amos == Amos Shapira amos.shap...@gmail.com writes: lifetime warranty from HP, so are pretty safe to buy. lifetime=/life time what's a lifetime of such, as defined by HP? I used to have some SMC ISA NICs with lifetime warranty, when one failed, I've called SMC to have it replaced: 'that card is over 5 years old' 'the liftetime of that product is 5 years' -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] where to get an Ethernet hub (NOT a switch)
2009/7/19 Matt Hope matt.h...@gmail.com On Sun, Jul 19, 2009 at 09:36, Amos Shapiraamos.shap...@gmail.com wrote: I'm looking for an Ethernet hub to be used for network troubleshooting (trying to find which of our hosts is involved in the load on our office uplink). Would something like this be useful instead? http://www.enigmacurry.com/articles/building-an-ethernet-tap/ Yes very much. Now I have to find a way to build it since I don't have the resources (tools, time) to do it myself. Cheers, --Amos -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] where to get an Ethernet hub (NOT a switch)
On Sun, Jul 19, 2009, Amos Shapira wrote: 2009/7/19 Matt Hope matt.h...@gmail.com On Sun, Jul 19, 2009 at 09:36, Amos Shapiraamos.shap...@gmail.com wrote: I'm looking for an Ethernet hub to be used for network troubleshooting (trying to find which of our hosts is involved in the load on our office uplink). Would something like this be useful instead? http://www.enigmacurry.com/articles/building-an-ethernet-tap/ Yes very much. Now I have to find a way to build it since I don't have the resources (tools, time) to do it myself. Doesn't this break the relevant electrical specifications for ethernet over twisted pair? :) It may work, but ethernet certainly isn't intended to work this way. Who knows what the side effects will be. Adrian -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] where to get an Ethernet hub (NOT a switch)
Actually it is pretty straight forward - For as long as you own the product, - http://www.procurve.com/customercare/support/warranty Basically if it breaks due to defects in materials and workmanship, they'll fix it (as long as you didn't break it by the way it was operated or maintanedt). (Yes, I do work for HP, but I am not speaking on their behalf - read all the warranty conditions for yourself or in the presence of a lawyer ;-) ) Regards, Martin martinvisse...@gmail.com On Sun, Jul 19, 2009 at 10:46 PM, Voytek Eymont li...@sbt.net.au wrote: On Sun, July 19, 2009 7:55 pm, pe...@chubb.wattle.id.au wrote: Amos == Amos Shapira amos.shap...@gmail.com writes: lifetime warranty from HP, so are pretty safe to buy. lifetime=/life time what's a lifetime of such, as defined by HP? I used to have some SMC ISA NICs with lifetime warranty, when one failed, I've called SMC to have it replaced: 'that card is over 5 years old' 'the liftetime of that product is 5 years' -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] where to get an Ethernet hub (NOT a switch)
On Sun, July 19, 2009 11:08 pm, Martin Visser wrote: Actually it is pretty straight forward - For as long as you own the product, - http://www.procurve.com/customercare/support/warranty Basically if it breaks due to defects in materials and workmanship, they'll fix it (as long as you didn't break it by the way it was operated or maintanedt). (Yes, I do work for HP, but I am not speaking on their behalf - read all the warranty conditions for yourself or in the presence of a lawyer ;-) Martin, that certainly sounds better than SMC's definition -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] where to get an Ethernet hub (NOT a switch)
2009/7/19 Martin Visser martinvisse...@gmail.com: Amos, Of course if you purely want to find out the top talkers by IP, probably the industry-standard of way of doing is to in the longer term is to have your router send netflow stats to a collection server. Pretty much any We have SonicWall TZ 190. So far I haven't found in its docs how to configure port mirroring or netflow. I'll try to catch their support today. Thanks, --Amos -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Desbloquear/Unlock Mini Modem Huawei 3G
Alguns Modelos Suportados: se o seu modelo nao esta na lista entre em contato! - Huawei E220 (in some cases need firmwareupdate from support or latest) - Huawei E226all - Huawei E230 all sw versions! ( World first ) - Huawei: E155, E156, E156G, E160, E160G E161, E166, E169, E16 - Huawei E220 (in some cases need firmwareupdate from support or latest) - Huawei E230 all sw versions! ( World first ) - Huawei: E155, E156, E156G, E160, E160G E161, E166, E169, E169G, E170, E172 E176, E180, E182E, E196, E270, E271 E272, E510, E612, E618, E620, E630 E630+, E660, E660A,E800, E870, E880 EG162, EG162G, EG602, EG602G9G, E170, E172 E176, E180, E182E, E196, E270, E271 E272, E510, E612, E618, E620, E630 E630+, E660, E660A,E800, E870, E880 EG162, EG162G, EG602, EG602G www.maxtelcelulares.com msn: supo...@maxtelcelulares.com -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] where to get an Ethernet hub (NOT a switch)
On Sun, 2009-07-19 at 20:08 +1000, pe...@chubb.wattle.id.au wrote: Even if it's *called* a hub. The comms technical literature I have on the hardware generally calls all hubs hubs - after all that's what they are isn't it - as in the centre of a wagon-wheel? All hubs these days are switching hubs to which of course reduce the visibility of packets to third parties on the LAN. When you're in a hurry you say switch but it's still a hub. Kevin. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] where to get an Ethernet hub (NOT a switch)
On 19/07/09 09:06, Amos Shapira wrote: Hello, I'm looking for an Ethernet hub to be used for network troubleshooting (trying to find which of our hosts is involved in the load on our office uplink). I hung on to a old 10Base-T hub for exactly this purpose, and as a wireshark capture from Linux less and less replicates what appears on the wire (due to network cards becoming smarter and smarter) it is worthwhile. You'd be luck to find a 100Mbps hub, there were simply too few made compared with 100Mbps switches. You can use a switch in monitor or span (a Cisco-ism) mode, and pretty much all enterprise class 100Base-TX switches have that feature. You may not want them for a home network, because they produce enterprise-class noise. If you are looking at this for security purposes, then note that there are well-known defeats for switch-based monitoring. The usual approach for that application is either a RJ-45 electrical tap or a 1000Base-LX optical splitter. The optical splitter having the advantage of being unpowered and misbehaviour of the monitoring interface being unable to pull down the monitored interface. So an optical tap is the usual choice for enterprise, but you're looking at 3 SFPs (say, $900-$3000), 2 taps ($400), and 2 SFP-carrying PC ethernet interfaces ($600), and various optical cables ($400). I strongly encourage our university customers to attach to AARNet via an optical tap, even if they don't currently have a monitoring machine attached. You can buy the RJ45 taps from various security suppliers. The best ones are powered with the two MII/GMII interfaces basically wired to each other. You might find the search terms calea and lawful interception useful. The wired one someone posted to this thread should work at 100Mbps, but will fail at GbE. The system relies upon the combined capacitance of the system being small, so use Cat6 and keep all cables short. It's too dodgy for enterprise use, as any component failure (perhaps even powering off one of the nodes) would pull down the monitored link. -- Glen Turner -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html