Factory repo OSS won't install.

Trying to add Factory repos to fresh x86_64 install of M5 [upgraded from fresh install of M4 as x86_64 M5 is uninstallable]. Doesn’t work:

defined(%hash) is deprecated at /usr/share/YaST2/modules/URLRecode.pm line 39 (#1)
    (D deprecated) defined() is not usually useful on hashes because it
    checks for an undefined scalar value.  If you want to see if the hash
    is empty, just use if (%hash) { # not empty } for example.
    
	(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/YaST2/modules/URLRecode.pm line 53 (#1)
	(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/YaST2/modules/URLRecode.pm line 67 (#1)
	(Maybe you should just omit the defined()?)
YaST got signal 11 at YCP file /usr/share/YaST2/clients/repositories.ycp:514
/sbin/yast2: line 468: 10330 Segmentation fault      $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS

NON-OSS seems to result in same error:

defined(%hash) is deprecated at /usr/share/YaST2/modules/URLRecode.pm line 39 (#1)
    (D deprecated) defined() is not usually useful on hashes because it
    checks for an undefined scalar value.  If you want to see if the hash
    is empty, just use if (%hash) { # not empty } for example.
    
	(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/YaST2/modules/URLRecode.pm line 53 (#1)
	(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /usr/share/YaST2/modules/URLRecode.pm line 67 (#1)
	(Maybe you should just omit the defined()?)
YaST got signal 11 at YCP file /usr/share/YaST2/clients/repositories.ycp:514
/sbin/yast2: line 468: 10613 Segmentation fault      $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS

Um. What am I doing wrong?

I did try this:

How to circumvent a partly broken zypper - openSUSE Forums

And I still can’t install factory repos??? Dwight needs help!

Please post result of this

zypper lr -d

and give the url of the repo you want to add

Thanks. If I understand correctly:

# zypper lr -d
# | Alias                               | Name                                | Enabled | Refresh | Priority | Type   | URI                                                             | Service
--+-------------------------------------+-------------------------------------+---------+---------+----------+--------+-----------------------------------------------------------------+--------
1 | Updates for openSUSE 11.3 11.3-1.42 | Updates for openSUSE 11.3 11.3-1.42 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.3/                       |        
2 | openSUSE-11.3 11.3-1.42             | openSUSE-11.3 11.3-1.42             | No      | No      |   99     | yast2  | cd:///?devices=/dev/sr0                                         |        
3 | repo-debug                          | openSUSE-11.3-Debug                 | No      | No      |   99     | NONE   | http://download.opensuse.org/debug/distribution/11.3/repo/oss/  |        
4 | repo-non-oss                        | openSUSE-11.3-Non-Oss               | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.3/repo/non-oss/    |        
5 | repo-oss                            | openSUSE-11.3-Oss                   | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.3/repo/oss/        |        
6 | repo-source                         | openSUSE-11.3-Source                | No      | No      |   99     | NONE   | http://download.opensuse.org/source/distribution/11.3/repo/oss/ | |

Wishing to add:

Index of /factory/repo/oss

Index of /factory/repo/non-oss

And disable for now 11.3 OSS and NON-OSS.

su -
terminal

zypper mr -d 4
zypper mr -d 5
zypper ar -f http://download.opensuse.org/factory/repo/oss/ oss
zypper ar -f http://download.opensuse.org/factory/repo/non-oss/ non-oss

That should do it

Thanks caf4926. Well it does except for:

# zypper mr -d 4
Nothing to change for repository 'repo-debug'.

# zypper mr -d 5
Nothing to change for repository 'repo-non-oss'.

# zypper ar -f http://download.opensuse.org/factory/repo/oss/ oss
Adding repository 'oss' [done]
Repository 'oss' successfully added
Enabled: Yes
Autorefresh: Yes
URI: http://download.opensuse.org/factory/repo/oss/

# zypper ar -f http://download.opensuse.org/factory/repo/non-oss/ non-oss
Adding repository 'non-oss' [done]
Repository 'non-oss' successfully added
Enabled: Yes
Autorefresh: Yes
URI: http://download.opensuse.org/factory/repo/non-oss/

# zypper -v lr
Verbosity: 1
# | Alias                               | Name                                  | Enabled | Refresh
--+-------------------------------------+---------------------------------------+---------+--------
1 | Updates for openSUSE 11.3 11.3-1.42 | Updates for openSUSE 11.3 11.3-1.42   | Yes     | Yes    
2 | mozilla                             | Mozilla based projects (SUSE_Factory) | Yes     | Yes    
3 | non-oss                             | non-oss                               | Yes     | Yes    
4 | openSUSE-11.3 11.3-1.42             | openSUSE-11.3 11.3-1.42               | No      | No     
5 | oss                                 | oss                                   | Yes     | Yes    
6 | repo-debug                          | openSUSE-11.3-Debug                   | No      | No     
7 | repo-non-oss                        | openSUSE-11.3-Non-Oss                 | No      | No     
8 | repo-oss                            | openSUSE-11.3-Oss                     | No      | No     
9 | repo-source                         | openSUSE-11.3-Source                  | No      | No
    
# zypper -v ref
Verbosity: 1
Initializing Target
Specified repositories: 
Checking whether to refresh metadata for Updates for openSUSE 11.3 11.3-1.42
Retrieving: repomd.xml [done]
Repository 'Updates for openSUSE 11.3 11.3-1.42' is up to date.
Checking whether to refresh metadata for Mozilla based projects (SUSE_Factory)
Retrieving: repomd.xml.asc [done]
Retrieving: repomd.xml.key [done]
Retrieving: repomd.xml [done]
Retrieving: primary.xml.gz [done]
Retrieving repository 'Mozilla based projects (SUSE_Factory)' metadata [done]
Building repository 'Mozilla based projects (SUSE_Factory)' cache [done]
Checking whether to refresh metadata for non-oss
Retrieving: media [done]
Retrieving: content.asc [done]
Retrieving: content.key [done]
Retrieving: content [done]
Segmentation fault

# zypper -v dup
Verbosity: 1
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Initializing Target
Checking whether to refresh metadata for Updates for openSUSE 11.3 11.3-1.42
Checking whether to refresh metadata for Mozilla based projects (SUSE_Factory)
Checking whether to refresh metadata for non-oss
Retrieving: media [done]
Retrieving: content.asc [done]
Retrieving: content.key [done]
Retrieving: content [done (0 B/s)]
Segmentation fault

So I’m still missing something?

What about if you go to Software Management
filter by repo (kde only or switch to QT UI)

On system view do update all in this list if new ver avail

Software Management won’t open with Factory repos enabled. Tried from cli but it left no data. In gui issue is still seg fault.

Oh, and I’m in KDE so isn’t that already QT ui?

su -
terminal

rpmdb --rebuilddb

try again

# rpmdb --rebuilddb

# zypper -v ref
Verbosity: 1
Initializing Target
Specified repositories: 
Skipping disabled repository 'Updates for openSUSE 11.3 11.3-1.42'
Skipping disabled repository 'Mozilla based projects (SUSE_Factory)'
Checking whether to refresh metadata for non-oss
Retrieving: media [done]
Retrieving: content.asc [done]
Retrieving: content.key [done]
Retrieving: content [done]
Segmentation fault

# zypper -v dup
Verbosity: 1
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Initializing Target
Checking whether to refresh metadata for non-oss
Retrieving: media [done]
Retrieving: content.asc [done]
Retrieving: content.key [done]
Retrieving: content [done]
Segmentation fault

If you can’t use the software manager or zypper, it’s tricky.

Try level 3
Boot to Level 3, then Yast and More… - openSUSE Forums

It will probably be the same.

Time for a re-install?
Did you use a CD or DVD. The dvd would let you repair.

DVD. The M5 DVD doesn’t work in x86_64. At least that’s last I read.

openSUSE News » openSUSE 11.3 Milestone 5: The Community Strikes Back

So I installed from M4 DVD and upgrade after 1st boot to M5. Maybe I should see if I use M4 DVD to do a hard disk install directly to M5. But I thought that if the DVD wouldn’t work then HD install would result in same.

Hmmm… Or maybe net install of latest build?

I’m struggling to get a grasp of your explanation.
Personally I wouldn’t get too fussy with it. Remember it’s development. I tend to install half a dozen times or so on each M stage.