|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Novell Archives Archived content from Novell openSUSE support forums |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi, I installed opensuse 11-64 beta1, and have been really enjoying it. So far it seems no more buggy than many a 'stable' release of the numerous distros I've played with (including 10.3). After beta 2 came out, I read 'somewhere' (SuSE Linux Forums, I think) that I could upgrade with "zypper dup". The first time I attempted this (about a week ago), it balked with a "kde3[x] lib[something] not found" error, but night before last it completed successfully, and I was able to reboot into the new kernel no problems. However, now it seems a repository is broken, and consequently I can't open any package manager from yast2. I can post the exact error message later (after I get home), but is there an easy way to restore or repair my repositories to a functional state (presumably from a terminal, since the update gui won't even run), without having to go through trouble-shooting hoops? It's really annoying when one repository goes down and takes the whole shooting match with it... Thanks! -- dsmithhfx ------------------------------------------------------------------------ dsmithhfx's Profile: http://forums.novell.com/member.php?userid=9869 View this thread: http://forums.novell.com/showthread.php?t=327758 |
|
|||
|
Here's the message... Code: -------------------- Disabling repository 'Main Repository (OSS)' because of the above error. Error building the cache database: repo2solv.sh "/var/cache/zypp/raw/http:__download.opensuse.org_distribution_SL-OSS-factory_inst-source_" > "/var/cache/zypp/http:__download.opensuse.org_distribution_SL-OSS-factory_inst-source_.solv" Bad dependency line: package penSUSE-release-live-------------------- -- dsmithhfx ------------------------------------------------------------------------ dsmithhfx's Profile: http://forums.novell.com/member.php?userid=9869 View this thread: http://forums.novell.com/showthread.php?t=327758 |
|
|||
|
Hmmm, I received an email informing me of a reply to my query, but I don't see it posted here... > To: [my email] > Subject: Reply to thread 'repair repository db after zypper dup broke > it (11 b2)' > From: "NOVELL FORUMS" <forumsadmin@novell.com> > Date: Wed, 14 May 2008 07:16:02 -0600 (MDT) > > > Dear dsmithhfx, > > Marco Munderloh has just replied to a thread you have subscribed to > entitled - repair repository > db after zypper dup broke it (11 b2) - in the Updates-Patches forum of > NOVELL FORUMS. > > This thread is located at: > http://tinyurl.com/5oeag3 > > Here is the message that has just been posted: > *************** > dsmithhfx wrote: > > Here's the message... > > > > > > Code: > > -------------------- > > Disabling repository 'Main Repository (OSS)' because of the above > error. > > Error building the cache database: repo2solv.sh > > "/var/cache/zypp/raw/http:__download.opensuse.org_distribution_SL-OSS-factory_inst-source_" > > > > "/var/cache/zypp/http:__download.opensuse.org_distribution_SL-OSS-factory_inst-source_.solv" > Bad dependency line: package penSUSE-release-live> > -------------------- > > > > > rm -fr /var/cache/zypp/* > > *************** > > > There may also be other replies, but you will not receive any more > notifications until you visit > the forum again. > > All the best, > NOVELL FORUMS > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Unsubscription information: > > To unsubscribe from this thread, please visit this page: > http://tinyurl.com/5vgohb > > To unsubscribe from ALL threads, please visit this page: > http://tinyurl.com/5gfnzr > -- dsmithhfx ------------------------------------------------------------------------ dsmithhfx's Profile: http://forums.novell.com/member.php?userid=9869 View this thread: http://forums.novell.com/showthread.php?t=327758 |
|
|||
|
Well I tried our elusive friend Marco's suggestions and they both ended with the same problem "Bad dependency line: package penSUSE-release-live".No harm done, though and thanks Marco for trying to help! -- dsmithhfx ------------------------------------------------------------------------ dsmithhfx's Profile: http://forums.novell.com/member.php?userid=9869 View this thread: http://forums.novell.com/showthread.php?t=327758 |
|
|||
|
I tried to use the 11b2 repository in my 10.3 box and it works fine so
the repository should be ok. Maybe you can just remove and re-add it? To remove it: zypper rr openSUSE-release-live To re-add it (all in one line): zypper ar http://download.opensuse.org/distrib...y/inst-source/ openSUSE-release-live Change "openSUSE-release-live" to the correct repository alias. Good luck, Marco |
|
|||
|
Marco Munderloh;1558978 Wrote: > I tried to use the 11b2 repository in my 10.3 box and it works fine so > the repository should be ok. > > Maybe you can just remove and re-add it? > > To remove it: > zypper rr openSUSE-release-live > > To re-add it (all in one line): > zypper ar > 'Index of /distribution/SL-OSS-factory/inst-source' > (http://download.opensuse.org/distrib...y/inst-source/) > openSUSE-release-live Hi Marco, got your email, not sure what that refers to (case-sensitivity?)... anyway I'll try the above suggestion later today. Is it all one url that got wrapped by my email client? This part I'm not sure how to do: > Change "openSUSE-release-live" to the correct repository alias. Thanks again. -- dsmithhfx ------------------------------------------------------------------------ dsmithhfx's Profile: http://forums.novell.com/member.php?userid=9869 View this thread: http://forums.novell.com/showthread.php?t=327758 |
|
|||
|
Hi David,
dsmithhfx wrote: > Marco Munderloh;1558978 Wrote: >> I tried to use the 11b2 repository in my 10.3 box and it works fine so >> the repository should be ok. >> >> Maybe you can just remove and re-add it? >> >> To remove it: >> zypper rr openSUSE-release-live >> >> To re-add it (all in one line): >> zypper ar >> 'Index of /distribution/SL-OSS-factory/inst-source' >> (http://download.opensuse.org/distrib...y/inst-source/) >> openSUSE-release-live This is wrong. It should only be: zypper ar http://download.opensuse.org/distrib...y/inst-source/ openSUSE-release-live all in one line. > Hi Marco, got your email, not sure what that refers to > (case-sensitivity?)... anyway I'll try the above suggestion later > today. Is it all one url that got wrapped by my email client? Yes, it's all in one line ;-) > This part I'm not sure how to do: >> Change "openSUSE-release-live" to the correct repository alias. "zypper -v lr" shows all repositories currently installed. One of them should be the one with this path: http://download.opensuse.org/distrib...y/inst-source/ and there is a column Alias which should be something like "openSUSE-release-live". If it's not, change it in the zypper line above to the correct one. Regards, Marco |
|
|||
|
I tried your suggestion and it appears to have worked: > > linux:/home/dave # zypper ar 'Index of > /distribution/SL-OSS-factory/inst-source' > (http://download.opensuse.org/distrib...y/inst-source/) > openSUSE-release-live > * Adding repository 'openSUSE-release-live' > Repository 'openSUSE-release-live' successfully added > Enabled: Yes > Autorefresh: No > URI: 'Index of /distribution/SL-OSS-factory/inst-source' > (http://download.opensuse.org/distrib...y/inst-source/) I was able to open Package Management (gui) from yast2, set the restored repository to autorefresh and perform some other package management stuff (specifically delete sun virtualbox 1.6.0-don't-try-this-useless-piece-of-crud). When I clicked on the autoupdate notifier applet icon in the tray (which was showing an error state), this popped up: yast2/software management: > > There was an error in the repository initialization. > 'openSUSE-release-live': Failed to cache repo (4). > History: > - repo2solv.sh "/var/cache/zypp/raw/openSUSE-release-live" > > "/var/cache/zypp/openSUSE-release-live.solv" > Bad dependency line: openSUSE-release-live > > gzip: stdout: Broken pipe > > gzip: stdout: Broken pipe > > gzip: stdout: Broken pipe > > gzip: stdout: Broken pipe Don't know if that means auto-update is still borked, but zypper is in a hell of a lot better shape than when I started. Thanks again for all the help! Cheers. -- dsmithhfx ------------------------------------------------------------------------ dsmithhfx's Profile: http://forums.novell.com/member.php?userid=9869 View this thread: http://forums.novell.com/showthread.php?t=327758 |
|
|||
|
dsmithhfx;1556529 Wrote: > Hi, > However, now it seems a repository is broken, and consequently I can't > open any package manager from yast2. > > [....] > > There was an error in the repository initialization. > 'openSUSE-release-live': Failed to cache repo (4). > History: > - repo2solv.sh "/var/cache/zypp/raw/openSUSE-release-live" > > "/var/cache/zypp/openSUSE-release-live.solv" > Bad dependency line: openSUSE-release-live > For the record, if anyone else needs to fix this, when adding the factory repository to zypper, do not let zypper add it as type "yast2". Instead, add it like this: zypper ar -t rpm-md 'Index of /distribution/SL-OSS-factory/inst-source/suse' (http://download.opensuse.org/distrib...t-source/suse/) openSUSE-release-live (note the extra /suse on the path. The repository alias can be anything.) andreia gaita Mono Team -- sh4na ------------------------------------------------------------------------ sh4na's Profile: http://forums.novell.com/member.php?userid=19287 View this thread: http://forums.novell.com/showthread.php?t=327758 |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|