Experimental F96-CE with Fully Functional APT and PPM

Moderator: Forum moderators

Post Reply
User avatar
rockedge
Site Admin
Posts: 5686
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1961 times
Been thanked: 2085 times
Contact:

Experimental F96-CE with Fully Functional APT and PPM

Post by rockedge »

For experimental reasons I have adapted @wiak's apt_sfs_load_fossa_amd64.sfs to integrate it into a F96-CE_4 which appears to have been successful. Before squashing the rootfs a complete APT update and upgrade was performed.

From my Fossapup64-9.0.5 running the APT SFS add-on, I took the basic idea to ensure that /sbin/init, /sbin/poweroff and /sbin/reboot have duplicates in case an apt update/upgrade overwrites those with systemd components.

So basically this is a F96-CE_4 with fully functional APT, PPM and Pkg package managers.

Might be some rough edges but if anyone is interested I can make an ISO of the F96-apt-ppm.iso available for a test run!

Screenshot(7).jpg
Screenshot(7).jpg (41.85 KiB) Viewed 628 times
User avatar
trawglodyte
Posts: 236
Joined: Mon Dec 11, 2023 11:32 am
Location: my cave
Has thanked: 234 times
Been thanked: 72 times

Re: Experimental F96-CE with Fully Functional APT and PPM

Post by trawglodyte »

I would like to have that .iso !

Like a monkey trying to fly a space-ship. What's this button do?
Like a 12-yr old trying to wire a house. Gonna get zapped!

User avatar
Jasper
Posts: 1542
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 655 times
Been thanked: 346 times

Re: Experimental F96-CE with Fully Functional APT and PPM

Post by Jasper »

Sounds to me like a great update for users :thumbup:

User avatar
bigpup
Moderator
Posts: 6231
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 721 times
Been thanked: 1277 times

Re: Experimental F96-CE with Fully Functional APT and PPM

Post by bigpup »

What repositories is APT setup to download from?

I too would like to try the ISO.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

dimkr
Posts: 1872
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 36 times
Been thanked: 802 times

Re: Experimental F96-CE with Fully Functional APT and PPM

Post by dimkr »

You can use latest woof-CE to build a focal64 with bdrv, apt should work great (like it does in jammy64). Maybe you'll get a cleaner result by rebuilding with all updated packages.

Gnimmelf
Posts: 124
Joined: Fri Aug 21, 2020 5:01 pm
Has thanked: 67 times
Been thanked: 7 times

Re: Experimental F96-CE with Fully Functional APT and PPM

Post by Gnimmelf »

rockedge wrote: Fri Feb 09, 2024 3:14 am

For experimental reasons I have adapted @wiak's apt_sfs_load_fossa_amd64.sfs to integrate it into a F96-CE_4 which appears to have been successful. Before squashing the rootfs a complete APT update and upgrade was performed.

From my Fossapup64-9.0.5 running the APT SFS add-on, I took the basic idea to ensure that /sbin/init, /sbin/poweroff and /sbin/reboot have duplicates in case an apt update/upgrade overwrites those with systemd components.

So basically this is a F96-CE_4 with fully functional APT, PPM and Pkg package managers.

Might be some rough edges but if anyone is interested I can make an ISO of the F96-apt-ppm.iso available for a test run!
Screenshot(7).jpg

i would like an iso of that too! :thumbup2:

User avatar
rockedge
Site Admin
Posts: 5686
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1961 times
Been thanked: 2085 times
Contact:

Re: Experimental F96-CE with Fully Functional APT and PPM

Post by rockedge »

dimkr wrote: Fri Feb 09, 2024 7:19 am

You can use latest woof-CE to build a focal64 with bdrv, apt should work great (like it does in jammy64). Maybe you'll get a cleaner result by rebuilding with all updated packages.

That is an idea. Like I did with the original F96-CE, build from woof-CE then go from there. This one currently is an experimental setup where I just took a stock F96 ISO and manually modified it. Since Focal Fossa is a bit long in the tooth (older) and we should be probably polishing something else but I really like Fossapup64's and F96's so here it is for now: Download F96-apt_ppm
SHA1-MD5.txt

NOTE: To get a Ethernet connection I had to use the Internet Connection Switcher to select the legacy Connect Wizard then reboot again. Then the system connected correctly during system boot. There seems to be something going on with Connman in this particular arrangement.

User avatar
Jasper
Posts: 1542
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 655 times
Been thanked: 346 times

Re: Experimental F96-CE with Fully Functional APT and PPM

Post by Jasper »

Created a mirror for the ISO on Mediafire

Image

F96-apt_ppm.iso
https://www.mediafire.com/file/fbw0v069 ... m.iso/file

User avatar
rockedge
Site Admin
Posts: 5686
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1961 times
Been thanked: 2085 times
Contact:

Re: Experimental F96-CE with Fully Functional APT and PPM

Post by rockedge »

Another important note is the devx SFS should also be loaded for APT to work in this experimental system.

There might be some blank files that need to be created in /var/lib/dpkg and /var/lib/dpkg/info for APT to run smoothly. Since this is an unconvential installation there might be some small bits and pieces that need to be added manually.

I also had to again use this command in a terminal though. The fix I thought would set the LD_LIBRARY_PATH didn't seem to do it.

Code: Select all

export LD_LIBRARY_PATH=/lib:/usr/lib:/root/my-applications/lib:/usr/local/lib:/lib/x86_64-linux-gnu

More a Proof of Concept at this time than a production release so any feed back on whether or not this version works at all with APT installing something will be appreciated. :ugeek:

I am using viewnior as the test install.

Screenshot(1).jpg
Screenshot(1).jpg (70.26 KiB) Viewed 442 times
User avatar
trawglodyte
Posts: 236
Joined: Mon Dec 11, 2023 11:32 am
Location: my cave
Has thanked: 234 times
Been thanked: 72 times

Re: Experimental F96-CE with Fully Functional APT and PPM

Post by trawglodyte »

I'll give you some feedback, don't know if I'm accomplishing much yet. From fresh install I can do this...

Quick Setup
internet switcher - change connman to connect wizard
make folder /var/lib/dpkg/info
install devx
reboot (make first pupsave)
In terminal <export LD_LIBRARY_PATH=/lib:/usr/lib:/root/my-applications/lib:/usr/local/lib:/lib/x86_64-linux-gnu>
apt update
apt install apt
apt install apt-utils
apt install perl

without problems, but haven't been able to do <apt full-upgrade> or <apt install libreoffice> without errors yet. I guess I'm trying to update a few of the packages manually and then get a full-upgrade. Been recording errors, backing up, restarting doing over, but this is as far as I've gotten with it.

Like a monkey trying to fly a space-ship. What's this button do?
Like a 12-yr old trying to wire a house. Gonna get zapped!

User avatar
trawglodyte
Posts: 236
Joined: Mon Dec 11, 2023 11:32 am
Location: my cave
Has thanked: 234 times
Been thanked: 72 times

Re: Experimental F96-CE with Fully Functional APT and PPM

Post by trawglodyte »

It seems like the package "base-files" is the main one giving me trouble at this point.

Code: Select all

rmdir: failed to remove '/var/run': Directory not empty
dpkg: error processing package base-files (--configure):
 installed base-files package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 base-files
E: Sub-process /usr/bin/dpkg returned an error code (1)

Like a monkey trying to fly a space-ship. What's this button do?
Like a 12-yr old trying to wire a house. Gonna get zapped!

williwaw
Posts: 1581
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 144 times
Been thanked: 289 times

Re: Experimental F96-CE with Fully Functional APT and PPM

Post by williwaw »

in case an apt update/upgrade overwrites those with systemd components.

if you run apt upgrade, what is included in Experimental F96-CE as upgradable?

User avatar
trawglodyte
Posts: 236
Joined: Mon Dec 11, 2023 11:32 am
Location: my cave
Has thanked: 234 times
Been thanked: 72 times

Re: Experimental F96-CE with Fully Functional APT and PPM

Post by trawglodyte »

I did get a full-upgrade and libreoffice installed with apt, which is what I thought I wanted, and I did it with packages from apt rather than the devx.sfs. First part went pretty good, I avoided any anti-puppy packages such as gvfs passwd gnome-keyring and so forth.... (lines beginning with # are terminal commands, ? are prompts I got and how I answered, I wasn't sure)

Code: Select all

do Quick Setup
# mkdir /var/lib/dpkg/info
# cp /etc/group /etc/gshadow
edit /etc/apt/sources.list
  deb http://archive.ubuntu.com/ubuntu focal main multiverse restricted universe
  deb http://archive.ubuntu.com/ubuntu focal-updates main multiverse restricted universe
  deb http://security.ubuntu.com/ubuntu focal-security main multiverse restricted universe
  #deb http://archive.ubuntu.com/ubuntu focal-backports main multiverse restricted universe
  #deb http://archive.canonical.com/ubuntu focal partner
used internet switcher - change connman to connect wizard
reboot (make first pupsave)
# export LD_LIBRARY_PATH=/lib:/usr/lib:/root/my-applications/lib:/usr/local/lib:/lib/x86_64-linux-gnu
# rm -r /var/run
# mkdir /var/run
# rm -r /var/lock
# mkdir /var/lock
# rm /etc/mailcap
# apt update
# apt install libc6
# apt install debconf
# apt install debconf-utils
# apt install build-essential
# apt install pkg-config
# apt install libglib2.0-data shared-mime-info xdg-user-dirs libglib2.0-dev-bin #answered mimetypes question - y
# apt install libgpm2 file
# apt install bash bash-completion
? /etc/host.conf? y
? /etc/issue? y
? /etc/lsb-release? y

Second part, I thought I had to get java runtime environment (it's a big group of packages with some I didn't want), then libreoffice was a bunch of packages, some I didn't want). So at that point, I decided what the H I might as well do he full-upgrade after all even though it comes with some packages I don't want.

Code: Select all

# apt install default-jre
? override pam.d? n
# apt install libreoffice libreoffice-java-common
# apt full-update
?-change daemon? no
?-change nobody? no
?-ld.so.conf? y

It should go without saying this is the dumbest way imagineable to get libreoffice, I just thought it was a good package to test if apt was working properly. Anyway, I'm gonna spend some time in this OS and see what's up, if I wrecked it or if it's stable? I noticed libreoffice isn't in my menu but I can launch it from terminal. Maybe I just need to reboot?

@rockedge This error message didn't seem to cause any problems for me, But I wanted to point it to you, it looked like there was a backup option in /etc/X11 for rgb.txt

Code: Select all

dpkg: warning: x11-common: config file '/etc/X11/rgb.txt' is a circular link
 (= '/etc/X11/../../usr/share/X11/rgb.txt')

Like a monkey trying to fly a space-ship. What's this button do?
Like a 12-yr old trying to wire a house. Gonna get zapped!

Post Reply

Return to “Re-masters”