Announcement

Collapse
No announcement yet.

[Solved] apt-get and local install

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Solved] apt-get and local install

    Hi All,

    I am trying to test installing a local package with "apt-get" on my virtual machine. I get the following:

    # apt-get install ./firefox-3.5-branding_3.5.2+nobinonly-0ubuntu0.9.04.1_i386.deb
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package .

    What am I doing wrong?

    #2
    Re: apt-get and local install

    does it install using gdebi

    Comment


      #3
      Re: apt-get and local install

      apt-get is a tool to download and install packages.

      dpkg is :
      dpkg is a tool to install, build, remove and manage Debian packages.
      From the commandline:
      Code:
      dpkg -i package.deb

      man dpkg:
      NAME
      dpkg - package manager for Debian

      SYNOPSIS
      dpkg [options] action
      ...
      ACTIONS
      -i, --install package_file...
      Install the package.

      More > FAQ: Package Managers
      Before you edit, BACKUP !

      Why there are dead links ?
      1. Thread: Please explain how to access old kubuntu forum posts
      2. Thread: Lost Information

      Comment


        #4
        Re: apt-get and local install

        Originally posted by Rog131
        apt-get is a tool to download and install packages.

        dpkg is :
        dpkg is a tool to install, build, remove and manage Debian packages.
        From the commandline:
        Code:
        dpkg -i package.deb

        man dpkg:
        NAME
        dpkg - package manager for Debian

        SYNOPSIS
        dpkg [options] action
        ...
        ACTIONS
        -i, --install package_file...
        Install the package.

        More > FAQ: Package Managers
        I was trying to use apt-get so that it would go out on the web and resolve dependancies. Will dpkg do this?

        Comment


          #5
          Re: apt-get and local install

          Code:
          # dpkg --install ./firefox-3.5-branding_3.5.2+nobinonly-0ubuntu0.9.04.1_i386.deb
          Selecting previously deselected package firefox-3.5-branding.
          (Reading database ... 125737 files and directories currently installed.)
          Unpacking firefox-3.5-branding (from .../firefox-3.5-branding_3.5.2+nobinonly-0ubuntu0.9.04.1_i386.deb) ...
          dpkg: dependency problems prevent configuration of firefox-3.5-branding:
          firefox-3.5-branding depends on firefox-3.5 (= 3.5.2+nobinonly-0ubuntu0.9.04.1); however:
           Package firefox-3.5 is not installed.
          dpkg: error processing firefox-3.5-branding (--install):
           dependency problems - leaving unconfigured
          Errors were encountered while processing:
           firefox-3.5-branding
          dpkg in not resolving dependencies. Is there a command tools that will?

          Comment


            #6
            Re: apt-get and local install

            Code:
            sudo apt-get install mypackage
            will look in your listed repositories, find the named package, and install it correctly, resolving dependencies (assuming the packages that are depended on are available in the repos).

            Your repositories are listed in the file /etc/apt/sources.list

            aptitude has these capabilities as well.

            dpkg is not a repo searcher. It will install a .deb file if your system has the "depended upon" packages already on it.

            It appears the firefox-branding package requires the FF 3.5 package to be available as well. You might want to try putting both .debs in your directory where you are running the installation from, and then use
            Code:
            sudo dpkg -i *.deb
            maybe ....

            Comment


              #7
              Re: apt-get and local install

              Did you try gdebi yet?

              Comment


                #8
                Re: apt-get and local install

                Originally posted by skunk
                Did you try gdebi yet?
                Code:
                # gdebi ./firefox-3.5-branding_3.5.2+nobinonly-0ubuntu0.9.04.1_i386.deb
                Reading package lists: Done
                Reading state information: Done
                Reading state information: Done
                Reading state information: Done
                Reading state information: Done
                
                Requires the installation of the following packages:
                python-vte python-sexy python-gtkhtml2 python-glade2 ubufox xulrunner-1.9.1 software-properties-gtk libgtkhtml2-0 python-launchpad-integration apturllibgnome2-vfs-perl libgnome2-perl gnome-icon-theme libcanberra0 python-gst0.10 libtdb1 python-pyorbit python-gconf libgnome2-canvas-perl gnome-app-install synaptic firefox-3.5
                Package that ships the firefox branding
                 This package ships the Firefox branding bits. If you remove this package your
                 user experience will become that of the abrowser.
                Do you want to install the software package? [y/N]:
                Now gdebi seems like it will do the trick nicely. Thank you!

                -T

                Comment

                Working...
                X