@anon69157259
I found a very light weight, and fast booting linux distro āXenialPupā. I burned .iso on USB Key, and it created a Persistance file at first shutdown.
It is based on Ubuntu Xenial, and gets packages from Ubuntu Repositories.
Wiki:
https://puppylinux.org/wikka/Xenialpup
.
Download link (iso is only 325 Mb)
http://distro.ibiblio.org/puppylinux/puppy-xenial/32/xenialpup-7.5-uefi.iso
Negetive point:
Out of box, it does not have command line apt-get update
& apt-get install
. Instead it uses PPM (Pet Package Manager).
I have partially solved the problem, but still got stuck at apt-get install
.
Started Console, and typed:
root# apt-get update
bash: apt-get: command not found
Next, started PPM (Puppy Package Manager)
Update Repository
In PPM serch field:
Typed "sakura" and Installed
Terminal sakura _3.3.4-2
Typed "nano" and installed nano text editor
nano_2.5.3
Typed "apt" and installed
apt-src_0.25.1-0.2
Next try
root# apt-get update
Reading package lists... Error!
W: Unable to read /etc/apt/sources.list.d/ - DirectoryExists (2: No such file or directory)
W: Unable to read /etc/apt/sources.list - RealFileExists (2: No such file or directory)
W: No sandbox user '_apt' on the system, can not drop privileges
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: No such file or directory)
E: Could not open file - open (2: No such file or directory)
E: Problem opening E: The package lists or status file could not be parsed or opened. root# touch /etc/apt/sources.list root# apt-get update Reading package lists... Error!
W: No sandbox user '_apt' on the system, can not drop privileges
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: No such file or directory)
E: Could not open file - open (2: No such file or directory)
E: Problem opening
E: The package lists or status file could not be parsed or opened.
Next
root# adduser _apt
adduser: Please enter a username matching the regular expression configured via the NAME_REGEX[_SYSTEM] configuration variable. Use the `--force-badname' option to relax this check or reconfigure NAME_REGEX.
root# adduser _apt --force-badname
Allowing use of questionable username. Adding user `_apt' ...
Adding new group `_apt' (1001) ...
adduser: `/usr/sbin/groupadd -g 1001 _apt' returned error code 1. Exiting.
Next
nano /etc/sudoers
Scroll-down to find these 2 lines, and remove # from 2nd line below
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
root# nano /etc/passwd
added this line at bottom:
_apt:x:118:3003::/nonexistent:/bin/false
Now checked
root# groups _apt
3003groups: unknown ID 3003
Checked
root# apt-get update
Reading package lists... Done
root# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: Unable to read /etc/apt/preferences.d/
- DirectoryExists (2: No such file or directory)
Next
root# ls /etc/apt/
apt.conf.d sources.list trusted.gpg trusted.gpg~
root# mkdir /etc/apt/preferences.d
root# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root# nano /etc/apt/sources.list
File is empty
Next
Generated list from here https://repogen.simplylinux.ch/
copy-pasted following in /etc/apt/sources.list
#------------------------------------------------------------------------------
# # OFFICIAL UBUNTU REPOS
# #------------------------------------------------------------------------------
# ###### Ubuntu Main Repos
deb http://ca.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
###### Ubuntu Update Repos
deb http://ca.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://ca.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
Tested, WORKING OK
root# apt-get update
Get:1 http://ca.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:2 http://ca.archive.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Get:3 http://ca.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:4 http://ca.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:5 http://ca.archive.ubuntu.com/ubuntu xenial/main Sources [868 kB]
Get:6 http://ca.archive.ubuntu.com/ubuntu xenial/restricted Sources [4,808 B]
Get:7 http://ca.archive.ubuntu.com/ubuntu xenial/universe Sources [7,728 kB]
Get:8 http://ca.archive.ubuntu.com/ubuntu xenial/multiverse Sources [179 kB]
.... .... ....
.... .... ....
Get:41 http://ca.archive.ubuntu.com/ubuntu xenial-backports/main Sources [4,848 B]
Get:42 http://ca.archive.ubuntu.com/ubuntu xenial-backports/universe Sources [6,740 B]
Fetched 27.5 MB in 8s (3,244 kB/s)
Reading package lists... Done
Next,
TRIED TO INSTALL āgitā, FAILED
root# apt-get install git
Reading package lists... Done
Building dependency tree... Done
The following additional packages will be installed:
.... ..... ..... .... ..... .....
Fetched 32.8 MB in 4s (7,299 kB/s)
debconf: Perl may be unconfigured (Can't locate FileHandle.pm in @INC (you may need to install the FileHandle module)
(@INC contains:
/etc/perl
/usr/local/lib/i386-linux-gnu/perl/5.22.1
/usr/local/share/perl/5.22.1
/usr/lib/i386-linux-gnu/perl5/5.22
/usr/share/perl5
/usr/lib/i386-linux-gnu/perl/5.22
/usr/share/perl/5.22
/usr/local/lib/site_perl
/usr/lib/i386-linux-gnu/perl-base .)
at (eval 1) line 3. BEGIN failed--compilation aborted at (eval 1) line 3. ) -- aborting
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)
ENOUGH HEADACHE FOR TODAY.
WILL TRY FURTHER TOMORROW.