DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
today I had a problem with the system fonts and to try to solve it I installed about 300MB of fonts with apt-get ( ). Then I understood that the problem was inside one configuration file, so all the fonts that I installed today are perfectly useless for me and I'd like to save some hard disk space by deleting them!
Is it possible to know all the packages I've installed today with apt-get? Is there a way to check it? Unfortunately I've already deleted all the packages inside /varcache/apt/archives....
[ken:ken](12:56pm)$ apt-cache show deborphan
Package: deborphan
Priority: optional
Section: admin
Installed-Size: 188
Maintainer: Peter Palfrader <weasel@debian.org>
Architecture: i386
Version: 1.5-17
Depends: libc6 (>= 2.3.2.ds1-4)
Recommends: dialog (>= 0.9b-20031207-1), apt
Filename: pool/main/d/deborphan/deborphan_1.5-17_i386.deb
Size: 37048
MD5sum: 283b1165dbf50c595e373480630ed907
Description: Find orphaned libraries
deborphan finds "orphaned" packages on your system.
It determines which packages have no other packages
depending on their installation, and shows you a list of
these packages. It is most useful when finding libraries,
but it can be used on packages in all sections.
I am not sure how to remove packages based on date of installation though. Hopefully somebody will come by with an idea. Was synaptic helpful for that?
Originally posted by llamakc
I am not sure how to remove packages based on date of installation though. Hopefully somebody will come by with an idea. Was synaptic helpful for that? [/B]
no
also synaptic doesn't show the installation date...
anyway, it doesn't matter, I will delete manually the packages that I can remember.. I hope to don't delete some system files!
thank you all anyway! but, if someone knows hot to do it, please let me know!
then read through myfont.packages and delete them one at a time. You will want to have xfonts-base, xfonts-100dpi, xfonts-scalable, and (I like) msttcorefonts (plus anything else you deem important). Then just apt-get remove the rest in the package list.
then read through myfont.packages and delete them one at a time. You will want to have xfonts-base, xfonts-100dpi, xfonts-scalable, and (I like) msttcorefonts (plus anything else you deem important). Then just apt-get remove the rest in the package list.
Originally posted by Strike FYI: nothing tracks the installation date of packages, apt doesn't, nor do any of the existing frontends
FYI, part deux: aptitude mops the floor with synaptic
FWIW aptitude keeps a log in /var/log/aptitude that has the date of the operations performed and to the OP if you look at the dates of the files for the packages installed in /var/lib/dpkg/info/ you should be able to get the required information.
Originally posted by HappyTux FWIW aptitude keeps a log in /var/log/aptitude that has the date of the operations performed and to the OP if you look at the dates of the files for the packages installed in /var/lib/dpkg/info/ you should be able to get the required information.
very interesting thanks! unfortunetely I didn't know this thing about aptitude so I have enver used it before... I could try it against synaptic, let's see which is the best one!
I'll also look in the directory you wrote in order to find the installation dates... i'll let you know
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.