How to add a Ubuntu repository to ppm?
How to add a Ubuntu repository to ppm?
Hi all I need some help with the following (for precise puppy):
1. adding an unsupported ubuntu ppa to ppm - kxstudio, playonlinux, google
2. installing xfce and emerald - strange, but I can't seem to make the sfs work - after installing I can't start X any more.
3. (don't kill me, I know how most of you feel about it, but I need it) adding several users.
If someone can actually post the edited repository file to include kxstudio it'll be awesome... I'm configuring a puppy in virtualbox to make to iso later for personal use.
Any help will be greatly appreciated!
1. adding an unsupported ubuntu ppa to ppm - kxstudio, playonlinux, google
2. installing xfce and emerald - strange, but I can't seem to make the sfs work - after installing I can't start X any more.
3. (don't kill me, I know how most of you feel about it, but I need it) adding several users.
If someone can actually post the edited repository file to include kxstudio it'll be awesome... I'm configuring a puppy in virtualbox to make to iso later for personal use.
Any help will be greatly appreciated!
Unless someone can tell me different, PPA's are for Ubuntu. While Precise was developed to utilize their pkg repository, Pups pacman is solely it's own.
Several users? Sure, have everyone create their own encrypted save file. Otherwise, it's just about any other distro you're looking for..
And Emerald? Not for me to answer.
Several users? Sure, have everyone create their own encrypted save file. Otherwise, it's just about any other distro you're looking for..
And Emerald? Not for me to answer.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
Thanks for the reply Semme
However - the ubuntu based puppies (like Lucid and Precise) support debian packages. The puppy package manager uses the universe, multiverse and restricted. As far as I know (I'm not an advanced puppy user, so I might be mistaken) puppy package manager converts the ppa url's to an understandable format to use. If you check in /root/.packages (actually not 100% sure that's the correct path - writing from my Ubuntu install at the moment) you'll find the repository lists there.
I just need to know how to add repos different for the ones already included.
On a totally unrelated note,
I remember there was a pet for emerald long time ago, but I can't find it and besides, I think it'll be a bit outdated... I don't want to compile from source, because I'm going to compile the kernel (because I need realtime and for the fun of it - it's my first attempt to build my own puppy, even though I'm going to use the puppy remaster tool included under "setup" in menu). Don't laugh me off guys - we all start from somewhere Not to mention I actually really need it - I'm a movie composer and I mainly use Linux for my mixing, sampling, and scoring needs. Some some extra speed (which puppy provides) will help me greatly And yes, I know there is a pupplet Puppy Studio 4, but I prefer newer version on some of the programs, besides - it's based on lucid and it's only 32 bit. And I'd prefer a 64 bit OS on a 64 bit computer.
However - the ubuntu based puppies (like Lucid and Precise) support debian packages. The puppy package manager uses the universe, multiverse and restricted. As far as I know (I'm not an advanced puppy user, so I might be mistaken) puppy package manager converts the ppa url's to an understandable format to use. If you check in /root/.packages (actually not 100% sure that's the correct path - writing from my Ubuntu install at the moment) you'll find the repository lists there.
I just need to know how to add repos different for the ones already included.
On a totally unrelated note,
I remember there was a pet for emerald long time ago, but I can't find it and besides, I think it'll be a bit outdated... I don't want to compile from source, because I'm going to compile the kernel (because I need realtime and for the fun of it - it's my first attempt to build my own puppy, even though I'm going to use the puppy remaster tool included under "setup" in menu). Don't laugh me off guys - we all start from somewhere Not to mention I actually really need it - I'm a movie composer and I mainly use Linux for my mixing, sampling, and scoring needs. Some some extra speed (which puppy provides) will help me greatly And yes, I know there is a pupplet Puppy Studio 4, but I prefer newer version on some of the programs, besides - it's based on lucid and it's only 32 bit. And I'd prefer a 64 bit OS on a 64 bit computer.
Haven't tried it but you should be able to add the PPA link to /root/.packages/DISTRO_COMPAT_REPOS and then from the PPM do an update of the databases.
/usr/local/petget/configure.sh is the script that handles the updating if you want to look at it for more insight.
Let us know either way.
/usr/local/petget/configure.sh is the script that handles the updating if you want to look at it for more insight.
Let us know either way.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==
Thank you I was able to add the repos, however it doesn't work as expected - it can't search them, even though I updated and another weird thing - it can't download anything from anywhere... I might drop this project for now, unless I get some more free time..mavrothal wrote:Haven't tried it but you should be able to add the PPA link to /root/.packages/DISTRO_COMPAT_REPOS and then from the PPM do an update of the databases.
/usr/local/petget/configure.sh is the script that handles the updating if you want to look at it for more insight.
Let us know either way.
If I was able to make apt run (for now I get a libc6 error) I wouldn't have to depend on ppm, but than again - if I was to do that I'd better get Ubuntu directly... And than again - puppy is so much faster... But I guess all the additional stuff will make it slow... hmm...
P.S.
here's what I was able to generate
Code: Select all
#where to get pkg docs, format: domain|uri|localfilename...
PKG_DOCS_DISTRO_COMPAT="archive.ubuntu.com|http://archive.ubuntu.com/ubuntu/dists/${DISTRO_COMPAT_VERSION}/main/binary-i386/Packages.bz2|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-main archive.ubuntu.com|http://archive.ubuntu.com/ubuntu/dists/${DISTRO_COMPAT_VERSION}/universe/binary-i386/Packages.bz2|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-universe archive.ubuntu.com|http://archive.ubuntu.com/ubuntu/dists/${DISTRO_COMPAT_VERSION}/multiverse/binary-i386/Packages.bz2|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-multiverse ppa.launchpad.net|http://ppa.launchpad.net/kxstudio-team/ppa/ubuntu/dists/precise/main/binary-i386/Packages.bz2|kxstudio ppa.launchpad.net|http://ppa.launchpad.net/kxstudio-team/ppa/ubuntu/dists/precise/main/binary-amd64/Packages.bz2|kxstudio_amd64 ppa.launchpad.net|http://ppa.launchpad.net/irie/blender/ubuntu/dists/precise/main/binary-i386/Packages.bz2|blender-irie ppa.launchpad.net|http://ppa.launchpad.net/irie/blender/ubuntu/dists/precise/main/binary-amd64/Packages.bz2|blender-irie_64 dl.google.com|https://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Packages.gz|google-chrome_64 ppa.launchpad.net|http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu/dists/precise/main/binary-i386/Packages.bz2|gimp ppa.launchpad.net|http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu/dists/precise/main/binary-amd64/Packages.bz2|gimp64"
#ubuntu repos...
#note, the local pkgs database file (or partname) is also appended to these entries, so know which url to download a particular pkg from (glob wildcard allowed)...
REPOS_DISTRO_COMPAT="ftp.filearena.net|http://ftp.filearena.net/pub/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-* mirror.anl.gov|http://mirror.anl.gov/pub/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-* mirrors.kernel.org|http://mirrors.kernel.org/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-* archive.ubuntu.com|http://archive.ubuntu.com/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-* ppa.launchpad.net|http://ppa.launchpad.net/kxstudio-team/ppa/ubuntu|kxstudio http://ppa.launchpad.net/kxstudio-team/ppa/ubuntu|kxstudio_amd64 ppa.launchpad.net|http://ppa.launchpad.net/irie/blender/ubuntu|blender-irie ppa.launchpad.net|http://ppa.launchpad.net/irie/blender/ubuntu|blender-irie_64 dl.google.com|https://dl.google.com/linux/chrome/deb|google-chrome_64 ppa.launchpad.net|http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu|gimp ppa.launchpad.net|http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu|gimp64"
It works OK at my end.
I tried it on Puppy Tahr and only with the kxstudio and as the picture shows works fine.
What I did was to add in DISTRO_COMPAT_REPOS then open PPM and update the databases from "settings"
Closed PPM.
Removed the previous PPM files from /tmp (or just reboot) as I find that they mess up the process if they are (partially) overwritten.
Opened PPM again, activated the kxstudio repo from "settings",
Closed and reopened PPM one last time for the change to take effect, and that was it.
The trick is that you must add the "Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION-<name>" or "Packages-ubuntu-trusty-<name>" or at least "Packages-<name>" because the database file is generated from /root/.packages/Packages-*. Without "Packages" does not see it as a repo.
BTW I see you add a bunch of x86_64 repos. Do you have a 64bit Ubuntu Puppy or you are going to use them with other 64bit puppies?
I tried it on Puppy Tahr and only with the kxstudio and as the picture shows works fine.
What I did was to add
Code: Select all
ppa.launchpad.net|http://ppa.launchpad.net/kxstudio-team/ppa/ubuntu/dists/trusty/main/binary-i386/Packages.bz2|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-kxstudio
#and
ppa.launchpad.net|http://ppa.launchpad.net/kxstudio-team/ppa/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-kxstudio
Closed PPM.
Removed the previous PPM files from /tmp (or just reboot) as I find that they mess up the process if they are (partially) overwritten.
Opened PPM again, activated the kxstudio repo from "settings",
Closed and reopened PPM one last time for the change to take effect, and that was it.
The trick is that you must add the "Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION-<name>" or "Packages-ubuntu-trusty-<name>" or at least "Packages-<name>" because the database file is generated from /root/.packages/Packages-*. Without "Packages" does not see it as a repo.
BTW I see you add a bunch of x86_64 repos. Do you have a 64bit Ubuntu Puppy or you are going to use them with other 64bit puppies?
- Attachments
-
- ppa2.png
- (125.8 KiB) Downloaded 2840 times
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==
Actually to work properly (ie with minimal user input) will need more work.
With the current hack of adding non-distro repos to DISTRO_COMPAT_REPOS, PPM assumes that ppa.launchpad.net is just another Ubuntu mirror so user must specify correctly where to get packages from, otherwise it will fail to download the package. It may also fail to get the correct dependencies if they are in the ppa repos.
To be done correctly you may need to add a new file, say DISTRO_COMPAT_EXTRA_REPOS with the relevant info in the new PKG_DOCS_DISTRO_COMPAT_EXTRA and REPOS_DISTRO_COMPAT_EXTRA fields, and then configure PPM scripts (0setup, configure.sh, downloadpkgs.sh, installpkg.sh, installpreview.sh and maybe others...) that use DISTRO_COMPAT_REPOS, PKG_DOCS_DISTRO_COMPAT and REPOS_DISTRO_COMPAT, to consider the new file and fields too.
It needs some doing...
With the current hack of adding non-distro repos to DISTRO_COMPAT_REPOS, PPM assumes that ppa.launchpad.net is just another Ubuntu mirror so user must specify correctly where to get packages from, otherwise it will fail to download the package. It may also fail to get the correct dependencies if they are in the ppa repos.
To be done correctly you may need to add a new file, say DISTRO_COMPAT_EXTRA_REPOS with the relevant info in the new PKG_DOCS_DISTRO_COMPAT_EXTRA and REPOS_DISTRO_COMPAT_EXTRA fields, and then configure PPM scripts (0setup, configure.sh, downloadpkgs.sh, installpkg.sh, installpreview.sh and maybe others...) that use DISTRO_COMPAT_REPOS, PKG_DOCS_DISTRO_COMPAT and REPOS_DISTRO_COMPAT, to consider the new file and fields too.
It needs some doing...
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==
Hmmm... If that is the case (which seems quite logical) I might not be up to the task - it'll take too much time to do it just for the fun of it - that is - for me it'll be faster to compile everything from source, rather searching for all the links, editing all the files and hope for the best.
I'm realizing I am trying to make a heavily bloated version of puppy, which by design is slim and old hardware friendly. I'll probably be better off with some bare bones ubuntu with functional apt - well, at least I know I'll get where I'm going faster that way. I am, after all, heavily dependant on some debian packages and the kxstudio repos.
If only apt could run well on puppy...
I'm realizing I am trying to make a heavily bloated version of puppy, which by design is slim and old hardware friendly. I'll probably be better off with some bare bones ubuntu with functional apt - well, at least I know I'll get where I'm going faster that way. I am, after all, heavily dependant on some debian packages and the kxstudio repos.
If only apt could run well on puppy...
Then it wouldn'tbe puppy as few things must be sacrificed to get the full Ububtu/Debian compatibility.over_soul wrote:If only apt could run well on puppy...
There are however puppy-like OSs with full apt support.
Originally pussy linux and lately debian dog aspire to combine puppy friendliness and speed with full apt-get functionality.
You may want to give them a try.
Alternatively, depending on your needs and your hardware, you may want to try a light version of the "real thing" I find Lubuntu (14.04 LTS) both solid and less demanding than its bigger siblings. Will run fine on any 6-5 years old machine (or newer) with 1GB+ RAM.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==
I already have Ubuntu 12.04 with Unity 3D installed on my computer (well, it's a laptop), which I bought especially for audio work, so it's fairly powerful (though I could always use that little bit of extra speed that puppy would give me).
It has a business class intel i5 with 4 cores and 8 threads, 8 gb ram and 500 GB HDD. It's not i7, but is one of the best i5.
It might seem plenty for daily tasks, but for music production - I really need it to run as fast as possible - thus my renewed interest in Puppy (which usually is my rescue OS - if something goes wrong I can always count on Puppy to fix everything).
Anyway - today instead of puppy I used ubuntu mini - no X, no packages - only core. After some tweaking and configuring it grew to the whooping 6GB (when I started with only 34 MB). And the surprising thing is that it contains only what I want.
Though I have to admit I had a puppy install which grew to 4GB only system files, so...
All in all - what I "created" today is not exactly what I wanted and the core Linux distro is not the one I wanted either. It went way overboard my initial plan for a 4GB max iso. But I have xfce4 and emerald running perfectly, so I got that going for me, which is nice.
It has a business class intel i5 with 4 cores and 8 threads, 8 gb ram and 500 GB HDD. It's not i7, but is one of the best i5.
It might seem plenty for daily tasks, but for music production - I really need it to run as fast as possible - thus my renewed interest in Puppy (which usually is my rescue OS - if something goes wrong I can always count on Puppy to fix everything).
Anyway - today instead of puppy I used ubuntu mini - no X, no packages - only core. After some tweaking and configuring it grew to the whooping 6GB (when I started with only 34 MB). And the surprising thing is that it contains only what I want.
Though I have to admit I had a puppy install which grew to 4GB only system files, so...
All in all - what I "created" today is not exactly what I wanted and the core Linux distro is not the one I wanted either. It went way overboard my initial plan for a 4GB max iso. But I have xfce4 and emerald running perfectly, so I got that going for me, which is nice.
Just watched the video for Puppy 13.37 v2 - I am impressed. I wonder how big is this beast. It's obvious much work was put into making this puppy the fine dog it is today
The only thing that bothers me is that I have to pay for linux - something I'm not quite used to - although I admit it's well worth it.
The only thing that bothers me is that I have to pay for linux - something I'm not quite used to - although I admit it's well worth it.
http://www.4shared.com/account/home.jsp#dir=6bnMf2zs
Puppy studio 13.37 >> 32 and 64 bit versions hosted at above site.
Also the Lite version.
You will need to set up an account at 4 Shared.
No hassle really.
Click >> download type
Choose >> Free download only...wait 20 seconds etc.
Files will look like this... studio_1337-dvd-32bit.iso
Ubuntu will lok like sludge.
If you like Studio you could always send Announcer etc a small
donation.
You paid for a new laptop.
For the delivery of speed versus not buying more ram versus
$1 or more dollars.
Chris.
Puppy studio 13.37 >> 32 and 64 bit versions hosted at above site.
Also the Lite version.
You will need to set up an account at 4 Shared.
No hassle really.
Click >> download type
Choose >> Free download only...wait 20 seconds etc.
Files will look like this... studio_1337-dvd-32bit.iso
Ubuntu will lok like sludge.
If you like Studio you could always send Announcer etc a small
donation.
You paid for a new laptop.
For the delivery of speed versus not buying more ram versus
$1 or more dollars.
Chris.
Thank you, cthisbear!
Don't get me wrong - I do think it is worth it. And the prize is more than acceptable. The point is - I was a bit surprised it has a prise.
Holly ****! This thing is only 800 mb!! How?
I guess I might come back completely to puppy if this dog runs the way I think it will
P.S.
Porting some of the kxstudi stuff would be cool - specially catia jack manager.
Don't get me wrong - I do think it is worth it. And the prize is more than acceptable. The point is - I was a bit surprised it has a prise.
Holly ****! This thing is only 800 mb!! How?
I guess I might come back completely to puppy if this dog runs the way I think it will
P.S.
Porting some of the kxstudi stuff would be cool - specially catia jack manager.
I tried to add the xenial repository on tahrpup and it didn't quite work out for me. The update db worked without error. It created all the related files (e.g. ~/.package/Packages-ubuntu-xenial-universe)mavrothal wrote:It works OK at my end.
I tried it on Puppy Tahr and only with the kxstudio and as the picture shows works fine.
What I did was to addin DISTRO_COMPAT_REPOS then open PPM and update the databases from "settings"Code: Select all
ppa.launchpad.net|http://ppa.launchpad.net/kxstudio-team/ppa/ubuntu/dists/trusty/main/binary-i386/Packages.bz2|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-kxstudio #and ppa.launchpad.net|http://ppa.launchpad.net/kxstudio-team/ppa/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-kxstudio
Closed PPM.
Removed the previous PPM files from /tmp (or just reboot) as I find that they mess up the process if they are (partially) overwritten.
Opened PPM again, activated the kxstudio repo from "settings",
Closed and reopened PPM one last time for the change to take effect, and that was it.
The trick is that you must add the "Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION-<name>" or "Packages-ubuntu-trusty-<name>" or at least "Packages-<name>" because the database file is generated from /root/.packages/Packages-*. Without "Packages" does not see it as a repo.
BTW I see you add a bunch of x86_64 repos. Do you have a 64bit Ubuntu Puppy or you are going to use them with other 64bit puppies?
However when I searched for a package (e.g. synergy) the description and package name were blank. Here is how I modified DISTRO_COMPAT
Code: Select all
PKG_DOCS_DISTRO_COMPAT="
z|http://archive.ubuntu.com/ubuntu/dists/${DISTRO_COMPAT_VERSION}/main/binary-${BIN_ARCH}/Packages.${DB_COMP}|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-main
z|http://archive.ubuntu.com/ubuntu/dists/${DISTRO_COMPAT_VERSION}/universe/binary-${BIN_ARCH}/Packages.${DB_COMP}|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-universe
z|http://archive.ubuntu.com/ubuntu/dists/${DISTRO_COMPAT_VERSION}/multiverse/binary-${BIN_ARCH}/Packages.${DB_COMP}|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-multiverse
z|http://archive.ubuntu.com/ubuntu/dists/xenial/main/binary-${BIN_ARCH}/Packages.xz|Packages-${DISTRO_BINARY_COMPAT}-xenial-main
z|http://archive.ubuntu.com/ubuntu/dists/xenial/universe/binary-${BIN_ARCH}/Packages.xz|Packages-${DISTRO_BINARY_COMPAT}-xenial-universe
z|http://archive.ubuntu.com/ubuntu/dists/xenial/multiverse/binary-${BIN_ARCH}/Packages.xz|Packages-${DISTRO_BINARY_COMPAT}-xenial-multiverse
"
#-------------------
#REPOS_DISTRO_COMPAT - hardcode the compat-distro repos in here...
#-------------------
# 1|2|3
# 1 - domain. for testing the url.
# 2 - full URI of the repo
# 3 - name of db-file(s) associated with that repo. it may have glob wildcards.
REPOS_DISTRO_COMPAT="
z|http://archive.ubuntu.com/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-*
z|http://mirrors.kernel.org/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-*
z|ftp.osuosl.org/pub/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-*
z|http://archive.ubuntu.com/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-xenial-*
z|http://mirrors.kernel.org/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-xenial-*
z|ftp.osuosl.org/pub/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-xenial-*
"
I add this code to add texstudio in upupcc. And it's works!
Now, how to make gui for that?
I try this code:
But i have problem to insert a line after line PKG_DOCS_DISTRO_COMPAT="
Code: Select all
PKG_DOCS_DISTRO_COMPAT="
z|http://archive.ubuntu.com/ubuntu/dists/${DISTRO_COMPAT_VERSION}/main/binary-${DBIN_ARCH}/Packages.${DDB_COMP}|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-main
z|http://archive.ubuntu.com/ubuntu/dists/${DISTRO_COMPAT_VERSION}/universe/binary-${DBIN_ARCH}/Packages.${DDB_COMP}|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-universe
z|http://archive.ubuntu.com/ubuntu/dists/${DISTRO_COMPAT_VERSION}/multiverse/binary-${DBIN_ARCH}/Packages.${DDB_COMP}|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-multiverse
ppa.launchpad.net|http://ppa.launchpad.net/sunderme/texstudio/ubuntu/dists/cosmic/main/binary-${DBIN_ARCH}/Packages.${DDB_COMP}|Packages-${DISTRO_BINARY_COMPAT}-cosmic-texstudio
"
#-------------------
#REPOS_DISTRO_COMPAT - hardcode the compat-distro repos in here...
#-------------------
# 1|2|3
# 1 - domain. for testing the url.
# 2 - full URI of the repo
# 3 - name of db-file(s) associated with that repo. it may have glob wildcards.
REPOS_DISTRO_COMPAT="
z|http://archive.ubuntu.com/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-*
z|http://mirrors.kernel.org/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-*
z|ftp.osuosl.org/pub/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-*
ppa.launchpad.net|http://ppa.launchpad.net/sunderme/texstudio/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-texstudio
"
I try this code:
Code: Select all
#!/bin/sh
. /etc/./DISTRO_SPECS
. /root/.packages/./DISTRO_COMPAT_REPOS
echo $DISTRO_COMPAT_VERSION
echo $PKG_DOCS_DISTRO_COMPAT
addppa(){
additional="ppa.launchpad.net|http://ppa.launchpad.net/$entryPPA/ubuntu/dists/$DISTRO_COMPAT_VERSION/main/binary-${DBIN_ARCH}/Packages.${DDB_COMP}|Packages-${DISTRO_BINARY_COMPAT}-cosmic-$entryPPA"
echo
echo $additional
PKG_DOCS_DISTRO_COMPAT="$additional PKG_DOCS_DISTRO_COMPAT"
}
export addppa
#sed '/PKG_DOCS_DISTRO_COMPAT="/a nambahaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' /root/.packages/DISTRO_COMPAT_REPOS
export guippa='
<window>
<vbox>
<hbox>
<text>
<label>apt-add-repository ppa:</label>
</text>
<entry activates-default="true">
<variable>entryPPA</variable>
<action>addppa</action>
</entry>
</hbox>
<button can-default="true" has-default="true">
</button>
</vbox>
</window>'
gtkdialog -p guippa
You could try adding the repo with Pkg (http://murga-linux.com/puppy/viewtopic.php?t=112927)
Simply run this command in the terminal
That *should* make the repo available to use in Pkg.
You can then switch to that repo like so:
And start searching/adding packages from that repo like so:
Simply run this command in the terminal
Code: Select all
pkg add-repo ppa:foo/bar ubuntu bionic
That *should* make the repo available to use in Pkg.
You can then switch to that repo like so:
Code: Select all
pkg repo <repo-name>
Code: Select all
pkg names <search>
pkg search <search>
pkg add <package-name>
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
You could try adding the repo with Pkg (http://murga-linux.com/puppy/viewtopic.php?t=112927)
works great....I have been doing it manually since UPUP 3.9.9.2