Ubuntu repo on PPM

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
Nouatvs
Black ninja
Black ninja
Posts: 40
Joined: 13 Jul 2013, 22:14
Distribution: kde
Location: www

Ubuntu repo on PPM

Post#1 by Nouatvs » 19 Jul 2013, 13:51

Is there any way to put ubuntu repo in PPM? It seems that internally the program takes the list of debian packages and I delete the debian.xzm and
wrote REPO=http://us.archive.ubuntu.com/ubuntu/ in debian text file of / etc / var / . But the ppm always take the listing debian :wall: :%)
Will there be a module porteus synaptic or muon, since this OS is root and guest? :crazy:

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Ubuntu repo on PPM

Post#2 by Hamza » 19 Jul 2013, 19:22

The name 'Debian' is hardcoded into Porteus Package Manager and can't be changed through configuration files. You have to edit the source code of PPM in order to make the Ubuntu repositories compatible with PPM.
NjVFQzY2Rg==

Nouatvs
Black ninja
Black ninja
Posts: 40
Joined: 13 Jul 2013, 22:14
Distribution: kde
Location: www

Re: Ubuntu repo on PPM

Post#3 by Nouatvs » 20 Jul 2013, 13:12

Thanks, but in porteus ppm is executable program? :(
Where this can be downloaded or find? :)

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Ubuntu repo on PPM

Post#4 by Hamza » 20 Jul 2013, 13:17

No it's plain source code that may be found in the directory /opt/porteus-scripts/
NjVFQzY2Rg==

Nouatvs
Black ninja
Black ninja
Posts: 40
Joined: 13 Jul 2013, 22:14
Distribution: kde
Location: www

Re: Ubuntu repo on PPM

Post#5 by Nouatvs » 20 Jul 2013, 13:28

Then I'll see it later. :D thanks

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Ubuntu repo on PPM

Post#6 by Hamza » 20 Jul 2013, 13:31

Moved the topic from "i486 modules requests" to "Newbie questions".
NjVFQzY2Rg==

don570
Contributor
Contributor
Posts: 99
Joined: 01 Jun 2012, 00:37
Location: Ontario

Re: Ubuntu repo on PPM

Post#7 by don570 » 20 Jul 2013, 20:23

I wrote an app to extract various alien packages such as
debian. Once it is extracted it can then be made into XZM module.

https://forum.porteus.org/viewtopic.php?f=53&t=1313

Nouatvs
Black ninja
Black ninja
Posts: 40
Joined: 13 Jul 2013, 22:14
Distribution: kde
Location: www

Re: Ubuntu repo on PPM

Post#8 by Nouatvs » 20 Jul 2013, 21:44

Thanks Don. I'll see the debianization of puppy and see if there is a pet in synaptic. :D
Hamza script and saw several calls to, however, take hand which was to change the repo and it seems that the file is different from archxx.list list ubuntu to debian. :cry:

Nouatvs
Black ninja
Black ninja
Posts: 40
Joined: 13 Jul 2013, 22:14
Distribution: kde
Location: www

Re: Ubuntu repo on PPM

Post#9 by Nouatvs » 20 Jul 2013, 22:39

don570. It's very good. I add .sb, sfs extension files. and change

cd "/"
base_name=`basename "$FILE" .sb`
STORE_FOLDER="$base_name"

#mkdir -p "$STORE_FOLDER"
cd "/"
exec xzm2dir "$FILE" . &

it decompresses the subfolders in / directly and not to the folder created.

You could modify it to upload it, I think, is more usable. Could have 3 options Home, subfolder and direct /. :)

Post Reply