Problem installing Wine 1.5

Questions about applications and software
Forum rules
Before you post please read this

Problem installing Wine 1.5

Postby thebgland on Sun May 05, 2013 12:01 am

I havn't been able to find a solution to my problem. I can't install anything. When I run
sudo apt-get uptate
I recieve...
Code: Select all
Ign file: binary/ Release.gpg
Ign file: binary/ Release                                                                                                                                                                     
Ign file: binary/ Translation-en_US                                                                                                                                                           
Ign file: binary/ Translation-en                                                                                                                                                             
Hit http://repo.steampowered.com precise Release.gpg                                                                                                                                         
Hit http://repo.steampowered.com precise Release                                                                                                                                             
Get: 1 http://packages.linuxmint.com nadia Release.gpg [197 B]                                                                                                                               
Hit http://repo.steampowered.com precise/steam Sources                                                                                                                                       
Get: 2 http://http.us.debian.org stable Release.gpg [1,672 B]                                                                                                                                 
Get: 3 http://packages.linuxmint.com nadia Release [17.6 kB]                                                                                                                                 
Hit http://security.ubuntu.com quantal-security Release.gpg                                                                                                                                   
Hit http://archive.canonical.com quantal Release.gpg                                                                                                                                         
Hit http://http.us.debian.org stable Release                                                                                                                                                 
Ign http://http.us.debian.org stable Release                                                                                                                                                 
Hit http://repo.steampowered.com precise/steam amd64 Packages                                                                                                                                 
Hit http://packages.medibuntu.org quantal Release.gpg                                                                                                                                         
Hit http://security.ubuntu.com quantal-security Release                                                                                                                                       
Hit http://ppa.launchpad.net quantal Release.gpg                                                                                                                                             
Ign http://http.us.debian.org stable/main Sources/DiffIndex                                                                                                                                   
Hit http://repo.steampowered.com precise/steam i386 Packages                                                                                                                                 
Hit http://archive.canonical.com quantal Release                                                                                                                                             
Hit http://security.ubuntu.com quantal-security/main Sources                                                                                                                                 
Ign http://http.us.debian.org stable/contrib Sources/DiffIndex                                                                                                                               
Hit http://ppa.launchpad.net quantal Release.gpg                                                                                                                                             
Get: 4 http://host distribution Release.gpg [4,195 B]                                                                                                                                       
Hit http://archive.ubuntu.com quantal Release.gpg                                                                                                                                             
Ign http://http.us.debian.org stable/non-free Sources/DiffIndex                                                                                                                               
Hit http://security.ubuntu.com quantal-security/restricted Sources                                                                                                                           
Hit http://archive.canonical.com quantal/partner Sources                                                                                                                                     
Ign http://http.us.debian.org stable/main amd64 Packages/DiffIndex                                                                                                                           
Hit http://archive.ubuntu.com quantal-updates Release.gpg                                                                                                                                     
Hit http://packages.medibuntu.org quantal Release                                                                                                                                             
Hit http://security.ubuntu.com quantal-security/universe Sources                                                                                                                             
Ign http://http.us.debian.org stable/contrib amd64 Packages/DiffIndex                                                                                                                         
Hit http://archive.canonical.com quantal/partner amd64 Packages                                                                                                                               
Hit http://archive.ubuntu.com quantal Release                                                                                                                                                 
Hit http://security.ubuntu.com quantal-security/multiverse Sources                                                                                                                           
Ign http://http.us.debian.org stable/non-free amd64 Packages/DiffIndex                                                                                                                       
Ign http://ppa.launchpad.net nadia Release.gpg                                                                                                                                               
Hit http://archive.ubuntu.com quantal-updates Release                                                                                                                                         
Hit http://security.ubuntu.com quantal-security/main amd64 Packages                                                                                                                           
Hit http://archive.canonical.com quantal/partner i386 Packages                                                                                                                               
Get: 5 http://http.us.debian.org stable/main i386 Packages [5,864 kB]                                                                                                                         
Get: 6 http://packages.linuxmint.com nadia/main Sources [21.2 kB]                                                                                                                             
Hit http://archive.ubuntu.com quantal/main Sources                                                                                                                                           
Hit http://security.ubuntu.com quantal-security/restricted amd64 Packages                                                                                                                     
Get: 7 http://ppa.launchpad.net quantal Release.gpg [316 B]                                                                                                                                   
Hit http://packages.medibuntu.org quantal/free Sources                                                                                                                                       
Hit http://archive.ubuntu.com quantal/restricted Sources                                                                                                                                     
Hit http://security.ubuntu.com quantal-security/universe amd64 Packages                                                                                                                       
Get: 8 http://packages.linuxmint.com nadia/upstream Sources [6,331 B]                                                                                                                         
Get: 9 http://ppa.launchpad.net quantal Release.gpg [316 B]                                                                                                                                   
Get: 10 http://host distribution Release [4,183 B]                                                                                                                                           
Hit http://archive.ubuntu.com quantal/universe Sources                                                                                                                                       
Hit http://security.ubuntu.com quantal-security/multiverse amd64 Packages                                                                                                                     
Get: 11 http://packages.linuxmint.com nadia/import Sources [484 B]                                                                                                                   
Ign http://host distribution Release                                                                                                                                                         
Fetched 56.5 kB in 1s (38.6 kB/s)
W: GPG error: http://http.us.debian.org stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA
E: GPG error: http://host distribution Release: The following signatures were invalid: NODATA 1 NODATA 2

I couldn't find the problem,or the solution. I hope you can help.
thebgland
Level 1
Level 1
 
Posts: 6
Joined: Sat May 04, 2013 11:35 pm

Linux Mint is funded by ads and donations.
 

Re: apt-get: GPG error. NO_PUBKEY.

Postby xenopeek on Sun May 05, 2013 2:50 am

Please share the output of:
Code: Select all
inxi -r
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14524
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: apt-get: GPG error. NO_PUBKEY.

Postby thebgland on Sun May 05, 2013 2:58 pm

output of
inxi -r
Code: Select all
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://host/debian distribution section1 section2 section3
           deb-src http://host/debian distribution section1 section2 section3
           deb http://http.us.debian.org/debian stable main contrib non-free
           deb-src http://http.us.debian.org/debian stable main contrib non-free
           Active apt sources in file: /etc/apt/sources.list.d/ehoover-compholio-quantal.list
           deb http://ppa.launchpad.net/ehoover/compholio/ubuntu quantal main
           deb-src http://ppa.launchpad.net/ehoover/compholio/ubuntu quantal main
           Active apt sources in file: /etc/apt/sources.list.d/kilian-f_lux-quantal.list
           deb http://ppa.launchpad.net/kilian/f.lux/ubuntu quantal main
           deb-src http://ppa.launchpad.net/kilian/f.lux/ubuntu quantal main
           Active apt sources in file: /etc/apt/sources.list.d/local-repository.list
           deb file:///usr/share/local-repository binary/
           Active apt sources in file: /etc/apt/sources.list.d/medibuntu.list
           deb http://packages.medibuntu.org/ quantal free non-free
           deb-src http://packages.medibuntu.org/ quantal free non-free
           Active apt sources in file: /etc/apt/sources.list.d/mint.list
           deb http://packages.linuxmint.com/ nadia main upstream import backport
           deb-src http://packages.linuxmint.com/ nadia main upstream import backport #Added by software-properties
           Active apt sources in file: /etc/apt/sources.list.d/steam.list
           deb http://repo.steampowered.com/steam/ precise steam
           deb-src http://repo.steampowered.com/steam/ precise steam
           Active apt sources in file: /etc/apt/sources.list.d/ubuntu-wine-ppa-nadia.list
           deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu nadia main
           deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu nadia main
           Active apt sources in file: /etc/apt/sources.list.d/ubuntu-wine-ppa-quantal.list
           deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu quantal main
           deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu quantal main
           Active apt sources in file: /etc/apt/sources.list.d/ubuntu.list
           deb http://archive.ubuntu.com/ubuntu/ quantal main restricted universe multiverse
           deb-src http://archive.ubuntu.com/ubuntu/ quantal main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu/ quantal-updates main restricted universe multiverse
           deb-src http://archive.ubuntu.com/ubuntu/ quantal-updates main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ quantal-security main restricted universe multiverse
           deb-src http://security.ubuntu.com/ubuntu/ quantal-security main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ quantal partner
           deb-src http://archive.canonical.com/ubuntu/ quantal partner
           Active apt sources in file: /etc/apt/sources.list.d/xorg-edgers-ppa-quantal.list
           deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu quantal main
           deb-src http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu quantal main
thebgland
Level 1
Level 1
 
Posts: 6
Joined: Sat May 04, 2013 11:35 pm

Re: apt-get: GPG error. NO_PUBKEY.

Postby xenopeek on Sun May 05, 2013 3:07 pm

Okay, well. I think you are running Linux Mint 14 KDE? There are some strange things in your sources.list.

First, the file /etc/apt/sources.list has the following lines:
Code: Select all
deb http://host/debian distribution section1 section2 section3
deb-src http://host/debian distribution section1 section2 section3
deb http://http.us.debian.org/debian stable main contrib non-free
deb-src http://http.us.debian.org/debian stable main contrib non-free

The first two lines are obviously incorrect and broken. Those are template lines, not actual repositories. You can either remove these using the Software Sources program, or edit this file as root to manually delete these two lines. Editing on the terminal with:
Code: Select all
sudo nano /etc/apt/sources.list

Or you may also use Kate (easier :)):
Code: Select all
kdesudo kate /etc/apt/sources.list

Now I don't know why you would have Debian repositories enabled on Linux Mint 14. That sounds like a mistake and something that will get you in trouble. So in fact I recommend you also remove the last two lines of this file, unless you have a clear reason to enable Debian repositories on the Ubuntu based Linux Mint.

Both your errors are caused by these four entries in /etc/apt/sources.list. The other files & repositories all seem to be correct.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14524
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: apt-get: GPG error. NO_PUBKEY.

Postby thebgland on Sun May 05, 2013 4:06 pm

That solved my NO_PUBKEY problem, but I still can't install the software that I was trying to re-install when this problem started.
I run...
sudo apt-get install wine
and recieive
Code: Select all
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine : Depends: wine1.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

What package is broken?
thebgland
Level 1
Level 1
 
Posts: 6
Joined: Sat May 04, 2013 11:35 pm

Re: apt-get: GPG error. NO_PUBKEY.

Postby xenopeek on Sun May 05, 2013 4:19 pm

Ah, you have one more error.

The file /etc/apt/sources.list.d/ubuntu-wine-ppa-nadia.list is incorrect and you should delete it:
Code: Select all
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu nadia main
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu nadia main

It is a duplicate anyway, as you also have the file /etc/apt/sources.list.d/ubuntu-wine-ppa-quantal.list which is correct:
Code: Select all
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu quantal main
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu quantal main

After removing the /etc/apt/sources.list.d/ubuntu-wine-ppa-nadia.list file (sudo rm /etc/apt/sources.list.d/ubuntu-wine-ppa-nadia.list) you should update your sources first (apt update) before you try installing Wine again.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14524
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: apt-get: GPG error. NO_PUBKEY.

Postby thebgland on Sun May 05, 2013 9:18 pm

Deleting the file and running sudo apt-get update didn't help.
sudo apt-get install wine
still gives the same output.
thebgland
Level 1
Level 1
 
Posts: 6
Joined: Sat May 04, 2013 11:35 pm

Re: apt-get: GPG error. NO_PUBKEY.

Postby anamnesis on Mon May 06, 2013 1:50 am

thebgland wrote:Deleting the file and running sudo apt-get update didn't help.
sudo apt-get install wine
still gives the same output.

Hello
any repos in /etc/apt/sources.list.d? Rename the folder (eg sources.list.d_old) and run apt-get update again. BTW it's a bad idea to use proper Debian repos in Mint/Ubuntu. If you want Debian-compatibility install proper Debian or eg Mint-Debian.
HTH
Regards
anamnesis
Level 2
Level 2
 
Posts: 65
Joined: Sat Sep 18, 2010 12:01 pm
Location: Cornwall, GB

Re: apt-get: GPG error. NO_PUBKEY.

Postby xenopeek on Mon May 06, 2013 2:09 am

Let's check where actually it is fetching things;
Code: Select all
apt-cache policy wine
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14524
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: apt-get: GPG error. NO_PUBKEY.

Postby thebgland on Fri May 10, 2013 11:10 pm

Code: Select all
wine:
  Installed: (none)
  Candidate: 1.5.29-0ubuntu1
  Version table:
     1.5.29-0ubuntu1 0
        500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ quantal/main amd64 Packages
     1.4.1-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ quantal/universe amd64 Packages
thebgland
Level 1
Level 1
 
Posts: 6
Joined: Sat May 04, 2013 11:35 pm

Re: Problem installing Wine 1.5

Postby boswbr25 on Tue May 14, 2013 9:06 am

Did you ever figure out what was causing this error? I am having the same problem when trying to install wine...
boswbr25
Level 1
Level 1
 
Posts: 5
Joined: Tue Feb 28, 2012 9:09 pm

Re: apt-get: GPG error. NO_PUBKEY.

Postby Jonathan Spearman on Thu May 16, 2013 1:14 am

thebgland wrote:That solved my NO_PUBKEY problem, but I still can't install the software that I was trying to re-install when this problem started.
I run...
sudo apt-get install wine
and recieive
Code: Select all
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine : Depends: wine1.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

What package is broken?



Have you looked in Synaptic Package Manager under Customer Filters/Broken and see if there is anything listed there, If there is, Uninstall it or deselect it and then retry apt-get update and see what happens.

Also I noticed that you state a GPG error, Have you checked under software sources/Authentication and imported the public key for the repository you are trying to download from? Or have you created a key that you have to import, in order to install software?
Thanks
Jonathan Spearman
J.S. Technical Consulting
http://www.jstc.biz/
Running Linux Mint 15 KDE 4.11
User avatar
Jonathan Spearman
Level 1
Level 1
 
Posts: 34
Joined: Sat Aug 11, 2012 1:09 pm
Location: Texas

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: 0ddity, Sajjad.R, Ubiquitous and 14 guests