LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-15-2018, 12:02 AM   #1
coderlen
Member
 
Registered: May 2018
Location: Greenwood, IN
Distribution: antiX
Posts: 151

Rep: Reputation: 17
Trouble installing new apps from Show Applications


I cannot install new apps. I thought this was limited to my problem installing FlightGear, but when I tried to install Wine, I got the exact same error message:

Unable to install Wine:
Error while installing package: trying to overwrite '/usr/share/games/flightgear/Aircraft/c172p/WebPanel/bootstrap/bootstrap.min.css', which is also in package flightgear-phi2016.4.2+dfsg1-1

I even tried removing all files and directories under '/usr/share/games/' from the terminal prompt, including the 'flightgear' directory. Even so, I still get this same error message, although none of those subdirectories or files exist anymore.

Thanks for your help.
 
Old 10-15-2018, 12:17 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by coderlen View Post
I cannot install new apps. I thought this was limited to my problem installing FlightGear, but when I tried to install Wine, I got the exact same error message:

Unable to install Wine:
Error while installing package: trying to overwrite '/usr/share/games/flightgear/Aircraft/c172p/WebPanel/bootstrap/bootstrap.min.css', which is also in package flightgear-phi2016.4.2+dfsg1-1

I even tried removing all files and directories under '/usr/share/games/' from the terminal prompt, including the 'flightgear' directory. Even so, I still get this same error message, although none of those subdirectories or files exist anymore.

Thanks for your help.
From your sidebar, it seems you maybe using Ubuntu, if I'm right in thinking that; I'd do a search for a package containing the file it's complaining about. As it says you have another package installed that provides the same file. It would still be listed in your package managers database that, the file mentioned is still installed on your system, even though you manually deleted it. It's a bad idea to manually remove files outside of the package manager where those same files have been installed via software packages.

Type the following command into a terminal window;

Code:
sudo dpkg -S /usr/share/games/flightgear/Aircraft/c172p/WebPanel/bootstrap/bootstrap.min.css
Post the results of the above command using CODE tags.
 
Old 10-15-2018, 12:28 AM   #3
coderlen
Member
 
Registered: May 2018
Location: Greenwood, IN
Distribution: antiX
Posts: 151

Original Poster
Rep: Reputation: 17
I ran this command from a terminal window, as suggested by the author of FlightGear. This is supposed to remove everything related to FlightGear:

sudo apt remove flightgear flightgear-data-all

However, I got the exact same error message.

By the way, I'm running Ubuntu 18.04.
 
Old 10-15-2018, 12:32 AM   #4
coderlen
Member
 
Registered: May 2018
Location: Greenwood, IN
Distribution: antiX
Posts: 151

Original Poster
Rep: Reputation: 17
jsbjsb001, here is the result of running the command you suggested:

Code:
/usr/share/games$ sudo dpkg -S /usr/share/games/flightgear/Aircraft/c172p/WebPanel/bootstrap/bootstrap.min.css
[sudo] password for len: 
flightgear-phi: /usr/share/games/flightgear/Aircraft/c172p/WebPanel/bootstrap/bootstrap.min.css
Thanks for your quick reply.
 
Old 10-15-2018, 03:53 AM   #5
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
While you could try uninstalling the flightgear-phi package and then try installing the wine package; it's probably a good idea to see if there is any conflicting software repositories in your package manager's repositories list;

Run the following command and post the output using CODE tags;

Code:
sudo grep -Erh ^deb /etc/apt/sources.list*
 
Old 10-15-2018, 07:45 AM   #6
coderlen
Member
 
Registered: May 2018
Location: Greenwood, IN
Distribution: antiX
Posts: 151

Original Poster
Rep: Reputation: 17
OK,jsbjsb001, here is the result of the grep command you gave me:

Code:
/usr/share/games$ sudo grep -Erh ^deb /etc/apt/sources.list*
[sudo] password for len: 
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
deb http://ppa.launchpad.net/samoilov-lex/aftl-stable/ubuntu bionic main
deb http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu bionic main
deb http://ppa.launchpad.net/itachi-san/gvfs-mtp/ubuntu bionic main
deb http://ppa.launchpad.net/webupd8team/java/ubuntu bionic main
deb http://ppa.launchpad.net/saiarcot895/flightgear/ubuntu bionic main
deb http://ppa.launchpad.net/saiarcot895/flightgear/ubuntu bionic main
deb http://ppa.launchpad.net/webupd8team/unstable/ubuntu bionic main
deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu bionic main
deb http://ppa.launchpad.net/itachi-san/gvfs-mtp/ubuntu bionic main
deb http://ppa.launchpad.net/webupd8team/java/ubuntu bionic main
deb http://ppa.launchpad.net/rosco2/backports/ubuntu bionic main
deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic main
deb https://download.sublimetext.com/ apt/stable/
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb http://ppa.launchpad.net/samoilov-lex/aftl-stable/ubuntu bionic main
deb http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu bionic main
deb http://ppa.launchpad.net/vikoadi/ppa/ubuntu bionic main
deb http://ppa.launchpad.net/rosco2/backports/ubuntu bionic main
deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic main
deb https://download.sublimetext.com/ apt/stable/
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb http://ppa.launchpad.net/vikoadi/ppa/ubuntu bionic main
deb http://ppa.launchpad.net/webupd8team/unstable/ubuntu bionic main
deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu bionic main
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
 
Old 10-15-2018, 08:22 AM   #7
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by coderlen View Post
OK,jsbjsb001, here is the result of the grep command you gave me:

Code:
/usr/share/games$ sudo grep -Erh ^deb /etc/apt/sources.list*
[sudo] password for len: 
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
deb http://ppa.launchpad.net/samoilov-lex/aftl-stable/ubuntu bionic main
deb http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu bionic main
deb http://ppa.launchpad.net/itachi-san/gvfs-mtp/ubuntu bionic main
deb http://ppa.launchpad.net/webupd8team/java/ubuntu bionic main
deb http://ppa.launchpad.net/saiarcot895/flightgear/ubuntu bionic main
deb http://ppa.launchpad.net/saiarcot895/flightgear/ubuntu bionic main
deb http://ppa.launchpad.net/webupd8team/unstable/ubuntu bionic main
deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu bionic main
deb http://ppa.launchpad.net/itachi-san/gvfs-mtp/ubuntu bionic main
deb http://ppa.launchpad.net/webupd8team/java/ubuntu bionic main
deb http://ppa.launchpad.net/rosco2/backports/ubuntu bionic main
deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic main
deb https://download.sublimetext.com/ apt/stable/
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb http://ppa.launchpad.net/samoilov-lex/aftl-stable/ubuntu bionic main
deb http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu bionic main
deb http://ppa.launchpad.net/vikoadi/ppa/ubuntu bionic main
deb http://ppa.launchpad.net/rosco2/backports/ubuntu bionic main
deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic main
deb https://download.sublimetext.com/ apt/stable/
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb http://ppa.launchpad.net/vikoadi/ppa/ubuntu bionic main
deb http://ppa.launchpad.net/webupd8team/unstable/ubuntu bionic main
deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu bionic main
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
It looks like you have the winehq software repository in your sources.list file twice and it's actually for the winehq.org site, not from Ubuntu's software repositories. I think this could well be your problem - try removing the entries I've highlighted in bold for you above. Then try installing wine again.
 
Old 10-15-2018, 08:34 AM   #8
coderlen
Member
 
Registered: May 2018
Location: Greenwood, IN
Distribution: antiX
Posts: 151

Original Poster
Rep: Reputation: 17
jsbjsb001, what you have suggested makes perfect sense. I just am not sure how to "remove" the entries you highlighted.

So before I try anything, I am going to post here the commands I intend to run, before actually doing it. Here goes.

Code:
sudo dpkg -r deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main

sudo dpkg -r deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
Does this look right? If not,please edit them for correctness before I try it live. Thanks.
 
Old 10-15-2018, 08:44 AM   #9
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by coderlen View Post
jsbjsb001, what you have suggested makes perfect sense. I just am not sure how to "remove" the entries you highlighted.

So before I try anything, I am going to post here the commands I intend to run, before actually doing it. Here goes.

Code:
sudo dpkg -r deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main

sudo dpkg -r deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
Does this look right? If not,please edit them for correctness before I try it live. Thanks.
No, the "-r" option just removes packages, not software repositories. Just directly edit the /etc/apt/sources.list file with a text editor and remove them. It's just a ASCII text file.
 
Old 10-15-2018, 11:54 AM   #10
coderlen
Member
 
Registered: May 2018
Location: Greenwood, IN
Distribution: antiX
Posts: 151

Original Poster
Rep: Reputation: 17
I edited the sources.list file with vi, and now the wine-builds line is commented out.

But when I run the sudo grep command again, the wine-builds line is still showing:

Code:
sudo grep -Erh ^deb /etc/apt/sources.list*
[sudo] password for len: 
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
deb http://ppa.launchpad.net/samoilov-lex/aftl-stable/ubuntu bionic main
deb http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu bionic main
deb http://ppa.launchpad.net/itachi-san/gvfs-mtp/ubuntu bionic main
deb http://ppa.launchpad.net/webupd8team/java/ubuntu bionic main
deb http://ppa.launchpad.net/saiarcot895/flightgear/ubuntu bionic main
deb http://ppa.launchpad.net/saiarcot895/flightgear/ubuntu bionic main
deb http://ppa.launchpad.net/webupd8team/unstable/ubuntu bionic main
deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu bionic main
deb http://ppa.launchpad.net/itachi-san/gvfs-mtp/ubuntu bionic main
deb http://ppa.launchpad.net/webupd8team/java/ubuntu bionic main
deb http://ppa.launchpad.net/rosco2/backports/ubuntu bionic main
deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic main
deb https://download.sublimetext.com/ apt/stable/
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb http://ppa.launchpad.net/samoilov-lex/aftl-stable/ubuntu bionic main
deb http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu bionic main
deb http://ppa.launchpad.net/vikoadi/ppa/ubuntu bionic main
deb http://ppa.launchpad.net/rosco2/backports/ubuntu bionic main
deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic main
deb https://download.sublimetext.com/ apt/stable/
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb http://ppa.launchpad.net/vikoadi/ppa/ubuntu bionic main
deb http://ppa.launchpad.net/webupd8team/unstable/ubuntu bionic main
deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu bionic main
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
In spite of the fact that the wine-builds line still appears, I tried to install Wine again, and of course I got the exact same error I've been getting all along:

Code:
Unable to install Wine:
Error while installing package: trying to overwrite '/usr/share/games/flightgear/Aircraft/c172p/WebPanel/bootstrap/bootstrap.min.css', which is also in package flightgear-phi2016.4.2+dfsg1-1
I can't imagine what the problem is.
 
Old 10-15-2018, 12:42 PM   #11
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by coderlen View Post
I edited the sources.list file with vi, and now the wine-builds line is commented out.

But when I run the sudo grep command again, the wine-builds line is still showing:

Code:
sudo grep -Erh ^deb /etc/apt/sources.list*
[sudo] password for len: 
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
deb http://ppa.launchpad.net/samoilov-lex/aftl-stable/ubuntu bionic main
deb http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu bionic main
deb http://ppa.launchpad.net/itachi-san/gvfs-mtp/ubuntu bionic main
deb http://ppa.launchpad.net/webupd8team/java/ubuntu bionic main
deb http://ppa.launchpad.net/saiarcot895/flightgear/ubuntu bionic main
deb http://ppa.launchpad.net/saiarcot895/flightgear/ubuntu bionic main
deb http://ppa.launchpad.net/webupd8team/unstable/ubuntu bionic main
deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu bionic main
deb http://ppa.launchpad.net/itachi-san/gvfs-mtp/ubuntu bionic main
deb http://ppa.launchpad.net/webupd8team/java/ubuntu bionic main
deb http://ppa.launchpad.net/rosco2/backports/ubuntu bionic main
deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic main
deb https://download.sublimetext.com/ apt/stable/
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb http://ppa.launchpad.net/samoilov-lex/aftl-stable/ubuntu bionic main
deb http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu bionic main
deb http://ppa.launchpad.net/vikoadi/ppa/ubuntu bionic main
deb http://ppa.launchpad.net/rosco2/backports/ubuntu bionic main
deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic main
deb https://download.sublimetext.com/ apt/stable/
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb http://ppa.launchpad.net/vikoadi/ppa/ubuntu bionic main
deb http://ppa.launchpad.net/webupd8team/unstable/ubuntu bionic main
deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu bionic main
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
In spite of the fact that the wine-builds line still appears, I tried to install Wine again, and of course I got the exact same error I've been getting all along:

Code:
Unable to install Wine:
Error while installing package: trying to overwrite '/usr/share/games/flightgear/Aircraft/c172p/WebPanel/bootstrap/bootstrap.min.css', which is also in package flightgear-phi2016.4.2+dfsg1-1
I can't imagine what the problem is.
I dare say it's the line I've highlighted in bold above that's still the problem. You will need to use a text editor that's more user friendly, so we can be certain that line is gone. I will say also that all of those PPA's you have in apt's repositories list are concerning and may well cause further problems later on. Let's just take it step by step, run the command below;

Code:
sudo gedit /etc/apt/sources.list
gedit should be installed by default and should be much easier to use than vi. Once you've removed that line, then try again to install the wine package.
 
Old 10-15-2018, 01:28 PM   #12
coderlen
Member
 
Registered: May 2018
Location: Greenwood, IN
Distribution: antiX
Posts: 151

Original Poster
Rep: Reputation: 17
I used gedit as you suggested. Although the 'wine-builds' line is still there, it is commented out.

Just to be sure, I removed the commented-out 'wine-builds' line. Then I attempted another install of Wine, but I got the same error:

Code:
Unable to install Wine:
Error while installing package: trying to overwrite '/usr/share/games/flightgear/Aircraft/c172p/WebPanel/bootstrap/bootstrap.min.css', which is also in package flightgear-phi2016.4.2+dfsg1-1
Perhaps the 'wine-builds' line is in another file which is accessed when I try to install Wine. Could that be?
 
Old 10-15-2018, 01:32 PM   #13
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by coderlen View Post
I used gedit as you suggested. Although the 'wine-builds' line is still there, it is commented out.

Just to be sure, I removed the commented-out 'wine-builds' line. Then I attempted another install of Wine, but I got the same error:

Code:
Unable to install Wine:
Error while installing package: trying to overwrite '/usr/share/games/flightgear/Aircraft/c172p/WebPanel/bootstrap/bootstrap.min.css', which is also in package flightgear-phi2016.4.2+dfsg1-1
Perhaps the 'wine-builds' line is in another file which is accessed when I try to install Wine. Could that be?
ok, I was thinking it may well still give you an error, but I think we are closer to resolving this for you. Now it's time to get a little more forceful;

Run the following command to remove the flightgear-phi package forcefully;

Code:
sudo dpkg --purge --force-all flightgear-phi
Then try installing the wine package again. Let us know how it goes.
 
Old 10-15-2018, 02:01 PM   #14
coderlen
Member
 
Registered: May 2018
Location: Greenwood, IN
Distribution: antiX
Posts: 151

Original Poster
Rep: Reputation: 17
Code:
$ sudo dpkg --purge --force-all flightgear-phi
[sudo] password for len: 
dpkg: warning: ignoring request to remove flightgear-phi which isn't installed
len@len-Satellite-E45t-A:~$
OK, I ran the above, then I searched for Wine, found it, clicked on the application selection, and it installed!

When I click on the 'Launch' button, nothing happens. But perhaps I can handle it from here.

I'll post back here if I need any more help. But thanks for all your wonderful help!
 
Old 10-15-2018, 02:05 PM   #15
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by coderlen View Post
Code:
$ sudo dpkg --purge --force-all flightgear-phi
[sudo] password for len: 
dpkg: warning: ignoring request to remove flightgear-phi which isn't installed
len@len-Satellite-E45t-A:~$
OK, I ran the above, then I searched for Wine, found it, clicked on the application selection, and it installed!

When I click on the 'Launch' button, nothing happens. But perhaps I can handle it from here.

I'll post back here if I need any more help. But thanks for all your wonderful help!
Great news! Well done!

You'll have to configure the wine package, run the following to configure it;

Code:
winecfg
To run a Windows app with it;

Code:
wine /path/to/windows/app
Replace "/path/to/windows/app" with the correct path to the Windows app you want to run with Wine.

(DON'T run wine with sudo)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NAS share does not show up only for some applications keevill Linux - Desktop 4 09-03-2010 02:31 AM
My installed applications don't show up itags.org Ubuntu 1 08-01-2009 01:16 PM
Trouble installing applications wildmtncrazy Linux - Software 1 06-03-2006 02:59 PM
Trouble installing MySQL GUI apps on SUSE 10.1 tisource Linux - Software 3 05-18-2006 06:59 PM
Trouble Installing Apps on SuSE bmaher292 Linux - Software 5 02-13-2006 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration