0

I am running Linux Mint 19.1.

Whilst downloading a 3D editing software I believe someone's coding instructions have caused an issue with my system. I am currently trying to download gThumb from Software Manager, but I am met with an error message:

The package system is broken

Check if you are using third party repositories. If so disable them, since they are a common source of problems. Furthermore run the following command in a Terminal: apt-get install -f

The following packages have unmet dependencies:

wine-stable: Depends: wine-stable-amd64 (= 4.0~bionic) but 4.0~bionic is installed Depends: wine-stable-i386 (= 4.0~bionic) but it is not installed

I have tried the suggested command and I am met with:

alex@alex-Lenovo-Y50-70-Touch:~$ apt-get install -f
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
alex@alex-Lenovo-Y50-70-Touch:~$ sudo apt-get install -f
[sudo] password for alex:           
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  icoutils libcapi20-3 libodbc1 libwxgtk3.0-gtk3-0v5 python-wxgtk3.0
  python-wxversion wine-stable-amd64
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  playonlinux wine-stable winehq-stable
0 upgraded, 0 newly installed, 3 to remove and 421 not upgraded.
After this operation, 9,415 kB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: error: configuration error: /etc/dpkg/dpkg.cfg.d/architectures:1: unknown option 'foreign-architecture'
E: Sub-process dpkg --set-selections returned an error code (2)
E: Couldn't record the approved state changes as dpkg selection states
alex@alex-Lenovo-Y50-70-Touch:~$ 

I have read several similar posts about this issue but haven't found any exactly the same, or with an actual solution. Please help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.