READ ONLY FORUM: m23 :: makes software distribution easy Forum Index READ ONLY FORUM: m23 :: makes software distribution easy
The m23 discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with the Package Builder
Goto page 1, 2  Next
 
Post new topic   Reply to topic    READ ONLY FORUM: m23 :: makes software distribution easy Forum Index -> Problems with the client / Clientprobleme
View previous topic :: View next topic  
Author Message
FillFeile



Joined: 28 Mar 2014
Posts: 11

PostPosted: Fri Apr 04, 2014 14:03    Post subject: Problem with the Package Builder Reply with quote

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
View user's profile Send private message
Guest






PostPosted: Fri Apr 04, 2014 16:58    Post subject: Reply with quote

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

PostPosted: Mon Apr 07, 2014 9:27    Post subject: Reply with quote

As you already mentioned, yes I found that out by myself Wink

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
View user's profile Send private message
Hauke



Joined: 02 Mar 2003
Posts: 1072

PostPosted: Mon Apr 07, 2014 14:08    Post subject: Reply with quote

Hi,

the Debian packages you created via the m23 webinterface should be available for installation and searching right after the creation Confused

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
View user's profile Send private message Send e-mail Visit poster's website
FillFeile



Joined: 28 Mar 2014
Posts: 11

PostPosted: Tue Apr 08, 2014 13:14    Post subject: Reply with quote

The Size looks pretty good, nearly the same.

Re-create package index doesn't help..

Any other ideas?
Back to top
View user's profile Send private message
Hauke



Joined: 02 Mar 2003
Posts: 1072

PostPosted: Tue Apr 08, 2014 16:47    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
FillFeile



Joined: 28 Mar 2014
Posts: 11

PostPosted: Wed Apr 09, 2014 13:14    Post subject: Reply with quote

I updated the package search index everytime I tried searching.

But the package still doesn't appear.
Back to top
View user's profile Send private message
Hauke



Joined: 02 Mar 2003
Posts: 1072

PostPosted: Thu Apr 10, 2014 19:27    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
FillFeile



Joined: 28 Mar 2014
Posts: 11

PostPosted: Fri Apr 25, 2014 10:29    Post subject: Still no success Reply with quote

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
View user's profile Send private message
Maren
Guest





PostPosted: Fri Apr 25, 2014 21:32    Post subject: Reply with quote

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

PostPosted: Sun Apr 27, 2014 8:31    Post subject: Date changes Reply with quote

@Maren, sorry I just missed to answer this question. I don't wanted to annoy you.

Here the screenshots:

Before:
http://imagebin.org/307719

After:
http://imagebin.org/307720

Yes, the date changes.
Back to top
View user's profile Send private message
Hauke



Joined: 02 Mar 2003
Posts: 1072

PostPosted: Sun Apr 27, 2014 14:40    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
FillFeile



Joined: 28 Mar 2014
Posts: 11

PostPosted: Mon Apr 28, 2014 14:26    Post subject: Reply with quote

Hi,

as I mentioned above this time I tried to integrate a prepacked .deb file.

You can take a look at this one here:

http://owncloud.phaenovum.org/public.php?service=files&t=e27a2370029d49145f7a2caaf5954aa7

The manual installation on my test system worked well. So I think the .deb file should be fine.
Back to top
View user's profile Send private message
Maren
Guest





PostPosted: Mon Apr 28, 2014 15:37    Post subject: Reply with quote

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

PostPosted: Mon Apr 28, 2014 19:20    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    READ ONLY FORUM: m23 :: makes software distribution easy Forum Index -> Problems with the client / Clientprobleme All times are GMT - 2 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group