Re: Features Missing in Debian's Package Management System

2011-06-15 Thread Osamu Aoki
Hi,

On Tue, Jun 14, 2011 at 01:26:02AM +0430, Eliad Bagherzadegan wrote:
 Hi,
 
 I'm not sure whether this is the appropriate mailing list for the subject or
 not. If not, please let me know the right place for this discussion.

debian-u...@lists.debian.org
 
 There are a few features that would probably improve Debian's package 
 Management
 system (at least based on my needs). And maybe they exist somewhere I don't 
 know
 about.
 
 1. system-bug-status: This is actually pretty easy to implement. This program
 should periodically check the bug tracking system for bugs in installed 
 packages
 and report to the system administrator.
 * It can prioritize the packages based on there importance, how frequently 
 they
 are used, possible security risks and manual configurations.
 * It can be configured to check only for the bugs based on their 
 classifications
 (serious, important, normal, verified or not, etc.)
 * For different combinations of these two it can determine the appropriate
 period to check.
 
 2. The ability to ban certain packages and (possibly) there dependent 
 packages.
 So that they wouldn't show up in the package manager at all.
 
 I would really appreciate any ideas and suggestions.

As others poited out with short messages, there are ways already in
Debian and you just did not notice them since you are new to Debian.  
I know it is a bit obscure.  It may help you to read basic documentation
linked from:
  http://www.debian.org/doc/

There you find my Debian Reference:
  http://www.debian.org/doc/manuals/debian-reference/

Especially Chapter 2. Debian package management:

  http://www.debian.org/doc/manuals/debian-reference/ch02.en.html
  
Good luck.

Osamu


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110615164753.ga25...@debian.org



Re: Features Missing in Debian's Package Management System

2011-06-14 Thread Andrew O. Shadoura
Hello,

On Tue, 14 Jun 2011 07:44:43 +0200
Gergely Nagy alger...@madhouse-project.org wrote:

  You can do something like this using apt pinning. If you assign a
  negative priority to a package, it will still be listed but apt
  will refuse to install it.
 
  For example, with the following stanza apt will refuse to install
  libfoo:
Package: libfoo
Pin: version *
Pin-Priority: -1
 
  Possibly, there should be some kind of automagical interface for
  this, so one can type apt-... ... libfoo and get that stanza
  generated?
 
 It's actually very easy to write such a tool:

Yes, but when you already know how to do that :) Before that, you need
to R the M anyway.

-- 
WBR, Andrew


signature.asc
Description: PGP signature


Re: Features Missing in Debian's Package Management System

2011-06-14 Thread Kevin Mark
On Tue, Jun 14, 2011 at 01:26:02AM +0430, Eliad Bagherzadegan wrote:
 * It can prioritize the packages based on there importance, how frequently 
 they
 are used, possible security risks and manual configurations.

http://packages.debian.org/lenny/debsecan

 I would really appreciate any ideas and suggestions.

 



-- 
|  .''`.  == Debian GNU/Linux ==.| http://kevix.myopenid.com..|
| : :' : The Universal OS| mysite.verizon.net/kevin.mark/.|
| `. `'   http://www.debian.org/.| http://counter.li.org [#238656]|
|___`-Unless I ask to be CCd,.assume I am subscribed._|

If you don't like the way I drive, stay off the sidewalk!


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110614224631.GA25518@horacrux



Features Missing in Debian's Package Management System

2011-06-13 Thread Eliad Bagherzadegan
Hi,

I'm not sure whether this is the appropriate mailing list for the subject or
not. If not, please let me know the right place for this discussion.

There are a few features that would probably improve Debian's package Management
system (at least based on my needs). And maybe they exist somewhere I don't know
about.

1. system-bug-status: This is actually pretty easy to implement. This program
should periodically check the bug tracking system for bugs in installed packages
and report to the system administrator.
* It can prioritize the packages based on there importance, how frequently they
are used, possible security risks and manual configurations.
* It can be configured to check only for the bugs based on their classifications
(serious, important, normal, verified or not, etc.)
* For different combinations of these two it can determine the appropriate
period to check.

2. The ability to ban certain packages and (possibly) there dependent packages.
So that they wouldn't show up in the package manager at all.

I would really appreciate any ideas and suggestions.

Regards,
Eliad


-- 
Eliad Bagherzadegan



signature.asc
Description: OpenPGP digital signature


Re: Features Missing in Debian's Package Management System

2011-06-13 Thread Jonathan Wiltshire
Hi,

On Tue, Jun 14, 2011 at 01:26:02AM +0430, Eliad Bagherzadegan wrote:
 I'm not sure whether this is the appropriate mailing list for the subject or
 not. If not, please let me know the right place for this discussion.
 
 There are a few features that would probably improve Debian's package 
 Management
 system (at least based on my needs). And maybe they exist somewhere I don't 
 know
 about.

A better place to send these suggestions is the APT mailing list,
de...@lists.debian.org - or wishlist bug reports against the package
manager.



-- 
Jonathan Wiltshire  j...@debian.org
Debian Developer http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110613213636.ge28...@lupin.home.powdarrmonkey.net



Re: Features Missing in Debian's Package Management System

2011-06-13 Thread The Fungi
On Tue, Jun 14, 2011 at 01:26:02AM +0430, Eliad Bagherzadegan wrote:
[...]
 This program should periodically check the bug tracking system for
 bugs in installed packages and report to the system administrator.
[...]

While not necessarily a perfect match for the criteria you mention,
you'll probably want to take a look at these which provide similar
functionality:

http://packages.debian.org/apt-listbugs

http://packages.debian.org/devscripts (man rc-alert)

Perhaps a wishlist bug against one of the above is in order to
request the additional features you think might be useful?
-- 
{ IRL(Jeremy_Stanley); WWW(http://fungi.yuggoth.org/); PGP(43495829);
WHOIS(STANL3-ARIN); SMTP(fu...@yuggoth.org); FINGER(fu...@yuggoth.org);
MUD(kin...@katarsis.mudpy.org:6669); IRC(fu...@irc.yuggoth.org#ccl);
ICQ(114362511); YAHOO(crawlingchaoslabs); AIM(dreadazathoth); }


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110613214422.ga1...@yuggoth.org



Re: Features Missing in Debian's Package Management System

2011-06-13 Thread Peter De Wachter
Op Tue, 14 Jun 2011 01:26:02 +0430
schreef Eliad Bagherzadegan eliad.bagherzade...@gmail.com:

 2. The ability to ban certain packages and (possibly) there dependent
 packages. So that they wouldn't show up in the package manager at all.

You can do something like this using apt pinning. If you assign a
negative priority to a package, it will still be listed but apt will
refuse to install it.

For example, with the following stanza apt will refuse to install
libfoo:
  Package: libfoo
  Pin: version *
  Pin-Priority: -1



signature.asc
Description: PGP signature


Re: Features Missing in Debian's Package Management System

2011-06-13 Thread Andrew O. Shadoura
Hello,

On Tue, 14 Jun 2011 00:25:29 +0200
Peter De Wachter pdewa...@gmail.com wrote:

 You can do something like this using apt pinning. If you assign a
 negative priority to a package, it will still be listed but apt will
 refuse to install it.

 For example, with the following stanza apt will refuse to install
 libfoo:
   Package: libfoo
   Pin: version *
   Pin-Priority: -1

Possibly, there should be some kind of automagical interface for this,
so one can type apt-... ... libfoo and get that stanza generated?

-- 
WBR, Andrew


signature.asc
Description: PGP signature


Re: Features Missing in Debian's Package Management System

2011-06-13 Thread Gergely Nagy
Andrew O. Shadoura bugzi...@tut.by writes:

 On Tue, 14 Jun 2011 00:25:29 +0200
 Peter De Wachter pdewa...@gmail.com wrote:

 You can do something like this using apt pinning. If you assign a
 negative priority to a package, it will still be listed but apt will
 refuse to install it.

 For example, with the following stanza apt will refuse to install
 libfoo:
   Package: libfoo
   Pin: version *
   Pin-Priority: -1

 Possibly, there should be some kind of automagical interface for this,
 so one can type apt-... ... libfoo and get that stanza generated?

It's actually very easy to write such a tool:

~# cat /usr/local/sbin/apt-ignore
#! /bin/sh
set -e

ai_usage ()
{
cat EOF
Usage: apt-ignore PACKAGES...

Creates a new file in /etc/apt/preferences.d/ to ignore all of the
packages specified on the command-line.
EOF
}

if [ $# -lt 1 ]; then
ai_usage
exit 1
fi

for pkg in $@; do
cat EOF
Package: ${pkg}
Pin: version *
Pin-Priority: -1

EOF
done $(tempfile -d /etc/apt/preferences.d/ -p ign-)
^D
~# chmod +x /usr/local/sbin/apt-ignore

There's little error handling, one could add support for --help, write a
manual page and probably a whole lot of other things (like using more
sensible filenames, and warning the user if trying to ignore a package
that does not exist (possibly only when a flag is specified - so one can
ignore packages that are not in the archive yet, but will be)), but I'll
leave that to someone who'd actually use the program.

-- 
|8]


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87oc21j7as@luthien.mhp