On Saturday 13 July 2024 10:01:04 Mike Bird via tde-users wrote:
"dpkg -s apt | head" will tell you the apt
version and architecture
you need to download.
Once downloaded you can install it using dpkg.
This works for most broken packages unless you break something
essential like dpkg or libc.
For example, if I needed to fix my Debian apt I would browse
to "http://ftp.debian.org/debian/" and then click down through
pool, main, a, apt, and then download apt_2.6.1_amd64.deb but
you may be using a different distro, version, or architecture.
--Mike
I found that page for Debian, and it is *almost* exactly what I need; almost,
that is, except I run Devuan.
There is a page for Debian package search (
https://packages.debian.org/index),
and I used to use it all the time, back when I was a Debian user.
Now I keep trying to find the corresponding page in Devuan, but the URL
address doesn't follow quite the same pattern. I have found it, saved it,
maybe a couple dozen times, and somehow it keeps vanishing on me.
If anybody knows the page for Devuan package search, that would be a great
help. Neither apt nor aptitude nor any other work for me at present, until I
solve this other problem (for which, see previous posts under this thread).
Also, aptitude itself, while impressive, and useful to others, is not much use
to me, as it keeps trying to uninstall my Open Office (as well as, if I
recall, some other programs that I use pretty regularly). It would be nice if
aptitude gave users more control, as in apt or apt-get. I still use it for
searching and finding more information, but not for actual installation.
I don't know if this will solve my problem, though, as I already save all my
downloaded and installed packages (for situations just like this), and
everything seems up-to-date.
Bill