View previous topic :: View next topic |
Author |
Message |
FillFeile
Joined: 28 Mar 2014 Posts: 11
|
Posted: Fri Apr 04, 2014 14:03 Post subject: Problem with the Package Builder |
|
|
Hello together,
I have copied a tar.gz archive to the /m23/data+scripts/extraDebs/ directory. I created a .deb file with the Package Builder.
Now my Problem:
I have no idea how the installaion of the created package works. Is there a easy way to install .deb to a client with m23?
Cheers
FillFeile |
|
Back to top |
|
|
Guest
|
Posted: Fri Apr 04, 2014 16:58 Post subject: |
|
|
Hi FillFeile,
just go to the Menu item 'Packages' -> 'Install',
choose a client onto which you wish to install the package (or search it using the search bar),
click on 'Install' to indicate that you want to use this client,
in the next dialog, if necessary, click on 'update package search index' (this will take a while but ensure that your new package is in the search list),
then type in the package name into the search dialog,
click on 'Search' (normal packages),
click on 'preselect' behind the package you want,
search for further packages if you need to,
'preselect' those, too,
click on 'installation preview' if you want to,
click on 'install selected packages'.
Guess you might have found this out by yourself until now,
happy installing! |
|
Back to top |
|
|
FillFeile
Joined: 28 Mar 2014 Posts: 11
|
Posted: Mon Apr 07, 2014 9:27 Post subject: |
|
|
As you already mentioned, yes I found that out by myself
This method works fine for every normal debain package located in the debain repositorys. But I'm not able to find the packages created by the Package Builder. Do I need to add them to the client in a special way?
Thanks for your fast answer! |
|
Back to top |
|
|
Hauke
Joined: 02 Mar 2003 Posts: 1072
|
Posted: Mon Apr 07, 2014 14:08 Post subject: |
|
|
Hi,
the Debian packages you created via the m23 webinterface should be available for installation and searching right after the creation
Is the package searchable after clicking on the "Re-create package index" button?
Does the package have a size that is similar to the tar.gz? _________________ Hauke Goos-Habermann
- project leader m23 (http://m23.sf.net) -
Jabber: dodgerm23@jabber.org
Schulung, Entwicklung und Support zu m23 und anderen OpenSource-Produkten: www.goos-habermann.de
Auch DU kannst etwas gegen Softwarepatente tun! www.patentfrei.de |
|
Back to top |
|
|
FillFeile
Joined: 28 Mar 2014 Posts: 11
|
Posted: Tue Apr 08, 2014 13:14 Post subject: |
|
|
The Size looks pretty good, nearly the same.
Re-create package index doesn't help..
Any other ideas? |
|
Back to top |
|
|
Hauke
Joined: 02 Mar 2003 Posts: 1072
|
Posted: Tue Apr 08, 2014 16:47 Post subject: |
|
|
Hi,
when was the packge search index updated last (date is visible on the package installation page)?
Is your package searchable after clicking on "Update package search index"? _________________ Hauke Goos-Habermann
- project leader m23 (http://m23.sf.net) -
Jabber: dodgerm23@jabber.org
Schulung, Entwicklung und Support zu m23 und anderen OpenSource-Produkten: www.goos-habermann.de
Auch DU kannst etwas gegen Softwarepatente tun! www.patentfrei.de |
|
Back to top |
|
|
FillFeile
Joined: 28 Mar 2014 Posts: 11
|
Posted: Wed Apr 09, 2014 13:14 Post subject: |
|
|
I updated the package search index everytime I tried searching.
But the package still doesn't appear. |
|
Back to top |
|
|
Hauke
Joined: 02 Mar 2003 Posts: 1072
|
Posted: Thu Apr 10, 2014 19:27 Post subject: |
|
|
Does the date change too (date is visible on the package installation page)?
Maybe the name of your package contains problematic characters. What is the name of the package? _________________ Hauke Goos-Habermann
- project leader m23 (http://m23.sf.net) -
Jabber: dodgerm23@jabber.org
Schulung, Entwicklung und Support zu m23 und anderen OpenSource-Produkten: www.goos-habermann.de
Auch DU kannst etwas gegen Softwarepatente tun! www.patentfrei.de |
|
Back to top |
|
|
FillFeile
Joined: 28 Mar 2014 Posts: 11
|
Posted: Fri Apr 25, 2014 10:29 Post subject: Still no success |
|
|
I'm still not able to install the package.
Now I installed m23 on a fresh debain machine.
I packed a custom .deb package and tested the installation directly on the client. That worked without any problems (so the .deb archive seems to be fully correct).
Then I copied the .deb to the extraDebs folder on the m23 server and the package appears in the package builder. The name is helloworld.deb, so no special characters.
Then I tried to search for the package in the client install screen and typed "helloworld", but nothing appeard.
Are there any mistakes in my process?
EDIT: I also updated the package search index. |
|
Back to top |
|
|
Maren Guest
|
Posted: Fri Apr 25, 2014 21:32 Post subject: |
|
|
Could you make two screenshots of the page you mean?
One before updating the package index and one after it so we can see if the date changes (if you won't tell us...)?
I'm sorry that you can't upload the pics to the forum directly, so you will have to use a picture hoster for this.
Thank you![/img] |
|
Back to top |
|
|
FillFeile
Joined: 28 Mar 2014 Posts: 11
|
|
Back to top |
|
|
Hauke
Joined: 02 Mar 2003 Posts: 1072
|
Posted: Sun Apr 27, 2014 14:40 Post subject: |
|
|
Hi,
it seems that the Packages file was not updated (size is 0) and the Debian package not build correctly.
Can you upload the tar file that you converted to the Debian package? _________________ Hauke Goos-Habermann
- project leader m23 (http://m23.sf.net) -
Jabber: dodgerm23@jabber.org
Schulung, Entwicklung und Support zu m23 und anderen OpenSource-Produkten: www.goos-habermann.de
Auch DU kannst etwas gegen Softwarepatente tun! www.patentfrei.de |
|
Back to top |
|
|
FillFeile
Joined: 28 Mar 2014 Posts: 11
|
|
Back to top |
|
|
Maren Guest
|
Posted: Mon Apr 28, 2014 15:37 Post subject: |
|
|
Hauke just asked me to ask you to do these two things for further checking:
- do "dpkg-scanpackages ." in the directory where the package is to check (again...) for integrity
Does this look okay?
- also try "chmod 777 helloworld.deb" to ensure that the rights are set to allow the server to access the package
Does this help? |
|
Back to top |
|
|
FillFeile
Joined: 28 Mar 2014 Posts: 11
|
Posted: Mon Apr 28, 2014 19:20 Post subject: |
|
|
Here is the output of dpkg-scanpackages:
Code: | root@m23-server:/m23/data+scripts/extraDebs# dpkg-scanpackages ./
Package: helloworld
Version: 0.0.1-0
Architecture: all
Maintainer: XXXXXX <XXXXXXXX>
Installed-Size: 8
Filename: .//helloworld.deb
Size: 718
MD5sum: e69336449320e7ff9eda4cd6a8edafad
SHA1: 2fd4ef8b911e0b05f9c7e1271bcacab1175bf18f
SHA256: b6d7b4eecf147b5fda2bf3de57e3a97a3eee6c703b8878a23faecb6c440e2620
Section: misc
Priority: extra
Homepage: XXXXXXXXX
Description: Demo package
dpkg-scanpackages: Information: 1 Einträge wurden in Ausgabe-Paketdatei geschrieben.
|
I also applied chmod 777 to the helloworld.deb. That doesn't help either.
Packages still stays on size 0. Searching for helloworld, no result. |
|
Back to top |
|
|
|