skip to Main Content

I tried installing pgadmin4 on debian10 and it reported:

dpkg: error processing archive /var/cache/apt/archives/pgadmin4-web_4.24_all.deb (--unpack):
trying to overwrite '/etc/apache2/conf-available/pgadmin4.conf', which is also in package pgadmin4-apache2 4.23-1.pgdg100+1

Screenshot

2

Answers


  1. Try force-overwriting :

    sudo dpkg -i --force-overwrite /var/cache/apt/archives/pgadmin4-web_4.24_all.deb
    
    sudo apt-get -f install
    
    Login or Signup to reply.
  2. I just want to extend the answer of Thirumal. Just
    try to get into

    cd /var/cache/apt/archives/
    

    You will find the exact version of your pgadmin4-web there.The version at the time of writing this answer is

    pgadmin4-web_4.28_all.deb

    After you locate your own version then apply the following two commands

    sudo dpkg -i --force-overwrite /var/cache/apt/archives/pgadmin4-web_YOUR VERSION_all.deb
    
    sudo apt-get -f install
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search