Find the answer to your Linux question:
Results 1 to 6 of 6
I'm still learning my way around Ubuntu Linux. I tried "yum" and got this: rpm: To install rpm packages on Debian systems, use alien. See README.Debian. error: cannot open Packages ...
  1. #1
    Just Joined!
    Join Date
    Mar 2011
    Posts
    3

    Need help installing an online program?

    I'm still learning my way around Ubuntu Linux. I tried "yum" and got this:

    rpm: To install rpm packages on Debian systems, use alien. See README.Debian.
    error: cannot open Packages index using db3 - No such file or directory (2)
    error: cannot open Packages database in /var/lib/rpm
    Traceback (most recent call last):
    File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
    File "/usr/share/yum-cli/yummain.py", line 229, in user_main
    errcode = main(args)
    File "/usr/share/yum-cli/yummain.py", line 84, in main
    base.getOptionsConfig(args)
    File "/usr/share/yum-cli/cli.py", line 184, in getOptionsConfig
    enabled_plugins=self.optparser._splitArg(opts.enab leplugins))
    File "/var/lib/python-support/python2.6/yum/__init__.py", line 192, in _getConfig
    self._conf = config.readMainConfig(startupconf)
    File "/var/lib/python-support/python2.6/yum/config.py", line 772, in readMainConfig
    yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
    File "/var/lib/python-support/python2.6/yum/config.py", line 842, in _getsysver
    idx = ts.dbMatch('provides', distroverpkg)
    TypeError: rpmdb open failed

    Do I have any other options besides Yum?

  2. #2
    Just Joined!
    Join Date
    Jun 2010
    Posts
    36
    Ubuntu does not use yum - it uses apt

    You can if necessary install alien to use, though it's probably better to try to find a deb package rather than a rpm one .

    Ubuntu is based on Debian and uses deb packages.

    What is it you're ttrying to install?

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,977
    There is a GUI front-end to apt on Ubuntu called Synaptic. You should find it in the System->Administration menu.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. #4
    Just Joined!
    Join Date
    Mar 2011
    Posts
    3
    Thanks. Just shows how much I know, I guess. I'm trying to install something I downloaded called the Solarwinds Subnet Calculator. And I know it's dumb that a geek like me would have such a basic question about Linux.

  5. #5
    Just Joined!
    Join Date
    Jun 2010
    Posts
    36
    Absolutely no idea at all what a subnet calculator is ... none in fact

    A quick search found some maybe that'll help

    subnet calculator deb - Google Search

    Linux Today - Advanced IP subnet calculator sipcalc

  6. #6
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,102
    I would recomment sipcalc
    It is available via
    Code:
    apt-get install sipcalc
    You must always face the curtain with a bow.

Posting Permissions

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