On Mon, Feb 19, 2018 at 07:42:29PM +0100, Jonas Smedegaard wrote: > > - would be good to change title and text of of 3.1 > > i could not figure out what the title means and how it relates to > > the content of the section. > > I firmly believe documentation of ways to fork Debian (which adding a > non-Debian package repository to APT essentially is) belongs elsewhere, > and I will therefore not take part in discussing that for our wiki page.
Sure. But this discussion was just about faq 3.1, how to remove such a repo and rebuild from debian repo. > > Q: Is there a way to list just the explicitly installed packages > > (as opposed to the ones pulled in by dependencies ?) > > Most minimal way is "apt-mark showmanual". Ah, thanks! > > If there where these two commands, one should be able to easily get rid of > > deb-multimedia by > > (1) listing packages installed from that repository > > (2) list , match the packages manually installed > > (3) identify manual installed packages from the repo > > (4) remove repo from /etc/apt/sources.list > > (5) apt-get-update, aptitute autoclean ? > > (6) remove all packages installed from the repo (1) > > (7) re-install packages from (3) > > > > So far i've only managed to do > > > > dpt-query -l | grep dmo > > > > to half-way identify packages from deb-multimedia and remove them. I could > > remember which packages i installed manually and reinstalled them. But for > > documenting a recommended way to remove a repo, that is not a good > > reuseable > > approach. > > Hope above may get you back a sensible system. Me too ;-) Cheers toerless > - Jonas