Re: restoring /var/cache/apt/archives contents

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

  • Next message: Nano Nano: "Re: howto serialize tasks in .xsession"
    To: debian-user@lists.debian.org
    Date: Sun, 29 Feb 2004 10:04:12 +0100
    
    

    Hello

    Antonio Rodriguez (<arodriguez31@cfl.rr.com>) wrote:

    > I have used in the past apt-move to create a local mirror. I usually
    > like to keep archives with the debs, in case I need to reinstall them
    > and they are gone from the archives, after being replaced by new
    > versions. At this point I would like better to just restore all the
    > debs that have been deleted by my careless accepting the default in
    > dselect. I would like to hear opinions about the best options here.
    > dpkg set selections followed by some aptget download only...

    Something like

    dpkg --get-selections | cut -f1 |\
    xargs apt-get -y --download-only --reinstall install

    should download the packages you need. It will not download packages
    that would be installed from any local sources, although apt may ask
    you to insert some CD.

    best regards
            Andreas Janssen

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

  • Next message: Nano Nano: "Re: howto serialize tasks in .xsession"

    Relevant Pages

    • Re: Upgrade to OS X 10.4.5 ?
      ... am concerned not to leave it uncorrected in the archives. ... I understand your point (Matt). ... I used my psychic capability to attain what your reasoning was, but yes, it is also good that you state your preference for stability over small download size for archival purposes. ... There is no problem using the combo and delta updaters from the website, as we test that eventuality when deploying updates, and doing so perhaps has the pros that have been discussed in this thread by Matt. ...
      (comp.sys.mac.system)
    • Re: File creation date. No change?
      ... confusing if a file creation date changes when I copy the file. ... I have a vbscript script that archives a file by moving it to an archive ... folder, before ftp downloading another version of the file. ... from the download folder to the archive folder and renamed. ...
      (microsoft.public.windows.server.scripting)
    • File creation date. No change?
      ... I have a vbscript script that archives a file by moving it to an archive ... folder, before ftp downloading another version of the file. ... from the download folder to the archive folder and renamed. ...
      (microsoft.public.windows.server.scripting)
    • Re: Archiving an authors postings
      ... and can be coupled to shell scripts to do quite complex ... and wget to download to files could do it nicely. ... is to download the relevant years from the archives at the site which ... separate the articles into individual messages, ...
      (rec.crafts.metalworking)
    • 1973 and the Archives
      ... Very strange to get off work today, come home, and read that GD soundboards ... are no longer available for download, ... Archives dry up and blow away. ...
      (rec.music.gdead)