Results 1 to 2 of 2

Thread: pkgcache.bin

  1. Back To Top    #1
    kubuntux

    pkgcache.bin

    What does contains pkgcache.bin under /var/cache/apt ? Why if have 2 computer ... after making apt-get update the pkgcache.bin is not the same ? I have tried to deleted this and I have noted that pkgcache.bin will be created by a apt-get update ... it is dangerous to delete pkgcache.bin ?

  2. Back To Top    #2
    Emergent AI Rog131's Avatar
    Join Date
    Nov 2005
    Posts
    4,410
    Threads
    123
    Local Date
    Apr 8th 2020
    Local Time
    08:43 PM

    Re: pkgcache.bin

    From googles mouth:

    APT-RPM configuration options
    http://apt-rpm.org/options.shtml
    pkgcache Apt's memory mapped package cache location, normally /var/cache/apt/pkgcache.bin

    it is dangerous to delete pkgcache.bin ?
    No - package managers just make new one.


    Sometimes it is good to remove pkgcache.bin:
    apt-get, aptitude, synaptic, update- manager crash
    http://ubuntuforums.org/showthread.php?t=299705
    Try removing /var/cache/apt/pkgcache.bin and /var/cache/apt/srcpkgcache.bin then re-run apt-get update
    See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=383223 for the bug that has been logged (https://launchpad.net/products/apt/+bug/63850 is the launchpad link)
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •