|
Bugzilla – Full Text Bug Listing |
| Summary: | YOU-update impossible because of corrupt YaST-database | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Björn Voigt <bjoernv> |
| Component: | YOU | Assignee: | E-mail List <yast2-maintainers> |
| Status: | RESOLVED INVALID | QA Contact: | Klaus Kämpf <kkaempf> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | suse-beta |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
YaST 2 log file with messages from "online_update" (YOU)
Second test: /var/lib/YaST2/vendor_update file Second test: /var/lib/YaST2/you/youservers file Second test: .y2log file |
||
|
Description
Björn Voigt
2006-02-16 11:02:00 UTC
Created attachment 68791 [details]
YaST 2 log file with messages from "online_update" (YOU)
This file contains the messages from online_update -k -s -V.
Please have a look at the file "/var/lib/YaST2/vendor_update" It should contain the following line (and only this line): /linux/suse/i386-10.0 And the file "/var/lib/YaST2/you/youservers" should contain at least one reachable mirror server. Please check and report with y2logs. The file /var/lib/YaST2/vendor_update contains one line "/linux/suse/i386-10.0" but without a trailing newline ("\n").
The file /var/lib/YaST2/you/youservers does not exists. The old attached .y2log file ("YaST 2 log file with messages from online_update (YOU)") is still valid.
I copied a valid youservers file from another PC. I also added a newline to the vendor_update file. After running "online_update -k -s -V" again, the problem still exists. I attached the three current files youservers, vendor_update and .y2log.
Created attachment 68978 [details]
Second test: /var/lib/YaST2/vendor_update file
Created attachment 68979 [details]
Second test: /var/lib/YaST2/you/youservers file
Created attachment 68980 [details]
Second test: .y2log file
The log says: "No products installed" Please check if the file "/var/adm/YaST/ProdDB/prod_00000001" exists and contains data referencing SUSE Linux 10.0. No, the file "/var/adm/YaST/ProdDB/prod_00000001" currently does not exists. I removed it, because I tried several things to fix the YOU-problem. As far as I know, the file existed on the first occurence of the YOU-problem. How could I restore the file? Why does YOU not give a hint for restoring the file? Why does YOU check "/var/adm/YaST/ProdDB/prod_00000001" and not /etc/SuSE-release and the installation sources (license issues?)? I have the original SuSE 10.0 Pro DVD by hand. /etc/SuSE-release is just one or two strings to identify the system. The file /var/adm/YaST/ProdDB (Product Database) contains detailled information about all installed products and other data (e.g where to fetch release notes from). And that is what YOU is interested in. Yes you can restore the file. Have a look at this file /var/adm/YaST/InstSrcManager/IS_CACHE_0x00000001/DESCRIPTION/description and check if it refers to SL10.0 then copy it to /var/adm/YaST/ProdDB/prod_00000001 To your question: "Why does YaST not forbid an system update ...?" You obviously misused the system _update_ to perform a system _upgrade_. For upgrades please always boot from the new media. With this procedure only we can guarantee a version upgrade. From SL10.0 on it will no longer be possible to misuse the system update for that. Thanks for a short answer if this solved your problem. Ok, I restored /var/adm/YaST/ProdDB/prod_00000001 from /var/adm/YaST/InstSrcManager/IS_CACHE_0x00000001/DESCRIPTION/description. After that YOU formed an incorrect URL: $ online_update -k -s -V Types of patches to be installed: security recommended patchlevel Server URL: ftp://ftp.uni-erlangen.de/pub/Linux/MIRROR.suse/pub/suse/i386/update/ Server Name: Benutzerdefinierter Pfad Directory File: Path 0: ./i386/update/10.0/patches ERROR(Media:file not found)[HTTP return code: 503 (URL: ftp://ftp.uni-erlangen.de/pub/Linux/MIRROR.suse/pub/suse/i386/update/i386/update/10.0/patches/directory.3)] After changing the server selection manually with YaST (yast2 online_update), YOU works fine. My problem is solved now. Anyway, I think, it would be nice to have an good way to fix such problems (a current SDB article or better an automatic recovery in YaST). I "misused" the system _update_ to perform a system _upgrade_ on my SuSE 10.0 box because this worked fine for my SuSE 10.1 (Beta) testing system. And I thought, it will also work for my other system. I did not find any problems on my 10.1 box, if YaST system update can complete it's work. Forgotten to reset NEEDINFO? ;-) System update is not intended to do an upgrade of the system and it may work only by accident. Therefore it is not valid. |