Page 1 of 1

Adding repos to fossa64 9.5 - what is best?

Posted: Thu Dec 21, 2023 7:27 pm
by galen

Is ppa2pup the best way or adding to sources?


Re: adding repos to fossa64 9.5 what is best?

Posted: Thu Dec 21, 2023 7:36 pm
by rockedge

@galen I think using pkg in a terminal would be the easiest method to add a repo:

Code: Select all

pkg add-repo  <PPA goes here>

I am not at a computer to double check the syntax (in a terminal):

Code: Select all

pkg help

Re: adding repos to fossa64 9.5 what is best?

Posted: Fri Dec 22, 2023 6:17 pm
by bigpup

You do know that all the specific Fossapup64 9.5 repositories are already loaded in Puppy Package Manager(PPM) and pkg.

What repos are you wanting to add and why?


Re: adding repos to fossa64 9.5 what is best?

Posted: Fri Dec 22, 2023 8:29 pm
by galen

Wanting to add fossa back ports

And also test if sparky Linux nibiru buster 10 could be used temporarily to install riseup VPN


Re: adding repos to fossa64 9.5 what is best?

Posted: Fri Dec 22, 2023 8:43 pm
by bigpup

What exactly are you calling fossa back ports?


Re: adding repos to fossa64 9.5 what is best?

Posted: Fri Dec 22, 2023 9:53 pm
by galen

Fossa back ports repo
Nothing did show up, after LTS expires I think some debs will be addec


Re: Adding repos to fossa64 9.5 - what is best?

Posted: Sat Dec 23, 2023 1:22 am
by mikeslr

Per rockedge's reference to pkg, see this thread: https://www.forum.puppylinux.com/viewtopic.php?t=328.

Installing, then using pkg, is much easier than trying to add repos to Puppy Package Manager.

But see also mistfire's fork of pkg named pkg2, viewtopic.php?t=5367


Re: Adding repos to fossa64 9.5 - what is best?

Posted: Sat Dec 23, 2023 2:43 am
by rockedge

UPDATE! This broke pkg....use caution....it needs some experimentation :ugeek:

@galen pkg is built in Fossapup64 and F96-CE_4. It is a good idea to upgrade to pkg2.

This is the command in a terminal that will add the Focal-backport repo.

Code: Select all

pkg add-repo http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse

At both prompts press Enter key.

Screenshot(85).jpg
Screenshot(85).jpg (27.49 KiB) Viewed 489 times

Re: Adding repos to fossa64 9.5 - what is best?

Posted: Sun Dec 24, 2023 5:15 pm
by galen

don't use pkg2 on fossa
it will wreck, wipe
/etc/pkg
it will corrupt and overwrite
/var/local/pkg/pkgrc

Code: Select all

WORKDIR=/root/pkg
REPONAME=//ftp.nluug.nl/os/Linux/distr/puppylinux/pet_packages-noarch/
EX=http://distro.ibiblio.org/puppylinux/pet_packages-noarch/
REPOFILE=
REPOURL1=
REPOURL2=common32 common64
REPOURL3=

so that badly breaks pkg, gpgk, pkgdialog ...

I removed pkg2 and
config files are now ok


Re: Adding repos to fossa64 9.5 - what is best?

Posted: Sun Dec 24, 2023 5:28 pm
by galen

Are there more repos I could add for fossa?

root# pkg rfl
Packages-puppy-noarch-official
Packages-puppy-common64-official
Packages-puppy-xenial64-official
Packages-ubuntu-xenial-main
Packages-ubuntu-xenial-multiverse
Packages-puppy-tahr64-official
Packages-ubuntu-trusty-main
Packages-ubuntu-focal-restricted
Packages-ubuntu-zesty-universe
Packages-ubuntu-zesty-multiverse
Packages-ubuntu-raring-main
Packages-ubuntu-raring-universe
Packages-ubuntu-raring-multiverse
Packages-ubuntu-focal-universe
root# pkg rl
noarch
common64
xenial64
xenial-main
xenial-multiverse
tahr64
trusty-main
focal-restricted
zesty-universe
zesty-multiverse
raring-main
raring-universe
raring-multiverse
focal-universe
root#


Re: Adding repos to fossa64 9.5 - what is best?

Posted: Sun Dec 24, 2023 7:43 pm
by rockedge

@galen The repo list looks good.
I can confirm pkg2 breaks the system. On F96-CE_4 reverted back to the original from here -> https://gitlab.com/sc0ttj/Pkg/-/archive ... ter.tar.gz and ran the installer script.

Now adding repos works again as expected. I add in ppa:iconnor/zoneminder-master using pkg when I need to install ZoneMinder for experimentation.

For fun I attached 2 scripts that will completely install Zoneminder on Fossapup64 or F96-CE_4 If interested check them out they use pkg to do the heavy work.


Re: Adding repos to fossa64 9.5 - what is best?

Posted: Sun Dec 24, 2023 7:59 pm
by bigpup

Not sure what you really are wanting to do.

I assume have more places to find software to add to Fossapup64 9.5.

you would be better off moving on to using a much newer version of Puppy.

Just because you can access these repos and download from them, is no guarantee the software is going to run.

The Puppy specific repos a much better chance software will work in Fossapup64 9.5
Packages-puppy-noarch-official
Packages-puppy-common64-official
Packages-puppy-xenial64-official
Packages-ubuntu-xenial-main
Packages-ubuntu-xenial-multiverse
Packages-puppy-tahr64-official

If you have not seen this you need to read it:
viewtopic.php?t=1819