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
  • 197,895
  • 55
  • 485
  • 740

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,259