The Debian Buster Starter Kit (64bit)

A home for all kinds of Puppy related projects
Message
Author
ras
Posts: 96
Joined: Thu 31 Oct 2019, 00:07

#21 Post by ras »

rcrsn51

I wish to build a squshfs module to be loaded occasionally.

In this particular case, the app is...
https://github.com/markmal/freeship-plu ... /tag/4.6.1 (at the bottom of the page)
the developer has created the .deb package, but it is served from github. It doesn't seem reasonable to find a way to add the github repo to my /etc/apt/sources.list., but there might be a way to spec a local directory that apt or repo2sfs can access once I download the deb manually. Of course, the hope is that apt can then locate the needed dependencies so repo2sfs can include them in the module.

something like this might help automate the process...
https://help.ubuntu.com/community/Repositories/Personal
unless there is an easier way with repo2sfs.

I guess it wouln't be too much work to manually build the module with makesquashfs
RAS

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#22 Post by rcrsn51 »

Have you tried a third-party build using something like the chrome browser? There are instructions in the Stretch Starter Kit section.
Have you bothered to do this yet?

In the time it took you to post the above message, I downloaded the .deb file, did a third-party build, loaded the module and ran the program FreeShip.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#23 Post by fredx181 »

HI ras,

Here's very basic way to create a local apt repository, it requires "apt-ftparchive", I believe it's part of "apt-utils", probably installed already.

Run the script from terminal inside the directory where you've stored the debs.

Code: Select all

#!/bin/bash

# Simple way of creating local apt repository
# Run from directory where the .deb files are located

# Insert needed info first in Release file, change as preferred
echo 'Origin: Debian
Label: TestRepo
Suite: testing
Version: 1.0
Codename: buster
Architectures: i386 amd64
Components: main
Description: Test repository' > Release

echo "Creating the required files by apt-ftparchive..."
apt-ftparchive packages . > Packages
gzip -c Packages > Packages.gz
gzip -c Packages > Translation-en.gz 
apt-ftparchive contents . > Contents
gzip -c Contents > Contents.gz 
apt-ftparchive release . >> Release
echo "Done"
The (test) path I used is /mnt/sda8/testrepo/, so I added to sources.list:

Code: Select all

deb [trusted=yes] file:///mnt/sda8/testrepo/ ./
Did apt update and works.
(change accordingly, do note the 3 slashes /// after file: , for some reason it's required)

edit: edited the code a bit.

Fred

ras
Posts: 96
Joined: Thu 31 Oct 2019, 00:07

#24 Post by ras »

rcrsn51 wrote:
Have you tried a third-party build using something like the chrome browser? There are instructions in the Stretch Starter Kit section.
Have you bothered to do this yet?

In the time it took you to post the above message, I downloaded the .deb file, did a third-party build, loaded the module and ran the program FreeShip.
Hi rcrsn51,
yes I have built a few different .squashfs using repo2sfs. I guess one was what you are calling a third-party build, that is, if adding a ppd to /etc/apt/sources.list qualifies as third party.

Below, I extracted repo2sfs to /usr/local/bin and ran the script in an empty directory and a second time in the same directory along with a copy of the freeshipxxx.deb I downloaded earlier.
root@live:/mnt/live/mnt/sda4/BDstuff/free/asunder/freeship/Newfreeship# repo2sfs

Program/package name: [asunder] freeship
List of extra packages: [lame]
Continue? [Y/n] y
Run an apt-get update? [Y/n] n
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package freeship

There is a problem with the program/package name!
root@live:/mnt/live/mnt/sda4/BDstuff/free/asunder/freeship/Newfreeship#
root@live:/mnt/live/mnt/sda4/BDstuff/free/asunder/freeship/Newfreeship# repo2sfs

Program/package name: [asunder] freeship
List of extra packages: [lame]
Continue? [Y/n] y
Run an apt-get update? [Y/n] n
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package freeship

There is a problem with the program/package name!
root@live:/mnt/live/mnt/sda4/BDstuff/free/asunder/freeship/Newfreeship#


If I install the downloaded freeshipxxx.deb with "install deb+dependencies",
before I run repo2sfs, then the script returns
root@live:/mnt/live/mnt/sda4/BDstuff/freee# repo2sfs

Program/package name: [asunder] freeship
List of extra packages: [lame]
Continue? [Y/n]
Run an apt-get update? [Y/n] n
Reading package lists... Done
Building dependency tree
Reading state information... Done
freeship is already the newest version (4.6.1.266).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

There is a problem with the program/package name!
root@live:/mnt/live/mnt/sda4/BDstuff/freee#
and if I extract the freeship deb and look for the dependencies listed in DEBIAN/control and run apt
root@live:~# apt install libatk1.0-0, libc6, libcairo2, libgdk-pixbuf2.0-0, libglib2.0-0, libgtk2.0-0, libpango-1.0-0, libpangocairo-1.0-0, libx11-6
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libatk1.0-0,
E: Couldn't find any package by glob 'libatk1.0-0,'
E: Couldn't find any package by regex 'libatk1.0-0,'
E: Unable to locate package libc6,
E: Unable to locate package libcairo2,
E: Unable to locate package libgdk-pixbuf2.0-0,
E: Couldn't find any package by glob 'libgdk-pixbuf2.0-0,'
E: Couldn't find any package by regex 'libgdk-pixbuf2.0-0,'
E: Unable to locate package libglib2.0-0,
E: Couldn't find any package by glob 'libglib2.0-0,'
E: Couldn't find any package by regex 'libglib2.0-0,'
E: Unable to locate package libgtk2.0-0,
E: Couldn't find any package by glob 'libgtk2.0-0,'
E: Couldn't find any package by regex 'libgtk2.0-0,'
E: Unable to locate package libpango-1.0-0,
E: Couldn't find any package by glob 'libpango-1.0-0,'
E: Couldn't find any package by regex 'libpango-1.0-0,'
E: Unable to locate package libpangocairo-1.0-0,
E: Couldn't find any package by glob 'libpangocairo-1.0-0,'
E: Couldn't find any package by regex 'libpangocairo-1.0-0,'
root@live:~#
the installed freeship runs if I locate a .desktop file I found in the extracted deb, but I have not taken the time to run it through all its paces to see if the dependencies listed in DEBIAN/control are pertinent, perhaps the control file is not pertinent either, but I am at a loss as to how you managed to get repo2sfs to find the freeship.deb and make it into a module.
RAS

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#25 Post by rcrsn51 »

Have you read the instructions for doing a third-party build of the chrome browser?

1. Download the .deb package.
2. Run: repo2sfs freeship_4.6.1.305-all_amd64.deb

ras
Posts: 96
Joined: Thu 31 Oct 2019, 00:07

#26 Post by ras »

Thanks for the help rcrsn51, that worked well to use the full filename as an argument. Much easier than adding a repo just so that one can specify a package name interactively.

I missed where you were pointing when you advised about the chrome build. I was looking at the instructions midway down page 1, rather than at the bottom of page 2.
RAS

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#27 Post by rcrsn51 »

.
Last edited by rcrsn51 on Mon 01 Jun 2020, 23:49, edited 2 times in total.

ras
Posts: 96
Joined: Thu 31 Oct 2019, 00:07

#28 Post by ras »

Hi rcrsn51,

your link to the new update redirects to
http://www.mediafire.com/download_repai ... archive128
which doesn't seem to work.
RAS

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#29 Post by rcrsn51 »

Thanks. I will upload it again.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#30 Post by rcrsn51 »

Done. Mediafire is having trouble with my large files, so I moved the ISO to MEGA.

See the post above.

I also have a combo wifi driver pack for this kernel. If anyone wants it, they should post a request.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#31 Post by rcrsn51 »

For Buster users who want a kernel upgrade to k5.6.0, here are the instructions:

1.Get the package from Fred's repo here.
2. Drop the four files into the "live" folder of your frugal install, replacing the old versions.
3. Reboot.

This setup will Porteus-boot an emmc drive without any special modifications.

I have a WiFi driver pack for this kernel. Just ask.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#32 Post by Semme »

So far, so good. Still getting used to the "lack of" but, it's tight and a pleasant surprise.

apt isn't anything I've run in a long time. Handy having a real cli pacman.

Haven't gotten around to it but, multi-user? or, like Pup, a pseudo implementation?

I gather I could add LaunchPad PPA's, huh?

This I searched and understand there are a few twists.

Who's creation is this anyway?

Yours Bill? Fred's? I read a collaboration here.

This could turn into a road trip!
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#33 Post by rcrsn51 »

The Starter Kits are built with a stripped-down version of Fred's mklive script. I remove some of the apps that Fred puts into his Dogs and add some of my own.

To get multi-user, you need a login manager like slim. For details, ask in one of Fred's threads.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#34 Post by Semme »

Nice job Bill. Real nice! I've got a feelin you and I share similar philosophies when it comes to outfitting an OS.

Good to see my old friend PeasyWiFi onboard.

Had a small issue with Palemoon crashing out after clicking certain web elements, but, I need more time in the saddle before following up.

All good however.

Thanks again for your assistance.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#35 Post by Semme »

Hello Bill, kindly link me to your wifi driver pack for the 5.6.0 kernel and a short note on setup. TIA.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#36 Post by rcrsn51 »

kindly link me to your wifi driver pack for the 5.6.0 kernel and a short note on setup.
http://s000.tinyupload.com/index.php?fi ... 9827552169

Install it with right-click > install deb.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#37 Post by Semme »

Thank you, Sir. I'll post gain sometime later..
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

ras
Posts: 96
Joined: Thu 31 Oct 2019, 00:07

#38 Post by ras »

Hi rcrs51

I have used installed the newer kernel and It boots fine. Being a bit inexperienced with kernel upgrades, I have often experienced difficulties installing apps, as apt does not often find what I am looking for. Should I have a different expectation when working with sid? as far as just finding the proper repo to list in sources.list?

I realize this is a general question more about sid than the starter kit. But it is where I think I need to begin.
RAS

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#39 Post by dancytron »

Semme wrote:So far, so good. Still getting used to the "lack of" but, it's tight and a pleasant surprise.

apt isn't anything I've run in a long time. Handy having a real cli pacman.

Haven't gotten around to it but, multi-user? or, like Pup, a pseudo implementation?

I gather I could add LaunchPad PPA's, huh?

This I searched and understand there are a few twists.

Who's creation is this anyway?

Yours Bill? Fred's? I read a collaboration here.

This could turn into a road trip!
It's true multi-user, it is just set up like Puppy as the default.

It has puppy like users with a "run-as-user" script that runs things as the "puppy" user and all the real multi-user stuff you can do at the console. Or you can install a login manager.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#40 Post by Semme »

Yeah, thanks Dan - good to know. On and off I've slowly, due to a lack of familiarity, been building my system. Until I'm a bit further down the road it's still rather awkward. That these builds are using the Debian code base, it's somewhat reassuring to know we're FHS compliant. Gotta keep in mind there's no need for "sudo" @ the moment. :D

BTW big GUY, the upgraded kernel was a breeze.

The driver pkg as I'm sure you know required three extra deps that the terminal quickly fielded.

Peasy needed zero intervention to grant Internet access.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

Post Reply