How to install packages

Hi
I’m new to opensuse. I have it running on my system (version 11.1.1) and i have installed only the kernel.

i want to install several packages but i can’t.

yast2 -i bison-devel

but i get this error:
│ Error │
│ Download failed: │
│ File ‘/content’ not found on medium ‘http://download.opensuse.org/distribution/11.1/repo/oss/

Mehrdust wrote:
> Hi
> I’m new to opensuse. I have it running on my system (version 11.1.1)
> and i have installed only the kernel.
>
> i want to install several packages but i can’t.
>
> yast2 -i bison-devel
>
> but i get this error:
> │ Error
> │
> │ Download failed:
> │
> │ File ‘/content’ not found
> on medium ‘http://download.opensuse.org/distribution/11.1/repo/oss/
>
>
=-.welcome.-= first time poster Mehrdust…

i suspect you are a code developer and may find more suitable help in
our Development fora: http://forums.opensuse.org/english/development/

that said, sorry but your posting it is confusing to me and i can’t
help until i get unconfused (and i suspect some others also are hoping
for more info)…

first, there is no openSUSE version 11.1.1

and, if you only installed the kernel there is no yast2
installed…so, what do you mean by ‘kernel’? do you mean you have
default installed? from what: a KDE Live CD, a Gnome Live CD, a DVD
(if DVD, which desktop environment did you select?)

or, do you mean you didn’t install an X-system (elected to install the
text mode only)…

or, did you install SUSE Linux Enterprise Server (SLES) version 11 ??
without a windowing system and it is therefore you try to install from
the command line using


yast2 -i bison-devel

anyway first: there is no package named bison-devel in any of the
openSUSE repos, which you can see by searching at
http://software.opensuse.org/search

second: most folks here would have used


zypper in bison-devel

and i think you might get what you are looking for with

second: most folks here would have used


zypper in bison

notes for that bison “The GNU Parser Generator, is a parser generator
similar to yacc(1).”

looking deeper i see now a bison-devel package (“The bison-devel
package contains the -ly library sometimes used by
programs using Bison-generated parsers. If you are developing
programs”) in the Intel:Moblin2/TEST_REBUILD repo, and a
bison-devel-2.4.1-4.20.moblin2.i386.rpm is downloadable from:
http://software.opensuse.org/search/download?base=ALL&file=Intel%3A%2FMoblin2%2FTEST_REBUILD%2Fi386%2Fbison-devel-2.4.1-4.20.moblin2.i386.rpm&query=bison-devel

hope some of that is helpful, if not too confused…


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

Hi denverd,

Thank you so much for your help.
Actually i’m using a special version of opensuse customized to work with VICIdial call center solution. It’s a text only environment and as for the version it is said to be 11.1.1.

as for the packages, I need to install a voice card on my machine and to compile it in asterisk. before doing anything i need to install the following packages: (i checked them with rpm -q to see if they exist)

rpm -q bison
rpm -q bison-devel
rpm -q ncurses

rpm -q ncurses-devel
rpm -q zlib
rpm -q zlib-devel
rpm -q openssl
rpm -q openssl-devel
rpm -q gnutls-devel
rpm -q gcc
rpm -q gcc-c++

some of them (eg. bison-devel and ncurses) are not installed.

i just used the zypper in bison-devel command. here is the output:

smaRtCALL:/usr/src # zypper in bison-devel
Loading repository data…
Reading installed packages…
‘bison-devel’ not found.
Resolving package dependencies…
Nothing to do.

I don’t know what to do!!!

What is result of

zypper lr -d

On Thu, 01 Jul 2010 11:06:02 GMT Mehrdust <> wrote:

>
> Hi
> I’m new to opensuse. I have it running on my system (version 11.1.1)

There is no such version. I assume you have openSUSE 11.1

> and i have installed only the kernel.

That’s impossible. And not true, as you are running “yast” per your
next paragraphs.

> i want to install several packages but i can’t.
>
> yast2 -i bison-devel

For command line download and install, use zypper instead.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Minas Tirith))

Here is a guide with some software installation hints, in case it might be of help: openSUSE software installation hints

On Fri, 02 Jul 2010 13:41:44 GMT Mehrdust <> wrote:

>
> Hi denverd,
>
> Thank you so much for your help.
> Actually i’m using a special version of opensuse customized to work
> with VICIdial call center solution. It’s a text only environment and
> as for the version it is said to be 11.1.1.

Then you have a very special setup and you should be asking them, not
us >:-)

You probably have to use special repositories defined by them.

> as for the packages, I need to install a voice card on my machine and
> to compile it in asterisk. before doing anything i need to install the
> following packages: (i checked them with rpm -q to see if they exist)
>
> rpm -q bison
> rpm -q bison-devel
> rpm -q ncurses

> rpm -q ncurses-devel
> rpm -q zlib
> rpm -q zlib-devel
> rpm -q openssl
> rpm -q openssl-devel
> rpm -q gnutls-devel
> rpm -q gcc
> rpm -q gcc-c++
>
> some of them (eg. bison-devel and ncurses) are not installed.

If you type “rpm -qa | grep -i ncurses” you will probably find that you
do have ncurses. In my 11.2 I get:

Elessar:~ # rpm -qa | grep -i ncurses
yast2-ncurses-pkg-2.18.4-2.10.2.x86_64
ncurses-utils-5.6-91.2.x86_64
libncurses5-5.6-91.2.x86_64
yast2-ncurses-2.18.11-0.1.1.x86_64
ncurses-devel-5.6-91.2.x86_64
libncurses6-5.6-91.2.x86_64
libncurses5-32bit-5.6-91.2.x86_64

As for bison-devel, it does not exist.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))