Forum › Forums › antiX-development › Development › APT based offline repo (small yad-bash project) › Reply To: APT based offline repo (small yad-bash project)
Hello Xecure, how are you?
About your July 19, 2020 post from the link: http://www.antixforum.com/forums/topic/suggestions-about-antix-linux-to-developers-and-maintainers/page/2/:
I am sorry to say this, but I still haven’t done anything for translations. First I wanted this to work properly.
I have included both scripts inside one file. Changes:
– More help dialogs but still very little info.
– Now the program will generate a Packages.gz file that will contain ALL info about all your downloaded packages after each download.
– A new (experimental) fiture will enable you to add the repo folder to your sourcelists, so you no longer need to install with dpkg -i, but now you can install all packages from the repo using the apt install command (that means that synaptic will also pick your local repo packages and you can install from there).
– DOWNLOADING DEPENDENCIES: Now the script requires apt-rdepends and dpkg-dev (only for downloading packages, not for installing). If the net is available, it will ask you if you want to install them when trying to download packages. (Not working as well as expected yet).
1.1. After downloading each package + dependencies, the program will update the Packages.gz file inside the download folder. This contains the list of all your downloaded packages so that apt can manage them.
– INSTALL FROM LOCAL REPO: Once you select the folder that contains your local repo, Add it to the sourcefiles (button) and you will be able to install any package inside your repo folder from synaptic, apt (commandline), etc. Also, all downloaded “programs” (done with this tool) can also be easily installed using the same program (2. Install Apps).
1.2. Please remember to 3. Remove local repo from sources when you are done installing packages. This is recommended but shouldn’t break anything if not done (only some eror message might come up).You can now keep ALL dowloaded packages in the same folder, as you will be able to use this app to install the programs you want (and not all the ones inside the folder at the same time).
Feedback, please.
Attachments:
myAPTOfflineRepo.zip
Download link: http://www.antixforum.com/wp-content/uploads/2020/07/myAPTOfflineRepo.zip
I have some doubts about apt-rdepends and dpkg-dev,
I searched the Synaptic Package Manager, apt-rdepends and then dpkg-dev, Synaptic does not display any packages in the search result. My goal was to try to install these programs or packages via Synaptic and then copy them after installation in the / var / cache / apt / archives folder.
Do you know how to configure apt-get to not delete packages after installation via terminal?
Via terminal I applied the commands:
$ sudo apt-get update {Enter}
$ sudo apt-get install apt-rdepends {Enter}
$ sudo apt-get install dpkg-dev {Enter}
After installing apt-rdepends and dpkg-dev, right-click on “myAPTOfflineRepo.sh”, Open, Execute, opened the My OFFLINE repo window, clicking the Download Dependencies option, ROXTerm opened, read package list, built file tree and then closed. It was what I was able to read, it is very fast and the text is in Portuguese, which is good. You are not showing the text box so I can type in the name of the program I want to download,
The first tests I intend to start by downloading and installing the LibreOffice 6.4.1.2 translation on offfline computers, I believe, may this be the version that comes with the ISO antiX-19.2_x64-full.iso.
Do I still need to do something else to continue testing?
Thankful.
marcelocripe
Original text in Brazilian Portuguese, translated into English by the Google translator.
————–
Olá Xecure, tudo bem com você?
Sobre sua postagem do dia 19 Julho de 2020 do link: http://www.antixforum.com/forums/topic/suggestions-about-antix-linux-to-developers-and-maintainers/page/2/:
I am sorry to say this, but I still haven’t done anything for translations. First I wanted this to work properly.
I have included both scripts inside one file. Changes:
– More help dialogs but still very little info.
– Now the program will generate a Packages.gz file that will contain ALL info about all your downloaded packages after each download.
– A new (experimental) fiture will enable you to add the repo folder to your sourcelists, so you no longer need to install with dpkg -i, but now you can install all packages from the repo using the apt install command (that means that synaptic will also pick your local repo packages and you can install from there).
– DOWNLOADING DEPENDENCIES: Now the script requires apt-rdepends and dpkg-dev (only for downloading packages, not for installing). If the net is available, it will ask you if you want to install them when trying to download packages.(not working as well as expected yet).
1.1. After downloading each package+dependencies, the program will update the Packages.gz file inside the download folder. This contains the list of all your downloaded packages so that apt can manage them.
– INSTALL FROM LOCAL REPO: Once you select the folder that contains your local repo, Add it to the sourcefiles (button) and you will be able to install any package inside your repo folder from synaptic, apt (commandline), etc. Also, all downloaded “programs” (done with this tool) can also be easily installed using the same program (2. Install Apps).
1.2. Please remember to 3. Remove local repo from sources when you are done installing packages. This is recommended but shouldn’t break anything if not done (only some eror message might come up).You can now keep ALL dowloaded packages in the same folder, as you will be able to use this app to install the programs you want (and not all the ones inside the folder at the same time).
Feedback, please.
Attachments:
myAPTOfflineRepo.zip
Download link: http://www.antixforum.com/wp-content/uploads/2020/07/myAPTOfflineRepo.zip
Eu possuo algumas dúvidas sobre apt-rdepends e o dpkg-dev,
Eu busquei no Gerenciador de pacotes Synaptic, o apt-rdepends e depois o dpkg-dev, o Synaptic não exibe nenhum pacote no resultado da busca. O meu objetivo era de tentar instalar estes programas ou pacotes via Synaptic para depois eu copiá-los após a instalação na pasta /var/cache/apt/archives.
Você sabe como configurar o apt-get para não apagar os pacotes após a instalação via terminal?
Via terminal eu apliquei os comando:
$ sudo apt-get update {Enter}
$ sudo apt-get install apt-rdepends {Enter}
$ sudo apt-get install dpkg-dev {Enter}
Após a instalação de apt-rdepends e dpkg-dev, botão direito do mouse sobre “myAPTOfflineRepo.sh”, Open, Execute, abriu a janela My OFFLINE repo, clicando na opção Download Dependencies, o ROXTerm abriu, leu lista de pacotes, construiu árvore de arquivos e em seguida fechou. Foi o que eu consegui ler, é bem rápido e o texto está em Português, o que é bom. Não está exibindo a caixa de texto para eu poder digitar o nome do programa que desejo baixar,
Os primeiros testes eu pretendo começar baixando e instalando a tradução do LibreOffice 6.4.1.2 nos computadores offfline, acredito eu, que seja esta a versão que vem com a ISO antiX-19.2_x64-full.iso.
Falta eu fazer alguma outra coisa para continuar os testes?
Grato.
marcelocripe
Texto original no idioma português do Brasil, traduzido para inglês pelo tradutor do Google.
- This reply was modified 6 years, 2 months ago by marcelocripe.