The best method of reinstalling ubuntu?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/code-flow.club/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
3 views
On my home machine ubuntu live since version 8.04. Every six months she successfully of updates with pamsu command distr-upgrade.


Want to install the system from scratch, to clean it from possible bugs and packages left over from older versions of OSes. Of course, no desire to netravati all over again and remember which packages and from what repository I was ostanavlivali.


The hamster I have on the hotel tab so the first problem is solved relatively easily (just don't format it).


But what about the list of packages and repositories? I know that you can save a list of installed packages to a file and then install all packages from that file. But, first, what to do with the packages that will be obsolete in the new Ubuntu (why would I want to put out, if they are no longer needed?), and, secondly, what if any packages are missing?


Another possible "hitch" is that I have a hamster(and another section with multimedia) created on top of LVM. Can the latest ubuntu correctly to define them or need to be dancing with a tambourine? But, basically, I'm really interested in how to install only the desired packages? With LVM, I think, will understand somehow.
by | 3 views

2 Answers

0 like 0 dislike
dpkg --get-selections >myselections
dpkg --set-selections \r
Severe problems with versions of software will not be stored because only the name of the package.
by
0 like 0 dislike
experience the same thing with fedora:
get the list of packages without versions the "before" and "after" reinstalling (or, such as installing to dev):
(don't know how to deb-based, rpm can do this:
\r
rpm-qa | sort | xargs rpm-q --queryformat="%{NAME}\"

continue to identify the difference helps diff
by

Related questions

0 like 0 dislike
1 answer
asked May 22, 2019 by iliyaisd
0 like 0 dislike
4 answers
0 like 0 dislike
4 answers
asked Mar 23, 2019 by masterrr
0 like 0 dislike
3 answers
asked Apr 9, 2019 by rocknsalt
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
24,706 users