Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

troubleshooting.md updated #39

Open
wants to merge 11 commits into
base: aayush
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions deb_packages/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Package: swifiic
Version: 0.1
Architecture: all
Maintainer: Abhishek Thakur
Installed-Size: 6
Depends: bash
Section: testing
Priority: optional
Homepage: http://www.swifiic.in/
Description:Installs tomcat8-user, IBRDTN, mysql-server,jdk.

4 changes: 4 additions & 0 deletions deb_packages/DEBIAN/postinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
set -e
echo 'Installing program : swifiic.sh ......'

3 changes: 3 additions & 0 deletions deb_packages/DEBIAN/prerm
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
set -e
echo 'Removing program : swifiic.sh ......'
Binary file added deb_packages/DEBIAN/swifiic_0.1_all.deb
Binary file not shown.
Binary file added deb_packages/Packages.gz
Binary file not shown.
39 changes: 39 additions & 0 deletions deb_packages/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# deb_packages for swifiic
Package name: ***swifiic***

**About:** The package will install following dependencies, required for swifiic setup:
- [ ] tomcat8
- [ ] mysql-server
- [ ] openjdk-8-jdk
- [ ] default-jre

## Installation
1. Add the follwoing line in */etc/apt/sources.list*

``` deb https://github.com/aayush4vedi/deb_packages/raw/master ./```
2. Update

``` sudo apt-get update && sudo apt-get dist-upgrade -y ```
3. Install(root access required)

``` apt-get install swifiic ```


# Troubleshooting
```diff
- Error “E:Encountered a section with no Package: header, E:Problem with MergeList …….”
```

## Fix it by these steps ..
1. Clean up..
* ```sudo apt-get clean ```
* ```sudo apt-get autoclean ```
* ```sudo apt-get purge ```
* ```sudo apt-get autoremove -y```
* ```sudo rm -fv /var/lib/apt/lists/* ```

2. Full update..
* ``` sudo apt-get update ```
* ``` sudo apt-get dist-upgrade -y ```

3. Reboot
8 changes: 8 additions & 0 deletions deb_packages/bin/swifiic
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
apt-get update # To get the latest package lists
sudo apt-get install tomcat8-user tomcat8-common mysql-server openjdk-8-jdk default-jre -y

#etc



2 changes: 2 additions & 0 deletions deb_packages/import.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
dpkg-scanpackages . /dev/null |gzip > Packages.gz
8 changes: 8 additions & 0 deletions deb_packages/pgmdir/swifiic.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
apt-get update # To get the latest package lists
sudo apt-get install tomcat8-user tomcat8-common mysql-server openjdk-8-jdk default-jre -y

#etc



Binary file added deb_packages/swifiic.deb
Binary file not shown.
14 changes: 14 additions & 0 deletions troubleshooting.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Installation and trouble shooting guidelines for app setup in moblets

## Installation:
(Ensure the correct order)
1. [IBR-DTN](https://apkpure.com/ibr-dtn/de.tubs.ibr.dtn/download?from=details)
2. [SOA](https://github.com/swifiic/repo/tree/aayush/plat/app/soa/andi)/[SUTA](https://github.com/swifiic/repo/tree/aayush/plat/app/suta/andi)
3. [SWiFiIC Msngr](https://github.com/swifiic/repo/tree/master/app/msngr/andi)


## Troubleshooting
![picture alt](https://github.com/aayush4vedi/repo/blob/master/troubleShooting/ibrdtn.jpg "for IBR-DTN")
![picture alt](https://github.com/aayush4vedi/repo/blob/master/troubleShooting/soa%20(2).jpg)
![picture alt](https://github.com/aayush4vedi/repo/blob/master/troubleShooting/suta.jpg)
![picture alt](https://github.com/aayush4vedi/repo/blob/master/troubleShooting/msngr.jpg)