Problem installing Wine 1.5

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
thebgland

Problem installing Wine 1.5

Post by thebgland »

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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29509
Joined: Wed Jul 06, 2011 3:58 am

Re: apt-get: GPG error. NO_PUBKEY.

Post by xenopeek »

Please share the output of:

Code: Select all

inxi -r
Image
thebgland

Re: apt-get: GPG error. NO_PUBKEY.

Post by thebgland »

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
User avatar
xenopeek
Level 25
Level 25
Posts: 29509
Joined: Wed Jul 06, 2011 3:58 am

Re: apt-get: GPG error. NO_PUBKEY.

Post by xenopeek »

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.
Image
thebgland

Re: apt-get: GPG error. NO_PUBKEY.

Post by thebgland »

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?
User avatar
xenopeek
Level 25
Level 25
Posts: 29509
Joined: Wed Jul 06, 2011 3:58 am

Re: apt-get: GPG error. NO_PUBKEY.

Post by xenopeek »

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.
Image
thebgland

Re: apt-get: GPG error. NO_PUBKEY.

Post by thebgland »

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

Re: apt-get: GPG error. NO_PUBKEY.

Post by anamnesis »

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
User avatar
xenopeek
Level 25
Level 25
Posts: 29509
Joined: Wed Jul 06, 2011 3:58 am

Re: apt-get: GPG error. NO_PUBKEY.

Post by xenopeek »

Let's check where actually it is fetching things;

Code: Select all

apt-cache policy wine
Image
thebgland

Re: apt-get: GPG error. NO_PUBKEY.

Post by thebgland »

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
boswbr25

Re: Problem installing Wine 1.5

Post by boswbr25 »

Did you ever figure out what was causing this error? I am having the same problem when trying to install wine...
Jonathan Spearman

Re: apt-get: GPG error. NO_PUBKEY.

Post by Jonathan Spearman »

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?
Locked

Return to “Software & Applications”