sidux.com
Menu

News

Give back
Last 3 Contributions
30-11-2008 20.00
25-11-2008 100.00
25-11-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
speedygeo
22 Post subject: APT: I'm looking for hint  PostPosted: Apr 02, 2008 - 09:36 PM



Joined: Dec 17, 2007
Posts: 171
Location: Italy
Status: Offline
I know that after a apt-get update I can know (with hermes) a list of packages that can be updated.
I want to know if was added on the repository packages that weren't previously. (that hadn't a previous version)
Can I know that with an apt operation after an apt-get update?

_________________
The free(dom) technologies are possible!
Stuff for free(dom) software newbies on work!
 
 View user's profile Send private message  
Reply with quote Back to top
Crust
Post subject: RE: APT: I  PostPosted: Apr 02, 2008 - 11:39 PM



Joined: Dec 04, 2006
Posts: 640

Status: Offline
dist-upgrading removes packages and/or installs new packages, as well as updating them, so the best method to see what apt-get would do would be to just run:

Code:

apt-get dist-upgrade


and press N

or to use the simulated mode to see what apt-get would do:

Code:

apt-get -s dist-upgrade


If you really do want to see a list of upgradeable packages:

Code:

apt-get update
apt-show-versions -u


This will show what packages have updated versions to upgrade to, but will not show what apt-get dist-upgrade will do (loads of packages may be removed).
 
 View user's profile Send private message  
Reply with quote Back to top
speedygeo
Post subject: RE: APT: I  PostPosted: Apr 03, 2008 - 04:23 AM



Joined: Dec 17, 2007
Posts: 171
Location: Italy
Status: Offline
Yes, thank you! But the new added packages to the repos that haven't a previous version?

_________________
The free(dom) technologies are possible!
Stuff for free(dom) software newbies on work!
 
 View user's profile Send private message  
Reply with quote Back to top
Crust
Post subject: RE: APT: I  PostPosted: Apr 03, 2008 - 04:59 PM



Joined: Dec 04, 2006
Posts: 640

Status: Offline
For that, you'll have to look at the output of apt-get dist-upgrade or apt-get -s dist-upgrade
 
 View user's profile Send private message  
Reply with quote Back to top
speedygeo
Post subject: RE: APT: I  PostPosted: Apr 03, 2008 - 05:39 PM



Joined: Dec 17, 2007
Posts: 171
Location: Italy
Status: Offline
No, that show me only the new packages that can be upgraded, not the uninstalled packages new to the repository.

_________________
The free(dom) technologies are possible!
Stuff for free(dom) software newbies on work!
 
 View user's profile Send private message  
Reply with quote Back to top
Crust
Post subject: RE: APT: I  PostPosted: Apr 03, 2008 - 08:55 PM



Joined: Dec 04, 2006
Posts: 640

Status: Offline
I'm not sure what you are talking about.

I don't think there is any command that will tell you what new packages are introduced to the repository. apt-get -s dist-upgrade will tell you what new packages that a dist-upgrade will bring in.
 
 View user's profile Send private message  
Reply with quote Back to top
zulu9
Post subject: RE: APT: I  PostPosted: Apr 03, 2008 - 10:40 PM



Joined: Nov 30, 2006
Posts: 775
Location: Germany
Status: Offline
http://packages.debian.org/unstable/newpkg_main.de.rdf
http://packages.debian.org/unstable/new ... rib.de.rdf

no commands but rdf-feeds of added packages. subscribe to them in any on- or offline feedreader to get the
newest packages. also watch http://ftp-master.debian.org/new.html for stuff that might be added soon.

_________________
http://sidux.wordpress.com/ inoffizielles sidux-Blog
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Dragonslayer
Post subject: RE: APT: I  PostPosted: Apr 03, 2008 - 10:44 PM



Joined: Dec 05, 2007
Posts: 32
Location: Kathmandu
Status: Offline
Try and stick with SMXI on upgrades and updates . This should give you the options and view you are asking about. Try the sidux manual, it should be a big help to you too.

_________________
Linux 2.6.25-11.slh.1-sidux-686 i686 [ sidux 2007-04.5 - Έρως christmas special - kde-lite - (200712260129) ]

Rock on sidux !
 
 View user's profile Send private message  
Reply with quote Back to top
speedygeo
Post subject: RE: APT: I  PostPosted: Apr 04, 2008 - 03:46 AM



Joined: Dec 17, 2007
Posts: 171
Location: Italy
Status: Offline
Synaptic has the unique feature of showing the detected uninstalled packages new to the repository. I thinked it is an apt CLI option. If anyone know, maybe is a comparison made by synaptic on the previous and the new updated list of packages.
Since I don't want to install synaptic in sidux (for the huge amount of packages too) I'm looking for the same option through the command line.

_________________
The free(dom) technologies are possible!
Stuff for free(dom) software newbies on work!
 
 View user's profile Send private message  
Reply with quote Back to top
pinguin
Post subject: RE: APT: I  PostPosted: Apr 04, 2008 - 06:40 AM



Joined: Dec 10, 2007
Posts: 102
Location: Italy
Status: Offline
You can use kpackage
 
 View user's profile Send private message  
Reply with quote Back to top
speedygeo
Post subject: RE: APT: I  PostPosted: Apr 05, 2008 - 03:03 AM



Joined: Dec 17, 2007
Posts: 171
Location: Italy
Status: Offline
kpackage doesn't show the information I'm looking for! Like an exemple, kpackage, apt, adept, aptitude... will not show that the KDE4 package is added to the sid repo. This is only an example. But Synaptic show this in a separated category in the status view. I think it is an apt function but I don't know how can I obtain this with the command line. Thank you anyway. I can live without it.

_________________
The free(dom) technologies are possible!
Stuff for free(dom) software newbies on work!
 
 View user's profile Send private message  
Reply with quote Back to top
CoolHand
Post subject: RE: APT: I  PostPosted: Apr 10, 2008 - 06:07 PM



Joined: Aug 14, 2007
Posts: 13
Location: Indiana
Status: Offline
you could write a script/cronjob to run a 'dpkg -l' everyday, and write it to a file, then grep it for only uninstalled packages and diff the current day with the previous day, and write out the results to a file, or email it or whatever....
 
 View user's profile Send private message  
Reply with quote Back to top
speedygeo
Post subject: RE: APT: I  PostPosted: Apr 10, 2008 - 07:01 PM



Joined: Dec 17, 2007
Posts: 171
Location: Italy
Status: Offline
A complex idea, but I can make this script. Thanks!

_________________
The free(dom) technologies are possible!
Stuff for free(dom) software newbies on work!
 
 View user's profile Send private message  
Reply with quote Back to top
ModestUser
Post subject: RE: APT: I  PostPosted: Jun 24, 2008 - 02:38 PM



Joined: Jan 07, 2008
Posts: 297

Status: Offline
You can wrap your apt-get update call like this:

Code:
dpkg-query -l '*' | awk '/^.n/ { print $2 }' > ~/pkg.old
apt-get update
dpkg-query -l '*' | awk '/^.n/ { print $2 }' > ~/pkg.new
diff ~/pkg.old ~/pkg.new


This gives you a diff of the not installed, available packages. You could redirect the output of the diff to a file named by date so you can keep track of all changes over time.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio