Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: x86_64 + i586 Mess!

  1. #1
    Join Date
    Sep 2008
    Location
    Porto Alegre, RS, Brazil
    Posts
    124

    Unhappy x86_64 + i586 Mess!

    Hi all.

    Ok, ok, I admit: That is probably the biggest mess I could have done on one machine.

    Skiping the details, but while I was tracking down (remotely) that strange nfs_server error on one of mines Suse 11.0 machines, I clearly made a big mess at the time, but successfully recovered most of it.

    The key word is "most". Today, I found out that the yast was having problems, including with the 1-click install feature. It yields me the following error if I try:

    Code:
    Can't locate XML/Parser.pm in @INC (@INC contains: /y2update/modules /home/johannes/.yast2/modules /usr/share/YaST2/modules /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/vendor_perl/5.10.0/XML/XPath/XMLParser.pm line 7.
    BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.10.0/XML/XPath/XMLParser.pm line 7.
    Compilation failed in require at /usr/lib/perl5/vendor_perl/5.10.0/XML/XPath.pm line 13.
    BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.10.0/XML/XPath.pm line 13.
    Compilation failed in require at /usr/share/YaST2/modules/YPX.pm line 6.
    BEGIN failed--compilation aborted at /usr/share/YaST2/modules/YPX.pm line 6.
    Compilation failed in require.
    BEGIN failed--compilation aborted.
    Following the clue in perl, I decided to look after what could be in the wrong architecture. After a long time over the machine, I found that the system became a full mess of i586 and x86_64 architectures... And, when we talk abou my dearly loved yast, it's like this:

    Code:
    S | Nome                                   | Tipo   | Versão       | Arquitetura | Repositório
    --+----------------------------------------+--------+--------------+-------------+------------------------------
    i | yast2                                  | pacote | 2.16.71-6.1  | x86_64      | openSUSE-11.0-Oss
    i | yast2-CASA                             | pacote | 1.7.1535-3.1 | x86_64      | openSUSE-11.0-Oss
    i | yast2-bootloader                       | pacote | 2.16.20-0.1  | x86_64      | openSUSE-11.0-Oss
    i | yast2-control-center                   | pacote | 2.16.2-11.1  | x86_64      | openSUSE-11.0-Oss
    i | yast2-control-center-debuginfo         | pacote | 2.16.2-11.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-control-center-debugsource       | pacote | 2.16.2-11.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-control-center-gnome             | pacote | 2.13.3-11.1  | i586        | openSUSE-11.0-Oss
    i | yast2-control-center-gnome-debuginfo   | pacote | 2.13.3-11.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-control-center-gnome-debugsource | pacote | 2.13.3-11.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-control-center-qt                | pacote | 2.16.2-11.1  | x86_64      | openSUSE-11.0-Oss
    i | yast2-core                             | pacote | 2.16.51-6.1  | i586        | openSUSE-11.0-Oss
    i | yast2-core-debuginfo                   | pacote | 2.16.51-6.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-core-debugsource                 | pacote | 2.16.51-6.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-core-devel                       | pacote | 2.16.51-6.1  | x86_64      | openSUSE-11.0-Oss
    i | yast2-country                          | pacote | 2.16.26-6.1  | x86_64      | openSUSE-11.0-Oss
    i | yast2-country-data                     | pacote | 2.16.26-6.1  | x86_64      | openSUSE-11.0-Oss
    i | yast2-devel-doc                        | pacote | 2.16.71-6.1  | x86_64      | openSUSE-11.0-Oss
    i | yast2-fingerprint-reader               | pacote | 2.16.8-6.1   | i586        | openSUSE-11.0-Oss
    i | yast2-fingerprint-reader-debuginfo     | pacote | 2.16.8-6.1   | x86_64      | Repositório principal (DEBUG)
    i | yast2-fingerprint-reader-debugsource   | pacote | 2.16.8-6.1   | x86_64      | Repositório principal (DEBUG)
    i | yast2-gtk                              | pacote | 2.16.14-1.1  | i586        | openSUSE-11.0-Updates
    i | yast2-gtk                              | pacote | 2.16.14-1.1  | i586        | openSUSE-11.0-Oss
    i | yast2-gtk-debuginfo                    | pacote | 2.16.14-1.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-gtk-debugsource                  | pacote | 2.16.14-1.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-hardware-detection               | pacote | 2.16.1-49.1  | i586        | openSUSE-11.0-Oss
    i | yast2-hardware-detection-debuginfo     | pacote | 2.16.1-49.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-hardware-detection-debugsource   | pacote | 2.16.1-49.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-kdump                            | pacote | 2.16.10-36.1 | x86_64      | openSUSE-11.0-Oss
    i | yast2-ldap                             | pacote | 2.16.0-52.1  | i586        | openSUSE-11.0-Oss
    i | yast2-ldap-debuginfo                   | pacote | 2.16.0-52.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-ldap-debugsource                 | pacote | 2.16.0-52.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-libyui                           | pacote | 2.16.48-3.1  | i586        | openSUSE-11.0-Oss
    i | yast2-libyui-debuginfo                 | pacote | 2.16.48-3.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-libyui-debugsource               | pacote | 2.16.48-3.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-libyui-devel                     | pacote | 2.16.48-3.1  | x86_64      | openSUSE-11.0-Oss
    i | yast2-mcs-plugin                       | pacote | 0.1.0-115.1  | i586        | openSUSE-11.0-Oss
    i | yast2-mcs-plugin-debuginfo             | pacote | 0.1.0-115.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-mcs-plugin-debugsource           | pacote | 0.1.0-115.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-mouse                            | pacote | 2.16.1-26.1  | x86_64      | openSUSE-11.0-Oss
    i | yast2-ncurses                          | pacote | 2.16.27-8.1  | i586        | openSUSE-11.0-Oss
    i | yast2-ncurses-debuginfo                | pacote | 2.16.27-8.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-ncurses-debugsource              | pacote | 2.16.27-8.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-ncurses-devel                    | pacote | 2.16.27-8.1  | x86_64      | openSUSE-11.0-Oss
    i | yast2-ncurses-pkg                      | pacote | 2.16.13-4.1  | i586        | openSUSE-11.0-Oss
    i | yast2-ncurses-pkg-debuginfo            | pacote | 2.16.13-4.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-ncurses-pkg-debugsource          | pacote | 2.16.13-4.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-network                          | pacote | 2.16.48-3.1  | x86_64      | openSUSE-11.0-Oss
    i | yast2-network-devel-doc                | pacote | 2.16.48-3.1  | x86_64      | openSUSE-11.0-Oss
    i | yast2-nis-client                       | pacote | 2.16.3-6.1   | i586        | openSUSE-11.0-Oss
    i | yast2-nis-client-debuginfo             | pacote | 2.16.3-6.1   | x86_64      | Repositório principal (DEBUG)
    i | yast2-nis-client-debugsource           | pacote | 2.16.3-6.1   | x86_64      | Repositório principal (DEBUG)
    i | yast2-packager                         | pacote | 2.16.53-3.1  | x86_64      | openSUSE-11.0-Updates
    i | yast2-packager                         | pacote | 2.16.53-3.1  | x86_64      | openSUSE-11.0-Oss
    i | yast2-perl-bindings                    | pacote | 2.16.7-14.1  | i586        | openSUSE-11.0-Oss
    i | yast2-perl-bindings-debuginfo          | pacote | 2.16.7-14.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-perl-bindings-debugsource        | pacote | 2.16.7-14.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-pkg-bindings                     | pacote | 2.16.39-4.1  | i586        | openSUSE-11.0-Oss
    i | yast2-pkg-bindings-debuginfo           | pacote | 2.16.39-4.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-pkg-bindings-debugsource         | pacote | 2.16.39-4.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-printer                          | pacote | 2.16.32-3.1  | i586        | openSUSE-11.0-Oss
    i | yast2-printer-debuginfo                | pacote | 2.16.32-3.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-printer-debugsource              | pacote | 2.16.32-3.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-printer-devel-doc                | pacote | 2.16.32-3.1  | x86_64      | openSUSE-11.0-Oss
    i | yast2-profile-manager                  | pacote | 2.16.1-27.1  | i586        | openSUSE-11.0-Oss
    i | yast2-profile-manager-debuginfo        | pacote | 2.16.1-27.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-profile-manager-debugsource      | pacote | 2.16.1-27.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-python-bindings                  | pacote | 2.16.6-36.1  | i586        | openSUSE-11.0-Oss
    i | yast2-python-bindings-debuginfo        | pacote | 2.16.6-36.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-python-bindings-debugsource      | pacote | 2.16.6-36.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-qt                               | pacote | 2.16.53-5.1  | i586        | openSUSE-11.0-Oss
    i | yast2-qt-debuginfo                     | pacote | 2.16.53-5.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-qt-debugsource                   | pacote | 2.16.53-5.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-qt-devel                         | pacote | 2.16.53-5.1  | x86_64      | openSUSE-11.0-Oss
    i | yast2-qt-pkg                           | pacote | 2.16.46-4.1  | i586        | openSUSE-11.0-Oss
    i | yast2-qt-pkg-debuginfo                 | pacote | 2.16.46-4.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-qt-pkg-debugsource               | pacote | 2.16.46-4.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-ruby-bindings                    | pacote | 0.3.2-11.1   | i586        | openSUSE-11.0-Oss
    i | yast2-ruby-bindings-debuginfo          | pacote | 0.3.2-11.1   | x86_64      | Repositório principal (DEBUG)
    i | yast2-ruby-bindings-debugsource        | pacote | 0.3.2-11.1   | x86_64      | Repositório principal (DEBUG)
    i | yast2-scanner                          | pacote | 2.16.10-13.1 | x86_64      | openSUSE-11.0-Oss
    i | yast2-scanner-debuginfo                | pacote | 2.16.10-13.1 | x86_64      | Repositório principal (DEBUG)
    i | yast2-scanner-debugsource              | pacote | 2.16.10-13.1 | x86_64      | Repositório principal (DEBUG)
    i | yast2-slp                              | pacote | 2.16.0-25.1  | i586        | openSUSE-11.0-Oss
    i | yast2-slp-debuginfo                    | pacote | 2.16.0-25.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-slp-debugsource                  | pacote | 2.16.0-25.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-sound                            | pacote | 2.16.11-6.1  | i586        | openSUSE-11.0-Oss
    i | yast2-sound-debuginfo                  | pacote | 2.16.11-6.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-sound-debugsource                | pacote | 2.16.11-6.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-squid                            | pacote | 2.16.3-37.1  | i586        | openSUSE-11.0-Oss
    i | yast2-squid-debuginfo                  | pacote | 2.16.3-37.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-squid-debugsource                | pacote | 2.16.3-37.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-storage                          | pacote | 2.16.26-0.1  | i586        | openSUSE-11.0-Oss
    i | yast2-storage-debuginfo                | pacote | 2.16.26-0.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-storage-debugsource              | pacote | 2.16.26-0.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-storage-devel                    | pacote | 2.16.26-0.1  | x86_64      | openSUSE-11.0-Oss
    i | yast2-storage-evms                     | pacote | 2.16.26-0.1  | i586        | openSUSE-11.0-Oss
    i | yast2-storage-lib                      | pacote | 2.16.26-0.1  | i586        | openSUSE-11.0-Oss
    i | yast2-transfer                         | pacote | 2.16.1-76.1  | i586        | openSUSE-11.0-Oss
    i | yast2-transfer-debuginfo               | pacote | 2.16.1-76.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-transfer-debugsource             | pacote | 2.16.1-76.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-tune                             | pacote | 2.16.2-2.1   | x86_64      | openSUSE-11.0-Oss
    i | yast2-update                           | pacote | 2.16.10-4.1  | x86_64      | openSUSE-11.0-Oss
    i | yast2-update-FACTORY                   | pacote | 2.16.10-4.1  | x86_64      | openSUSE-11.0-Oss
    i | yast2-users                            | pacote | 2.16.33-6.1  | i586        | openSUSE-11.0-Oss
    i | yast2-users-debuginfo                  | pacote | 2.16.33-6.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-users-debugsource                | pacote | 2.16.33-6.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-vm                               | pacote | 2.16.5-7.1   | x86_64      | openSUSE-11.0-Oss
    i | yast2-xml                              | pacote | 2.16.1-14.1  | i586        | openSUSE-11.0-Oss
    i | yast2-xml-debuginfo                    | pacote | 2.16.1-14.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-xml-debugsource                  | pacote | 2.16.1-14.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-ycp-ui-bindings                  | pacote | 2.16.47-5.1  | i586        | openSUSE-11.0-Oss
    i | yast2-ycp-ui-bindings-debuginfo        | pacote | 2.16.47-5.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-ycp-ui-bindings-debugsource      | pacote | 2.16.47-5.1  | x86_64      | Repositório principal (DEBUG)
    i | yast2-ycp-ui-bindings-devel            | pacote | 2.16.47-5.1  | x86_64      | openSUSE-11.0-Oss
    And, most interesting, is that yast is not allowing me to upgrade them back to x86_64. Whenever I try, y2base goes to 100% of usage for indefinite time!

    Is there please and for God sake any way to clean this huge mess I did this time?

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: x86_64 + i586 Mess!

    Download the RPMs of the correct architecture and install them manually using RPM. You may have to do a whole group in one go if there are any dependencies within the group.

  3. #3
    Join Date
    Sep 2008
    Location
    Porto Alegre, RS, Brazil
    Posts
    124

    Default Re: x86_64 + i586 Mess!

    Ok, but then: How I do that exactly:

    My concern is the "dependence hell". For example, to "save" yast, I should download the whole repository files from the repository for yast, or there are something else? (this is actually a question on how are the suse repositories organized, in a way). Moreover, after I have all dependences solved here, how do I say to rpm "install all them in the proper order"?

    Waiting for any suggestion, thanks for the prompt answer.

  4. #4
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: x86_64 + i586 Mess!

    Just make sure they are listed on the command line and rpm will sort it out, if none are missing.

  5. #5
    Join Date
    Sep 2008
    Location
    Porto Alegre, RS, Brazil
    Posts
    124

    Default Re: x86_64 + i586 Mess!

    Ok, that was easily done with an rpm -i *.rpm

    Now I'm suffering here tracking down all dependences... No clue to do that faster, or is there one?

    Thanks a lot.

  6. #6
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: x86_64 + i586 Mess!

    Usually zypper takes care of that for me. You could try using zypper instead of rpm, but you are in unknown territory for me.

    Porto Alebre or Porto Alegre? I was just watching a film set there the other night: O Homen que Copiava. I saw that Luana Piovani appeared again in O Casamento de Romeu e Julieta.

  7. #7
    Join Date
    Sep 2008
    Location
    Porto Alegre, RS, Brazil
    Posts
    124

    Default Re: x86_64 + i586 Mess!

    First: It's Porto Alegre. And, yes, "O Homem que Copiava" was recorded here. Great movie btw.

    Now, bad news. I finally solved all dependencies here, and issued an "rpm -i --force *.rpm" (without "--force" it was complaining that the packages were already installed). Yes, I downloaded the x86_64 files. But after it runs, I issue "zypper se -si 'yast*' | grep i586" and, evil, there i still the same packages for i586 in there, none of them was exchanged... Any ideas now?

  8. #8
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: x86_64 + i586 Mess!

    This could be risky and I've never done it but you could remove all the yast packages of type i586 first. Since you have rpm, you should be able to reinstall the x86_64 ones without YaST.

  9. #9
    Join Date
    Sep 2008
    Location
    Porto Alegre, RS, Brazil
    Posts
    124

    Default Re: x86_64 + i586 Mess!

    Tried all flags up to "rpm -i -vv --replacepkgs --replacefiles --force *.rpm". Still not working.

    Will remove the whole yast now. Let's see.

    Let's also hope it doesn't increase the whole "dependence hell" again.

  10. #10
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: x86_64 + i586 Mess!

    rpm allows you to selectively remove RPMs. You specify the whole package name, including the version and the arch, in your case, i586. That allows you to delete only the i586 package and not the x86_64 one.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •