Re: directly installing a deb package
Alex Hunsley wrote:
>
> "Brooks R. Robinson" wrote:
> >
> > > I've downloaded a .deb package from the net and want to install
> > > it. How do I
> > > tell apt-get that I'm giving it a direct file name rather than having it
> > > looking at the places in sources.list? The package is sitting in
> > > /tmp at the
> > > moment, and I've tried adding file:/tmp to sources.list, but
> > > still no luck - I
> > > think it's adding things like stable or main to the path.
> > >
> > > thanks
> > > alex
> > Greetings,
> > You need the correct tool for the correct job. dpkg -i <package name> will
> > od the trick.
> >
> > HTH,
> >
> > Brooks
>
> Thanks Brooks and all the others who replied.
>
> I've tried using dpkg as described, but there are problems:
>
> pylori:~/debs# dpkg -i xaos_3_0-23_i386.deb
> Selecting previously deselected package xaos.
> (Reading database ... 16818 files and directories currently installed.)
> Unpacking xaos (from xaos_3_0-23_i386.deb) ...
> dpkg: dependency problems prevent configuration of xaos:
> xaos depends on aalib1 (>= 1.2); however:
> Package aalib1 is not installed.
> xaos depends on libc6 (>= 2.2.2-2); however:
> Version of libc6 on system is 2.1.3-18.
> xaos depends on libncurses5 (>= 5.2.20010310-1); however:
> Version of libncurses5 on system is 5.0-6.0potato1.
> xaos depends on svgalibg1 | svgalib-dummyg1; however:
> Package svgalibg1 is not installed.
> Package svgalib-dummyg1 is not installed.
> xaos depends on xlibs (>= 4.0.1-11); however:
> Package xlibs is not installed.
> dpkg: error processing xaos (--install):
> dependency problems - leaving unconfigured
> Errors were encountered while processing:
> xaos
> pylori:~/debs#
>
> Should I just try and install the missing things? Which one(s) first?
>
> thanks
> alex
Progress... I did apt-get install xaos from the net. It failed again, but
suggested I run "apt-get -f install", which I have done, and it seems to be
happily getting the needed dependencies. Is this the correct way to correct the
situation normally?
thanks
alex
--
Now playing: nothing at all
Reply to: