Skip to content
Advertisement

Postgresql edit gone wrong on Ubuntu. Error every time I use sudo apt-get install

A few months back I edited the PostgreSQL version 8.2.19 source code in Ubuntu OS to change the algorithm of the buffer manager in it. I don’t remember what I exactly did but I did something wrong (clearly) so now whenever I try to install a new program, I get the following error (even after it installs successfully)

This was after I used the command sudo apt-get install maven to install maven. This happens every time I do a sudo apt-get install <whatever>, the program installs but this comes up:

Errors were encountered while processing:

JavaScript

I think I messed with some files that affect what happens when a sudo apt-get install is done and I’m trying to get this to go away. I have attached a screenshot as well. Can someone help me?

***I need 10 reputation to post an image so it won’t let me post a screenshot so here is the end part of the Maven install*****

JavaScript

Advertisement

Answer

Sorry for the late post, I figured this out around a year ago. I used the purge method in Ubuntu to completely unintall postgres. It stopped the error.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement