Re: problems with apt & aptitude

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anno domini 2024 Sun, 14 Jul 10:41:28 -0700
 William Morder via tde-users scripsit:
>
> 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).

https://www.devuan.org/os/packages gives a link to a search page:

https://pkginfo.devuan.org/cgi-bin/policy-query.html

>
> 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.

Try "apt-mark hold <whateverisopenofficecalled>" and then "aptitude whateverypuwanttodo"

>
> 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.

you should clear the cache first, either manually or with "apt-get clean".

To find all files that do not match the checksums in theit .deb package you may want to run:

$ for i in $(dpkg -l|awk '/^ii/ {print $2}'); do echo $i:;  dpkg -V $i; done
acl:
acpi:
acpi-support:
??5?????? c /etc/acpi/lid.sh
acpi-support-base:
acpid:

... bad former myself has modified /etc/acpi/lid.sh :)

Nik


>
> Bill
>
> ____________________________________________________
> tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
> Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx
>



--
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
____________________________________________________
tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx



[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux