Forum › Forums › antiX-development › Development › APT based offline repo (small yad-bash project)
- This topic has 140 replies, 7 voices, and was last updated Nov 6-7:45 pm by Xecure.
-
AuthorPosts
-
September 26, 2020 at 10:53 am #42249Moderator
Brian Masinick
::Thank You
Having updates only for my system is better then expected. This is Awesome and so are You.+1
I don’t need the tool myself but I can see that it has already been very useful for others. Great work, thanks to all who are participating in this work, whether development, testing, feedback or other contributions. It definitely adds up and this is a great example of how this community works effectively together! Thank you!📯👍😎
--
Brian MasinickSeptember 26, 2020 at 11:36 pm #42262Memberex_Koo
::@Xecure
I have tried to run my system apt list but I get this error.
apt –installed list | tail -n+2 | cut -d “[” -f 1 | sed ‘s/,now / /g’ | sed ‘s/\/now /\/ /g’ > koo-antiX-19_amd64.packagelist
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.Tried sudo and with rxvt , kitty , st. still same.
Not sure what this error is as cli-aptiX run just fine.
Thanks
September 27, 2020 at 12:25 am #42263Anonymous
::WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
this is an expected WARNING (is not an ERROR)
.apt --installed list | tail -n+2 | cut -d "[" -f 1 | sed 's/,now / /g' | sed 's/\/now /\/ /g'
Without your line being embedded in a code tag, it is impossible to know what “really” was the code, because the forum software mangles quotation mark characters, double dash characters, and others.FYI, the above, as shown here in CODE box, works fine when I test.
> koo-antiX-19_amd64.packagelist
With this added to the end of the commandstring, the command output is correctly redirected into a file.
When I inspected the content of the file, it seemed perfect.September 27, 2020 at 2:23 am #42264Member
Xecure
::Here is a small fix so you don’t need to generate the file each time.
In the Download updates, a new option from the drop-down box “My Machine” is available. It will check for updates for the current running machine and build a list of said updates.Now I only need to build a small gui way for generating .packagelists files in the offline system and it should no longer need terminal output.
thanks again for testing, Koo. I think this was an important addition.
Edit:sorry, forgot to upload the new version.
- This reply was modified 2 years, 7 months ago by Xecure.
Attachments:
antiX Live system enthusiast.
General Live Boot Parameters for antiX.September 27, 2020 at 2:49 am #42266Memberex_Koo
::So sorry this was completely my mistake I never even looked in my home directory to see if the script had been created. (It Sure Is) Thanks skidoo
September 27, 2020 at 3:02 am #42269Memberex_Koo
::Thanks Xecure I just downloaded my-offline-repo-dev 0.11.5 and yes This Machine is in the drop down box. lol from your gitlab
- This reply was modified 2 years, 7 months ago by ex_Koo.
September 27, 2020 at 3:40 am #42277Member
Xecure
::Thanks for testing, Koo. And sorry for forgetting to upload the new version. Hahaha. I forgot the most important part.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.September 28, 2020 at 3:50 am #42293Member
marcelocripe
::Hi Xecure,
My days are very busy, in the past I am learning from some of the important topics created by you and PPC. I ended up losing several versions to test, I managed to return in the version “my-offline-repo-0115.zip”.
Operating system of the antiX-19.2_x64-full.iso test, I think that this antiX that I am testing only received the installation of Opera (referring to the test of the previous version of your program that posted the results) and the trash-cli_0.17.1. 14-2_all.deb to create the “Trash” of the PPC step by step.
Olá Xecure,
Os meus dias estão bem corridos, nos últimos estou aprendendo com alguns dos importantes tópicos criados por você e pelo PPC. Acabei perdendo várias versões para testar, consegui retornar na versão “my-offline-repo-0115.zip”.
Sistema operacional do teste antiX-19.2_x64-full.iso, eu acho que este antiX que estou testando só recebeu a instalação do Opera (referente ao teste da versão anterior do seu programa que postei os resultados) e o trash-cli_0.17.1.14-2_all.deb para criar a “Lixeira” do passo a passo do PPC.
Program/Programa: Google Chrome
Number of packages/Quantidade de pacotes: 54Package list/Lista de pacotes:
ca-certificates
dbus
dbus-user-session
dconf-gsettings-backend
dconf-service
elogind
glib-networking
glib-networking-common
glib-networking-services
google-chrome-stable
gsettings-desktop-schemas
libappindicator3-1
libasound2
libasound2-data
libatk-bridge2.0-0
libatspi2.0-0
libcairo-gobject2
libcolord2
libdbus-1-3:i386
libdbusmenu-glib4
libdbusmenu-gtk3-4
libdconf1
libdrm2
libdrm-common
libepoxy0
libgbm1
libgtk-3-0
libgtk-3-common
libindicator3-7
libjson-glib-1.0-0
libjson-glib-1.0-common
liblcms2-2
libnspr4
libnss3
libpam-elogind
libpam-systemd
libpcre2-8-0
libproxy1v5
libpsl5
librest-0.7-0
libsoup2.4-1
libsoup-gnome2.4-1
libwayland-client0
libwayland-cursor0
libwayland-egl1
libwayland-server0
libx11-xcb1
libxcb-dri3-0
libxkbcommon0
libxtst6
openssl
wget
xdg-utils
xkb-dataURl list/Lista de URL:
http://ftp.br.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20200601~deb10u1_all.deb
http://ftp.br.debian.org/debian/pool/main/d/dbus/dbus_1.12.20-0+deb10u1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/d/dbus/dbus-user-session_1.12.20-0+deb10u1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/d/dconf/dconf-gsettings-backend_0.30.1-2_amd64.deb
http://ftp.br.debian.org/debian/pool/main/d/dconf/dconf-service_0.30.1-2_amd64.deb
http://ftp.br.debian.org/debian/pool/main/g/glib-networking/glib-networking_2.58.0-2+deb10u2_amd64.deb
http://ftp.br.debian.org/debian/pool/main/g/glib-networking/glib-networking-common_2.58.0-2+deb10u2_all.deb
http://ftp.br.debian.org/debian/pool/main/g/glib-networking/glib-networking-services_2.58.0-2+deb10u2_amd64.deb
http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_85.0.4183.121-1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/g/gsettings-desktop-schemas/gsettings-desktop-schemas_3.28.1-1_all.deb
http://ftp.br.debian.org/debian/pool/main/liba/libappindicator/libappindicator3-1_0.4.92-7_amd64.deb
http://ftp.br.debian.org/debian/pool/main/a/alsa-lib/libasound2_1.1.8-1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/a/alsa-lib/libasound2-data_1.1.8-1_all.deb
http://ftp.br.debian.org/debian/pool/main/a/at-spi2-atk/libatk-bridge2.0-0_2.30.0-5_amd64.deb
http://ftp.br.debian.org/debian/pool/main/a/at-spi2-core/libatspi2.0-0_2.30.0-7_amd64.deb
http://ftp.br.debian.org/debian/pool/main/c/cairo/libcairo-gobject2_1.16.0-4_amd64.deb
http://ftp.br.debian.org/debian/pool/main/c/colord/libcolord2_1.4.3-4_amd64.deb
http://ftp.br.debian.org/debian/pool/main/d/dbus/libdbus-1-3_1.12.20-0+deb10u1_i386.deb
http://ftp.br.debian.org/debian/pool/main/libd/libdbusmenu/libdbusmenu-glib4_18.10.20180917~bzr490+repack1-1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/libd/libdbusmenu/libdbusmenu-gtk3-4_18.10.20180917~bzr490+repack1-1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/d/dconf/libdconf1_0.30.1-2_amd64.deb
http://ftp.br.debian.org/debian/pool/main/libd/libdrm/libdrm2_2.4.97-1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/libd/libdrm/libdrm-common_2.4.97-1_all.deb
http://ftp.br.debian.org/debian/pool/main/libe/libepoxy/libepoxy0_1.5.3-0.1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/m/mesa/libgbm1_18.3.6-2+deb10u1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/g/gtk+3.0/libgtk-3-0_3.24.5-1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/g/gtk+3.0/libgtk-3-common_3.24.5-1_all.deb
http://ftp.br.debian.org/debian/pool/main/libi/libindicator/libindicator3-7_0.5.0-4_amd64.deb
http://ftp.br.debian.org/debian/pool/main/j/json-glib/libjson-glib-1.0-0_1.4.4-2_amd64.deb
http://ftp.br.debian.org/debian/pool/main/j/json-glib/libjson-glib-1.0-common_1.4.4-2_all.deb
http://ftp.br.debian.org/debian/pool/main/l/lcms2/liblcms2-2_2.9-3_amd64.deb
http://ftp.br.debian.org/debian/pool/main/n/nspr/libnspr4_4.20-1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/n/nss/libnss3_3.42.1-1+deb10u3_amd64.deb
http://ftp.br.debian.org/debian/pool/main/s/systemd/libpam-systemd_241-7~deb10u4_amd64.deb
http://ftp.br.debian.org/debian/pool/main/p/pcre2/libpcre2-8-0_10.32-5_amd64.deb
http://ftp.br.debian.org/debian/pool/main/libp/libproxy/libproxy1v5_0.4.15-5_amd64.deb
http://ftp.br.debian.org/debian/pool/main/libp/libpsl/libpsl5_0.20.2-2_amd64.deb
http://ftp.br.debian.org/debian/pool/main/libr/librest/librest-0.7-0_0.8.1-1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/libs/libsoup2.4/libsoup2.4-1_2.64.2-2_amd64.deb
http://ftp.br.debian.org/debian/pool/main/libs/libsoup2.4/libsoup-gnome2.4-1_2.64.2-2_amd64.deb
http://ftp.br.debian.org/debian/pool/main/w/wayland/libwayland-client0_1.16.0-1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/w/wayland/libwayland-cursor0_1.16.0-1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/w/wayland/libwayland-egl1_1.16.0-1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/w/wayland/libwayland-server0_1.16.0-1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/libx/libx11/libx11-xcb1_1.6.7-1+deb10u1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/libx/libxcb/libxcb-dri3-0_1.13.1-2_amd64.deb
http://ftp.br.debian.org/debian/pool/main/libx/libxkbcommon/libxkbcommon0_0.8.2-1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/libx/libxtst/libxtst6_1.2.3-1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/o/openssl/openssl_1.1.1d-0+deb10u3_amd64.deb
http://ftp.br.debian.org/debian/pool/main/w/wget/wget_1.20.1-1.1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/x/xdg-utils/xdg-utils_1.1.3-1+deb10u1_all.deb
http://ftp.br.debian.org/debian/pool/main/x/xkeyboard-config/xkb-data_2.26-2_all.debThe download was successful, I went back to the window that contains the option to “Install from local repository”, I selected the download folder, I clicked “+ Add repo”, I searched for: google, displayed the list, I selected “REPO google_chrome”, Ok, the Rox-Term window opens, displays a text and closes very quickly and the installation did not happen.
O Download ocorreu com sucesso, voltei para a janela que contém a opção de “Instalar do repositório local”, selecionei a pasta do download, cliquei em “+ Adicionar repo”, busquei: google, exibiu a lista, selecionei “REPO google_chrome”, Ok, a janela do Rox-Term abre, exibe um texto e fecha muito rápido e a instalação não aconteceu.
0_errors.log:
dom set 27 11:33:53 -03 2020 – Errors for package google_chrome:amd64Thankful/Grato
marcelocripe
September 28, 2020 at 7:47 am #42318Memberex_Koo
::@marcelocripe
I have some thing like you do as well.I tried install youtube-dl_2020.09.14-1.0antix1_all.deb which was an update downloaded today there were three actually using This Machine option. live-usb-maker-gui-antix_0.2.12_amd64.deb , packageinstaller-pkglist_0.3.22_all.deb , youtube-dl_2020.09.14-1.0antix1_all.deb
If just tried to install using search youtube-dl_2020.09.14-1.0antix1_all.deb I get an error. Your folder/home/koo/my-offline-repo-0115/packagelists/amd64 isn’t a valid repo folder.
Plus their is no This machine-antiX-19_amd64.packagelist file created I’m almost sure there should have been. After the list was updated or something like that name anyway.As was the case with my-offline-repo-0114/packagelists/koo-antiX-19_amd64.packagelist.
And after downloading the updates to my off-line folder I clicked upgrade and it upgraded from the web server and not my off-line folder as below.
Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: live-usb-maker-gui-antix packageinstaller-pkglist youtube-dl 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1,267 kB of archives. After this operation, 15.4 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 https://mirrors.evowise.com/mxlinux-packages/antix/buster buster/main amd64 live-usb-maker-gui-antix amd64 0.2.12 [120 kB] Get:2 https://mirrors.evowise.com/mxlinux-packages/antix/buster buster/main amd64 packageinstaller-pkglist all 0.3.22 [74.1 kB] Get:3 https://mirrors.evowise.com/mxlinux-packages/antix/buster buster/main amd64 youtube-dl all 2020.09.14-1.0antix1 [1,073 kB] Fetched 1,267 kB in 0s (2,640 kB/s) (Reading database ... 181869 files and directories currently installed.) Preparing to unpack .../live-usb-maker-gui-antix_0.2.12_amd64.deb ... Unpacking live-usb-maker-gui-antix (0.2.12) over (0.2.11) ... Preparing to unpack .../packageinstaller-pkglist_0.3.22_all.deb ... Unpacking packageinstaller-pkglist (0.3.22) over (0.3.21) ... Preparing to unpack .../youtube-dl_2020.09.14-1.0antix1_all.deb ... Unpacking youtube-dl (2020.09.14-1.0antix1) over (2020.09.06-0.1~mx19+1) ... Setting up youtube-dl (2020.09.14-1.0antix1) ... Setting up packageinstaller-pkglist (0.3.22) ... Setting up live-usb-maker-gui-antix (0.2.12) ... Processing triggers for mime-support (3.62) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for desktop-file-utils (0.23-4) ... Writing Menu: fluxbox Writing Menu: jwm Writing Menu: icewmSeptember 28, 2020 at 7:54 am #42319Memberex_Koo
::And yes I selected install from this local repository after downloading updates.
- This reply was modified 2 years, 7 months ago by ex_Koo.
September 28, 2020 at 9:15 am #42321Member
Xecure
::Program/Programa: Google Chrome
Number of packages/Quantidade de pacotes: 54This is resolved by changing the exclude.list or downloading updates.
If just tried to install using search youtube-dl_2020.09.14-1.0antix1_all.deb I get an error. Your folder/home/koo/my-offline-repo-0115/packagelists/amd64 isn’t a valid repo folder.
And yes I selected install from this local repository after downloading updates.
After selecting the folder in the “Install from thsi repo” window, you need to click “Add repo”, as you did. If the message “Your folder /path/to/folder isn’t a valid repo folder”, it means that the program couldn’t find a Packages.gz file inside that folder.
That folder should be where all your downloaded .deb files are stored, and at the same time it should also contain this file, that is generated after downloading the .deb files. Packages.gz contains a list of all packages downloaded, (independent of what packagelist you used to download the updates). This is so, when clicking “Add repo”, it uses that packagelist instead of the one in the system to install directly from the local folder instead of using the internet.Plus their is no This machine-antiX-19_amd64.packagelist file created I’m almost sure there should have been.
The option is only in the dropdown box. I did this because it would be confusing for the user, as each machine would be “this machine”. That option simply uses your current list of installed programs in your computer to check for updates, instead of a file in the packagelists folder. As you may install new apps, remove apps or install updates, having a list that will be everchanging is not the best option, and it is better to check the real current installed packages in your system instead. I still need to create a simple GUI to generate .packagelist file for other computers (sorry for that).
So, let me explain a bit the relationship between each part of the program and a very shallow view of how each works:
1. “Download Programs+dependencies” downloads the selected program you search + its dependencies. To reduce the amount of dependencies to download (if the option is enabled), it will remove all dependencies that should already be installed in an antix system (based on an exclude.list file). If a new package (Google Chrome), requires an updated version of an already installed dependency inside antiX, it will not be downloaded as the exclude.list dictates that this file is already in a general installation of antiX (it is not smart enough to know this is an update for said package). For this reason, Google Chrome cannot be installed because it needs that certain package (libcups2) in slightly newer version than the one already installed. [So this is the reason installation fails for marcelocripe]. After downloading the packages, it updates (or generates if not already there) a Packages.gz file with a list of all packages downloaded and other information. this will then be used by the “Install from my local repo” part of the script.
2. “Download Updates” will let you select a packagelist of a system and compare it to available packages to see if there is an update. Right now, you can select: A)antiX 19.2 vanilla Full or Base; or B) “This Machine” new option. This last option doesn’t generate a .packagelist file or stores it in the packagelists folder, because it was thought for downloading in the current machine for later installing on this same machine. That is why you cannot find a “This-machine_amd64.packagelist” file, because it would be changing each time you are checking for updates in this system (as you may have installed them on another occasion, etc). After downloading, it will generate (or update if already there) the Packageges.gz file listing all .deb files inside that folder (the downloaded updates or any other .deb files already there). The .packagelist files are only used for checking for updates, and not for installing. Installing uses the smarter APT program inside your computer to check if any of the packages listed in Packages.gz is a valid update for your system. See the Install from this repo below.
3. “Offline repo Installer” or “Install from this local repository”. The main function is to use a folder that contains a Packages.gz file as a local repo. After selecting the folder (must contain the Packages.gz file and the .deb files), it will add this folder to the sources.list as if it was an online repo. If the Packages.gz was not found in the selected folder, it will report an error.
After clicking the “Add repo” button, the script will add the folder to the sources list and trick the system to think that the repo folder is the only repo available. This way, even if you are connected to the internet, it will only use that folder as the only source of packages. If you then click “Upgrade”, it will launch a terminal with the command “sudo apt upgrade”. If you prefer a different command, close the terminal, leave the window “Offline repo Installer” open, launch your own terminal and use the command you prefer (apt-get upgrade, apt-get dist-upgrade, or your favorite alternative). This way it will not force install anything the APT program thinks is broken/missing dependencies (treating the folder as if a real repo mirror). This means it will not depend on any .packagelist files generated by this script and work “the proper way”.
After closing the window (if the option is active) it will autoremove the local repo from the sources list and update apt list (just in case, to avoid trouble as previously experienced by marcelocripe).As seen, the packageslist files were initially thought for checking for updates, and not for installing. Installing packages and updates will use the APT program to avoid possible problems (of using dpkg) and the list of all .deb packages downloaded, stored in Packages.gz (as a reference for the repo sources list).
Sorry if it was a bit confusing.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.September 28, 2020 at 9:33 am #42323Anonymous
::Program/Programa: Google Chrome
Number of packages/Quantidade de pacotes: 54To confirm the failure report, I tested using antiX19 Full in virtualbox
sudo apt update, then
my-offline-repo-0115
operation: “download a program”
search: google + selected “google chrome” from packageinstaller window
“59 packages. Do you want to download them?” Yes
result:
one or more packages failed to download, click List to view the failed//skipped packages
^—> 1 failed item shown “google-chrome-stable”$ sudo packageinstaller
^—> installation of “google chrome” similarly fails when attempted via packageinstallercontent of localrepo directory, after the my-offline-repo-0115 “download a program” operation:
demo@antix1:~/Downloads/amd64 $ ls -al total 7884 drwxr-xr-x 2 demo demo 780 Sep 28 11:16 . drwxr-xr-x 4 demo demo 100 Sep 28 11:15 .. -rw-r--r-- 1 demo demo 286 Sep 28 11:29 0_errors.log -rw-r--r-- 1 root root 159692 Jun 6 10:35 ca-certificates_20200601~deb9u1_all.deb -rw-r--r-- 1 root root 59610 May 18 2019 libatk-bridge2.0-0_2.30.0-5~bpo9+1_amd64.deb -rw-r--r-- 1 root root 64246 May 18 2019 libatspi2.0-0_2.30.0-7~bpo9+1_amd64.deb -rw-r--r-- 1 root root 251864 Feb 24 2017 libcolord2_1.3.3-2.0nosystemd1_amd64.deb -rw-r--r-- 1 root root 39730 Oct 22 2018 libdrm2_2.4.95-1~bpo9+1_amd64.deb -rw-r--r-- 1 root root 13712 Oct 22 2018 libdrm-common_2.4.95-1~bpo9+1_all.deb -rw-r--r-- 1 root root 33636 Oct 11 2018 libegl1_1.1.0-1~bpo9+1_amd64.deb -rw-r--r-- 1 root root 128842 Jan 17 2019 libegl-mesa0_18.2.8-2~bpo9+1_amd64.deb -rw-r--r-- 1 root root 66086 Jan 17 2019 libgbm1_18.2.8-2~bpo9+1_amd64.deb -rw-r--r-- 1 root root 65198 Jan 17 2019 libglapi-mesa_18.2.8-2~bpo9+1_amd64.deb -rw-r--r-- 1 root root 50812 Oct 11 2018 libglvnd0_1.1.0-1~bpo9+1_amd64.deb -rw-r--r-- 1 root root 912498 Jun 16 2017 libgnutls30_3.5.8-5+deb9u1_i386.deb -rw-r--r-- 1 root root 60670 Sep 30 2017 libidn2-0_0.16-1+deb9u1_amd64.deb -rw-r--r-- 1 root root 143170 Sep 4 2018 liblcms2-2_2.8-4+deb9u1_amd64.deb -rw-r--r-- 1 root root 1160670 Oct 11 2017 libnss3_2%3a3.26.2-1.1+deb9u1_amd64.deb -rw-r--r-- 1 root root 55458 Sep 12 05:43 libproxy1v5_0.4.14-2+deb9u1_amd64.deb -rw-r--r-- 1 root root 295918 Jul 4 2018 libsoup2.4-1_2.56.0-2+deb9u2_amd64.deb -rw-r--r-- 1 root root 16396 Jul 4 2018 libsoup-gnome2.4-1_2.56.0-2+deb9u2_amd64.deb -rw-r--r-- 1 root root 573476 Aug 22 18:14 libsqlite3-0_3.16.2-5+deb9u2_amd64.deb -rw-r--r-- 1 root root 1358206 Sep 27 2019 libssl1.1_1.1.0l-1~deb9u1_amd64.deb -rw-r--r-- 1 root root 53558 Jan 30 2018 libtasn1-6_4.10-1.1+deb9u1_i386.deb -rw-r--r-- 1 root root 26590 Oct 22 2018 libwayland-client0_1.16.0-1~bpo9+1_amd64.deb -rw-r--r-- 1 root root 14334 Oct 22 2018 libwayland-cursor0_1.16.0-1~bpo9+1_amd64.deb -rw-r--r-- 1 root root 8244 Oct 22 2018 libwayland-egl1_1.16.0-1~bpo9+1_amd64.deb -rw-r--r-- 1 root root 46346 Jan 17 2019 libwayland-egl1-mesa_18.2.8-2~bpo9+1_amd64.deb -rw-r--r-- 1 root root 32656 Oct 22 2018 libwayland-server0_1.16.0-1~bpo9+1_amd64.deb -rw-r--r-- 1 root root 183506 Sep 1 04:11 libx11-xcb1_2%3a1.6.4-3+deb9u3_amd64.deb -rw-r--r-- 1 root root 97452 Oct 26 2018 libxcb-dri2-0_1.12-3_amd64.deb -rw-r--r-- 1 root root 95722 Oct 26 2018 libxcb-dri3-0_1.12-3_amd64.deb -rw-r--r-- 1 root root 96010 Oct 26 2018 libxcb-present0_1.12-3_amd64.deb -rw-r--r-- 1 root root 99384 Oct 26 2018 libxcb-sync1_1.12-3_amd64.deb -rw-r--r-- 1 root root 99814 Oct 26 2018 libxcb-xfixes0_1.12-3_amd64.deb -rw-r--r-- 1 root root 749404 Sep 27 2019 openssl_1.1.0l-1~deb9u1_amd64.deb -rw-r--r-- 1 demo demo 11078 Sep 28 11:29 Packages.gz -rw-r--r-- 1 root root 799516 Apr 5 2019 wget_1.18-5+deb9u3_amd64.deb -rw-r--r-- 1 root root 71180 May 25 2018 xdg-utils_1.1.1-1+deb9u1_all.debSeptember 28, 2020 at 9:47 am #42324Anonymous
::> > Number of packages/Quantidade de pacotes: 54
>
> This is resolved by changing the exclude.list or downloading updates.During my test, 59 were listed but only 37 downloaded (due to the as-shipped excludelist filtering).
I have mixed thoughts regarding the aggressiveness of the default excludes list.
Personally, I would not want to tote (most are reduntant) copies of those 37 packages.
On the other hand, if an overly aggressive list had filtered them out…
…when toted to the offline destination, we risk the prospect that some of those 37 packages were updated versions (and that the destination contains lower-than-minimum-required versions of those packages)September 28, 2020 at 11:03 am #42325Member
Xecure
::My experiments using antiX Linux 19.2 Full x64 (vanilla=as is) in VM (running live)
Before starting: Chnage repo mirrors to ones I know are faster (and reliable).
After each test, I remove the amd64 folder so packages are downloaded again each time.1. Options used: Compromise, and “Use exclude list” (exclude.list as is)
Google chrome package/dependency list: 55 packages
Downloaded: 55 packages (+0-errors.log + Packages.gz)
After “Adding to repo”:$ sudo apt install google-chrome-stable … Some packages could not be installed. … The following packages have unmet dependencies: Google-chrome-stable : Depends: fonts-liberation but it is not installablefonts-liberation was not part of the package list.
$ sudo apt install fonts-liberation … Package fonts-liberation is not available, but is referred to by another package.2. Options used: Compromise, (nothing else except delete old). “Use exclude list” is un-ticked (it will not use the exclude.list file).
Google chrome package/dependency list: 195 packages
Downloaded: 195 packages (+0-errors.log + Packages.gz).
After “Adding to repo”:$ sudo apt install google-chrome-stable … The following additional packages will be installed: fonts-liberation … The following NEW packages will be installed: fonts-liberation google-chrome-stable 0 upgraded, 2 newly installed, 0 to remove and 20 not upgraded. After this operation, 239 MB of additional disk space will be used. Do you want to continue? [Y/n] N Abort3. Options used: Compromise, and “Use exclude list” (exclude.list replaced with the 19.2core-exclude.list content)
Google chrome package/dependency list: 119 packages
Downloaded: 119 packages (+0-errors.log + Packages.gz)
After “Adding to repo”:$ sudo apt install google-chrome-stable … The following additional packages will be installed: fonts-liberation … The following NEW packages will be installed: fonts-liberation google-chrome-stable 0 upgraded, 2 newly installed, 0 to remove and 16 not upgraded. … After this operation, 239 MB of additional disk space will be used. Do you want to continue? [Y/n] N AbortConclusion: I will replace the exclude.list with the one containing the 19.2core-exclude.list. Package increase is x2 (double), but there are no errors.
The other option is to change how the exclude.list works (what it does: it not only removes the packages listed in the file, but all possible dependencies from these packages). I need to experiment and find the “ideal” balance. 119 is better than 195 packages but, if possible, I would prefer 60-70 packages to be downloaded instead. I will keep tweaking the exclude.list file until I find a good balance.- This reply was modified 2 years, 7 months ago by Xecure. Reason: typos
antiX Live system enthusiast.
General Live Boot Parameters for antiX.September 28, 2020 at 4:30 pm #42332Memberex_Koo
-
AuthorPosts
- You must be logged in to reply to this topic.