Retrieving source package from repository without touching sources.list?
Hello,
I often find myself wanting to download a particular source package from
some apt repository that I don't have in sources.list.
For me, this procedure seems annoyingly tedious. I have to:
(a) become root, (b) edit sources.list (c) run apt-get
update (d) become regular user again and run apt-get source (e) become
root and delete the entry from sources.list again (f) run apt-get update
again.
Before I start hacking on a script, has someone else maybe already
solved the problem? I'm thinking of a dget-like tool that accepts a
source url, e.g.
# fancy-dget http://http.debian.net/debian/ experimental mypackage
would download the newest mypackage source from experimental. Bonus
points if messing with the system wide sources.list is avoided entirely
and no root privileges are required.
Best,
-Nikolaus
--
»Time flies like an arrow, fruit flies like a Banana.«
PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C
Reply to: