Results 1 to 3 of 3

Thread: Suggestion: Versioning the apt-installed packages-tree

  1. #1
    Join Date
    Feb 2020
    Beans
    0

    Suggestion: Versioning the apt-installed packages-tree

    Hi Guys, in days of fast and also slow disk-drives, i want to make a suggestion:

    Wouldnt it be great to have versioning tool for all the dep-packages you have downloaded, and when you broke your package-manager you just switch branch or restore any "commit"?
    Maybe its enough to git init in certain folder?

  2. #2
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    29,807
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Suggestion: Versioning the apt-installed packages-tree

    Thread moved to Ubuntu, Linux and OS Chat a more appropriate sub-forum.

    You may be able to contact the Ubuntu Developers
    Last edited by wildmanne39; February 20th, 2020 at 11:33 PM.

  3. #3
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Suggestion: Versioning the apt-installed packages-tree

    Quote Originally Posted by nehrhardt88 View Post
    Hi Guys, in days of fast and also slow disk-drives, i want to make a suggestion:

    Wouldnt it be great to have versioning tool for all the dep-packages you have downloaded, and when you broke your package-manager you just switch branch or restore any "commit"?
    Maybe its enough to git init in certain folder?
    Don't think git works automatically.

    I have that. It is called "a versioned backup." Very handy for all sorts of things, not just accidentally removed, corrupted, files.

    People want to invent some slick new tool that accomplishes the same things that proper backups accomplish. My backups include a list of the currently installed software packages on the machine. Just run dpkg -l to see yours. Redirect that output to a file and include that data in your daily backups. Refresh the list as part of the backup cron-job and it wll always be there for you.

    Some other files created daily just before backups run:
    Code:
    /root/backup# ls
    apt-mark.auto    blkid.txt     df.txt       log.rereinstall  pvdisplay.txt
    apt-mark.manual  crontab.tf    dpkg.list    lshw.list        vgdisplay.txt
    auto.list        crontab.root  dpkg-l.list  lvdisplay.txt

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •