Software App No User Data Found

When I open the Software App, the one with the shopping bag icon, it reports no user data found.

I recently set the Search and Indexing preferences to only index while the computer is idle. Could this be the reason?

It seems to me that it’s much more likely that some database file got clobbered.

Any help appreciated.

Gnome

The Ubuntu people found a similar problem with Gnome: and this worked for them:

**Can you please run `sudo appstreamcli refresh --force --verbose` and `appstreamcli status` and paste the output somewhere?**

Is there a similar command in opensuse?

Bump please.

Prior to losing the appstream database, I ran the following commands hoping to keep ‘tracker-miner-fs’ from using all my cpu resources:

sudo zypper install tracker-preferences
sudo zypper install tracker-ui-tools
tracker-gui
tracker
tracker --reset
tracker --reset -ec

Here’s the output:

xxxxxx@linux-3a8w:~> tracker --reset -ecFound 5 PIDs…
  Killed process 1415 - 'tracker-store'
  Killed process 1424 - 'tracker-miner-apps'
  Killed process 1426 - 'tracker-miner-fs'
  Killed process 1427 - 'tracker-extract'
  Killed process 1440 - 'tracker-miner-user-guides'
Setting database locations
Checking database directories exist
Checking database version
Checking database files exist
Removing all database/storage files
  Removing first index file:'/home/sophie/.cache/tracker/first-index.txt'
  Removing last crawl file:'/home/sophie/.cache/tracker/last-crawl.txt'
  Removing database:'/home/sophie/.cache/tracker/meta.db'
  Removing db-locale file:'/home/sophie/.cache/tracker/db-locale.txt'
  Path is OK
Removing configuration files…
g_file_enumerator_next_file: assertion 'G_IS_FILE_ENUMERATOR (enumerator)' failed
g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Resetting existing configuration…
  Store
    verbosity
    graphupdated-delay
  Extract
    max-media-art-width
    verbosity
    wait-for-miner-fs
    max-bytes
    sched-idle
  Writeback
    verbosity
  Files
    initial-sleep
    index-optical-discs
    index-recursive-directories
    enable-monitors
    index-on-battery
    sched-idle
    ignored-directories
    crawling-interval
    ignored-files
    ignored-directories-with-content
    index-removable-devices
    removable-days-threshold
    index-single-directories
    low-disk-space-limit
    throttle
    verbosity
    enable-writeback
    index-on-battery-first

Below are synopsis of some of the commands:

xxxxxx@linux-3a8w:~> tracker --reset
Usage:
  tracker reset [OPTION...]

Help Options:
  -h, --help       Show help options

Application Options:
  -r, --hard       Kill all Tracker processes and remove all databases
  -e, --soft       Same as --hard but the backup & journal are restored after restart
  -c, --config     Remove all configuration files so they are re-generated on next start

xxxxxx@linux-3a8w:~> 

xxxxxx@linux-3a8w:~> tracker --help
usage: tracker --version] --help]
               <command> <args>]

Available tracker commands are:
   daemon    Start, stop, pause and list processes responsible for indexing content
   info      Show information known about local files or items indexed
   index     Backup, restore, import and (re)index by MIME type or file name
   reset     Reset or remove index and revert configurations to defaults
   search    Search for content indexed or show content by type
   sparql    Query and update the index using SPARQL or search, list and tree the ontology
   sql       Query the database at the lowest level using SQL
   status    Show the indexing progress, content statistics and index state
   tag       Create, list or delete tags for indexed content

See 'tracker help <command>' to read about a specific subcommand.
xxxxxx@linux-3a8w:~> 

I seem to recall gnome-software still being populated after I ran this; but after the next reboot it was gone.

Hi
To see if it’s user or system related, create a new user and login as that user and open a terminal and run the command gnome-software, does it work?

If you want to run appstreamcli, I found it… by manually browsing the likely repo tree. It’s not found by any usual method including software.opensuse.org

Add the KDE: unstable repo for LEAP

zypper ar -f http://download.opensuse.org/repositories/KDE:/Unstable:/Applications/KDE_Unstable_Frameworks_openSUSE_Leap_42.1/ LEAP_KDE:_unstable 

Refresh, accepting the gpg keys for your new repo

zypper ref

You can “zypper se” to see all the Appstream packages, or just install the package you want. Note the camelcase (capital and small lettering)

zypper in AppStream

You have now installed all the AppStream user tools including appstreamcli.

TSU

On Wed 08 Jun 2016 03:26:02 PM CDT, tsu2 wrote:

If you want to run appstreamcli, I found it… by manually browsing the
likely repo tree. It’s not found by any usual method including
software.opensuse.org

Add the KDE: unstable repo for LEAP

Code:

zypper ar -f
http://download.opensuse.org/repositories/KDE:/Unstable:/Applications/KDE_Unstable_Frameworks_openSUSE_Leap_42.1/
LEAP_KDE:_unstable --------------------

Refresh, accepting the gpg keys for your new repo

Code:

zypper ref

You can “zypper se” to see all the Appstream packages, or just install
the package you want. Note the camelcase (capital and small lettering)

Code:

zypper in AppStream

You have now installed all the AppStream user tools including
appstreamcli.

TSU

Hi
No offense, but why would a GNOME user need a KDE app?

@OP, if you add the above unfortunately you may be on your own, I asked
the GNOME Maintainers to check the thread, but they indicated more info
is needed.


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.21-14-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

This app appears to be Desktop-agnostic, is in the KDE unstable repo only because someone there decided to work on it.

Install it, it will pull in only 4(?) library packages that are provided in the repo, nothing else from KDE (I installed in a system without a Desktop, so I <know> nothing else came from KDE).

If you’re really paranoid about what might be in this repo, then just add it but disable auto refresh.

TSU

Also, if you take a look at the description and contents of the package, it’s only generic User tools to diagnose and manipulate appstream apps… It in no way provides any basic functionality for appstream apps to work… which then might be somewhat tied to a Desktop.

TSU

gnome-software would not populate application data in the new user.

In fact, I reinstalled and it happened again. I didn’t purge any index files this time. Also, I created a new user again and the application data was missing in the new user again.

**I’ve noticed that gnome has been acting a bit buggy. My extension icons on the top bar will change places periodically or fail to refresh. I especially have the problem with the wifi icon. I have to restart gnome to get the wifi icon to refresh. I have 23 extensions installed; and when I added Services-panel, which was the 17th Gnome crashed and I had to reboot. when I rebooted and noticed that my extension icons were missing from the top bar, I launched tweak-tool and had to reenable about half of my extensions.

IHMO, I think gnome needs a tune-up.

Maybe you have mixed repos show zypper lr -d

I ran the appstream commands and here’s the output. gnome-software did NOT repopulate.

xxxxxx@linux-2t4v:~> sudo appstreamcli refresh --force --verbose
** (appstreamcli:15729): DEBUG: Refreshing AppStream cache
** (appstreamcli:15729): DEBUG: No metadata-specific subdirectories found in '/usr/share/app-info'
** (appstreamcli:15729): DEBUG: Reading: /var/cache/app-info/xmls/http-download.opensuse.org-1ef76f1f.xml.gz
** (appstreamcli:15729): DEBUG: Reading: /var/cache/app-info/xmls/http-download.opensuse.org-563b9ec6.xml.gz
** (appstreamcli:15729): DEBUG: Reading: /var/cache/app-info/xmls/http-download.opensuse.org-6259b87f.xml.gz
** (appstreamcli:15729): DEBUG: Reading: /var/cache/app-info/xmls/http-download.opensuse.org-967bdcee.xml.gz
** (appstreamcli:15729): DEBUG: Reading: /var/cache/app-info/xmls/http-download.opensuse.org-afd64e96.xml.gz
** (appstreamcli:15729): DEBUG: Reading: /var/cache/app-info/xmls/http-download.opensuse.org-f11640ef.xml.gz
** (appstreamcli:15729): DEBUG: Reading: /var/cache/app-info/xmls/http-download.opensuse.org-f5241c0e.xml.gz
** (appstreamcli:15729): DEBUG: Reading: /var/cache/app-info/xmls/openSUSE-42.1-0.xml.gz
** (appstreamcli:15729): DEBUG: Reading: /var/cache/app-info/xmls/repo-oss.xml.gz
** (appstreamcli:15729): DEBUG: Detected colliding ids: nm-connection-editor.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: firefox.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: gparted.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: gucharmap.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: wireshark.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: KGoldrunner.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: PTBatcherGUI.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: Thunar-bulk-rename.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: Thunar.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: YaST.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: accerciser.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: adobe-sourcecodepro-fonts was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: akregator.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: alacarte.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: amarok.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: anjuta.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: apper.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: atril.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: audacity.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: avogadro.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: bijiben.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: brasero.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: calibrate_lens_gui.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: cellwriter.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: circuslinux.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: claws-mail.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: dasher.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: deja-dup-preferences.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: devhelp.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: dia.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: digikam.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: dngconverter.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: dosbox.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: easytag.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: eekboard.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: ekiga.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: empathy.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: eog.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: epiphany.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: evince.desktop was already added with the same priority.
** (appstreamcli:15729): DEBUG: Detected colliding ids: evolution-bogofilter was already added with the same pr
** (appstreamcli:15729): DEBUG: Removing old rebuild-dir from previous database rebuild.
AppStream cache update completed successfully.
xxxxxx@linux-2t4v:~> sudo appstream status
sudo: appstream: command not found
xxxxxx@linux-2t4v:~> sudo appstreamcli status
AppStream Status:
Version: 0.9.5

Distribution metadata:
 /usr/share/app-info
  - Empty.

 /var/lib/app-info
  - Empty.

 /var/cache/app-info
  - XML:  9
  - Iconsets:
     http-download.opensuse.org-563b9ec6
     http-download.opensuse.org-6259b87f
     http-download.opensuse.org-afd64e96
     http-download.opensuse.org-f11640ef
     openSUSE-42.1-0
     repo-oss

Metainfo files:
  - Found 67 components in legacy paths.

Summary:
The system metadata cache exists.
We have information on 609 software components.
xxxxxx@linux-2t4v:~> 

PS., I had to delete some repetitive entries. More than 15,000 characters.

xxxxxx@linux-2t4v:~> sudo zypper lr -d 
root's password:
#  | Alias                               | Name                                       | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                                               | Service
---+-------------------------------------+--------------------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------------------------------------------------+--------
 1 | LEAP_KDE:_unstable                  | LEAP_KDE:_unstable                         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Unstable:/Applications/KDE_Unstable_Frameworks_openSUSE_Leap_42.1/ |        
 2 | Subpixel                            | Subpixel                                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/namtrac:/subpixel/openSUSE_Leap_42.1/                             |        
 3 | google-chrome                       | google-chrome                              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                                               |        
 4 | http-download.opensuse.org-1ef76f1f | multimedia:libs                            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_Leap_42.1/                                    |        
 5 | http-download.opensuse.org-27adbe73 | multimedia:apps                            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/multimedia:/apps/openSUSE_Leap_42.1/                                    |        
 6 | http-download.opensuse.org-345706e3 | home:marec2000:python:ports                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/marec2000:/python:/ports/openSUSE_Leap_42.1/                      |        
 7 | http-download.opensuse.org-3e895bca | home:marec2000:nodejs:ports                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/marec2000:/nodejs:/ports/openSUSE_Leap_42.1/                      |        
 8 | http-download.opensuse.org-49b8ac7b | home:NenedeBulgaria:branches:home:enzokiel | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/NenedeBulgaria:/branches:/home:/enzokiel/openSUSE_42.1_Update/    |        
 9 | http-download.opensuse.org-563b9ec6 | home:Ledest:misc                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/Ledest:/misc/openSUSE_Leap_42.1/                                  |        
10 | http-download.opensuse.org-6259b87f | mozilla:legacy                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/mozilla:/legacy/openSUSE_Leap_42.1/                                     |        
11 | http-download.opensuse.org-67b467ed | home:ecsos:messenger                       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/ecsos:/messenger/openSUSE_Leap_42.1/                              |        
12 | http-download.opensuse.org-967bdcee | home:X0F                                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/X0F/openSUSE_Leap_42.1/                                           |        
13 | http-download.opensuse.org-9e0cbacf | home:X0F:branches:multimedia               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/X0F:/branches:/multimedia/openSUSE_Leap_42.1/                     |        
14 | http-download.opensuse.org-af1b26f9 | X11:XOrg                                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/X11:/XOrg/openSUSE_Leap_42.1/                                           |        
15 | http-download.opensuse.org-afd64e96 | home:enzokiel                              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/enzokiel/openSUSE_42.1_Update/                                    |        
16 | http-download.opensuse.org-c31e15ec | home:marec2000:cryptocoins:ports           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/marec2000:/cryptocoins:/ports/openSUSE_Leap_42.1/                 |        
17 | http-download.opensuse.org-f11640ef | home:X0F:branches:network                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/X0F:/branches:/network/openSUSE_Leap_42.1/                        |        
18 | http-download.opensuse.org-f5241c0e | home:happenpappen                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/happenpappen/openSUSE_Leap_42.1/                                  |        
19 | libdvdcss                           | libdvdcss                                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.1/                                                                |        
20 | openSUSE-42.1-0                     | openSUSE-42.1-0                            | Yes     | (r ) Yes  | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-Optiarc_DVD+_-RW_AD-7560S_CN0855R16886597K01SU                                 |        
21 | packman                             | packman                                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://mirror.karneval.cz/pub/linux/packman/suse/openSUSE_Leap_42.1/                                              |        
22 | repo-debug                          | openSUSE-Leap-42.1-Debug                   | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/                                               |        
23 | repo-debug-non-oss                  | openSUSE-Leap-42.1-Debug-Non-Oss           | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.1/repo/non-oss/                                           |        
24 | repo-debug-update                   | openSUSE-Leap-42.1-Update-Debug            | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.1/oss                                                           |        
25 | repo-debug-update-non-oss           | openSUSE-Leap-42.1-Update-Debug-Non-Oss    | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.1/non-oss/                                                      |        
26 | repo-non-oss                        | openSUSE-Leap-42.1-Non-Oss                 | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/                                                 |        
27 | repo-oss                            | openSUSE-Leap-42.1-Oss                     | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/oss/                                                     |        
28 | repo-source                         | openSUSE-Leap-42.1-Source                  | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/                                              |        
29 | repo-update                         | openSUSE-Leap-42.1-Update                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/                                                                |        
30 | repo-update-non-oss                 | openSUSE-Leap-42.1-Update-Non-Oss          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/                                                            |        
xxxxxx@linux-2t4v:~> 




There’s got to be a way to fix this, even if I have to steal a copy of this file from somewhere else and manually correct it. Hey, I’m flexible. Also, this is the second time this has happened and it doesn’t make sense to reinstall only to have this happen again.

Thx

On Tue 14 Jun 2016 03:36:02 AM CDT, heidiheidi wrote:

There’s got to be a way to fix this, even if I have to steal a copy of
this file from somewhere else and manually correct it. Hey, I’m
flexible. Also, this is the second time this has happened and it doesn’t
make sense to reinstall only to have this happen again.

Thx

Hi
Yes, stick with the default repos, oss/non-oss set things up how you
want as the default, add packman if required and make sure it’s stable.

Then you can look at adding additional software.


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.21-14-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Thank you sir,

Based on the ‘sudo zypper lr -d’ info I provided previously, do I need to do anything at this point or just hang tuff and wait for a Gnome dev to get involved?

On Tue 14 Jun 2016 04:36:02 AM CDT, heidiheidi wrote:

malcolmlewis;2782069 Wrote:
> Hi
> Yes, stick with the default repos, oss/non-oss set things up how you
> want as the default, add packman if required and make sure it’s
> stable.
>
> Then you can look at adding additional software.
>
> –
> Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter
> #276890)
> openSUSE Leap 42.1|GNOME 3.16.2|4.1.21-14-default
> If you find this post helpful and are logged into the web interface,
> please show your appreciation and click on the star below… Thanks!

Thank you sir,

Based on the ‘sudo zypper lr -d’ info I provided previously, do I need
to do anything at this point or just hang tuff and wait for a Gnome dev
to get involved?

Hi
You have way too many added for even a bug report let alone a dev to be
involved… :frowning:

I think you need to slow down and take small steps, decide on a
‘preferred’ desktop and do the install, update the system and then
start configuring/customizing that doesn’t mean installing apps from
this and that repo, hold off on that.

For example, tweak your sysctl.conf file, tweak snapper config if you
use btrfs etc and keep just the default install repos no additional
ones. Get your desktop environment how you like it etc. Once thats all
done, then look at adding your additional apps, eg just add the packman
repo and update. Check the system is working as expected and then and
only then look at your list of additional applications and would
suggest you post a list (new thread) and can work through them so you
don’t wind up with a partially functioning system.

Remember small steps… :wink:


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.21-14-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!