[Bug 955138] Re: previous short description is displayed

2012-05-08 Thread Tijs Vermeulen
Hello, I am almost sure the problem happens only because of the incorrect 
description field syntax in the original deb file.
The same syntax issue in bricscadv11 and bricscadv12 deb files causes a 
distribution upgrade problem.

http://linuxaideddesign.blogspot.com/2012/03/important-notice-for-bricscad-linux.html
https://www.bricsys.com/common/support/forumthread.jsp?id=18173
https://www.bricsys.com/common/support/forumthread.jsp?id=16420

It would be great if the upgrade system could recover from the incorrect
syntax.  After all the incorrect syntax was accepted by an old version
of dpkg.  However, I would understand if such recovery is deemed too
specific.

I don't understand why I can't consistently reproduce, but not
everything is interesting to find out :)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/955138

Title:
  previous short description is displayed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/955138/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 955138] Re: previous short description is displayed

2012-04-04 Thread Tijs Vermeulen
The original .deb files showing the problem were bricscadv12, 12.0.10 en_US and 
bricscadv12, 12.1.21, it_IT.
(I am developer at Bricsys)

I've attached a python script that generates two .deb files.
As opposed to the original debs, the sample.deb files do not contain any files.
The .deb files have the same control files as the original, except for the 
package name and installed size.

I managed to run into the same issue with the sample deb files.
But it is not as simple as installing the first deb, then opening the second.
I tried a few times with install/upgrade/uninstall and suddenly the same issue 
happened.

The python script mainly consists of two long multiline strings.
Since I cannot consistently reproduce, I did not clip them.

** Attachment added: python script to generate test .deb files for short 
description bug
   
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/955138/+attachment/3001759/+files/write_control.py

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/955138

Title:
  previous short description is displayed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/955138/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 955138] Re: previous short description is displayed

2012-04-03 Thread Tijs Vermeulen
My assumption I assume the syntax of the control file of the .deb
package is correct since it is properly displayed after installation.
was not right.

The original deb files that revealed this issue have a syntax issue in the long 
description.
Empty lines consist of space, rather than space and dot.
I suspect this causes the strange behaviour.

Even so I should be able to reproduce with a sample deb file, with the same 
syntax issue, but I failed so far. Seems like reproducing is more complex than 
I thought.
I think some corruption of saved package info in /var/lib/dpkg is required in 
order for this issue to happen.

I'll search on some more to find out how to reproduce.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/955138

Title:
  previous short description is displayed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/955138/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 955138] [NEW] previous short description is displayed

2012-03-14 Thread Tijs Vermeulen
Public bug reported:

A .deb installer contains a description field.  By convention the first
line of this multiline field is a short description, the other lines are
a more lengthy description. (pasted documentation of description field
below)

When opening a .deb file with Ubuntu's software center the lengthy description 
is properly displayed.
The short description however, is taken from a previous installation of the 
same package.
Indeed
- If no previous installation exists, no short description is shown.
- After installing, the short description becomes visible.

I tested on Ubuntu 11.10 and 10.10.

I assume the syntax of the control file of the .deb package is correct
since it is properly displayed after installation.


About the description field, from the Ubuntu man pages:
http://manpages.ubuntu.com/manpages/hardy/man5/deb-control.5.html

  Description: short description
   long description
  The format for the package description is a short brief  summary
  on the first line (after the Description field). The following
  lines should be used as a  longer,  more  detailed  description.
  Each  line  of the long description must be preceded by a space,
  and blank lines in the long description must  contain  a  single
  ’.’ following the preceding space.

** Affects: software-center (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/955138

Title:
  previous short description is displayed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/955138/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs