LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 12-29-2010, 04:37 AM   #1
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
zypper install gdb, does not install the latest version of GDB


OpenSuse 11.2

This link shows that gdb-7.2-61.1.x86_64.rpm is the latest version of GDB, but when I do: zypper install gdb, the version 6.8.x gets installed!

The following result is after forceful refreshment:
Code:
linux-uitj:/home/anisha # zypper repos
# | Alias           | Name                  | Enabled | Refresh
--+-----------------+-----------------------+---------+--------
1 | KDE:KDE3        | KDE:KDE3              | Yes     | Yes
2 | X11:lxde        | X11:lxde              | Yes     | Yes
3 | openSUSE 11.2-0 | openSUSE 11.2-0       | Yes     | No
4 | repo-debug      | openSUSE-11.2-Debug   | No      | Yes
5 | repo-non-oss    | openSUSE-11.2-Non-Oss | Yes     | Yes
6 | repo-oss        | openSUSE-11.2-Oss     | Yes     | Yes
7 | repo-source     | openSUSE-11.2-Source  | No      | Yes
8 | repo-update     | openSUSE-11.2-Update  | Yes     | Yes
What am I supposed to do so that the latest version of GDB gets installed automatically?

Do I have to add another repository here?
 
Old 12-29-2010, 05:34 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
What am I supposed to do so that the latest version of GDB gets installed automatically ?
The package gdb-7.2-61.1.x86_64.rpm is not for Suse 11.2, a later glibc is required.
EDIT : It was gdb-7.2-61.8 , that failed.
http://software.opensuse.org/search?...ude_debug=true

Is marked "openSUSE Factory', and may work in Suse 11.3 ?
11.4 / Factory :
Index of /factory-snapshot/repo/oss/suse/i586 →
http://download.opensuse.org/factory...oss/suse/i586/
> gdb-7.2-2.6.i586.rpm

If you really think a later version is different or better :
Most often the SRC.RPM source packages are easy to rebuild with rpmbuild.
EDIT : See post # 5.
..

Last edited by knudfl; 12-30-2010 at 03:09 AM.
 
1 members found this post helpful.
Old 12-29-2010, 05:40 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The x86_64 "11.4 / Factory" link is

http://download.opensuse.org/factory...s/suse/x86_64/

..
 
1 members found this post helpful.
Old 12-29-2010, 10:47 PM   #4
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731

Original Poster
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
I was sure you would take on this one, and I am glad you did and thanks for pointing out the factory thing.

This heading: devel:gcc/openSUSE_11.2 was mentioned on the right side w.r.t gdb version 7.2.x in the link shown in my first post, I want to understand what made you think on reading that heading, that it was for the factory?
 
1 members found this post helpful.
Old 12-30-2010, 03:00 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Sorry, I didn't read the whole page, ref. your link,
and missed the "devel:gcc/openSUSE_11.2"

You can add that repo, by clicking "1-Click install" :
A file gdb.ymp will be downloaded.
Yast will open, when you click the gdb.ymp .
And you will get a warning about the unstable packages you will get
when this repo is enabled.

I would prefer to do : # zypper in <path-to>/gdb-7.2-61.1.<arch>.rpm
( The package from 'Manual Package Download'.)

And I did install the gdb-7.2-61.1.i586 with zypper : No problems with this version.
...

Good luck !
...

Last edited by knudfl; 12-30-2010 at 03:10 AM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fully uninstalling old gdb version glok_twen Linux - Software 1 07-02-2008 04:51 AM
How to install latest version of Firefox on CentOS Dmjmusser Linux - Software 3 02-20-2007 12:02 PM
normal gdb and spec gdb for kgdb Igor007 Programming 1 09-23-2005 04:15 PM
normal gdb and spec gdb for kgdb Igor007 Linux - Newbie 1 09-23-2005 01:41 PM
gdb .. looking for 32 bit gdb.. for ia64 suse.. nkshirsagar SUSE / openSUSE 0 12-09-2004 03:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 07:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration