0

On Ubuntu Precise and just learning how to use apt-get, I ran:

sudo apt-get install libfolks25

It installed a slew of files, many marked vivid. And, of course, installing things I really didn't want to install. Yes, I should have run in simulated mode first. It ended with

dpkg: error: configuration error: /etc/dpkg/dpkg.cfg.d/multiarch:1: unknown option 'foreign-architecture'
dpkg: error: configuration error: /etc/dpkg/dpkg.cfg.d/multiarch:1: unknown option 'foreign-architecture'
dpkg: error: configuration error: /etc/dpkg/dpkg.cfg.d/multiarch:1: unknown option 'foreign-architecture'
E: Sub-process /usr/bin/dpkg returned an error code (2)

If I use apt-cache policy libfolks25, it still shows version 0.6.8-2.

Is there a way to 'undo' to previous versions of all the files it says were installed?

muru
  • 193,181
  • 53
  • 473
  • 722

1 Answers1

0

Yes, what you need is a Full System restore but to do that, you need a Full System Back-up...

So if this is a quite new install:

  1. Re-install the system using 14.04 Trusty Tahr LTS (=Long Term Support)
  2. Start making System Backups
Fabby
  • 34,341
  • 38
  • 97
  • 191
  • As you've never accepted an answer on this site before: If this answer helped you, don't forget to click the grey **☑** at the left of this text, which means [Yes, this answer is valid](http://askubuntu.com/help/accepted-answer)! **;-)** – Fabby Feb 15 '16 at 22:37