Bad Wine installation

Questions about Wine on Linux
Locked
varongitano
Newbie
Newbie
Posts: 1
Joined: Mon May 07, 2012 1:50 pm

Bad Wine installation

Post by varongitano »

Hi everyone, I`m new in linux and I use Linux Mint 12

I tried to install wine with a lot of problems, so I decided to re install
and this is what happens

Code: Select all

osvaldo@atpub:~$ sudo add-apt-repository ppa:ubuntu-wine/ppa
[sudo] password for osvaldo: 
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 65, in <module>
    if not sp.add_source_from_line(line):
  File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 630, in add_source_from_line
    (deb_line, file) = expand_ppa_line(line.strip(), self.distro.codename)
  File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 47, in expand_ppa_line
    sourceslistd = apt_pkg.Config.find_dir("Dir::Etc::sourceparts")
AttributeError: 'module' object has no attribute 'Config'

I don't know what to do
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Bad Wine installation

Post by dimesio »

varongitano wrote:Hi everyone, I`m new in linux and I use Linux Mint 12

I tried to install wine with a lot of problems, so I decided to re install
and this is what happens

Code: Select all

osvaldo@atpub:~$ sudo add-apt-repository ppa:ubuntu-wine/ppa
[sudo] password for osvaldo: 
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 65, in <module>
    if not sp.add_source_from_line(line):
  File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 630, in add_source_from_line
    (deb_line, file) = expand_ppa_line(line.strip(), self.distro.codename)
  File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 47, in expand_ppa_line
    sourceslistd = apt_pkg.Config.find_dir("Dir::Etc::sourceparts")
AttributeError: 'module' object has no attribute 'Config'

I don't know what to do
Ask your distro. This is a package manager problem.
Locked