sudo rm /var/lib/dpkg/available
sudo touch /var/lib/dpkg/available
sudo sh -c 'for i in /var/lib/apt/lists/*_Packages; do dpkg --merge-avail "$i"; done'
If previous instruction does not solve the problem...
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get clean
sudo apt-get update && sudo apt-get upgrade
Installing SQLite 3
First update the apt package repository cache with the following command:
$ sudo apt-get update
The apt package repository cache should be updated.
Now to install SQLite 3, run the following command:
$ sudo apt-get install sqlite3
SQLite 3 should be installed.
Now you can check whether SQLite 3 is working with the following command:
$ sqlite3 --version
Installing SQLite Browser
Run the following command to install SQLite Browser:
$ sudo apt-get install sqlitebrowser
Now press y and then press .
SQLite Browser should be installed.
Using SQLite using SQLite Browser
Now you can go to the Application Menu and search for SQLite Browser. You should see a database icon as marked in the screenshot below. Click on it.
Build program ---> mvn clean install
Run Project ----> mvn clean package
Set properties.yml file
------------------------------------------------------------------
spring:
profiles:dev
server:
port:8000
---
spring:
profiles:test
server:
port:9000
------------------------------------------------------------------
Set Environment variable(dev or test) environment using following ncommand:
or How to pass Environment variable to JVM