[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2 apt-get questions



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

torsdag 6. februar 2003, 07:08, skrev Hal Vaughan:
> I know this should be very simple and easy to find, but I'm having trouble
> answering these two questions.  I've been through the apt-get man page a
> few times.  Since I'm trying to do something on a "one-time-only" basis,
> this shouldn't be a config problem -- I'd expect it to be available as a
> command line switch.
>
> 1) How can I specify the source site to use to retreive a specific package?
> (In this case, I added download.kde.org with all the info to point to the
> KDE 3.1 packages, but apt doesn't seem to see anything above KDE 2.2, even
> after apt-get update).

That won't be neccessary; KDE 3.1 will be in Sid Any Time Now.
Anyway, the correct line for installing under woody is deb 
http://ktown.kde.org/~nolden/kde/ woody main

Other than that, I can't help you.

> 2) How can I install a .deb file that I've downloaded with my browser?  (I
> downloaded a game that was a .deb file into my home directory.  I searched
> the /var dir tree and found .deb files in /var/cache/apt/archives, so I
> copied the file in there, but "apt-cache search" doesn't show any awareness
> of the downloaded package.)

Apt-get acts as a frontend to dpkg, downloading and installing packages in the 
right order. You can call dpkg directly (dpkg -i) to instll your own 
packages; apt-get will still be aware of it and assume proper dependencies, 
as it shares dpkg's database for that.

> And, if the answer or info I'm looking for isn't in the apt-get man page,
> where would it be?

The APT HowTo and the dpkg man page.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+QgmO9OlFkai3rMARApp/AJ9TRue22tjCvlsfn+XJIIxpKtKZOwCfRZ06
imaCfs//xuHG/41PP4bjjmc=
=BHS+
-----END PGP SIGNATURE-----



Reply to: