Top Menu

Jump to content
  • Package manager
    • View all projects
Home
    • Work packages
    • News
    • Getting started
    • Introduction video
    • Welcome to OpenProject

      Get an overview

      Get a quick overview of project management and team collaboration with OpenProject.
      You can restart this video from the help menu

    • Help and support
    • Upgrade to Enterprise Edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Professional support

    • Additional resources
    • Data privacy and security policy
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Create a new account
      Forgot your password?

Side Menu

  • Overview
  • Activity
  • Work packages
  • News
  • Forums
  • Repository
  • Wiki
    • Table of contents
      • Expanded. Click to collapseCollapsed. Click to showWiki
        • Hierarchy leafCaches and Metadata locations
        • Hierarchy leafConfiguring pkgmanager
        • Hierarchy leafHelp
        • Hierarchy leafInstalling new software
        • Expanded. Click to collapseCollapsed. Click to showPackaging new software
          • Hierarchy leafPackage structure and metadata
          • Hierarchy leaftxz format
        • Hierarchy leafRemoving software
        • Hierarchy leafUpgrading software
You are here:
  • Wiki
  • Caches and Metadata locations

Content

Caches and Metadata locations

  • More
    • Table of contents

Package metadata location

Package metadata belongs to /var/lib/pkg. For each package installed a folder is create after its name.

ls -1d /var/lib/pkg/*  | head -15
/var/lib/pkg/Cython/
/var/lib/pkg/GitPython/
/var/lib/pkg/Mako/
/var/lib/pkg/ModemManager/
/var/lib/pkg/NetworkManager/
/var/lib/pkg/NetworkManager-openconnect/
/var/lib/pkg/NetworkManager-openvpn/
/var/lib/pkg/PyQt5/
/var/lib/pkg/PyQt5_sip/
/var/lib/pkg/PyQtWebEngine/
/var/lib/pkg/PyYAML/
/var/lib/pkg/Remmina/
/var/lib/pkg/a52dec/
/var/lib/pkg/aalib/
/var/lib/pkg/account-plugins/

Each package contains a file with a file list of the package, a dependency file that lists the package dependencies, origin repository, info file, etc.

ls -1d /var/lib/pkg/python3/*
/var/lib/pkg/python3/python3-3.9.7.build
/var/lib/pkg/python3/python3-3.9.7.dependency
/var/lib/pkg/python3/python3-3.9.7.tag
/var/lib/pkg/python3/python3-3.9.7.tree
/var/lib/pkg/python3/python3.info
/var/lib/pkg/python3/python3.url

All of these files are necessary to be in place to make pkgmanager be able to recognize the package, it's relations to other packages and files in the system.

Repository cache location

Repository caches are located in /var/cache/pkgmanager/

Each folder in /var/cache/pkgmanager represents a remote repository.

Cache structure:

ls /var/cache/pkgmanager/ftp.tankos.org/
PKGLIST  PKGNAMES  pkgs/  priority

PKGLIST - is a list of all packages a remote repository provide

PKGNAMES - a short list of all package names a repository provide

priority - the priority of the repository

pkgs/ - folder which contains packages downloaded from the repository

Loading...