LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-07-2005, 08:56 PM   #1
Wingzero138
LQ Newbie
 
Registered: Apr 2005
Posts: 7

Rep: Reputation: 0
some questions on apt for a widget


I'm making a small superkaramba widget that will tell me when there are upgrades ready for download. I was able to use apt-show-version -u to give me the number of packages, but I was wondering if there was a way to check if there is a dist-upgrade available. I've search around with google and found nothing.

Also as a side note with it, was wondering if you know how, if it would be able to work with other Debian distros Ubuntu, Progeny, etc or with apt-rpm. Thanks in advance.
 
Old 06-08-2005, 09:57 PM   #2
Wingzero138
LQ Newbie
 
Registered: Apr 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Another question, I want to make a check to see if an update of the package list can be done. Is there a file to compare to the repositories packages file, because it seems apt-get update seems to know when to actually grab the new lists and when not to, if not I'm just going to use the date on pkgcache.bin and have the widget notify when the file is more then 2 days old.

Sorry if this is the wrong forum, I wasn't sure where to go and figured that the Debian forum would know more about apt stuff then the other forums.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Two questions: $PATH and some apt-get help. Lokathor Debian 7 10-28-2005 12:21 AM
apt-listbugs questions Tons of Fun Debian 10 04-26-2005 11:31 AM
Apt-get and synaptic questions Manadien Linux - Software 3 05-11-2004 01:27 AM
APT Questions BarryRadio Linux - Newbie 3 01-07-2004 09:31 AM
apt-get questions Neomaster Linux - General 5 06-18-2003 10:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration