In this tutorial, we will show you how to fix the error “directory /var/log/apt/ missing” in Cydia.

Jailbreaking your iOS device after months of waiting is an exciting moment and provides the opportunity to install your favorite jailbreak tweaks and apps. However, it can be a bummer when you’re faced with installation issues in Cydia.

One of the common errors that Cydia shows when installing a package is the “directory ‘/var/log/apt/’ missing” message. Fortunately, it is very easy to fix this in a matter of few minutes. Read on to find how to fix the Cydia error “directory ‘/var/log/apt/’ missing”.

How to Fix Cydia Error “directory /var/log/apt/ missing”

Step 1: Open Cydia and install mTerminal.

mterminal cydia package tweak

Step 2: Once installed, open Terminal from your iPhone Home screen.

Step 3: Type the following commands into Terminal, pressing Enter/Return after each line:

mkdir /var/log/apt

Note: the default password of SSH is ‘alpine’. If you have changed it, then replace ‘alpine’ with the password you set.

fix error "directory '/var/log/apt/' missing"

After you enter the above commands successfully, the missing directory ‘apt’ will be created and Cydia will no longer display the error when you’re installing a package.

You may also want to read:

If you face any issues, let us know in the comments below.

Tags: , , ,

  • mohammed jadallah fix trying to overwrite /library/mobilesubstrate/dynamiclibraries

    how to fix please

    can not install any tweeks 🙁

    • Ali

      Hey Mohammed, I’ll write a post in an hour for fixing that. Stay tuned.

    • Ali

      Can you try entering these commands in mTerminal:

      1. su
      2. Enter SSH password (default is ‘alpine’)
      3. cd /Library/MobileSubstrate/DynamicLibraries
      4. ls -1
      5. rm DynamicLibraries

      • mohammed jadallah

        I tried it
        Wont work

    • Deybely Barreto

      Put this address in safari com.saurik.patcyh and install the tweak that you will get

      • mohammed jadallah

        What ??


    je dois redémarrer appareille et refaire le jailbreak ?

    • Ali

      English please 🙂

      • AMINE

        after this operation, i must reboot my idevice and restart the jailbreak

        • Ali

          No need for that, but if you still see the error, then do a restart and re-jailbreak.

  • Valteir Alves

    I am typing the password but it does not appear, then the incorrect password message appears

  • mike

    i get the error, and I understand that making the directory will make it go away, but why is the directory not there in the first place?