Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 21549 ideas, 132424 comments, 2606791 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #2763: Provide installation history

bug This idea was marked as being not considered for implementation the 25 September 11.
Written by jstaerk the 3 Mar 08 at 15:07. Category: System. Related project: Nothing/Others. Status: Won't implement
Rationale
E.g. synaptic could provide a history of what has been installed when along with the possiblity to remove it again.
Fore the people who sometimes evaluate software and afterwards want to remove it again (alon with all installed dependencies)

e.g.

Installed yesterday:
at 5:21pm (_remove_)
Selected
OpenOffice.org
Selected dependencies
Java (1 package depends on Java, _see list_)

Installed two days ago:
at 12:12pm (_remove_)
Selected
GIMP

at 2:59pm (_remove_)
Selected
Gnucash
Selected dependencies
AQbanking (2 packages depends on AQbanking, _see list_)
libchipcard (1 package depends on libchipcard, _see list_)

Tags: apt synaptic

1303
votes
closed
Solution #1: Auto-generated solution of idea #2763
Written by jstaerk the 3 Mar 08 at 15:07.
Ubuntu Brainstorm was updated in January 2009. Since the idea #2763 was submitted before this update, its rationale and solution are not separated. Please vote accordingly, and if you have the necessary rights, please separate the rationale from the solution. Thanks!

Propose your solution

Attachments
spec Blueprint history: The synaptic package manager


Duplicates


Comments
shadowfirebird wrote on the 3 Mar 08 at 15:16
It does.

Black_pignouf wrote on the 3 Mar 08 at 15:31
Almost: you cannot directly remove them.
But this list already exists, in File>History.

To remove them, you still need to copy/paste then entire list after a:
sudo aptitude remove


shadowfirebird wrote on the 3 Mar 08 at 19:56
What would be *really* nice would be if the history could be output to a file. I want a record of the programs I've installed that I can annotate and search.

masterpi wrote on the 3 Mar 08 at 21:22
I only discovered this recently (though I don't use Synaptic much just cli apt). It'd be nice if it was better advertised. Also, does anyone know if it has a cli equivilant?

jreyst wrote on the 3 Mar 08 at 22:11
I'd like all of this information to be presented in a gui Application Management applet. My concept

_Application Management_
App Name
Developer/Company Name (if available)
Date Installed
Files + (click + to expand window showing list of all component files and file sizes)
History + (click + to expand window showing usage history)
Permissions + (click + to configure which users may use that application)

ben.wade wrote on the 3 Mar 08 at 23:53
Well, I know there is already a history, but being able to use the history to reverse changes would be a huge plus.

I remember a few months ago I installed kubuntu-desktop. It was a major pain to get rid of all of the packages that were installed from that synaptic session.

tioum wrote on the 4 Mar 08 at 08:13
I was pleased to discover synaptic has an history but it took me some time to figure out how to use it :

You can use the save selection thing and edit the generated text file to replace uninstall with install for example. But with this technique you also need to remove everything in commas.

Or as Black_pignouf said use a sudo aptitude remove command.

This is a great feature that is not far from the end user if it's slighty automated. I gues the checkbow thing is not a big thing to do and would be really nice for many people.

acheong87 wrote on the 4 Mar 08 at 09:28
deborphan might help, although it doesn't solve the exact problem. If you remove packages, deborphan finds any unused dependencies. To remove all unused dependencies, simply run the following:

deborphan -sz
sudo apt-get remove --purge $(deborphan)

qinjuehang wrote on the 4 Mar 08 at 11:35
This is already there, isn't it?

idimmu wrote on the 4 Mar 08 at 12:53
is this not mostly provided by /var/log/apt/term.log ?

azimout wrote on the 4 Mar 08 at 13:27
There are several (different) log files:
1) the file /var/log/aptitude for any operations done on the terminal with sudo aptitude
2) several files under /root/.synaptic/log, one for each operation (the same content as file->history under the synaptic package manager)
3) the file /var/log/apt/term.log

I agree that there should be a unique log, with the possibility to reverse operations (uninstall something installed, re-install something removed/purged, rollback something upgraded)

josephcmiller2 wrote on the 8 Mar 08 at 19:50
The history should be available on the toolbar as a button option. It should also have the uninstall functionality.

Psycho_zs wrote on the 25 Apr 08 at 05:26
synaptic has own history. When using apt - there is no changes in it.

it is better to make global history, on the level of apt, or even dpkg, so no matter what tools you use, there is only one package histoy in the system.

ludovicc wrote on the 9 May 08 at 22:36
You can use etckeeper (http://kitenet.net/~joey/code/etckeeper/) which uses a version control tool like bazaar to keep track of all changes in the /etc folder, including the changes made by apt or synaptic.

r0g wrote on the 12 Sep 08 at 00:19
It does this already, I used it to find and uninstall something and it's dangling dependencies less than 30 minutes ago.

What we need is for apt to hook synaptic so it can keep track of both and for everyone to just use one of the two, preferably synaptic coz all this command line nonsense is REALLY hurting adoption, I have heard MANY windoze ppl use it as an excuse for not even trying and the silly thing is, there's not much need for it anymore. GUIs rule.

hessam wrote on the 14 Sep 08 at 19:44
I never knew Synaptic had this File->History thing. But then again, it's not so useful. Mainly because I can't easily restore my system to a specific state in the history.

Has anyone ever worked with the "System Restore" in Windows? It would be great if you could restore the system by selecting a certain time in the history of synaptic.

Tallyho wrote on the 18 Sep 08 at 11:53
This is a much wanted feature for me.

I just tried to install Ubuntu Studio, just to try it. When it was time for removal, I had some problems... Ubuntu studio and the data files, BUT not the 20-30 other programs and dependencies that came with the installation...

My synaptic log has this recorded for trying to install ubuntu studio:

Commit Log for Thu Sep 18 13:15:07 2008


Installed the following packages:
aconnectgui (0.9.0rc2-1-9)
alsa-tools (1.0.15-2ubuntu4)
alsa-tools-gui (1.0.15-2ubuntu4)
ardour (1:2.3.1-1)
audacious (1.5.0-2ubuntu2~hardy1)
audacious-plugins (1.5.0-1ubuntu1.8.04.2)
audacious-plugins-extra (1.5.0-1ubuntu1.8.04.2)
audacity (1.3.4-1.1ubuntu1)
beast (0.7.1-1)
bitscope (1.1-6ubuntu2)
blop (0.2.8-5)
bristol (0.9.1-13)
cmt (1.15-3.1)
creox (0.2.2rc2-3ubuntu3)
csound (1:5.08.0.dfsg2-1ubuntu3)
denemo (0.7.5-4ubuntu3)
flac (1.2.1-1ubuntu2)
fluid-soundfont-gm (3-0ubuntu1)
fluidsynth (1.0.7a-1)
freebirth (0.3.2-8)
freebirth-data (0.3.2-8)
freepats (20060219-1)
freqtweak (0.7.0~cvs20070510-0ubuntu2)
gcdmaster (1:1.2.2-8ubuntu3)
genpo (0.9.6+dfsg.1-0ubuntu2.1)
gtick (0.4.1-1)
guile-1.8 (1.8.3+1-1)
guile-1.8-libs (1.8.3+1-1)
hydrogen (0.9.3-5ubuntu2)
jack-rack (1.4.7-0ubuntu1)
jack-tools (0.0.2-4.1ubuntu1)
jackbeat (0.6.2-1)
jackd (0.109.2-1ubuntu1)
jackeq (0.4.1-1ubuntu2)
jamin (0.95.0-4ubuntu1)
jdelay (1.0-0ubuntu1)
kdebase-bin (4:3.5.9-0ubuntu7.3)
kdebase-bin-kde3 (4:3.5.9-0ubuntu7.3)
kdelibs-data (4:3.5.9-0ubuntu7.1)
kdelibs4c2a (4:3.5.9-0ubuntu7.1)
khelpcenter (4:3.5.9-0ubuntu7.3)
ladcca2 (0.4.0-6)
ladspa-sdk (1.1-6)
libarts1c2a (1.5.9-0ubuntu2)
libaudclient1 (1.5.0-2ubuntu2~hardy1)
libaudid3tag1 (1.5.0-2ubuntu2~hardy1)
libavahi-qt3-1 (0.6.22-2ubuntu4)
libbinio1c2 (1.4-7)
libcddb2 (1.2.1-1)
libcsound64-5.1 (1:5.08.0.dfsg2-1ubuntu3)
libfftw3-3 (3.1.2-3ubuntu1)
libflac++6 (1.2.1-1ubuntu2)
libfltk1.1 (1.1.7-6)
libfluidsynth1 (1.0.7a-1)
libgconfmm-2.6-1c2 (2.22.0-1)
libglademm-2.4-1c2a (2.6.6-1)
libglib1.2ldbl (1.2.10-19build1)
libgmp3c2 (2:4.2.2+dfsg-1ubuntu2)
libgnome-vfsmm-2.6-1c2a (2.22.0-1)
libgnomecanvasmm-2.6-1c2a (2.22.0-1)
libgnomemm-2.6-1c2 (2.22.0-1)
libgnomeuimm-2.6-1c2a (2.22.0-1)
libgtk1.2 (1.2.10-18.1build2)
libgtk1.2-common (1.2.10-18.1build2)
libgtkmm1.2-0c2a (1.2.10-8.1)
libimlib2 (1.4.0-1ubuntu1)
libjack0.100.0-0 (0.109.2-1ubuntu1)
liblash2 (0.5.4-0ubuntu2)
liblo0 (0.23-2.1build1)
liblrdf0 (0.4.0-1build1)
liblua50 (5.0.3-3)
liblualib50 (5.0.3-3)
libmcs1 (0.4.1-2)
libmowgli1 (0.6.0-1)
libmxml1 (2.4-1)
libneon27-gnutls (0.27.2-1)
libportaudio2 (19+svn20071207-0ubuntu3)
libportmidi0 (20041117-1)
libqt4-qt3support (4.3.4-0ubuntu3)
libraptor1 (1.4.16-1)
libresid-builder0c2a (2.1.1-6)
libsidplay2 (2.1.1-6)
libsigc++-1.2-5c2 (1.2.7-2)
libsigc++0c2 (1.0.4-9.2)
libsox0 (14.0.0-5)
lilypond (2.10.33-2ubuntu1)
lilypond-data (2.10.33-2ubuntu1)
linux-image-2.6.24-19-rt (2.6.24-19.41)
linux-image-rt (2.6.24.19.21)
linux-restricted-modules-2.6.24-19-rt (2.6.24.13-19.45)
linux-restricted-modules-rt (2.6.24.19.21)
linux-rt (2.6.24.19.21)
linux-ubuntu-modules-2.6.24-19-rt (2.6.24-19.28)
meterbridge (0.9.2-6ubuntu2)
mixxx (1.6.0~beta2-0ubuntu1)
mixxx-data (1.6.0~beta2-0ubuntu1)
mpg321 (0.2.10.4)
mscore (0.9.1d+dfsg-0ubuntu4)
mscore-common (0.9.1d+dfsg-0ubuntu4)
muse (0.8.1a-5build1)
patchage (0.2.3-2.1ubuntu1)
puredata (0.40.2-2)
python-changesettings (0.2)
python-crypto (2.0.1+dfsg1-2.1ubuntu1)
python-meminfo-total (0.2)
python-twisted (2.5.0-2build2)
python-twisted-conch (1:0.8.0-1build1)
python-twisted-lore (0.3.0-1build1)
python-twisted-mail (0.4.0-1build1)
python-twisted-names (0.4.0-1build1)
python-twisted-news (0.3.0-1build1)
python-twisted-runner (0.2.0-4build1)
python-twisted-words (0.5.0-1.1build1)
qamix (0.0.7e-0ubuntu2)
qjackctl (0.3.2-1ubuntu1)
qsynth (0.2.5-2ubuntu1)
rosegarden (1:1.6.1-1ubuntu1)
rosegarden-data (1:1.6.1-1ubuntu1)
seq24 (0.8.7-1ubuntu2)
shaketracker (0.4.6-5build2)
sndfile-programs (1.0.17-4)
sooperlooper (1.0.8c-3ubuntu1)
sox (14.0.0-5)
swami (0.9.4-1build1)
swh-plugins (0.4.15-0.1ubuntu1)
tapiir (0.7.1-9)
terminatorx (3.82-7ubuntu2)
tetex-bin (2007-13)
tex-common (1.10)
texinfo (4.11.dfsg.1-4)
texlive (2007-13)
texlive-base (2007-13)
texlive-base-bin (2007.dfsg.1-2)
texlive-common (2007-13)
texlive-doc-base (2007-3)
texlive-fonts-recommended (2007-13)
texlive-latex-base (2007-13)
texlive-latex-recommended (2007-13)
timemachine (0.3.0-3ubuntu1)
timidity (2.13.2-19ubuntu1)
tk707 (0.7.21-9)
ubuntustudio-audio (0.28)

nu111 wrote on the 8 Apr 09 at 19:25
I'm a big fan of this idea, i think that it would be even not to difficult to do, and so usefull!

nu111 wrote on the 8 Apr 09 at 19:44
i think that all the information needed pass thru apt
/var/log/dpkg.log
so i think it would be just the thing of storing those infos into a sql-lite file or a xml structure...and then read the structured info by an interface

bjherbison wrote on the 28 Apr 11 at 08:17
The first comment says this is implemented, but if I go by the title, "Provide Installation History", this is by no means implemented. (Even aside from the limitations listed above.)

The File/History box on my system shows nothing installed since February 2011. However, I have update several packages since them, and there have been security updates several times a week.

An application stopped working yesterday, and I would love to be able to report the patches installed yesterday morning. I can't find any history box in the Update Manager.

cheesehead (Brainstorm admin) wrote on the 25 Sep 11 at 02:03
The need for this has been superseded by Software Center, which does have a category to tell you what is installed, and remove each item easily.


Post your comment