You are not logged in.

#1 2015-12-30 09:22

bobby
Member
From: Nevada, USA
Registered: 2015-12-24
Posts: 459
Website

Using Local Repository After Booting Q4OS LiveCD

I am posting in General Section as I am no Developer smile

That being said thought, I am trying to develop smile a post Local Package Repository using a USB Thumb Drive with Q4OS LiveCD session.

I was thinking about remastering the Q4OS Live CD but, that's overkill as all that I need for Q4OS to be prefect is for Apache Webserver to be Installed in the Live CD environment.

My Schema is:

--> create a new myq4osrepo.list file in:  /etc/apt/sources.list.d/

--> insert in new myq4osrepo.list file:

      # My Local Repository *.list file

      deb file:///media/adminq/MYQ4OS/Repository
   
      #MYQ4OS is volume name of USB Thumb Drive and proper path - works in terminal

--> Create a directory on USB Thumb Drive /media/adminq/MYQ4OS/Repository

--> Copy Apache2.xx.xxxx.deb and all dependencies to /media/adminq/MYQ4OS/Repository/

--> cd '/media/adminq/MYQ4OS/'

--> root@debian:/media/adminq/MYQ4OS# dpkg-scanpackages Repository | gzip > Repository/Packages.gz

FAILED Result: bash: dpkg-scanpackages: command not found

---------------

I have tried as root; with and without sudo;  installed dpkg-dev package;

Also used:    dpkg-scanpackages Repository/null | gzip -9c > Repository/Packages.gz

STILL FAILS:

Any Ideas ? of how to get dpkg-scanpackages work in Q4OS Live CD ?  "OR"

Plan B: Create Bash Executable .sh script  + Build Q4OS Installer Executable .esh  to get Apache Installed from Local Repo

OR

Plan C: PUNT smile

Last edited by bobby (2015-12-31 06:18)


No Longer Using Q4OS

Offline

#2 2015-12-31 10:42

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,516
Website

Re: Using Local Repository After Booting Q4OS LiveCD

Moved from 'General discussion'

bobby wrote:

FAILED Result: bash: dpkg-scanpackages: command not found

You have to install 'dpkg-dev' package:
$ sudo apt-get install dpkg-dev

Offline

#3 2015-12-31 17:49

bobby
Member
From: Nevada, USA
Registered: 2015-12-24
Posts: 459
Website

Re: Using Local Repository After Booting Q4OS LiveCD

Yes, afteri installing dpkg-dev package and it works now, THANKS !

Also, installed gdebi for testing purposes as well.


No Longer Using Q4OS

Offline

#4 2015-12-31 20:16

bobby
Member
From: Nevada, USA
Registered: 2015-12-24
Posts: 459
Website

Re: Using Local Repository After Booting Q4OS LiveCD

Is there an easy way to download a .deb package and required dependencies. In U's Software Center I have read you can right click a deb and it will create a download script for local installs.

a task that can not be done using dpkg command line.

Any suggestions ?


No Longer Using Q4OS

Offline

#5 2016-01-02 01:04

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,516
Website

Re: Using Local Repository After Booting Q4OS LiveCD

Offline

#6 2016-01-02 02:14

bobby
Member
From: Nevada, USA
Registered: 2015-12-24
Posts: 459
Website

Re: Using Local Repository After Booting Q4OS LiveCD

Q4os Team, Thank you Very Much ! - Happy New Year


No Longer Using Q4OS

Offline

Board footer

Powered by FluxBB