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

Bug#904678: dpkg-reconfigure apt-file ought to give me sources contents



Niels Thykier writes ("Re: Bug#904678: dpkg-reconfigure apt-file ought to give me sources contents"):
> I can appreciate those suggestions from a user perspective.  However,
> from a maintainer perspective, I do not want all the trouble and issues
> of having to maintain maintscripts, debconf prompts, etc.

Mmm.

> But we can certainly improve the situation despite of that.  As I
> understand you, the primary key issue is finding the index names.  What
> do you think of a "list-indices" command a la:

That helps, but I think documentation improvements are also needed.

> """
> $ apt-file list-indices
> +-----------------+-----------------------------+
> | Index Name (-I) | DefaultEnabled (Apt config) |
> +-----------------+-----------------------------+
> | deb             | <unset>                     |
> | udeb            | false                       |
> | deb-legacy      | <unset>                     |
> | dsc             | false                       |
> +-----------------+-----------------------------+
> """

This is a good idea.

I still want enabling this feature to be easier.  How about a
providing a command which edits /etc/apt/apt.conf.d/50apt-file.conf to
enable the sources contents ?  And, presumably, also runs apt update.

Thanks,
Ian.

-- 
Ian Jackson <ijackson@chiark.greenend.org.uk>   These opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.


Reply to: