Announcement

Collapse
No announcement yet.

Kubuntu dev request: integrate QApt index with apt-get

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SteveRiley
    replied
    Originally posted by NickStone View Post
    I can't create the file.
    Hmm.... the directory /etc/apt/apt.conf.d/ should exist on your system. Can you verify?

    Leave a comment:


  • SteveRiley
    replied
    Originally posted by notabug View Post
    I don't know the meaning of this
    The repositorites contain translation files. Both Apt and QApt need these. Those extra lines are the output of the Xapian indexer reading the translation files for QApt.

    Leave a comment:


  • SteveRiley
    replied
    Originally posted by vinnywright View Post
    PS my output looks diferent than yours SR ,,,will reboot and test one more time and look for a change.
    Vinny, it appears that you ran apt-get upgrade rather than apt-get update.

    Leave a comment:


  • NickStone
    Guest replied
    I can't create the file.
    Attached Files

    Leave a comment:


  • GreyGeek
    replied
    Originally posted by notabug View Post
    I don't know the meaning of this ...
    Neither do I, but the developers do, and that is why we who volunteered added that script.

    Leave a comment:


  • notabug
    replied
    I don't know the meaning of this
    Code:
    Fetched 1,979 kB in 22s (87.5 kB/s)                                             
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_main_i18n_Translation-en: done.   
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_multiverse_i18n_Translation-en: done.   
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_restricted_i18n_Translation-en: done.   
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_universe_i18n_Translation-en: done.   
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty-updates_multiverse_i18n_Translation-en: done.   
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty-updates_restricted_i18n_Translation-en: done.   
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty-backports_main_i18n_Translation-en: done.   
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty-backports_multiverse_i18n_Translation-en: done.   
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty-backports_restricted_i18n_Translation-en: done.   
    Reading en translations from /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_multiverse_i18n_Translation-en: done.   
    Reading en translations from /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_restricted_i18n_Translation-en: done.   
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty-proposed_multiverse_i18n_Translation-en: done.  
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty-proposed_restricted_i18n_Translation-en: done.   
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty-updates_main_i18n_Translation-en: done.   
    Reading en translations from /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_main_i18n_Translation-en: done.   
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty-updates_universe_i18n_Translation-en: done.   
    Reading en translations from /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_universe_i18n_Translation-en: done.   
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty-backports_universe_i18n_Translation-en: done.   
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty-proposed_main_i18n_Translation-en: done.   
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty-proposed_universe_i18n_Translation-en: done.   
    Reading Xapian index: done.   
    Updating Xapian index: done.   
    Reading package lists... Done

    Leave a comment:


  • vinnywright
    replied
    nope no change ,,,same output

    VINNY

    Leave a comment:


  • vinnywright
    replied
    done and apparently no problems so far ,,,,,
    Code:
    The index /var/lib/apt-xapian-index is up to date
    Reading package lists... Done
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    VINNY

    PS my output looks diferent than yours SR ,,,will reboot and test one more time and look for a change.

    Leave a comment:


  • GreyGeek
    replied
    Done.

    EDIT: Output results:
    Code:
    Fetched 1,721 kB in 12s (135 kB/s)                                             
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_restricted_i18n_Translation-en: done.  
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty-updates_restricted_i18n_Translation-en: done.  
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty-backports_restricted_i18n_Translation-en: done.  
    Reading en translations from /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_restricted_i18n_Translation-en: done.  
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_main_i18n_Translation-en: done.  
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_multiverse_i18n_Translation-en: done.  
    Reading en translations from /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_multiverse_i18n_Translation-en: done.  
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_universe_i18n_Translation-en: done.  
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty-backports_multiverse_i18n_Translation-en: done.  
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty-updates_multiverse_i18n_Translation-en: done.  
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty-backports_main_i18n_Translation-en: done.  
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty-updates_main_i18n_Translation-en: done.  
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty-backports_universe_i18n_Translation-en: done.  
    Reading en translations from /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_main_i18n_Translation-en: done.  
    Reading en translations from /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_universe_i18n_Translation-en: done.  
    Reading en translations from /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty-updates_universe_i18n_Translation-en: done.  
    Reading Xapian index: done.  
    Updating Xapian index: done.  
    Reading package lists... Done
    Last edited by GreyGeek; Jul 23, 2014, 03:03 PM.

    Leave a comment:


  • Kubuntu dev request: integrate QApt index with apt-get

    In our little corner of the Linux desktop world, we have two package management indexes. One is maintained by Apt (apt-get, apt-cache, dpkg, and related). The other is mainted by QApt, an abstraction layer for Apt that's integrated with Qt and KDE applications -- Muon being the prime example.

    In a recent email to the kubuntu-devel list, Harald has asked for some help with a small but important test: invoking the QApt indexer, called Xapian, whenever apt-get update successfully runs. It's easy to do:

    1. Run your favorite text editor as root and create the file /etc/apt/apt.conf.d/90xapian

    2. Paste the following line into the file:
    Code:
    APT::Update::Post-Invoke-Success { "if [ -x /usr/sbin/update-apt-xapian-index ]; then update-apt-xapian-index -u; fi" }
    3. Save the file and exit the editor

    When you run apt-get update, you'll see something like:
    Code:
    ...
    Fetched 85.7 kB in 20s (4,196 B/s)
    Reading .desktop files from /usr/share/app-install/desktop/: done.  
    ... }
    ... } [i]several lines of reading translation files[/i]
    ... }
    Reading Xapian index: done.  
    Updating Xapian index: done.  
    Reading package lists... Done
    It will likely increase the run time of apt-get update by only a few seconds.

    The test is to help gather information for determining whether to make this a Ubuntu-wide change for 15.04. It's an easy thing to do, won't harm your system, and helps improve package management and stability.

    If you encounter issues, report back here or (better) subscribe to kubuntu-devel and reply to Harald's message.
    Last edited by SteveRiley; Jul 25, 2014, 12:05 AM.

Users Viewing This Topic

Collapse

There are 0 users viewing this topic.

Working...
X