Re: aptitude + dpkg
- From: Daniel Burrows <dburrows@xxxxxxxxxx>
- Date: Sun, 29 Apr 2007 13:19:22 -0700
On Sun, Apr 29, 2007 at 12:26:38AM +0100, somethin2cool <somethin2cool@xxxxxxxxx> was heard to say:
Given that aptitude is awesome and that all the stuff I want is missing
from all the repositories, is there anyway for me to use .deb files and
dpkg in conjunction with aptitude. I'm sure they have the dependencies
listed inside them somewhere, and it would be brilliant. I'd settle for
apt of course.
Hi,
If you want to use .deb files with apt tools, your best bet is to
build a local repository. Stick them in a directory, chdir to that
directory, and run "apt-ftparchive packages . > Packages". Then put the line
"deb file:///path/to/debs ./" in your sources.list and run
"aptitude update".
For instance, to put them in /home/somethin2cool/packages, you'd do
$ cd /home/something2cool/packages
$ cp (...)/*.deb .
$ apt-ftparchive packages . > Packages
$ echo "deb file:///home/something2cool/packages ./" >> /etc/apt/sources.list
$ aptitude update
If you don't want to do that, your second-best option is to install a
.deb by hand, then see if apt(itude) can resolve its dependencies from
your apt sources (run, e.g., "aptitude install -f" to try and fix the
dependencies of currently installed debs). If it can't, you might need
to install some more dependencies by hand.
Daniel
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- aptitude + dpkg
- From: somethin2cool
- aptitude + dpkg
- Prev by Date: Re: Extracting WAD files from Ultimate_Doom.exe under Linux
- Next by Date: Re: RAM 95% used
- Previous by thread: Re: aptitude + dpkg
- Next by thread: GCC compiler
- Index(es):
Relevant Pages
|
|