Integrate all the apt-get / aptitude installs in history of Synaptic

Bug #217413 reported by Frédéric Petit
42
This bug affects 5 people
Affects Status Importance Assigned to Milestone
synaptic
Confirmed
Wishlist
Unassigned
synaptic (Debian)
New
Undecided
Unassigned
synaptic (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Hello,

by default, when we install a soft with the terminal, this is not show in history of Synaptic, but i think go to the log for check history is not user-friendly...

So i propose to integrate in synaptic all history of apt-get / aptitude in synaptic.

bye

Revision history for this message
Frédéric Petit (fraiddo) wrote :

243 votes on brainstrom :)

so, somebody is interesting in that here? :)

Revision history for this message
Frédéric Petit (fraiddo) wrote :

up :)

Michael Vogt (mvo)
Changed in synaptic:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

The best way to implement this is probably to change the current code in apt that writes out /var/log/apt/term.log to /var/log/apt/term-$date.$time.log and add a header there similar to the header in the synaptic log. Then we can just point synaptics logviewer to /var/log/apt/ and we get the added benefit of having full terminal logs in synaptic too.

Changed in apt:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
AlfaOmega08 (alfaomega08) wrote :

synaptic writes its log in /root/.synaptic/log (to see it you have to use "su" in the console and than cd to it) in this format:
date.time.log

Eg:
2008-05-01.230109.log

apt writes all its log in /var/log/apt/term.log

The synaptic log contains only basic info about the packages that have been installed/uninstalled/updated, while the apt log contains all the text that apt outputs on the screen.

So we have to change the format and the directory of the apt logs...

Revision history for this message
AlfaOmega08 (alfaomega08) wrote :

I forgot to say that only the core-dev can modify the synaptic and apt package...

Changed in apt:
assignee: nobody → kurt.litsch
Changed in synaptic:
assignee: nobody → kurt.litsch
Revision history for this message
Martin Lettner (m.lettner) wrote :

Also automatically installed security (if enabled in software sources) updates are not shown in the synaptic history, but in the apt history.

Everything should be in both histories or they should get merged e.g. like michael vogt said.

Revision history for this message
nate (enatefox) wrote :

Please refer to my post for a request like this as well. They should be merged I suppose:
https://bugs.launchpad.net/ubuntu/+source/synaptic/+bug/368314

Has the code needed to give a listing of all installed history in ascending order. Just needs to be added to Synaptic.

TyrosCenva on UbuntuForums (http://ubuntuforums.org/showpost.php?p=4281837&postcount=8) came up with this and it can easily be added in I believe:

echo -e "State \tLast change \t \tName" > PkgLog && ls -lsrt /var/lib/dpkg/info/*.list | awk '{print $6"\t"$7" "$8"\t"$9}' | sed -e "s/\/var\/lib\/dpkg\/info\///" -e "s/.list//" -e "s/^0\t/Removed \t/" -e "s/^[0-9]*\t/Installed\t/"

Revision history for this message
Jānis Kangarooo (kangarooo) wrote :

Yes this is a very strange problem..
Both need to use one database..

Changed in apt (Ubuntu):
assignee: Kurt Litsch (kurt.litsch) → nobody
Changed in synaptic:
assignee: Kurt Litsch (kurt.litsch) → nobody
Revision history for this message
papukaija (papukaija) wrote :

Isn't this done in Karmic?

Revision history for this message
Jānis Kangarooo (kangarooo) wrote :

i would be happy to see it finally integrated.. would help getting history easyr

Revision history for this message
papukaija (papukaija) wrote :

@Kangarooo: Please use the "this bug affects me too" link instead of commenting it.

Revision history for this message
Jānis Kangarooo (kangarooo) wrote : Re: [Bug 217413] Re: Integrate all the apt-get / aptitude installs in history of Synaptic

I have already used it last year.
I hope that helped a little and this is beeing made.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

There is now a /var/log/apt/history.log file that serves this purpose. Bumping back over to Synaptic, since iirc it doesn't support using this yet.

affects: apt (Ubuntu) → synaptic (Ubuntu)
Changed in synaptic (Ubuntu):
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.