[synaptic] no history

Bug #1487890 reported by Ralf Mardorf
104
This bug affects 20 people
Affects Status Importance Assigned to Milestone
synaptic
Fix Released
Unknown
synaptic (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Hi,

a while back after an upgrade I lost synaptic's history. I can't remember when it happened and can't test by downgrading, /var/log/apt/history.log still is available.

When running the current version with the lost history, there are a few glib messages.

Currently just Claws, IceCat and a kernel are not from official repositories. Synaptic history also isn't available when using a kernel from the repositories. Other non-standard packages I want to use are rodent and libfm, but currently those packages are purged. IOW nothing that isn't from official repositories is related to the bug.

Details:

[root@moonstudio archives]# lsb_release -rd;uname -srm
Description: Ubuntu Wily Werewolf (development branch)
Release: 15.10
Linux 3.10.61-rt65-1-moonstudio x86_64

[root@moonstudio archives]# dpkg -s synaptic|grep Ve;ls -hog syn*
Version: 0.81.4build1
-rw-r--r-- 1 1.4M Jul 11 19:28 synaptic_0.81.4_amd64.deb
-rw-r--r-- 1 1.3M Aug 6 09:04 synaptic_0.81.4build1_amd64.deb

[root@moonstudio archives]# dpkg -i synaptic_0.81.4_amd64.deb
[...]

[root@moonstudio archives]# dpkg -s synaptic|grep Ve
Version: 0.81.4
Config-Version: 0.81.4build1

[root@moonstudio archives]# synaptic
synaptic: error while loading shared libraries: libept.so.1.aptpkg4.12: cannot open shared object file: No such file or directory

[root@moonstudio archives]# dpkg -i libept1.4.1
libept1.4.12_1.0.12.1_amd64.deb libept1.4.12_1.0.13_amd64.deb libept1.4.16_1.0.13ubuntu1_amd64.deb
[root@moonstudio archives]# dpkg -i libept1.4.12_1.0.13_amd64.deb
[...]

[root@moonstudio archives]# synaptic
synaptic: symbol lookup error: synaptic: undefined symbol: _ZN6Xapian8DatabaseC1ERKSs

[root@moonstudio archives]# apt-get purge synaptic && dpkg -i synaptic_0.81.4_amd64.deb
[...]

[root@moonstudio archives]# synaptic
synaptic: symbol lookup error: synaptic: undefined symbol: _ZN6Xapian8DatabaseC1ERKSs

[root@moonstudio archives]# dpkg -s synaptic|grep Ve
Version: 0.81.4

[root@moonstudio archives]# apt-get update && apt-get upgrade
[...]
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 synaptic : Depends: libxapian22 but it is not installable
E: Unmet dependencies. Try using -f.

[root@moonstudio archives]# apt-get -f install
[...]

[root@moonstudio archives]# dpkg -s synaptic|grep Ve
Version: 0.81.4build1

[root@moonstudio archives]# synaptic

(synaptic:6382): GLib-GObject-WARNING **: The property GtkImage:stock is deprecated and shouldn't be used anymore. It will be removed in a future version.

(synaptic:6382): GLib-GObject-WARNING **: The property GtkMisc:yalign is deprecated and shouldn't be used anymore. It will be removed in a future version.

(synaptic:6382): GLib-GObject-WARNING **: The property GtkImageMenuItem:use-stock is deprecated and shouldn't be used anymore. It will be removed in a future version.

(synaptic:6382): GLib-GObject-WARNING **: The property GtkImageMenuItem:image is deprecated and shouldn't be used anymore. It will be removed in a future version.

(synaptic:6382): GLib-GObject-WARNING **: The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version.

(synaptic:6382): GLib-GObject-WARNING **: The property GtkToolButton:stock-id is deprecated and shouldn't be used anymore. It will be removed in a future version.

(synaptic:6382): GLib-GObject-WARNING **: The property GtkButton:xalign is deprecated and shouldn't be used anymore. It will be removed in a future version.

(synaptic:6382): GLib-GObject-WARNING **: The property GtkAlignment:right-padding is deprecated and shouldn't be used anymore. It will be removed in a future version.

(synaptic:6382): GLib-GObject-WARNING **: The property GtkContainer:resize-mode is deprecated and shouldn't be used anymore. It will be removed in a future version.

(synaptic:6382): GLib-GObject-WARNING **: The property GtkAlignment:bottom-padding is deprecated and shouldn't be used anymore. It will be removed in a future version.

(synaptic:6382): GLib-GObject-WARNING **: The property GtkAlignment:left-padding is deprecated and shouldn't be used anymore. It will be removed in a future version.

(synaptic:6382): GLib-GObject-WARNING **: The property GtkCellRendererText:background-gdk is deprecated and shouldn't be used anymore. It will be removed in a future version.

(synaptic:6382): GLib-GObject-WARNING **: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version.

(synaptic:6382): GLib-CRITICAL **: g_dir_read_name: assertion 'dir != NULL' failed

(synaptic:6382): GLib-CRITICAL **: g_dir_close: assertion 'dir != NULL' failed

[root@moonstudio archives]# tail -10 /var/log/apt/history.log

Start-Date: 2015-08-23 18:14:25
Commandline: apt-get purge synaptic
Purge: synaptic:amd64 (0.81.4build1)
End-Date: 2015-08-23 18:14:29

Start-Date: 2015-08-23 18:17:59
Commandline: apt-get -f install
Upgrade: synaptic:amd64 (0.81.4, 0.81.4build1)
End-Date: 2015-08-23 18:18:06

Tags: patch wily
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1487890

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Ralf Mardorf (ralf-mardorf-j) wrote :

apport is purged from my install.
Please mention missing log files and I'll post them.
I didn't attach detailed hardware information, since hardware unlikely does cause the bug.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
affects: linux (Ubuntu) → synaptic (Ubuntu)
Revision history for this message
Doug McMahon (mc3man) wrote :

Not sure why you need logs, easily duplicated with fresh 15.10 image install, default everything -
Test case:
install synaptic, use it to install some packages
File > History
The History column will be closed, pull left edge to right to expose.
(- A bug from 14.04 onward in varying degrees of exposure, now none
Nothing there..

Revision history for this message
Doug McMahon (mc3man) wrote :

Screenshot from duped bug

Revision history for this message
Doug McMahon (mc3man) wrote :

How the dconf scheme looks for relevant key

Revision history for this message
v3.xx (v3-xxjs) wrote :

Also affected (mate 15.10)

dino99 (9d9)
tags: added: wily
Revision history for this message
dino99 (9d9) wrote :

i does not know how the history is filed and by which feature;
 but it seems related to the transitional libs changes due to gcc5 and libstdc++6 upgrades

it should usefull to recompile synaptic with the recent libs, including the latest libvte

Revision history for this message
Ralf Mardorf (ralf-mardorf-j) wrote :

You mean just downloading the source package and building against the currently installed libs? It might be that I've got time to do it within the next hours. If I don't have the time, anybody else of you should be able to do it too.

Revision history for this message
dino99 (9d9) wrote :

@Ralf

my comments was adressed to the synaptic's maintainer/dev or to a possible ppa owner.
i suppose the rebuilt will need some more work than simple rebuilding without change

Revision history for this message
Ralf Mardorf (ralf-mardorf-j) wrote :

Just rebuilding against the currently installed libs might be all that is needed, but indeed, assumed it should be a SONAME issue, then likely for a dependency of synaptic and not for synaptic. Perhaps a ltrace might help, but since I'm short in time and never made a ltrace, I won't spend time in learning how to do this kind of trace. Someone experienced in doing it or what ever else needs to be done, should chime in. Since this seems to be an issue that affects all installs, the maintainer hopefully will chime in soon.

Changed in synaptic (Ubuntu):
importance: Undecided → Low
Changed in synaptic:
status: Unknown → New
Kev Bowring (flocculant)
tags: added: xenial
Revision history for this message
en (b21enu) wrote :

can confirm this bug on wily

Revision history for this message
Adhil (polyologist) wrote :

I just hunted the internet scouring for a solution to this issue. The issue is no small one as this to me is a serious, unprofessional flaw with Ubuntu MATE 15.10 Wily. This brings my opinion of the ISO as mediocre and clearly not production ready. I'd hoped for a release which wouldn't waste server bandwidth for Canonical much less the overly burdened internet. My sympathies lie in the countless server administrators, now victims of amateur problems they have no control over. Fix your crap, thanks for the free service, and please avoid unfunctional software in the future.

Whimsically,
Another irritated user of unfunctional software

Revision history for this message
Xu Zhen (xuzhen666) wrote :

I wrote a patch for this bug.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "fix-history.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Xu Zhen (xuzhen666) wrote :

I've submit another patch to debian bug report for the column width bug.
You can fix it yourself without recompiling.

cd /usr/share/synaptic
wget 'https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;filename=fix-column-width.patch;bug=798884;msg=35' -O- | sudo patch -p2

Revision history for this message
Kev Bowring (flocculant) wrote :

patch worked here

Changed in synaptic:
status: New → Fix Released
Revision history for this message
dino99 (9d9) wrote :

Now works on xenial

synaptic (0.82.1) unstable; urgency=medium
......
......
  [ xuzhen ]
  * Fix empty history window (Closes: #798884)

 -- Michael Vogt <email address hidden> Fri, 04 Dec 2015 23:03:43 +0100

tags: removed: xenial
Revision history for this message
dino99 (9d9) wrote :

as this is not a 'security' fix, the newer fixed version will not be backported

Changed in synaptic (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
monkeybrain2012 (kammon101) wrote :

I applied the patch following instruction in #15 still no history. Wily

Revision history for this message
Doug McMahon (mc3man) wrote : Re: [Bug 1487890] Re: [synaptic] no history

There are 2 patches, one in #13 returns history, one in #15 makes
history visible without the need to pull column over

On 12/27/2015 09:10 AM, monkeybrain2012 wrote:
> I applied the patch following instruction in #15 still no history. Wily
>

Revision history for this message
monkeybrain2012 (kammon101) wrote :

But to apply the patch in #13 would need to build synaptic from source, right?

Revision history for this message
Doug McMahon (mc3man) wrote :
Download full text (5.9 KiB)

Correct, you'd need to build

Sent from BlueMail

On Dec 27, 2015, 4:55 PM, at 4:55 PM, monkeybrain2012 <email address hidden> wrote:
>But to apply the patch in #13 would need to build synaptic from source,
>right?
>
>--
>You received this bug notification because you are subscribed to a
>duplicate bug report (1490372).
>https://bugs.launchpad.net/bugs/1487890
>
>Title:
> [synaptic] no history
>
>Status in synaptic:
> Fix Released
>Status in synaptic package in Ubuntu:
> Invalid
>
>Bug description:
> Hi,
>
> a while back after an upgrade I lost synaptic's history. I can't
> remember when it happened and can't test by downgrading,
> /var/log/apt/history.log still is available.
>
> When running the current version with the lost history, there are a
> few glib messages.
>
> Currently just Claws, IceCat and a kernel are not from official
> repositories. Synaptic history also isn't available when using a
> kernel from the repositories. Other non-standard packages I want to
> use are rodent and libfm, but currently those packages are purged. IOW
> nothing that isn't from official repositories is related to the bug.
>
> Details:
>
> [root@moonstudio archives]# lsb_release -rd;uname -srm
> Description: Ubuntu Wily Werewolf (development branch)
> Release: 15.10
> Linux 3.10.61-rt65-1-moonstudio x86_64
>
> [root@moonstudio archives]# dpkg -s synaptic|grep Ve;ls -hog syn*
> Version: 0.81.4build1
> -rw-r--r-- 1 1.4M Jul 11 19:28 synaptic_0.81.4_amd64.deb
> -rw-r--r-- 1 1.3M Aug 6 09:04 synaptic_0.81.4build1_amd64.deb
>
> [root@moonstudio archives]# dpkg -i synaptic_0.81.4_amd64.deb
> [...]
>
> [root@moonstudio archives]# dpkg -s synaptic|grep Ve
> Version: 0.81.4
> Config-Version: 0.81.4build1
>
> [root@moonstudio archives]# synaptic
>synaptic: error while loading shared libraries: libept.so.1.aptpkg4.12:
>cannot open shared object file: No such file or directory
>
> [root@moonstudio archives]# dpkg -i libept1.4.1
>libept1.4.12_1.0.12.1_amd64.deb libept1.4.12_1.0.13_amd64.deb
> libept1.4.16_1.0.13ubuntu1_amd64.deb
> [root@moonstudio archives]# dpkg -i libept1.4.12_1.0.13_amd64.deb
> [...]
>
> [root@moonstudio archives]# synaptic
>synaptic: symbol lookup error: synaptic: undefined symbol:
>_ZN6Xapian8DatabaseC1ERKSs
>
>[root@moonstudio archives]# apt-get purge synaptic && dpkg -i
>synaptic_0.81.4_amd64.deb
> [...]
>
> [root@moonstudio archives]# synaptic
>synaptic: symbol lookup error: synaptic: undefined symbol:
>_ZN6Xapian8DatabaseC1ERKSs
>
> [root@moonstudio archives]# dpkg -s synaptic|grep Ve
> Version: 0.81.4
>
> [root@moonstudio archives]# apt-get update && apt-get upgrade
> [...]
> You might want to run 'apt-get -f install' to correct these.
> The following packages have unmet dependencies:
> synaptic : Depends: libxapian22 but it is not installable
> E: Unmet dependencies. Try using -f.
>
> [root@moonstudio archives]# apt-get -f install
> [...]
>
> [root@moonstudio archives]# dpkg -s synaptic|grep Ve
> Version: 0.81.4build1
>
> [root@moonstudio archives]# synaptic
>
> (synaptic:6382): GLib-GObject-WARNING **: The property GtkImage:stock
> is deprecated and shouldn't be used anymor...

Read more...

Revision history for this message
monkeybrain2012 (kammon101) wrote :

You mean build with patch from #13 and THEN apply the one in #15 as instructed?

Revision history for this message
monkeybrain2012 (kammon101) wrote :

Sorry, which synaptic source package should I get and where?

Revision history for this message
Doug McMahon (mc3man) wrote :

Just use the current synaptic source in wily & you can just apply both
patches, then build.
Example here for a few days, you can use the .deb if desired or ck. out
the diff for patch for both issues.
(do not add the ppa as it's transient at best

https://launchpad.net/~mc3man/+archive/ubuntu/quick-tests1/+packages

On 12/27/2015 08:18 PM, monkeybrain2012 wrote:
> Sorry, which synaptic source package should I get and where?
>

Revision history for this message
monkeybrain2012 (kammon101) wrote :

Hi, Doug,

Installed the .deb and it works. Thanks a lot!

Revision history for this message
monkeybrain2012 (kammon101) wrote :

Hi, Doug,

There seems to be a problem with your build here. Now synpatic only show one version for software with multiple versions (with ppa enabled) Please take a look. Thanks.

Revision history for this message
monkeybrain2012 (kammon101) wrote :

Opps, sorry, it is fine. Seems to be some ongoing problem with search sometimes not showing all packages.. The left panel shows only ALL and LOCAL under "status" when this happens

P. S Maybe related to http://ubuntuforums.org/showthread.php?t=2277471 (which is not really solved. The work around need to be re-applied periodically in Wily though seems to be working in vivid from tips on another thread I am trying to find now)

Thanks again.

Revision history for this message
Tepee (tepee) wrote :

Doug's proposal works well.
Having back the history is a at least effective :-)
Thank you, Doug !

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.