Giter Club home page Giter Club logo

Comments (8)

elementaryBot avatar elementaryBot commented on June 15, 2024

https://www.bountysource.com/issues/37126277-appcenter-is-empty-if-apt-update-has-never-been-run

Launchpad Details: #LPC Daniel Fore - 2016-08-20 19:12:47 +0000

from appcenter.

elementaryBot avatar elementaryBot commented on June 15, 2024

Some progress has been made. As of now, if you restart (or otherwise kill appcenter) the issue will correct itself.

Jeremy seems to think that it might not be possible to solve under current packagekit API and it might be an upstream issue. He cites that it may possibly be related to https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1563155

Launchpad Details: #LPC Daniel Fore - 2016-08-29 16:02:30 +0000

from appcenter.

elementaryBot avatar elementaryBot commented on June 15, 2024

I'm trying to run Loki live from USB and have this problem. Removed appcentre, reboot, re-installed appcentre, reboot and still have the same problem. tried sudo apt update and get the following:
"Reading package lists... Done
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/"

Launchpad Details: #LPC jpdpza - 2016-09-19 07:11:36 +0000

from appcenter.

brs17 avatar brs17 commented on June 15, 2024

Locally killing the appcenter and then refreshing the cache: sudo appstreamcli refresh-cache --force solves the issue on next launch of the appcenter. Perhaps forcing a cache refresh on first boot would solve this issue?

from appcenter.

cassidyjames avatar cassidyjames commented on June 15, 2024

@brs17 is that the same as:

As of now, if you restart (or otherwise kill appcenter) the issue will correct itself.

?

from appcenter.

brs17 avatar brs17 commented on June 15, 2024

@cassidyjames I guess at least somewhat, what I was trying to point at is perhaps running appstreamcli refresh-cache --force upon first boot may resolve this issue and when the appcenter is opened for the first time.

from appcenter.

mmstick avatar mmstick commented on June 15, 2024

Could also run this the first time the app center is opened, and before GTK is initialized, I suppose?

new GLib.Subprocess.newv (
    {"pkexec", "appstreamcli", "refresh-cache", "--force"},
    GLib.SubprocessFlags.NONE
).wait ();

from appcenter.

danirabbit avatar danirabbit commented on June 15, 2024

Gonna drop from the Juno milestone since this was already an issue in Loki

from appcenter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.