Active Topics

 


Reply
Thread Tools
free's Avatar
Posts: 739 | Thanked: 159 times | Joined on Sep 2007 @ Germany - Munich
#21
A looong time ago I tried to port things to have aptitude working but failed.
Anybody tried ?
 
Andre Klapper's Avatar
Posts: 1,665 | Thanked: 1,649 times | Joined on Jun 2008 @ Praha, Czech Republic
#22
For the records, https://bugs.maemo.org/show_bug.cgi?id=601 is the request about being able to install several packages at once.
Please vote for this bug (Log in, Click "Vote for this bug", set your cross and confirm again) if you want it to have a higher priority.
__________________
maemo.org Bugmaster
 

The Following 2 Users Say Thank You to Andre Klapper For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#23
Originally Posted by free View Post
A looong time ago I tried to port things to have aptitude working but failed.
Anybody tried ?
https://garage.maemo.org/projects/aptitude - but only for DIABLO_X86... I tried building for ARMEL, but failed. Maybe I'll do it on device, as aptitude is something I do wish to have on a tablet (unlike synaptic).
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post:
free's Avatar
Posts: 739 | Thanked: 159 times | Joined on Sep 2007 @ Germany - Munich
#24
Well, there's the question about the logs. IIRC (and no debian around here to check), aptitude puts a lot of history in /var/log
Actually I like it to track problems, you know what was last updated...
I've done a simple script to grep through it

Code:
#!/bin/sh
[[ $1 == -h ]] &&  { echo "

# version: 0.5
# date: 2009-03-05

# usage:
# ./script will display packages status of the current day
# ./script <regexp> will display a summary of packages status with line containing <regexp>
#
# examples:
# ./script 2007-04-13          lists changed package statuses on this day
# ./script locales             lists changes on package locales
# ./script 2007-04-12.*upgrade lists only upgraded packages on the day before
# ./script ^2007|less -R       list the history of the year
" ; exit ; }
pattern=${1:-`date +%Y-%m-%d`}
for i in `ls -1r /var/log/dpkg.log*` ; do (
	zcat -f  $i | egrep $pattern | \
	awk ' BEGIN { RED=31; GREEN=33 ; BLUE= 34 }
	 { f1=" "; f2=" "; f3=" "; }
	 /upgrade\ /       { stat="  U" ; col=GREEN; f1=$4; f2=$5; f3=$6; }
	 /not-installed/ { stat="- D" ; col=RED ;  f1=$5 }
	 /config-files/  { stat="- C" ; col=RED ;  f1=$5; f2=$6 }
	 / install.*</   { stat="+ I";  col=BLUE ; f1=$4; f3=$6 }
	 {
	   if (f1!=" ") printf("%s %s: \033[0;%dm%s\033[0m %*s %*s %*s\n",$1,$2,col,stat,30,f1,40,f2,40,f3); 
	 }
	' | uniq
)
done
Displays nice colors

Last edited by free; 2009-04-22 at 18:05. Reason: upgrade becomes upgrade\
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#25
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:15.