Bitzenbytes.com

CompuClues Forum

  User  Password
Friday, September 10, 2010 - 05:59 AM
Search
Main Menu
Who's Online
MEMBERS ONLINE

You are an anonymous user. You can register for free by clicking here
User name
Password
 Remember me
Firefox
Get Firefox 110
Languages
Preferred language:


Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Alpha1Offline
Post subject:   PostPosted: Jun 24, 2010 - 09:29 PM
Member


Joined: Jan 19, 2007
Posts: 265
Location: Edgewater Park, NJ
Status: Offline
Little off topic, but just a useful tip for installing multiple sets of boxes, when your not imaging them.
Write a bash script to add your reposfor you.

I have mine set up for all of my computers, seperating groups of Repos by asking a Yes no questions.
Is this the server? No. then skip apache packages. Is this the EEE PC, then skip those repos.
I have it divided into 3 parts, main repos (mozilla, open office, packman, etc)
Then repos for the EEE PC, and then for apache. Cuts the time for adding the repos down from 10-15 minutes to a few seconds.

Like so

Code:
echo "This is a bash script for the EEE PC, to add repos easily"
read -p "Install EEE PC repos? (y/n)?"
   [ "$REPLY" == "n"  ] || echo "installing EEE pc Repos..."
zypper ar http://download.opensuse.org/repositories/home:/malcolmlewis:/Gnome/openSUSE_11.2/ EEE control repo

for each repo, list the zypper ar, then url, and then the repo name, if you have groups like i do, seperate them with a question like above.
Save it as a nice .sh file and then just run it when you install a new box.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
NoClueOffline
Post subject:   PostPosted: Jul 29, 2010 - 10:55 PM
Site Admin


Joined: Jan 17, 2001
Posts: 10454
Location: Blackwood, NJ USA
Status: Offline
A few times now, after the upgrade, I've ended up with an old KDM login screen...like the one I used to see a lot in the 9.x days.

Easy enough to fix:

YaST->System->/etc/sysconfig Editor->Desktop->Display manager->DISPLAYMANAGER, change the setting from kdm3 to kdm4.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
NoClueOffline
Post subject:   PostPosted: Jul 29, 2010 - 11:38 PM
Site Admin


Joined: Jan 17, 2001
Posts: 10454
Location: Blackwood, NJ USA
Status: Offline
From another thread:

/me wrote:
Something about 'cat: primary.xml*: No such file or directory' and 'repo_rpmmd: no element found at line 1:0' followed by 'Skipping repository 'repository_name' because of the above error.


Sometimes when you get that error, running:

zypper clean --all

...will fix it. Sometimes you also have to run:

rpmdb --rebuilddb

I've also read that it may indicate a problem with a repo, or the mirror you are being assigned.

~~~

But, when it's happened to me, upgrading openSUSE 11.0 boxes to 11.3, it's been caused by a different encryption in the new repos. Adding the latest version of zypper (I did the one-click install from the zypp:/Head/openSUSE_Factory repo fixed it.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
NoClueOffline
Post subject:   PostPosted: Aug 05, 2010 - 03:18 PM
Site Admin


Joined: Jan 17, 2001
Posts: 10454
Location: Blackwood, NJ USA
Status: Offline
Sometimes the bleeding edge can be painful. Laugh

With the release of 11.3, I changed all the repos on three machines to /openSUSE_11.3/ (instead of /openSUSE_Factory/). The other, the 'bleeder', I left with the Factory repos.

All the 'non-bleeder' boxes have the normal set of 11.3 repos. One 'non-bleeder' has the 'KDE:Distro:Factory/openSUSE_11.3' repo, which currently has the KDE 4.4.95 (pre-release 4.5) stuff.

The bleeder got the 'KDE:Unstable:SC/openSUSE_Factory' repo, which currently has the KDE 4.5.62 (very-early 4.6) stuff.

The rest of the non-bleeders have KDE 4.4.4-something, KDE 4.4, the 'last-known-good' version of KDE.

KDE 4.4 seems to work okay for me, though it's missing some functionality.

KDE 4.5 adds the functionality I miss, and runs okay, if a bit flaky. Closing Konqueror windows sometimes crashes Konqueror...not that I care, I was done with those windows anyway, that's why I was closing them. Smile

Anyway, nothing I can't live with.

4.5.62, OTOH, crashes a lot. Even the desktop (plasma) crashes (though it starts right up again by itself). Sometime the windows are missing the titlebar across the top ( the one with the X on it) making me close the window by using the 'File..." menu. TaST also seems to be broken...at least the software-related modules.

So, okay. KDE 4.6 is still 'too new'. Easily fixed. At a console, as root:

zypper lr

...to list all my repos. I look at the number in front of the last repo in the list, then:

zypper sh

rr 1 2 3 4 5 6 7 8 9...(all the way up to my last repo's number)

...to wipe out all the repositories. Then:

exit

...to leave the zypper shell.

On one of the non-bleeders' I run (as root):

zypper lr -e nobleed_repos

...which exports my list to a file named nobleed_repos.repo. Still on the non-bleeder:

sftp root@'bleeder'

put nobleed_repos.repo

Back on 'bleeder':

zypper ar nobleed_repos.repo

Viola! All of the repos from the non-bleeder box are on 'bleeder'.

zypper dup

...handles all the rollbacks for me.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
Alpha1Offline
Post subject:   PostPosted: Aug 06, 2010 - 11:58 PM
Member


Joined: Jan 19, 2007
Posts: 265
Location: Edgewater Park, NJ
Status: Offline
On your netbook, are you experiences freezing, like i mentioned here?
http://bitzenbytes.com/index.php?name=P ... 4841#44841

If thats the freezing your talking about, try this opensuse forum page with a decent solution.

http://forums.opensuse.org/english/get- ... 945-a.html

4.5 came out Wednesday, doubt its in suse repos, tested and stable yet.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
NoClueOffline
Post subject:   PostPosted: Aug 07, 2010 - 06:43 PM
Site Admin


Joined: Jan 17, 2001
Posts: 10454
Location: Blackwood, NJ USA
Status: Offline
Nope, the netbook isn't freezing at all.

...In fact, I don't think I mentioned freezing, did I? Nope. Very Happy

No, my problems we're all caused by trying to run KDE 4.6 before it was ready. Or even close to being ready. Rolling back made them all disappear.

Using the '_Factory' repos just before a new release makes sense...if you want to check out the new stuff early.

Using the '_Factory' repos just after a new release makes less sense, unless you are a developer or tester and you're looking for bugs. (Plenty of bugs to be found)
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
Alpha1Offline
Post subject:   PostPosted: Aug 07, 2010 - 06:53 PM
Member


Joined: Jan 19, 2007
Posts: 265
Location: Edgewater Park, NJ
Status: Offline
You mentioned crashes, which i often got along with the freezing, so i wass curious.

Quote:
4.5.62, OTOH, crashes a lot. Even the desktop (plasma) crashes (though it starts right up again by itself).
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
NoClueOffline
Post subject:   PostPosted: Aug 07, 2010 - 07:28 PM
Site Admin


Joined: Jan 17, 2001
Posts: 10454
Location: Blackwood, NJ USA
Status: Offline
When stuff crashed in 4.6, it would disappear from the screen and give me that 'crash notifier' thingy. Even when plasma went down, I'd get a black screen with the notifier box. Closing the box would make plasma fire up again. Then it might stay up...it might crash again. You never know.

Oh...and when I opened konsole, it wouldn't take any typing. Running kdesu anything would give me that 'enter root's password' box, but wouldn't take any typing either. I could, however, open a text editor, type the text into that, then copy/paste into konsole or the password box.

Aside from that, and the 'not having the minimize/maximize/restore/close buttons in the corner' thing. KDE 4.6 worked fine. Laugh

It never froze on me, though.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 5 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
Bugs  |  Tasks  |  Developers