[Desktop-packages] [Bug 1601971] Re: update fails, "AppStream cache update failed."

2021-09-07 Thread Pavel Petrovic
That's cute it is still there after this LTS lifetime. ver. 16.04.7,
booted from USB flash:

root@ubuntu:~# apt update
Ign:1 cdrom://Ubuntu 16.04.7 LTS _Xenial Xerus_ - Release amd64 (20200806) 
xenial InRelease
Hit:2 cdrom://Ubuntu 16.04.7 LTS _Xenial Xerus_ - Release amd64 (20200806) 
xenial Release
Hit:4 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]   
Get:6 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB] 
Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 
[2,049 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [482 
kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 
Metadata [327 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons 
[252 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 
Packages [10.2 kB]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages 
[1,648 kB]
Get:13 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en 
[380 kB]
Get:14 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 
Metadata [93.7 kB]
Get:15 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 
Icons [111 kB]
Get:16 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 
Packages [9,824 B]
Fetched 5,581 kB in 1s (3,114 kB/s)

** (appstreamcli:3359): CRITICAL **: Error while moving old database out of the 
way.
AppStream cache update failed.
Reading package lists... Done
Building dependency tree   
Reading state information... Done
200 packages can be upgraded. Run 'apt list --upgradable' to see them.

and yes, #11 still fixes it. Thanks.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to appstream in Ubuntu.
https://bugs.launchpad.net/bugs/1601971

Title:
  update fails, "AppStream cache update failed."

Status in appstream package in Ubuntu:
  Confirmed

Bug description:
  Booted 16.04 amd64 from DVD, opened a gnome-terminal and ran,

  ubuntu@ubuntu:~$ sudo apt-get update
  Ign:1 cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) 
xenial InRelease
  Hit:2 cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) 
xenial Release
  Get:4 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]  
 
  Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]   
 
  Get:6 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]
  Get:7 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages 
[119 kB]
  Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1,201 kB]
  Get:9 http://archive.ubuntu.com/ubuntu xenial/main Translation-en [568 kB]
   
  Get:10 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en 
[45.3 kB]
  Get:11 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 
Metadata [44.0 kB]
  Get:12 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 
Icons [50.8 kB]
  Get:13 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 
DEP-11 Metadata [158 B]
  Get:14 http://archive.ubuntu.com/ubuntu xenial/main amd64 DEP-11 Metadata 
[733 kB]
  Get:15 http://archive.ubuntu.com/ubuntu xenial/main DEP-11 64x64 Icons [409 
kB]
  Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 
[252 kB]
  Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en 
[99.8 kB]
  Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 
Metadata [186 kB]
  Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 
Icons [150 kB]
  Get:20 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 
DEP-11 Metadata [157 B]
  Fetched 4,293 kB in 1s (2,360 kB/s) 

  ** (appstreamcli:2593): CRITICAL **: Error while moving old database out of 
the way.
  AppStream cache update failed.
  Reading package lists... Done

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: appstream 0.9.4-1
  ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
  Uname: Linux 4.4.0-21-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  CasperVersion: 1.376
  CurrentDesktop: Unity
  Date: Mon Jul 11 19:24:40 2016
  LiveMediaBuild: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: appstream
  UpgradeStatus: No upgrade log present (probably fresh install)

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : 

[Desktop-packages] [Bug 418242] Re: Incorrect call to output plugins (with persistent error message) on copy

2015-01-02 Thread Pavel Petrovic
How annoying!  Ubuntu 14.04 32 bit with Gnome environment, running
Inkscape 0.48.4 from the official Ubuntu repository together with
Netbeans 8.0.2 is  a total bummer.

It even spoiled the system so much, then a following apt-get update took
ages to read packages, because the system OS cache was totally full. Had
to echo 3 into /proc/sys/vm/drop_caches to get to back to normality.

To reproduce:
- run Inkscape
- run Netbeans
- draw a text in Inkscape, press CTRL-C
- switch to Netbeans app

result:

at least 10 dialog boxes pop up, and until the clipboard is cleared more and 
more are coming.
Two types, one titled Postscript with various postscript settings, the other 
one without a title with 

1. a label saying:

Inkscape has received additional data from the script executed.  The
script did not return an error, but this may indicate the results will
not be as expected.

2. and a read-only edit box saying:

UniConvertor failed:

Cannot list directory /home/username/.uniconvertor:[Errno 2] No such file or 
directory: '/home/username/.uniconvertor'
ignoring it in font_path
Cannot list directory /home/username/.uniconvertor:[Errno 2] No such file or 
directory: '/home/username/.uniconvertor'
ignoring it in font_path
I can't find font Sans. I'll use Slim instead
Fontsystem not yet implemented in UniConvertor. See 
/usr/share/doc/python-uniconvertor/README.Debian for more info
Cannot load plugin module sk1saver
Traceback (most recent call last):
  File /usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/plugins.py, 
line 73, in load_module
desc)
  File 
/usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/Filters/sk1saver.py,
 line 249, in module
from app.Graphics.image import CMYK_IMAGE
ImportError: cannot import name CMYK_IMAGE
When importing plugin sk1saver
Traceback (most recent call last):
  File /usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/plugins.py, 
line 190, in __call__
module = self.load_module()
  File /usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/plugins.py, 
line 73, in load_module
desc)
  File 
/usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/Filters/sk1saver.py,
 line 249, in module
from app.Graphics.image import CMYK_IMAGE
ImportError: cannot import name CMYK_IMAGE
Traceback (most recent call last):
  File string, line 1, in module
  File /usr/lib/python2.7/dist-packages/uniconvertor/__init__.py, line 88, in 
uniconv
saver(doc, output_file)
  File /usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/plugins.py, 
line 194, in __call__
% {'name':self.module_name})
app.events.skexceptions.SketchError: Cannot load filter sk1saver

Confirming workaround: put something else to clipboard before switching
to Netbeans.

Urgent action is needed NOW so that no more than 1 dialog box will
appear with an option to tick

[  ] do not show more dialogs like this.

It's been for too long like this.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to inkscape in Ubuntu.
https://bugs.launchpad.net/bugs/418242

Title:
  Incorrect call to output plugins (with persistent error message) on
  copy

Status in Inkscape: A Vector Drawing Tool:
  Triaged
Status in inkscape package in Ubuntu:
  Triaged
Status in inkscape package in Debian:
  Confirmed
Status in Gentoo Linux:
  Unknown

Bug description:
  UPDATE: After further investigation it turned out to be a problem related to 
the copy operation, in combination with a totally unrelated running Java 
program (FreeRapid).
  Reading some followups and other bug reports, it seems to be caused by the 
new clipboard management system (introduced as a fix for the bug #170185), as 
reported in bug #421597

  So far these applications are known to randomly trigger an input/output 
extension (on linux):
  - FreeRapid Downloader
  - jDownloader
  - xfce4-clipman-plugin 1.1.3
  - Netbeans
  - xfce4-settings-helper (Xfce 4.8)

  -

  The original report was this:
  I'm getting this error when I try to edit a text object created previously 
with a font that's not available in this system.
  It looks like Inkscape has problems to resolve the font substitution and 
displays the error message in a popup window that keeps appearing again and 
again, leaving no other remedy than closing inkscape and reopening it.

  The error message is attached.

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

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