Re: two apt-get questions
On Sun, Sep 10, 2000 at 11:32:15PM +0200, Jürgen A. Erhard wrote: Sean == Sean 'Shaleh' Perry [EMAIL PROTECTED] writes: 2. How do I get apt-get to tell me which version of a package it would install, without actually installing it, regardless of the version of the existing package if any? Sean apt-get -s foo bar Sorry, but it doesn't show the *versions*. So, that'd be a resounding No here also. Too bad, I'd like such an option also... currently you can only check apt-cache show foo against dpkg -s foo to see whether there's a newer version. Ugly and complicated... You can install console-apt or aptitude. Both show the installed version and available version of every package, so you will be able to check this. Bye! Bye, J -- Jürgen A. Erhard[EMAIL PROTECTED] phone: (GERMANY) 0721 27326 MARS: http://members.tripod.com/Juergen_Erhard/mars_index.html Electronic Frontier Foundation (http://www.eff.org) Windows NT is an acronym for Windows? No thanks. -- Russ McManus -- Juli-Manel Merino Vidal Email: [EMAIL PROTECTED] Homepage: http://jmmv.cjb.net
Re: two apt-get questions
Sean == Sean 'Shaleh' Perry [EMAIL PROTECTED] writes: 2. How do I get apt-get to tell me which version of a package it would install, without actually installing it, regardless of the version of the existing package if any? Sean apt-get -s foo bar Sorry, but it doesn't show the *versions*. So, that'd be a resounding No here also. Too bad, I'd like such an option also... currently you can only check apt-cache show foo against dpkg -s foo to see whether there's a newer version. Ugly and complicated... Bye, J -- Jürgen A. Erhard[EMAIL PROTECTED] phone: (GERMANY) 0721 27326 MARS: http://members.tripod.com/Juergen_Erhard/mars_index.html Electronic Frontier Foundation (http://www.eff.org) Windows NT is an acronym for Windows? No thanks. -- Russ McManus pgpA37tR3j31g.pgp Description: PGP signature
Re: two apt-get questions
1. Is it possible to apt-get install, specifying say stable or unstable on the command line, rather than by editing /etc/apt/sources.list? 2. How do I get apt-get to tell me which version of a package it would install, without actually installing it, regardless of the version of the existing package if any? apt-get dist-upgrade -sq ? -chris -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- -- Shaul Karl [EMAIL PROTECTED] Donate free food to the world's hungry: see http://www.thehungersite.com -- -- Shaul Karl [EMAIL PROTECTED] Donate free food to the world's hungry: see http://www.thehungersite.com
RE: two apt-get questions
1. Is it possible to apt-get install, specifying say stable or unstable on the command line, rather than by editing /etc/apt/sources.list? no, I dont believe so I have several /etc/apt/sources.list.XYZ files with woody instead of potato, or security.debian.org instead of my mirror in them. The I do, eg: apt-get -o Dir::Etc::sourcelist=/etc/apt/sources.list.woody apt-get -o Dir::Etc::sourcelist=/etc/apt/sources.list.woody install PKGS -Igor Mozetic
two apt-get questions
1. Is it possible to apt-get install, specifying say stable or unstable on the command line, rather than by editing /etc/apt/sources.list? 2. How do I get apt-get to tell me which version of a package it would install, without actually installing it, regardless of the version of the existing package if any? -chris
RE: two apt-get questions
On 07-Sep-2000 Krzys Majewski wrote: 1. Is it possible to apt-get install, specifying say stable or unstable on the command line, rather than by editing /etc/apt/sources.list? no, I dont believe so 2. How do I get apt-get to tell me which version of a package it would install, without actually installing it, regardless of the version of the existing package if any? apt-get -s foo bar # the -s option tells apt to simulate what it would do