Re: How to install and upgrade packages offline for my Debian box due to dial-up connection?

From: Andreas Janssen (andreas.janssen_at_bigfoot.com)
Date: 02/05/05

  • Next message: Matthias: "Re: libstdc++-6 source code"
    To: debian-user@lists.debian.org
    Date: Sat, 05 Feb 2005 19:57:57 +0100
    
    

    Hello

    Phillip Pi (<ant@zimage.com>) wrote:
    >>> [Sarge no more broadband]
    >>>
    >>> I do have broadband access, CD burners, and USB Flash drives/sticks
    >>> (256- 512 MB) at work. Is there a way to get all these Debian
    >>> packages and upgrades quickly? I do not and cannot run Debian at
    >>> work due to heavy firewall restrictions (apt-get update and upgrade
    >>> doesn't work well in VMware v4.5.x test).
    >>
    >> This is asked frequently on this list. You can find more by searching
    >> the list archive and googling for APT offline howto. To give you a
    >> quick answer, you can get a list of filenames with
    >> apt-get --print-uris dist-upgrade
    >> and later copy the packages to /var/cache/apt/archives. Then you run
    >> apt-get dist-upgrade.
    >
    > Thanks Andreas. This looks like the solution I want! I used redirect
    > (> results.txt). Do you have a script to clear out all the extras and
    > only keep the URLs? I need to figure out how to copy all these URLs to
    > GetRight in Windows without doing it manually one by one. I have 100
    > URLs! I am not a coder so...

    This should work:

    apt-get -y --print-uris dist-upgrade |\
    grep ".deb" | cut -f1 "-d " | sed s/\'//g

    grep will only keep the lines with ".deb", cut removes everything except
    the first part of each line with the URL, and sed removes the quotation
    marks.

    best regards
     Andreas Janssen

    -- 
    Andreas Janssen <andreas.janssen@bigfoot.com>
    PGP-Key-ID: 0xDC801674 ICQ #17079270
    Registered Linux User #267976
    http://www.andreas-janssen.de/debian-tipps-sarge.html
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Matthias: "Re: libstdc++-6 source code"

    Relevant Pages

    • Re: Help finding my mother
      ... So why did you post the same message under 2 identities? ... The Salvation Army will not normally become involved in searches ... It can all be found out by some simple googling. ... have been searching for ages, and have been using a computer in the ...
      (soc.genealogy.britain)
    • Re: Help finding my mother
      ... I think Don's covered everything - did he mention the Salvation Army? ... If people allege they have been searching for ages, and have been using a computer in the search, that implies they could have done, or have done, a few minutes googling and follow up of the sites they find. ... and a couple of emails later found another sibling knew about the adoption and the mother who had been searching for 15 years for her lost baby ...
      (soc.genealogy.britain)
    • Re: Motorola AN-410 wanted
      ... Design" by Kwok. ... I have been Googling and searching for some time, ...
      (sci.electronics.design)
    • Re: SATA support with FreeBSD 4.9
      ... Matt Pearce schrieb: ... > I have been searching the archives and googling till my fingers bleed to ...
      (comp.unix.bsd.freebsd.misc)
    • Re: [OT?] whats a FPGA?
      ... Googling for FPGA introduction was not a satisfying experience. ... searching Wikipedia.org was less so ...
      (comp.dsp)

    Loading