Re: What's Debian's /usr/src policy
Dale Scheetz <dwarf@polaris.net> writes:
> Why should timezones need --force-anything to install?
Because timezone is essential, and timezones is not.
Conflicts/replaces doesn't work for this case (rightly so).
I just tried it to be sure:
femto[~/test]$ dpkg-deb -f foo.deb
Package: foo
Version: 1
Essential: yes
femto[~/test]$ dpkg-deb -f foo2.deb
Package: foo2
Version: 1
Conflicts: foo
Replaces: foo
femto[~/test]$ dpkg-deb -f foo2essential.deb
Package: foo2
Version: 1
Conflicts: foo
Replaces: foo
Essential: yes
femto[~/test]$ sudo dpkg -i foo.deb
Selecting previously deselected package foo.
(Reading database ... 33634 files and directories currently installed.)
Unpacking foo (from foo.deb) ...
Setting up foo (1) ...
femto[~/test]$ sudo dpkg -i foo2.deb
Selecting previously deselected package foo2.
dpkg: regarding foo2.deb containing foo2:
foo2 conflicts with foo
foo (version 1) is installed.
dpkg: error processing foo2.deb (--install):
conflicting packages - not installing foo2
Errors were encountered while processing:
foo2.deb
[status 1]
femto[~/test]$ sudo dpkg -i foo2essential.deb
dpkg: considering removing foo in favour of foo2 ...
dpkg: yes, will remove foo in favour of foo2.
(Reading database ... 33634 files and directories currently installed.)
Unpacking foo2 (from foo2essential.deb) ...
Setting up foo2 (1) ...
femto[~/test]$
Guy
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: