Re: Getting The Most Out Of APT
If you do: apt-get -s upgrade it will tell you what it is going to do without actually doing it. Pipe the output into a file and take it to your friends house. -- Jaldhar H. Vyas [EMAIL PROTECTED] On Mon, 27 Sep 1999, Mario Olimpio de Menezes wrote: Hi, Not answering but asking :-| How could I get a list of needed packages for a dist-upgrade without downloading it over dial-up? I'll explain: suppose I want to upgrade my slink system. My connection is a 56k (old fashioned too). It's impossible to do this over dial-up. So I would like to know what packages should be needed, go to a colleague that has a 10Mbps connection, download the packages to one or two zip disks and copy the packages to /var/cache/apt at home. Is this possible? []s Mario O.de MenezesMany are the plans in a man's heart, but IPEN-CNEN/SP is the Lord's purpose that prevails http://curiango.ipen.br/~mario Prov. 19.21 http://www.revistalinux.com.br --
Re: Getting The Most Out Of APT
On Mon, 27 Sep 1999, Mario Olimpio de Menezes wrote: I'll explain: suppose I want to upgrade my slink system. My connection is a 56k (old fashioned too). It's impossible to do this over dial-up. It's not impossible, it just takes a while. The only fresh install of debian that I have ever done is 0.93R6 back in '95. All upgrades have been over modems and slink was the only one over a 56k modem. -- Brian - Mechanical Engineering [EMAIL PROTECTED] Purdue University http://www.ecn.purdue.edu/~servis -
Re: Getting The Most Out Of APT
Hi, Not answering but asking :-| How could I get a list of needed packages for a dist-upgrade without downloading it over dial-up? I'll explain: suppose I want to upgrade my slink system. My connection is a 56k (old fashioned too). It's impossible to do this over dial-up. So I would like to know what packages should be needed, go to a colleague that has a 10Mbps connection, download the packages to one or two zip disks and copy the packages to /var/cache/apt at home. Is this possible? []s Mario O.de MenezesMany are the plans in a man's heart, but IPEN-CNEN/SP is the Lord's purpose that prevails http://curiango.ipen.br/~mario Prov. 19.21 http://www.revistalinux.com.br
Re: Getting The Most Out Of APT
hey, On Sat, Sep 25, 1999 at 09:37:19PM -0400, Todd Suess wrote: I ended up creating a good (I think) sources.list file for apt-get ftp, so I wanted to share it with the group in case it could benefit anyone else, especially those to whom non-us.debian.org seems to have dropped off the map (Don't feel bad, I have an OC3 and *I* can't get there either.) ;) /etc/apt/sources.list deb ftp://ftp.debian.org/debian stable main contrib non-free deb ftp://ftp.debian.org/debian unstable main contrib non-free deb ftp://ftp.de.debian.org/debian-non-US/dists stable/non-US/binary-i386/ deb ftp://ftp.de.debian.org/debian-non-US/dists unstable/non-US main contrib non-free I think mine is better, so I share it with you. If there are some other adresses to update packages, please tell me it. # /etc/apt/souce.list # Unproposed Updates deb ftp://ftp.netgod.net x/ deb ftp://ftp.debian.org/debian dists/proposed-updates/ # Gnome 1.0 deb ftp://ftp.gnome.org/pub/GNOME/gnome-1.0/debian slink main # KDE / KDE 2 + other misc updates deb ftp://kde.tdyc.com/pub/kde/debian slink kde kde2 contrib rkrusty deb-src ftp://kde.tdyc.com/pub/kde/debian slink kde kde2 contrib rkrusty # Security Updates deb ftp://security.debian.org/debian-security stable updates # deb-src ftp://security.debian.org/debian-security stable updates # Unstable source # deb ftp://ftp.debian.org/debian unstable main contrib non-free deb-src ftp://ftp.debian.org/debian unstable main contrib non-free # Debian Stable : main + contrib + non-free + non-US deb ftp://ftp.debian.org/debian stable main contrib non-free deb-src ftp://ftp.debian.org/debian stable main contrib non-free deb ftp://ftp.fr.debian.org/debian-non-US stable non-US deb-src ftp://ftp.fr.debian.org/debian-non-US stable non-US If you have suggestions, don't hesitate to help me improving my source.list file. Bye, sami -- LL II NN N U U X X U U LL E Z!! LL N N N U U XX R R U U LL E__ Z !! LL II N N N U U XX RRR U U LL E Z L II N NN U X X R R U L E Z!!
Getting The Most Out Of APT
I ended up creating a good (I think) sources.list file for apt-get ftp, so I wanted to share it with the group in case it could benefit anyone else, especially those to whom non-us.debian.org seems to have dropped off the map (Don't feel bad, I have an OC3 and *I* can't get there either.) ;) /etc/apt/sources.list deb ftp://ftp.debian.org/debian stable main contrib non-free deb ftp://ftp.debian.org/debian unstable main contrib non-free deb ftp://ftp.de.debian.org/debian-non-US/dists stable/non-US/binary-i386/ deb ftp://ftp.de.debian.org/debian-non-US/dists unstable/non-US main contrib non-free took a fair amount of tinkering to get the format right, as the sources.list man page gives some fairly obscure and incorrect examples. :) Thanks for the suggestions people gave me, they helped a lot also. Regards, Todd
Re: Getting The Most Out Of APT
Thanks for posting this. When one lists both stable and unstable distributions, who wins (for example, if you use the automatic update procedure)? I might want to get a thing or two off unstable, but I don't want to just pull everything since it might be, well, unstable :) At 09:37 PM 9/25/99 -0400, Todd Suess wrote: I ended up creating a good (I think) sources.list file for apt-get ftp, so I wanted to share it with the group in case it could benefit anyone else, especially those to whom non-us.debian.org seems to have dropped off the map (Don't feel bad, I have an OC3 and *I* can't get there either.) ;) /etc/apt/sources.list deb ftp://ftp.debian.org/debian stable main contrib non-free deb ftp://ftp.debian.org/debian unstable main contrib non-free deb ftp://ftp.de.debian.org/debian-non-US/dists stable/non-US/binary-i386/ deb ftp://ftp.de.debian.org/debian-non-US/dists unstable/non-US main contrib non-free
Re: Getting The Most Out Of APT
Ross, Well, APT seems to be fairly intelligent in how it handles this particular file anyway. Once I did the update I did an apt-get upgrade -s just to see what it would do. It held back like 197 packages and updated 127 existing ones. Most of the ones held back seemed to be involved with actually upgrading from slink to potato. I suspect that if I had issued the command apt-get dist-upgrade it would have done more along the lines of actually upgrading from slink to potato. If one does want to completely upgrade the OS from stable to the unstable branch, would apt-get dist-upgrade actually do that, or would some other procedure need to be done also? or manually, thru dselect? (shudder). ;) Todd Thanks for posting this. When one lists both stable and unstable distributions, who wins (for example, if you use the automatic update procedure)? I might want to get a thing or two off unstable, but I don't want to just pull everything since it might be, well, unstable :) At 09:37 PM 9/25/99 -0400, Todd Suess wrote: I ended up creating a good (I think) sources.list file for apt-get ftp, so I wanted to share it with the group in case it could benefit anyone else, especially those to whom non-us.debian.org seems to have dropped off the map (Don't feel bad, I have an OC3 and *I* can't get there either.) ;) /etc/apt/sources.list deb ftp://ftp.debian.org/debian stable main contrib non-free deb ftp://ftp.debian.org/debian unstable main contrib non-free deb ftp://ftp.de.debian.org/debian-non-US/dists stable/non-US/binary-i386/ deb ftp://ftp.de.debian.org/debian-non-US/dists unstable/non-US main contrib non-free -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: Getting The Most Out Of APT
[oops! I meant to send this message to the list!] Since we are all sharing, here is my /etc/apt/sources.list: # Use for a local mirror - remove the ftp1 http lines for the bits # your mirror contains. # deb file:/your/mirror/here/debian stable main contrib non-free # See sources.list(5) for more information, especial # Remember that you can only use http, ftp or file URIs deb http://http.us.debian.org/debian dists/proposed-updates/ deb http://http.us.debian.org/debian stable main contrib non-free deb http://http.us.debian.org/debian unstable main contrib non-free #deb-src http://http.us.debian.org/debian unstable main contrib non-free deb http://non-us.debian.org/debian-non-US stable non-US deb http://security.debian.org/ stable updates deb http://www.netgod.net/ x/ Anyone care to explain why I should use ftp instead of http ? I connect the old-fashioned way : 56k dialup access using PPP :) Anyone care to recommend improvements to this ? In the case of the above when stable and unstable are mixed together, packages from stable get priority since there version numbering is higher than the ones from stable and so they are 'preferred'. This is what I have observed when I am installing packages via apt-get install. -- Salman Ahmed ssahmed AT interlog DOT com
RE: Getting The Most Out Of APT
deb ftp://ftp.debian.org/debian stable main contrib non-free deb ftp://ftp.debian.org/debian unstable main contrib non-free deb ftp://ftp.de.debian.org/debian-non-US/dists stable/non-US/binary-i386/ deb ftp://ftp.de.debian.org/debian-non-US/dists unstable/non-US main contrib non-free Hmm... what different would having the stable there make? Since it always grabs the newest version and things are unstable first, then would the stable apt sources in there make any difference except waste a couple seconds during an 'apt-get update'? -- Bart Szyszka [EMAIL PROTECTED] ICQ:4982727 B Grafyx http://www.bgrafyx.com ** Good deal for magazine subscriptions/renewals while helping my school: http://www.gigabee.com/magazines/
Re: Getting The Most Out Of APT
On Sat, 25 Sep 1999, Salman Ahmed wrote: Anyone care to explain why I should use ftp instead of http ? I connect the old-fashioned way : 56k dialup access using PPP :) You shouldn't, the HTTP code in APT is very carefully optimized to get the best performance so long as you are not using a proxy server (transparent or otherwise) In the case of the above when stable and unstable are mixed together, packages from stable get priority since there version numbering is higher than the ones from stable and so they are 'preferred'. This is what I have observed when I am installing packages via apt-get install. No, APT always selects the newest package by version no matter what. The order in the sources.list effects the selection of source for equal versions. For instance if you put two unstable sites then it would prefer the first, only using the second if the first failed for some reason. Jason
Re: Getting The Most Out Of APT
On Sat, 25 Sep 1999, Todd Suess wrote: took a fair amount of tinkering to get the format right, as the sources.list man page gives some fairly obscure and incorrect examples. :) Really? Send a patch in.. Jason
Re: Getting The Most Out Of APT
I would be happy to contribute, would I mail the APT Development Group with suggested updates, etc? Todd At 09:06 PM 9/25/1999 -0600, you wrote: On Sat, 25 Sep 1999, Todd Suess wrote: took a fair amount of tinkering to get the format right, as the sources.list man page gives some fairly obscure and incorrect examples. :) Really? Send a patch in.. Jason -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: Getting The Most Out Of APT
On Sat, 25 Sep 1999, Todd Suess wrote: I would be happy to contribute, would I mail the APT Development Group with suggested updates, etc? [EMAIL PROTECTED] Jason
Re: Getting the most out of apt.
On Fri, Sep 24, 1999 at 05:23:07PM -0700, Seth R Arnold wrote: Todd, here are two lines from mine that make sense for everone. deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free deb http://http.us.debian.org/debian unstable main contrib non-free I just cut this from someone's example on the list a month ago or so. This is for potato though... slink will probably be different. :) Well, for slink change unstable to stable, and it'll work. Here's my sources.list for slink: --cut--- deb http://http.us.debian.org/debian stable main contrib non-free deb http://non-us.debian.org/debian-non-US stable non-US deb http://security.debian.org/ stable updates deb http://http.us.debian.org/debian dists/proposed-updates/ deb-src http://http.us.debian.org/debian stable main contrib non-free --cut--- explanations: 1st line: main, contrib, non-free 2nd line: non-us 3rd line: security updates 4th line: proposed updates 5th line: source packag4es for stable, contrib and non-free IMO that is enough for a normal user, and it works fine for me. Note that this list only uses official debian sources with only the officially released packages. HTH Tobias -- e-mail: [EMAIL PROTECTED] / www : http://www.startrek-web.de /obias Zimpel Vote against Spam: http://www.politik-digital.de/spam/ pgpD8EqGHABk5.pgp Description: PGP signature
Getting the most out of apt.
Does anyone have a suggestion for the best list of servers to use for the apt sources.list file? I want to be able to keep track of the largest number of packages in all the various areas, both US and non-us and devel. I read the man page for sources.list but I figured someone would have a good suggestion for a list of servers. BTW, I plan to use FTP mostly for retrieval. Also, thanks to all those who sent me messages regarding using pppd to auto-redial and keep my box connected. The persist option worked fantastically. It's nice to see a version of Xnix with such good user-based support, the best I have seen thus far. Thanks to all, Todd Todd Suess Technical Support Night Manager Evolution Communications, Inc. 800.496.4736/561.624.7570 Email- [EMAIL PROTECTED] Support Hours- Monday through Friday 6am to Midnight Saturday and Sunday 8:30 to Midnight Be sure to visit EvCom.net at Booth 1388 for 'Everything Internet' at Internet World '99 in New York City, October 4-8, 1999.
Re: Getting the most out of apt.
Todd, here are two lines from mine that make sense for everone. deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free deb http://http.us.debian.org/debian unstable main contrib non-free I just cut this from someone's example on the list a month ago or so. This is for potato though... slink will probably be different. :) On Fri, Sep 24, 1999 at 07:15:45PM -0400, EVCom Support wrote: Does anyone have a suggestion for the best list of servers to use for the apt sources.list file? I want to be able to keep track of the largest number of packages in all the various areas, both US and non-us and devel. I read the man page for sources.list but I figured someone would have a good suggestion for a list of servers. BTW, I plan to use FTP mostly for retrieval. Also, thanks to all those who sent me messages regarding using pppd to auto-redial and keep my box connected. The persist option worked fantastically. It's nice to see a version of Xnix with such good user-based support, the best I have seen thus far. Thanks to all, Todd Todd Suess Technical Support Night Manager Evolution Communications, Inc. 800.496.4736/561.624.7570 Email- [EMAIL PROTECTED] Support Hours- Monday through Friday 6am to Midnight Saturday and Sunday 8:30 to Midnight Be sure to visit EvCom.net at Booth 1388 for 'Everything Internet' at Internet World '99 in New York City, October 4-8, 1999. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Seth Arnold | http://www.willamette.edu/~sarnold/ Hate spam? See http://maps.vix.com/rbl/ for help Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!