Upgrade 13.1 --> 13.2 questions

I am following (or trying to) the SDB: System upgrade directions. Currently, my 13.1 system is up to date.
So, I ran:
#zypper repos --uri
and I get the following output:

#  | Alias                              | Name                                    | Enabled | Refresh | URI                                                                             
---+------------------------------------+-----------------------------------------+---------+---------+---------------------------------------------------------------------------------
 1 | PTA                                | PTA                                     | Yes     | No      | http://download.opensuse.org/repositories/home:/please_try_again/openSUSE_12.2/ 
 2 | download.opensuse.org-13.1-non-oss | Update Repository (Non-Oss)             | Yes     | Yes     | http://download.opensuse.org/update/13.1-non-oss/                               
 3 | download.opensuse.org-Extra        | openSUSE BuildService - KDE:Extra       | No      | No      | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_12.3/             
 4 | download.opensuse.org-UpdatedApps  | openSUSE BuildService - KDE:UpdatedApps | No      | No      | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_12.3/             
 5 | download.opensuse.org-games        | openSUSE BuildService - Games           | Yes     | Yes     | http://download.opensuse.org/repositories/games/openSUSE_13.1/                  
 6 | download.opensuse.org-non-oss      | Main Repository (NON-OSS)               | Yes     | Yes     | http://download.opensuse.org/distribution/13.1/repo/non-oss/                    
 7 | download.opensuse.org-oss          | Main Repository (DEBUG)                 | Yes     | Yes     | http://download.opensuse.org/debug/distribution/13.1/repo/oss/                  
 8 | download.opensuse.org-oss_1        | Main Repository (OSS)                   | Yes     | Yes     | http://download.opensuse.org/distribution/13.1/repo/oss/                        
 9 | download.opensuse.org-oss_2        | Main Repository (Sources)               | Yes     | Yes     | http://download.opensuse.org/source/distribution/13.1/repo/oss/                 
10 | download.opensuse.org-update       | Update Repository (DEBUG)               | Yes     | Yes     | http://download.opensuse.org/debug/update/13.1/                                 
11 | download.opensuse.org-update_1     | Main Update Repository                  | Yes     | Yes     | http://download.opensuse.org/update/13.1/                                       
12 | ftp.gwdg.de-suse                   | Packman Repository                      | Yes     | Yes     | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_12.3/                        
13 | google-chrome                      | google-chrome                           | Yes     | Yes     | http://dl.google.com/linux/chrome/rpm/stable/x86_64                             
14 | libdvdcss                          | libdvdcss                               | Yes     | Yes     | http://opensuse-guide.org/repo/12.3/                                            
15 | libdvdcss repository               | libdvdcss repository                    | Yes     | Yes     | http://opensuse-guide.org/repo/12.3/                                            
16 | muzlocker                          | muzlocker                               | No      | No      | http://download.opensuse.org/repositories/home:/muzlocker/openSUSE_12.3         
17 | openSUSE-12.3-1.7                  | openSUSE-12.3-1.7                       | No      | No      | cd:///?devices=/dev/disk/by-id/ata-ATAPI_iHAS124_B_3524215_3E8112503929,/dev/sr0
18 | openSUSE-13.1-1.10                 | openSUSE-13.1-1.10                      | No      | No      | cd:///?devices=/dev/disk/by-id/ata-ATAPI_iHAS124_B_3524215_3E8112503929         
19 | opensuse-guide.org-repo            | libdvdcss repository                    | Yes     | Yes     | http://opensuse-guide.org/repo/12.3/                                            
20 | repo-debug                         | openSUSE-12.3-Debug                     | Yes     | Yes     | http://download.opensuse.org/debug/distribution/12.3/repo/oss/                  
21 | repo-debug-update-non-oss          | openSUSE-13.1-Update-Debug-Non-Oss      | No      | Yes     | http://download.opensuse.org/debug/update/13.1-non-oss/                         
22 | repo-non-oss                       | openSUSE-12.3-Non-Oss                   | Yes     | Yes     | http://download.opensuse.org/distribution/12.3/repo/non-oss/                    
23 | virtualbox                         | virtualbox                              | Yes     | Yes     | http://download.virtualbox.org/virtualbox/rpm/opensuse/11.4/                    
24 | wine                               | wine                                    | Yes     | Yes     | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_12.3 

I don’t see repo-update in there the way the document says it should be, so I ran the following command (again from the document) and got the included error:

#zypper addrepo --check --refresh --name 'openSUSE-13.1-Update' http://download.opensuse.org/update/13.1/ <http://download.opensuse.org/update/13.1/> repu-update
-bash: http://download.opensuse.org/update/13.1/: No such file or directory

Since, I think I have keyed in the command directly from the document, I’m not quite sure what I have to do to get the command to work properly. Would someone please explain to me exactly what to change to get this command to work, so that I can get this upgrade going?

Thanks,
Mark

Before doing anything else clean up your repos

#1 and 12 are wrong versions
#14 and 15 are both wrong versions and duplicates

#20 #23 #22 and #24 are wrong versions

#17 and 18 are both pointing to different install repos. remove no longer needed

I’m amazed that the system runs with so many wrong repos :open_mouth:

Tell us were you got that instruction it simply does not look right and the versions are all wrong

The normal procedure is to disable all but the base repos change all the repos to point to the new version ie change 13.1 to 13.2 in the URLS
then do a zypper dup to move to the new version.

But first straighten out the mess

This is interpreted as input redirection from file http-bla-bla and output redirection to file repu-update (which got created). As file http-bla-bla obviously does not exist, you get an error. Please read about shell grammar and input/output redirections. Just omit this completely. As you did not provide URL to a page which you used I do not know if it is error on the page or you probably misunderstood it.

you have 13.1 right how did you install that, did you upgrade to it as I see a ton of 12.x repo’s and they can cause a lot of problems remove them, you want to go to 13.2 it’s rather simple follow the instructions from
https://en.opensuse.org/SDB:System_upgrade#Command_line

you do have the 13.1 update repo it’s #11.
but I wouldn’t do any updating with those 12.2 and 12.3 repo’s I’m amazed your system is working, remove them first then do another update before doing anything else, maybe even do a zypper dup to clean out any 12.2(3) packages (why have the wine 12.3 repo wine comes in the main oss repo?)

maybe you are upgrading from 12.3 to 13.1 cos that’s the only thing that makes sense?

On 2015-08-03 22:36, arvidjaar wrote:
> s you did not provide URL to a page which you used I do not
> know if it is error on the page or you probably misunderstood it.

He did, kind of. He said:

> I am following (or trying to) the SDB: System upgrade directions.

which refers to

https://en.opensuse.org/SDB:System_upgrade

And the instructions are:


2. Add update-repository
zypper addrepo --check --refresh --name 'openSUSE-13.1-Update' http://download.opensuse.org/update/13.1/ repo-update

Replace 13.1 above with your current openSUSE version.

So he obviously added the redirection, but probably because in the wiki that URL has been identified by the wiki software as an URL and not part of a command line, highlighting it in blue. That is either a bug in the wiki, or the writer used the wrong format, or there was an update.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

It is easier to not assume everyone knows what it refers to and just add URL. There is even button on this forum to do it.

That is either a bug in the wiki, or the writer used the wrong format, or there was an update.

I just tried selecting line on Wiki (using openSUSE 13.2 Firefox), Copy and then Paste in terminal and I got normal command without extra <…>. Strange.

On 2015-08-04 06:16, arvidjaar wrote:
>
> robin_listas;2722377 Wrote:
>>
>> which refers to
> It is easier to not assume everyone knows what it refers to and just add
> URL. There is even button on this forum to do it.

I’m at some advantage, because I happen to track those pages. I wrote
the offline upgrade one :wink:

>> That is either a bug in the wiki, or the writer used the wrong format,
>> or there was an update.
>
> I just tried selecting line on Wiki (using openSUSE 13.2 Firefox), Copy
> and then Paste in terminal and I got normal command without extra <…>.
> Strange.

Yes, same here.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

Sorry this has taken me a couple of days to get back to. I want to clean up the repo mess. I’m wondering if just going into /etc/zypp/repos.d and deleting the “.repo” files for the repos that are no longer needed, and changing the versions inside the ones that are needed will fix the problem. Or is there something else that I should do? While I have been using linux since 2003, I am new to zypp and the way that OpenSuse and its tools deal with the repos.

Thanks,

Mark

Got no idea not sure why you did that you can go into yast and remove reppos or zypper rr then number of repo to remove (note that does change the count so take care)

Is very possible you damaged things since those files may not be the only reference. It certainly is not a recommended way to remove them. If you did not know you should ask

On 2015-08-11 21:26, MarkNei wrote:

> Sorry this has taken me a couple of days to get back to. I want to
> clean up the repo mess. I’m wondering if just going into
> /etc/zypp/repos.d and deleting the “.repo” files for the repos that are
> no longer needed, and changing the versions inside the ones that are
> needed will fix the problem. Or is there something else that I should
> do? While I have been using linux since 2003, I am new to zypp and the
> way that OpenSuse and its tools deal with the repos.

Well, yes, you can edit the files, if you are careful. I would not
remove them that way, as there are other references in the system.

It is safer if you simply use yast, using the “software repositories”
module.

Or if you prefer the command line, “zypper” does it all.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Well, I have cleaned up the repos…but I have one problem. I have the reference to a 12.2 PTA (that is “Please Try Again” even though this repo is showing the other meaning of PTA) repo. (You can see it in the first post in this thread) Should I delete that repo? There doesn’t seem to be anything to take its place in 13.1 (which I am using now)?

Thank you,

Mark

On 2015-08-16 19:46, MarkNei wrote:
>
> Well, I have cleaned up the repos…but I have one problem. I have the
> reference to a 12.2 PTA (that is “Please Try Again” even though this
> repo is showing the other meaning of PTA) repo. (You can see it in the
> first post in this thread) Should I delete that repo? There doesn’t
> seem to be anything to take its place in 13.1 (which I am using now)?

Yes, delete it.

He has no activity since Apr 2013. I have a suspicion, but my memory is
not as good as it was, so I won’t say it.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Thank you for the detailed help. Yesterday, I did the upgrade, it took longer than I thought it should, but it worked. The thought, detail and instructions in the SDB:System upgrade document really made the upgrade (once I understood what was going on) easy.