Bug in documentation page on wiki.debian.org

December 27th, 2011 - 08:40 am ET by Anton Koldaev | Report spam

Hi,
http://wiki.debian.org/DpkgConffileHandling:
- if dpkg --compare-versions "$2" le "$LASTVERSION"; then
+ if [ -n "$2" ] && dpkg --compare-versions "$2" le "$LASTVERSION"; then

It is related to
https://launchpadlibrarian.net/7322....1.diff.gz
https://bugs.launchpad.net/ubuntu/+...bug/482419

Best regards,
Koldaev Anton


<div>Hi,</div><div><a href="http://wiki.debian.org/DpkgConffile...t;>http://wiki.debian.org/DpkgConffileHandling</a>:</div><div>- <span style="background-color:rgb(255,255,255);font-size:13px;line-height:2em">if dpkg --compare-versions &quot;$2&quot; le &quot;$LASTVERSION&quot;; then</span></div>

<div><span style="line-height:26px">+ </span><span style="white-space:pre-wrap">if [ -n &quot;$2&quot; ] &amp;&amp; </span><span style="font-size:13px;line-height:26px;background-color:rgb(255,255,255)">dpkg --compare-versions &quot;$2&quot; le &quot;$LASTVERSION&quot;; then</span></div>

<div><span style="line-height:26px"><br></span></div><div><span style="line-height:26px">It is related to </span></div><div><span style="line-height:26px"><a href="https://launchpadlibrarian.net/7322...;>https://launchpadlibrarian.net/73227673/ifenslave-2.6_1.1.0-15ubuntu2_1.1.0-15ubuntu2.10.10.1.diff.gz</a></span></div>

<div><span style="line-height:26px"><a href="https://bugs.launchpad.net/ubuntu/+...;>https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/482419</a></span><br><div><br></div>-- <br>Best regards,<br>

Koldaev Anton<br>
</div>



To UNSUBSCRIBE, email to debian-doc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CAJXnuBA4wq...bmsHrH=Tew@mail.gmail.com
email Follow the discussionReplies 2 repliesReplies Make a reply

Replies

#1 Anton Koldaev
December 27th, 2011 - 12:10 pm ET | Report spam

Ahh I see, thanks. Will do edit soon.

On Tue, Dec 27, 2011 at 8:49 PM, Osamu Aoki wrote:

Hi,
On Tue, Dec 27, 2011 at 05:31:48PM +0400, Anton Koldaev wrote:
> Hi,
> http://wiki.debian.org/DpkgConffileHandling:
> - if dpkg --compare-versions "$2" le "$LASTVERSION"; then
> + if [ -n "$2" ] && dpkg --compare-versions "$2" le "$LASTVERSION"; then
>
> It is related to
>
https://launchpadlibrarian.net/7322....1.diff.gz
> https://bugs.launchpad.net/ubuntu/+...bug/482419

Why did not you login to update this page... Anyone can get login right.

Osamu






Best regards,
Koldaev Anton


Ahh I see, thanks. Will do edit soon.<br><br><div class="gmail_quote">On Tue, Dec 27, 2011 at 8:49 PM, Osamu Aoki <span dir="ltr">&lt;<a href="mailto:"></a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
<div><div class="h5">On Tue, Dec 27, 2011 at 05:31:48PM +0400, Anton Koldaev wrote:<br>
&gt; Hi,<br>
&gt; <a href="http://wiki.debian.org/DpkgConffileHandling" target="_blank">http://wiki.debian.org/DpkgConffile...</a>:<br>
&gt; - if dpkg --compare-versions &quot;$2&quot; le &quot;$LASTVERSION&quot;; then<br>
&gt; + if [ -n &quot;$2&quot; ] &amp;&amp; dpkg --compare-versions &quot;$2&quot; le &quot;$LASTVERSION&quot;; then<br>
&gt;<br>
&gt; It is related to<br>
&gt; <a href="https://launchpadlibrarian.net/7322...f.gz" target="_blank">https://launchpadlibrarian.net/7322...<br>


&gt; <a href="https://bugs.launchpad.net/ubuntu/+...2419" target="_blank">https://bugs.launchpad.net/ubuntu/+...<br>
<br>
</div></div>Why did not you login to update this page... Anyone can get login right.<br>
<span class="HOEnZb"><font color="#888888"><br>
Osamu<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards,<br>Koldaev Anton<br>



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/CAJXnuBDtWN...zzReK=R+n+

Similar topics