4 ms·
Are you saying that you have been upgrading the same install since 1999 without having to ever reinstall from scratch? I find that to be impressive. Does it tak
by copperx 5y ago
Are you saying that you have been upgrading the same install since 1999 without having to ever reinstall from scratch? I find that to be impressive. Does it take a massive amount of effort?
- Moto7451 5y agoMy current Intel Mac still has some remnants from running Mac OS X 10.2-10.4 on a G4 equipped Powermac 7300 using XPostFacto. Every so often I run into very odd plists and remnants of long obsolete programs. I’ve used the migration assistant each time I moved from Mac to Mac. All the PPC only apps went away when Rosetta was removed and the 32bit Carbon apps were similarly discarded. Support files sometimes stick around but the transfer agent is generally pretty tidy.
- ridiculous_fish 5y agoTime Machine quietly bridges these architectural transition. It's no mean feat to migrate PPC->Intel and then Intel->M1. It silently works and this is the Mac at its best.
- zevv 5y agoWhat probably helps is that I'm running Debian "unstable", which provides more or less a continuous flow of updates instead of dropping a full release periodically. I just apt-update/apt-upgrade every few weeks, usually resulting in tens or hundreds of packages getting updated. I had to resolve some minor issues with broken dependencies a handful of times, but for the rest it has been pretty much effortless.
- PenguinCoder 5y agoAt least in my experience, it's a matter of separation of data vs os. I can reinstall the os or upgrade as needed. Then copy my data over separately from the OS itself.
- doubled112 5y agoThe Debian upgrade process is very effortless, and if you're not running anything from an outside repository is just a matter of updating the release codename in your sources.list and doing an `apt update` then `apt dist-upgrade` Obviously your mileage may vary, but the 8 upgrades of Debian 10 to 11 I did were exactly that for me. Edit: realized I lied and the Canon driver wasn't ready for Debian 11 so rolled my print server back. You'll have to decide for yourself whether this is a Debian problem or not
- Jenda_ 5y agoI was managing many systems from 2012 to 2019, upgrading from Debian 6 to 10 in the process, and it was always smooth (I was hitting some bugs, but I would hit these with a clean install too). I have written an article on this, unfortunately in Czech, but you can try Google Translate: https://www-abclinuxu-cz.translate.goog/blog/jenda/2020/12/28/462560?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=cs&_x_tr_pto=nui https://www-abclinuxu-cz.translate.goog/blog/jenda/2020/12/2... TL;DR: - perform apt-get dist-upgrade, apt-get autoremove, apt-get clean - migrate postgresql database to a new version, if installed - run `aptitude search "?narrow(?installed,?not(?archive(stable)))"` to find leftover packages from older releases. Install alternatives and remove these old packages. - once in a while, run for p in `dpkg -l | grep ^ii | cut -d " " -f 3 | grep -E "^lib"`; do echo "if [ \`apt-get -s purge $p | grep -E \"^(Purg|Inst|Conf)\" | wc -l\` -eq 1 ]; then echo $p; fi" done | parallel to find libraries that nothing depends on - when taking over a system from a previous sysadmin, run debsums -c and maybe also a complete audit of all files that are not managed by a package manager (though this has lots of false-positives, so it needs an expert judgement) # locate * | grep -vE "^/(home|tmp|mnt|boot|opt|root|srv|usr/local|var/cache|var/lib|var/log|var/tmp|var/mail|var/www)/" | sort -u > /tmp/allfiles # sort -u /var/lib/dpkg/info/*.list > /tmp/allfiles2 # comm -23 /tmp/allfiles /tmp/allfiles2 |less
- kzrdude 5y agoYou need a bit of continuous effort to be thoughtful of how you install software - not letting random make installs scribble over your install.
- amelius 5y agoYes, this is my main issue with most Linux distros. Building and installing stuff yourself using the default directory prefix is potentially dangerous. It can turn your installation into a mess, and there's no way to undo it (unless you're using a filesystem that supports snapshots, but even then it is tricky if the problems appear much later). However, I suspect this issue also exists with macOS.
- marcodiego 5y agoA modern way to work around this problem is using distro agnostic containerized packages like snaps, flatpaks, nix, guix or homebrew. I've been using old Ubuntu distros which still get security patches with flatpaks. This gives me a good balance of stability and modern user space software. As an experiment, I'm keeping a Debian 11 in which I installed flatpak and GNU Guix. I can use very recent GCC versions and still have a very stable system. I still plan to install homebrew on it to watch how the different parts will interact.
- amelius 5y agoHow do you install stuff that you compile from source?
- marcodiego 5y agoMost things compiled from source default to /usr/local , so they may interfere but not break package manager installed packages. It is also possible to use --prefix while configuring, so I can install it without using sudo , but I have to change some environment vars to use it. I still haven't tried it, but my next step will be to try homebrew.
- seba_dos1 5y agoWhy would it? Software doesn't rot with time (unless it's made to).