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

Re: Handling of removed packages



Hello,

Make sure I think dpkg is a great tool..

home:/root# echo $(grep -c "dpkg" .bash_history)/$(wc -l .bash_history)
40/502

On Fri, 2008-05-30 at 05:06 +0300, Guillem Jover wrote:
> On Thu, 2008-05-29 at 21:37:28 +0200, Franklin PIAT wrote:
> > I suggest to modify dpkg so it refuse to install package, unless the
> > option "--insecure" is specified. Such option's manpage description
> > would be :
> 
> That'd be mostly just annoying for no actual benefit. It would break
> existing software using 'dpkg -i'

Honestly, that's why I didn't file a bug to actually request it ;)

But I do think that individual .deb files shouldn't be distributed by
developers/vendors. Also, "dpkg -i" should not be over-advertised to
end-users (neither similar tools).

wiki.d.o has 72 pages with "dpkg -i".
google's `"dpkg -i" site:lists.debian.org/debian-user/` has 10900 hits
... That's bad.


Doing :

echo "deb http://foo.com/ stable main" > /etc/apt/sources.list.d/foo
aptitude update
aptitude install foo

Isn't more complex :

cd /tmp
wget http://foo.com/path/to/foo.deb
dpkg -i foo.deb

> > * This option would be an effective solution to educate new users.
> > * For the same reason, we should remove gdebi's "Install" button.
> 
> I don't think this kind of punishment would educate any users. So I
> don't see this being implemented in dpkg, sorry.

It isn't about punishing end-user. It's about doing something the right
way (i.e end-user shouldn't use "dpkg -i" at all)

Franklin


Reply to: