[Touch-packages] [Bug 1486061] Re: Long descriptions missing from apt cache - affects software-center etc

2015-09-28 Thread Kiwinote
I've had a look into this and it seems that if I take the latest version
of apt in wily and apply the changes as set out in
https://github.com/Debian/apt/commit/8965b2f8e6738463c20f69e76ba888a8d77225e3
then I consistently get all descriptions showing both in English and
other languages. I don't know the apt codebase, nor do I know c++, so
this should be looked over by someone with a bit more knowledge.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1486061

Title:
  Long descriptions missing from apt cache - affects software-center etc

Status in apt package in Ubuntu:
  Confirmed

Bug description:
  apt 1.0.9.10ubuntu6 and 1.0.9.10ubuntu7 - ubuntu wily

  It appears that on wily the long package descriptions are missing from
  the apt-cache. As a result of this bug full package descriptions are
  missing (amongst others) in software-center, update-manager, synaptic
  etc.

  The files like /var/lib/apt/lists/archive.ubuntu
  .com_ubuntu_dists_wily_universe_i18n_Translation-en do exist with a
  recent timestamp, so it looks the downloading of the translations has
  taken place.

  Using the python bindings cache['gimp'].candidate.description returns
  an empty string.

  Apt-cache also seems to be missing the 'Description-en' key:

  $ apt-cache show gimp
  Package: gimp
  Priority: optional
  Section: graphics
  Installed-Size: 15538
  Maintainer: Ubuntu Developers 
  Original-Maintainer: Ari Pollak 
  Architecture: amd64
  Version: 2.8.14-1ubuntu2
  Replaces: gimp-plugin-registry (<< 4.20120506)
  Provides: gimp-python
  Depends: libgimp2.0 (>= 2.8.14), libgimp2.0 (<= 2.8.14-z), gimp-data (>= 
2.8.14), gimp-data (<= 2.8.14-z), python-gtk2 (>= 2.8.0), libgdk-pixbuf2.0-0 
(>= 2.24.1), libaa1 (>= 1.4p5), libbabl-0.1-0 (>= 0.1.10), libbz2-1.0, libc6 
(>= 2.15), libcairo2 (>= 1.10.2), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2 (>= 
0.88), libexif12 (>= 0.6.21-1~), libfontconfig1 (>= 2.9.0), libfreetype6 (>= 
2.2.1), libgegl-0.3-0 (>= 0.3.0), libglib2.0-0 (>= 2.41.1), libgs9 (>= 
8.61.dfsg.1), libgtk2.0-0 (>= 2.24.10), libgudev-1.0-0 (>= 146), libjasper1, 
libjpeg8 (>= 8c), liblcms2-2 (>= 2.2+git20110628), libmng2 (>= 1.0.10), 
libpango-1.0-0 (>= 1.29.4), libpangocairo-1.0-0 (>= 1.29.4), libpangoft2-1.0-0 
(>= 1.29.4), libpng12-0 (>= 1.2.13-4), libpoppler-glib8 (>= 0.18.0), librsvg2-2 
(>= 2.14.4), libtiff5 (>= 4.0.3), libwmf0.2-7 (>= 0.2.8.4), libx11-6, 
libxcursor1 (>> 1.1.2), libxext6, libxfixes3, libxmu6, libxpm4, zlib1g (>= 
1:1.1.4), python:any (>= 2.6.6-7~), python2.7
  Recommends: ghostscript
  Suggests: gimp-help-en | gimp-help, gimp-data-extras, gvfs-backends, 
libasound2
  Breaks: gimp-plugin-registry (<< 4.20120506)
  Filename: pool/main/g/gimp/gimp_2.8.14-1ubuntu2_amd64.deb
  Size: 3476280
  MD5sum: d33d0d48362d03767f486185fa3e21cf
  SHA1: 8f65b842f5ec4a07b8ebf71c13ed9f97ed886474
  SHA256: 92eebf090c4f7f7e7ec5d9a06f3fe34f35221c44602d290201b05aa73b2ff2e1
  Description: The GNU Image Manipulation Program
  Description-md5: ad6dd18a09fb86ea4529ac53f33168b9
  Homepage: http://www.gimp.org/
  Bugs: https://bugs.launchpad.net/ubuntu/+filebug
  Origin: Ubuntu
  Supported: 9m
  Task: ubuntu-usb, edubuntu-desktop-gnome, edubuntu-usb, 
ubuntustudio-publishing, ubuntustudio-photography, ubuntustudio-graphics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1486061/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1396553] Re: No rating and 0 reviews shown for all applications in the dash

2015-09-25 Thread Kiwinote
This has been broken for quite a while - there are two parts to this:

--> UNITY_LENS_APPLICATIONS
Unity-lens-applications reads a Berkeley DB file which is generated by 
software-center. The filename contains the version number of libdb. In February 
2012 the transition [0] to libdb5.1 was done, in November 2013 there was a 
transition [1] to libdb5.3, but the filename was not updated, which means that 
since then the source code of unity-lens-applications had had a wrong filename 
in line 42 of src/unity-ratings-db.c [2].

[0] 
http://bazaar.launchpad.net/~unity-team/unity-lens-applications/trunk/revision/17.1.166
[1] 
http://bazaar.launchpad.net/~unity-team/unity-lens-applications/trunk/revision/375
[2] 
http://bazaar.launchpad.net/~unity-team/unity-lens-applications/trunk/view/head:/src/unity-ratings-db.c

--> SOFTWARE_CENTER
Upon launching software-center, software-center generates a file for 
unity-lens-applications to read. For at least a year, if not multiple years, 
software-center crashes whilst trying to generate this db. The crash occurs in 
line 336 of [3] with "DBInvalidArgError: (22, 'Invalid argument -- BDB0054 
illegal flag combination specified to DB_ENV->open')". Experimentation seems to 
show that removing the "|bdb.DB_NOMMAP" stops this crash. The NOMMAP flag was 
introduced in [4], but I don't know enough about the Berkeley DB format to know 
why the NOMMAP flag should or shouldn't be in use. The internet seems to 
describe the flag as "Always copy read-only database files in this environment 
into the local cache instead of potentially mapping them into process memory". 
I couldn't pull up any other illegal flag combinations using NOMMAP errors 
besides software-center.

[3] 
http://bazaar.launchpad.net/~ubuntuone-control-tower/software-center/trunk/view/2869/softwarecenter/backend/reviews/__init__.py
[4] 
http://bazaar.launchpad.net/~ubuntuone-control-tower/software-center/trunk/revision/2434

After installing a modified version of unity-lens-applications and
changing software-center and launching software-center I needed to kill
the unity-scope-loader process after which the ratings reappeared in the
dash (obviously only for apps which have ratings, which are not the
newest ones).

Another issue affecting the applications lens is the missing
applications descriptions due to bug #1486061

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/1396553

Title:
  No rating and 0 reviews shown for all applications in the dash

Status in Unity:
  Triaged
Status in unity package in Ubuntu:
  Triaged

Bug description:
  When viewing the preview of any application in the dash (installed or not) by 
right-clicking it, the displayed number of reviews is always 0 (zero) and the 
rating is always empty.
  This used to work in previous Ubuntu versions.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: unity 7.2.3+14.04.20140826-0ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-40.69-generic 3.13.11.10
  Uname: Linux 3.13.0-40-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.5
  Architecture: amd64
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CurrentDesktop: Unity
  Date: Wed Nov 26 11:08:57 2014
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2014-10-13 (43 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 
(20140722.2)
  SourcePackage: unity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1396553/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1497626] Re: Package descriptions are severely truncated

2015-09-23 Thread Kiwinote
*** This bug is a duplicate of bug 1486061 ***
https://bugs.launchpad.net/bugs/1486061

** This bug has been marked a duplicate of bug 1486061
   Long descriptions missing from apt cache - affects software-center etc

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1497626

Title:
  Package descriptions are severely truncated

Status in APT:
  New
Status in One Hundred Papercuts:
  Confirmed
Status in apt package in Ubuntu:
  Confirmed
Status in synaptic package in Ubuntu:
  Invalid

Bug description:
  Test case:
  Compare any package description using apt-cache show in 14.04.x to same in 
15.10. In 15.10 generally just a single line.

  
  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: synaptic 0.81.4build1
  ProcVersionSignature: Ubuntu 4.2.0-10.12-generic 4.2.0
  Uname: Linux 4.2.0-10-generic x86_64
  ApportVersion: 2.18.1-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Sep 19 16:23:02 2015
  InstallationDate: Installed on 2015-09-19 (0 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150919)
  SourcePackage: synaptic
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/apt/+bug/1497626/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1486061] Re: Long descriptions appear to be missing from apt cache

2015-09-23 Thread Kiwinote
** Description changed:

- apt 1.0.9.10ubuntu6 - ubuntu wily
+ apt 1.0.9.10ubuntu6 and 1.0.9.10ubuntu7 - ubuntu wily
  
  It appears that on wily the long package descriptions are missing from
- the apt-cache.
+ the apt-cache. As a result of this bug full package descriptions are
+ missing (amongst others) in software-center, update-manager, synaptic
+ etc.
  
  The files like /var/lib/apt/lists/archive.ubuntu
  .com_ubuntu_dists_wily_universe_i18n_Translation-en do exist with a
  recent timestamp, so it looks the downloading of the translations has
  taken place.
  
  Using the python bindings cache['gimp'].candidate.description returns an
  empty string.
  
  Apt-cache also seems to be missing the 'Description-en' key:
  
  $ apt-cache show gimp
  Package: gimp
  Priority: optional
  Section: graphics
  Installed-Size: 15538
  Maintainer: Ubuntu Developers 
  Original-Maintainer: Ari Pollak 
  Architecture: amd64
  Version: 2.8.14-1ubuntu2
  Replaces: gimp-plugin-registry (<< 4.20120506)
  Provides: gimp-python
  Depends: libgimp2.0 (>= 2.8.14), libgimp2.0 (<= 2.8.14-z), gimp-data (>= 
2.8.14), gimp-data (<= 2.8.14-z), python-gtk2 (>= 2.8.0), libgdk-pixbuf2.0-0 
(>= 2.24.1), libaa1 (>= 1.4p5), libbabl-0.1-0 (>= 0.1.10), libbz2-1.0, libc6 
(>= 2.15), libcairo2 (>= 1.10.2), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2 (>= 
0.88), libexif12 (>= 0.6.21-1~), libfontconfig1 (>= 2.9.0), libfreetype6 (>= 
2.2.1), libgegl-0.3-0 (>= 0.3.0), libglib2.0-0 (>= 2.41.1), libgs9 (>= 
8.61.dfsg.1), libgtk2.0-0 (>= 2.24.10), libgudev-1.0-0 (>= 146), libjasper1, 
libjpeg8 (>= 8c), liblcms2-2 (>= 2.2+git20110628), libmng2 (>= 1.0.10), 
libpango-1.0-0 (>= 1.29.4), libpangocairo-1.0-0 (>= 1.29.4), libpangoft2-1.0-0 
(>= 1.29.4), libpng12-0 (>= 1.2.13-4), libpoppler-glib8 (>= 0.18.0), librsvg2-2 
(>= 2.14.4), libtiff5 (>= 4.0.3), libwmf0.2-7 (>= 0.2.8.4), libx11-6, 
libxcursor1 (>> 1.1.2), libxext6, libxfixes3, libxmu6, libxpm4, zlib1g (>= 
1:1.1.4), python:any (>= 2.6.6-7~), python2.7
  Recommends: ghostscript
  Suggests: gimp-help-en | gimp-help, gimp-data-extras, gvfs-backends, 
libasound2
  Breaks: gimp-plugin-registry (<< 4.20120506)
  Filename: pool/main/g/gimp/gimp_2.8.14-1ubuntu2_amd64.deb
  Size: 3476280
  MD5sum: d33d0d48362d03767f486185fa3e21cf
  SHA1: 8f65b842f5ec4a07b8ebf71c13ed9f97ed886474
  SHA256: 92eebf090c4f7f7e7ec5d9a06f3fe34f35221c44602d290201b05aa73b2ff2e1
  Description: The GNU Image Manipulation Program
  Description-md5: ad6dd18a09fb86ea4529ac53f33168b9
  Homepage: http://www.gimp.org/
  Bugs: https://bugs.launchpad.net/ubuntu/+filebug
  Origin: Ubuntu
  Supported: 9m
  Task: ubuntu-usb, edubuntu-desktop-gnome, edubuntu-usb, 
ubuntustudio-publishing, ubuntustudio-photography, ubuntustudio-graphics
- 
- I hit bug #1485970 last night, so I might have upset apt whilst trying
- to resolve the breakage, but at the moment everything minus the long
- descriptions seems to be working fine.
- 
- As a result of this bug things like software center aren't showing
- package descriptions.

** Summary changed:

- Long descriptions appear to be missing from apt cache
+ Long descriptions missing from apt cache - affects software-center etc

** Tags added: rls-w-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1486061

Title:
  Long descriptions missing from apt cache - affects software-center etc

Status in apt package in Ubuntu:
  Confirmed

Bug description:
  apt 1.0.9.10ubuntu6 and 1.0.9.10ubuntu7 - ubuntu wily

  It appears that on wily the long package descriptions are missing from
  the apt-cache. As a result of this bug full package descriptions are
  missing (amongst others) in software-center, update-manager, synaptic
  etc.

  The files like /var/lib/apt/lists/archive.ubuntu
  .com_ubuntu_dists_wily_universe_i18n_Translation-en do exist with a
  recent timestamp, so it looks the downloading of the translations has
  taken place.

  Using the python bindings cache['gimp'].candidate.description returns
  an empty string.

  Apt-cache also seems to be missing the 'Description-en' key:

  $ apt-cache show gimp
  Package: gimp
  Priority: optional
  Section: graphics
  Installed-Size: 15538
  Maintainer: Ubuntu Developers 
  Original-Maintainer: Ari Pollak 
  Architecture: amd64
  Version: 2.8.14-1ubuntu2
  Replaces: gimp-plugin-registry (<< 4.20120506)
  Provides: gimp-python
  Depends: libgimp2.0 (>= 2.8.14), libgimp2.0 (<= 2.8.14-z), gimp-data (>= 
2.8.14), gimp-data (<= 2.8.14-z), python-gtk2 (>= 2.8.0), libgdk-pixbuf2.0-0 
(>= 2.24.1), libaa1 (>= 1.4p5), libbabl-0.1-0 (>= 0.1.10), libbz2-1.0, libc6 
(>= 2.15), libcairo2 (>= 1.10.2), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2 (>= 
0.88), libexif12 (>= 0.6.21-1~), libfontconfig1 (>= 2.9.0), libfreetype6 (>= 
2.2.1), libgegl-0.3-0 

[Touch-packages] [Bug 1486061] [NEW] Long descriptions appear to be missing from apt cache

2015-08-18 Thread Kiwinote
Public bug reported:

apt 1.0.9.10ubuntu6 - ubuntu wily

It appears that on wily the long package descriptions are missing from
the apt-cache.

The files like /var/lib/apt/lists/archive.ubuntu
.com_ubuntu_dists_wily_universe_i18n_Translation-en do exist with a
recent timestamp, so it looks the downloading of the translations has
taken place.

Using the python bindings cache['gimp'].candidate.description returns an
empty string.

Apt-cache also seems to be missing the 'Description-en' key:

$ apt-cache show gimp
Package: gimp
Priority: optional
Section: graphics
Installed-Size: 15538
Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
Original-Maintainer: Ari Pollak a...@debian.org
Architecture: amd64
Version: 2.8.14-1ubuntu2
Replaces: gimp-plugin-registry ( 4.20120506)
Provides: gimp-python
Depends: libgimp2.0 (= 2.8.14), libgimp2.0 (= 2.8.14-z), gimp-data (= 
2.8.14), gimp-data (= 2.8.14-z), python-gtk2 (= 2.8.0), libgdk-pixbuf2.0-0 
(= 2.24.1), libaa1 (= 1.4p5), libbabl-0.1-0 (= 0.1.10), libbz2-1.0, libc6 
(= 2.15), libcairo2 (= 1.10.2), libdbus-1-3 (= 1.0.2), libdbus-glib-1-2 (= 
0.88), libexif12 (= 0.6.21-1~), libfontconfig1 (= 2.9.0), libfreetype6 (= 
2.2.1), libgegl-0.3-0 (= 0.3.0), libglib2.0-0 (= 2.41.1), libgs9 (= 
8.61.dfsg.1), libgtk2.0-0 (= 2.24.10), libgudev-1.0-0 (= 146), libjasper1, 
libjpeg8 (= 8c), liblcms2-2 (= 2.2+git20110628), libmng2 (= 1.0.10), 
libpango-1.0-0 (= 1.29.4), libpangocairo-1.0-0 (= 1.29.4), libpangoft2-1.0-0 
(= 1.29.4), libpng12-0 (= 1.2.13-4), libpoppler-glib8 (= 0.18.0), librsvg2-2 
(= 2.14.4), libtiff5 (= 4.0.3), libwmf0.2-7 (= 0.2.8.4), libx11-6, 
libxcursor1 ( 1.1.2), libxext6, libxfixes3, libxmu6, libxpm4, zlib1g (= 
1:1.1.4), python:any (= 2.6.6-7~), python2.7
Recommends: ghostscript
Suggests: gimp-help-en | gimp-help, gimp-data-extras, gvfs-backends, libasound2
Breaks: gimp-plugin-registry ( 4.20120506)
Filename: pool/main/g/gimp/gimp_2.8.14-1ubuntu2_amd64.deb
Size: 3476280
MD5sum: d33d0d48362d03767f486185fa3e21cf
SHA1: 8f65b842f5ec4a07b8ebf71c13ed9f97ed886474
SHA256: 92eebf090c4f7f7e7ec5d9a06f3fe34f35221c44602d290201b05aa73b2ff2e1
Description: The GNU Image Manipulation Program
Description-md5: ad6dd18a09fb86ea4529ac53f33168b9
Homepage: http://www.gimp.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m
Task: ubuntu-usb, edubuntu-desktop-gnome, edubuntu-usb, 
ubuntustudio-publishing, ubuntustudio-photography, ubuntustudio-graphics

I hit bug #1485970 last night, so I might have upset apt whilst trying
to resolve the breakage, but at the moment everything minus the long
descriptions seems to be working fine.

As a result of this bug things like software center aren't showing
package descriptions.

** Affects: apt (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1486061

Title:
  Long descriptions appear to be missing from apt cache

Status in apt package in Ubuntu:
  New

Bug description:
  apt 1.0.9.10ubuntu6 - ubuntu wily

  It appears that on wily the long package descriptions are missing from
  the apt-cache.

  The files like /var/lib/apt/lists/archive.ubuntu
  .com_ubuntu_dists_wily_universe_i18n_Translation-en do exist with a
  recent timestamp, so it looks the downloading of the translations has
  taken place.

  Using the python bindings cache['gimp'].candidate.description returns
  an empty string.

  Apt-cache also seems to be missing the 'Description-en' key:

  $ apt-cache show gimp
  Package: gimp
  Priority: optional
  Section: graphics
  Installed-Size: 15538
  Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
  Original-Maintainer: Ari Pollak a...@debian.org
  Architecture: amd64
  Version: 2.8.14-1ubuntu2
  Replaces: gimp-plugin-registry ( 4.20120506)
  Provides: gimp-python
  Depends: libgimp2.0 (= 2.8.14), libgimp2.0 (= 2.8.14-z), gimp-data (= 
2.8.14), gimp-data (= 2.8.14-z), python-gtk2 (= 2.8.0), libgdk-pixbuf2.0-0 
(= 2.24.1), libaa1 (= 1.4p5), libbabl-0.1-0 (= 0.1.10), libbz2-1.0, libc6 
(= 2.15), libcairo2 (= 1.10.2), libdbus-1-3 (= 1.0.2), libdbus-glib-1-2 (= 
0.88), libexif12 (= 0.6.21-1~), libfontconfig1 (= 2.9.0), libfreetype6 (= 
2.2.1), libgegl-0.3-0 (= 0.3.0), libglib2.0-0 (= 2.41.1), libgs9 (= 
8.61.dfsg.1), libgtk2.0-0 (= 2.24.10), libgudev-1.0-0 (= 146), libjasper1, 
libjpeg8 (= 8c), liblcms2-2 (= 2.2+git20110628), libmng2 (= 1.0.10), 
libpango-1.0-0 (= 1.29.4), libpangocairo-1.0-0 (= 1.29.4), libpangoft2-1.0-0 
(= 1.29.4), libpng12-0 (= 1.2.13-4), libpoppler-glib8 (= 0.18.0), librsvg2-2 
(= 2.14.4), libtiff5 (= 4.0.3), libwmf0.2-7 (= 0.2.8.4), libx11-6, 
libxcursor1 ( 1.1.2), libxext6, libxfixes3, libxmu6, libxpm4, zlib1g (= 
1:1.1.4), python:any (= 2.6.6-7~), python2.7
  Recommends: ghostscript
  Suggests: gimp-help-en | gimp-help, gimp-data-extras, gvfs-backends, 
libasound2
  Breaks: