I don't know if this is totally selfish and/or solipsistic of me, but I would like to have a way to download *all* available packages appropriate to my system.
If there is some command that will do this, that will work, as I can pick and choose on my own. A tool like aptoncd would be better, but I can find anything like it any more. Best thing about images created with aptoncd is that apt treats them exactly like repositories, so I don't need to cobble together self-styled hacks and use dpkg, but can just depend or apt to find the right combination of packages and dependencies.
Debian still offers, I believe, extra CD or DVD images of the extra packages in their repositories. In addition to the installation images, there are usually extra discs, 1, 2, 3 and 4, containing extra packages. I used to search all over Devuan to find the same, but now it seems that they, too, have caught up, and offer disc images of extras. Or perhaps I have only recently discovered where they keep them hidden?
My reason for this request is related to my recent previous posts: sometimes I find myself in a remote place, or in a crazy situation, where there is no internet access, or where -- such as recently -- flooding or some other disaster has knocked out internet. Yet, while I have no internet, I still need to have a working computer for other things that I do offline; and now, suddenly, my machine gives me problems, and I need to do a system reinstallation, or at least to install some new and unfamiliar packages.
Thanks for any help,
Bill
Anno domini 2024 Sun, 4 Feb 13:52:22 +0000 William Morder via tde-users scripsit:
I don't know if this is totally selfish and/or solipsistic of me, but I would like to have a way to download *all* available packages appropriate to my system.
If there is some command that will do this, that will work, as I can pick and choose on my own. A tool like aptoncd would be better, but I can find anything like it any more. Best thing about images created with aptoncd is that apt treats them exactly like repositories, so I don't need to cobble together self-styled hacks and use dpkg, but can just depend or apt to find the right combination of packages and dependencies.
Debian still offers, I believe, extra CD or DVD images of the extra packages in their repositories. In addition to the installation images, there are usually extra discs, 1, 2, 3 and 4, containing extra packages. I used to search all over Devuan to find the same, but now it seems that they, too, have caught up, and offer disc images of extras. Or perhaps I have only recently discovered where they keep them hidden?
My reason for this request is related to my recent previous posts: sometimes I find myself in a remote place, or in a crazy situation, where there is no internet access, or where -- such as recently -- flooding or some other disaster has knocked out internet. Yet, while I have no internet, I still need to have a working computer for other things that I do offline; and now, suddenly, my machine gives me problems, and I need to do a system reinstallation, or at least to install some new and unfamiliar packages.
Copy the folder /var/cache/apt, there's all in what you may need. Or try "refractasnapsot". I have just uploaded a "bleeding edge" iso of devuan excalibur + TDE 14.2 + patched refractasnapshot: https://dev1galaxy.org/viewtopic.php?id=6299
Nik
Thanks for any help,
Bill
tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
On Sunday 04 February 2024 15:25:50 Dr. Nikolaus Klepp via tde-users wrote:
Anno domini 2024 Sun, 4 Feb 13:52:22 +0000
William Morder via tde-users scripsit:
I don't know if this is totally selfish and/or solipsistic of me, but I would like to have a way to download *all* available packages appropriate to my system.
If there is some command that will do this, that will work, as I can pick and choose on my own. A tool like aptoncd would be better, but I can find anything like it any more.
Copy the folder /var/cache/apt, there's all in what you may need. Or try "refractasnapsot". I have just uploaded a "bleeding edge" iso of devuan excalibur + TDE 14.2 + patched refractasnapshot: https://dev1galaxy.org/viewtopic.php?id=6299
Nik
Yes, I already do that, only in a little more complicated and exact way, to wit: sudo mv -f -v /var/cache/apt/archives/*.deb -t /home/geekstuff/archives/daedalus-bookworm_64/messy-20240201/
sudo dpkg -i -E -G /home/geekstuff/archives/daedalus-bookworm_64/tde-trinity-daedalus-bookworm-20240201-stable/*.deb sudo mv -f -v /var/cache/apt/archives/*trinity*.deb -t /home/geekstuff/archives/daedalus-bookworm_64/tde-trinity-daedalus-bookworm-20240201-stable/ sudo mv -f -v /var/cache/apt/archives/*tde*.deb -t /home/geekstuff/archives/daedalus-bookworm_64/tde-trinity-daedalus-bookworm-20240201-stable/ sudo mv -f -v /var/cache/apt/archives/*tqt*.deb -t /home/geekstuff/archives/daedalus-bookworm_64/tde-trinity-daedalus-bookworm-20240201-stable/ sudo mv -f -v /var/cache/apt/archives/*tqca*.deb -t /home/geekstuff/archives/daedalus-bookworm_64/tde-trinity-daedalus-bookworm-20240201-stable/
sudo dpkg -i -E -G /home/geekstuff/archives/daedalus-bookworm_64/tde-trinity-daedalus-bookworm-20240201-stable-deps/*.deb sudo mv -f -v /var/cache/apt/archives/*.deb -t /home/geekstuff/archives/daedalus-bookworm_64/tde-trinity-daedalus-bookworm-20240201-stable-deps/
This sorts everything into the right folders. You will note how I try to separate Trinity-TDE items from dependencies; this works pretty well, but sometimes packages get put with Trinity, sometimes with deps.
There is often a problem of duplication, as different packages use the same dependency, so when I get into installing other packages (notably, multimedia), I often have the same dependencies copied into different package folders. What I want is to create a local mini-repository, e.g., on a flash drive, then change my sources.list so that apt will look there for packages.
Bill
P.S. Below are some recent discoveries. I am appending the links here, as others may be able to make use of them, too.
It seems that apt-mirror may do what I want, but I've yet to explore it yet. https://www.linux.com/news/burning-debian-packages-and-repositories-disc-apt... https://web.archive.org/web/20240127221904/https://www.linux.com/news/burnin...
https://askubuntu.com/questions/3576/how-to-make-usb-drive-as-local-reposito... https://web.archive.org/web/20230410001817/https://askubuntu.com/questions/3... So far, this seems the best for my purposes. But if I understand other information I've read elsewhere, I need to make a tar.gz archive of those packages before I can use them as a repository with apt. But it's getting close to what I want.
I've read about refracta and similar tools, but I don't want to create a snapshot of my system. A snapshot is only good if you don't care about recently saved or changed items; otherwise, it is like a backup, right? https://dev1galaxy.org/viewtopic.php?id=678 https://web.archive.org/web/20221129054513/https://dev1galaxy.org/viewtopic....
Also I want to create an installation image of Devuan with TDE already available, and probably no other desktops (except maybe xfce for troubleshooting and testing). But I am not quite there yet.
This is to create an actual online repository, I believe, for others to use. I don't have the resources for that; I just want to create one for myself on a flash drive. https://www.debian.org/doc/manuals/repository-howto/repository-howto.en.html https://web.archive.org/web/20230409023758/https://www.debian.org/doc/manual... However, it may contain some useful information that I can apply to my own situation.
Apparently aptoncd is still preserved somewhere. We hear that old versions can be downloaded from sourceforge. I tried, but their download link for that deb package is dead; I searched for an archived version, but found nothing.
https://sourceforge.net/projects/aptoncd/ https://web.archive.org/web/20240204183159/https://sourceforge.net/projects/...
https://aptoncd.sourceforge.net/download.html https://web.archive.org/web/20221007075747/https://aptoncd.sourceforge.net/d...
no archived versions of packages: http://downloads.sourceforge.net/aptoncd/aptoncd_0.1-1_all.deb http://downloads.sourceforge.net/aptoncd/aptoncd-0.1.tar.gz
https://www.linux.com/news/burning-debian-packages-and-repositories-disc-apt... https://web.archive.org/web/20240127221904/https://www.linux.com/news/burnin...
Looks like it's been a long time since any development was done on this item. https://launchpad.net/aptoncd https://web.archive.org/web/20231107014851/https://launchpad.net/aptoncd
On Sun February 4 2024 05:52:22 William Morder via tde-users wrote:
I don't know if this is totally selfish and/or solipsistic of me, but I would like to have a way to download *all* available packages appropriate to my system.
Hi Bill,
I would try (but have not):
# apt update # apt --download-only install tde-trinity
- and then backup both /var/lib/apt and /var/cache/apt.
Restoring those backups onto a new system should (I haven't tried it) make all the non-devel parts of TDE including dependencies available for installation by apt.
If you need devel parts of TDE add "tde-devel-trinity" to the download command.
--Mike
On Sunday 04 of February 2024 14:52:22 William Morder via tde-users wrote:
I don't know if this is totally selfish and/or solipsistic of me, but I would like to have a way to download *all* available packages appropriate to my system.
If there is some command that will do this, that will work, as I can pick and choose on my own. A tool like aptoncd would be better, but I can find anything like it any more. Best thing about images created with aptoncd is that apt treats them exactly like repositories, so I don't need to cobble together self-styled hacks and use dpkg, but can just depend or apt to find the right combination of packages and dependencies.
Debian still offers, I believe, extra CD or DVD images of the extra packages in their repositories. In addition to the installation images, there are usually extra discs, 1, 2, 3 and 4, containing extra packages. I used to search all over Devuan to find the same, but now it seems that they, too, have caught up, and offer disc images of extras. Or perhaps I have only recently discovered where they keep them hidden?
My reason for this request is related to my recent previous posts: sometimes I find myself in a remote place, or in a crazy situation, where there is no internet access, or where -- such as recently -- flooding or some other disaster has knocked out internet. Yet, while I have no internet, I still need to have a working computer for other things that I do offline; and now, suddenly, my machine gives me problems, and I need to do a system reinstallation, or at least to install some new and unfamiliar packages.
Thanks for any help,
Bill
Hi Bill,
although there were several answers, I will add more.
1. If you just want to download all deb packages to one folder, like apt cache, you can use aptitude:
aptitude search -F "%p" "~Otrinitydesktop.org" | xargs -r aptitude download
2. If you want to have a complete structure including apt metadata, I recommend interested in apt-mirror package:
https://packages.debian.org/bookworm/apt-mirror
Cheers
On Monday 05 February 2024 13:37:16 Slávek Banko via tde-users wrote:
On Sunday 04 of February 2024 14:52:22 William Morder via tde-users wrote:
[snip snip] I would like to have a way to download *all* available packages appropriate to my system.
If there is some command that will do this, that will work, as I can pick and choose on my own. A tool like aptoncd would be better, but I can't find anything like it any more.
Hi Bill,
although there were several answers, I will add more.
- If you just want to download all deb packages to one folder, like apt
cache, you can use aptitude:
aptitude search -F "%p" "~Otrinitydesktop.org" | xargs -r aptitude download
- If you want to have a complete structure including apt metadata, I
recommend interested in apt-mirror package:
Yes, thank you Slavek! This is more specifically what I needed, although I haven't yet had the opportunity to explore either of these options.
Thanks to all who offered suggestions (Nik, deloptes, Mike, ...? I hope I didn't miss anybody). It is all grist for the mill, and I can learn new things, even when they are not exactly the right solution.
Things are now back to normal here, at least regarding my machine. As for life in California, especially in San Francisco, it is hard to say what is "normal"; but at least the weather is not so terrible. This so-called Pineapple Express is bad news.
Bill