 |
 | Who's Online
 |  |  | | MEMBERS ONLINE | |  You are an anonymous user. You can register for free by clicking here |
| |
|  |  |  |  |  |
|
 |
 |  |  |  |
| Author |
Message |
Alpha1
|
|
Post subject:
Posted: 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. |
|
|
| |
|
|
|
 |
NoClue
|
|
Post subject:
Posted: 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. |
|
|
| |
|
|
|
 |
NoClue
|
|
Post subject:
Posted: 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. |
|
|
| |
|
|
|
 |
NoClue
|
|
Post subject:
Posted: 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.
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.
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. |
|
|
| |
|
|
|
 |
Alpha1
|
|
Post subject:
Posted: Aug 06, 2010 - 11:58 PM
|
|
Member

Joined: Jan 19, 2007
Posts: 265
Location: Edgewater Park, NJ
Status: Offline
|
|
|
|
|
 |
NoClue
|
|
Post subject:
Posted: 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.
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) |
|
|
| |
|
|
|
 |
Alpha1
|
|
Post subject:
Posted: 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).
|
|
|
| |
|
|
|
 |
NoClue
|
|
Post subject:
Posted: 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.
It never froze on me, though. |
|
|
| |
|
|
|
 |
|
|
|
|
|  |  |  |  |  |
|
 |