LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-04-2016, 03:47 PM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Rep: Reputation: 60
Debian Latest Package List


Does anyone know how I can obtain this same list of the latest packages for Jessie,Wheezy and etc.
https://packages.debian.org/jessie/a...?format=txt.gz
that is architecture specific as in i386 or amd64 by itself? When I download the compact compress list, it includes all the architectures together as in:
Code:
389-dsgw (1.1.11-1+b1 [s390x], 1.1.11-1 [amd64, arm64, armel, armhf, i386, mips, mipsel, powerpc, ppc64el]) 389 Directory Server Gateway
3dchess (0.8.1-18) Play chess across 3 boards!
3depict (0.0.16-2.1+b1 [s390x], 0.0.16-2.1 [amd64, arm64, armel, armhf, i386, mips, mipsel, powerpc, ppc64el]) visualisation and analysis for single valued point data
3dldf (2.0.3+dfsg-2) 3D drawing with MetaPost output -- interpreter
I need a list for just i386 or amd64. I know I can do this via the cli of a system that has Debian installed by querying the repos using:
Code:
sudo apt-cache dumpavail| tee Wheezepkgs.out
or query the files locally
Code:
/var/lib/apt/lists
but I would like to simply download this from the site and add it to my code. Is there an API that I can tap into to accomplish this task?

Last edited by metallica1973; 02-05-2016 at 02:09 PM.
 
Old 02-04-2016, 04:18 PM   #2
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
Looks promising but its limited:
https://sources.debian.net/doc/api/
Getting close:
https://sources.debian.net/api/list/...sie&arch=amd64

Last edited by metallica1973; 02-04-2016 at 04:25 PM.
 
Old 02-08-2016, 02:00 PM   #3
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
Another forum suggested:
Code:
devscripts
Code:
sudo rmadison * -a amd64 -u debian -s wheezy
but it I cant it to display the entire repository with its latest packages
 
  


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
[SOLVED] [Debian/Ubuntu] List files in uninstalled package? littlebigman Linux - Software 1 03-17-2011 05:28 AM
list installed package files and how to know which package a file belongs bujecas Slackware 3 01-09-2010 03:14 PM
aptitude- list/grab package for another debian release aquaboot Debian 4 06-06-2008 06:30 PM
update .deb package list debian etch rotezecke Linux - Newbie 1 04-02-2008 07:10 AM
get list of latest list of packages bobwall Linux - Distributions 1 11-30-2004 03:48 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:32 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