LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-17-2006, 03:35 AM   #1
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Rep: Reputation: 30
dependencies problem


Hi

I just installed sarge the base system and then changed the apt/sources.list and did apt-get update dist-upgrade which went fine.
Now on apt-get upgrade or apt-get install resolvconf or any package for that mater I get the following packages have unmet dependencies:
Libx11-6: denpends: x11-common (> 4.3.0) but it is not installed
Xfree86-common: depends: x11-common but it is not installed
E: Unmet dependencies., Try using –f
but even apt-get –f install does not fix this.

Why did this happen? And how to fix it or avoid it next time? I mean I have a very basic system with out much packages installed at all, it asked during the upgrade whether I want to upgrade the libc or something like this and I said yes.

Thanks
 
Old 03-17-2006, 11:03 AM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
I just installed sarge the base system and then changed the apt/sources.list
What does your /etc/apt/sources.list look like now?
 
Old 03-17-2006, 11:12 AM   #3
Acron_0248
Member
 
Registered: Feb 2006
Location: Venezuela
Distribution: Gentoo
Posts: 453

Rep: Reputation: 33
Well you shoould trying using
Code:
apt-get -f install
or just use
Code:
apt-get install x11-common
The question that ask you Dead Parrot is also important 'cuase we can't know what repositories you're using, sarge/stable, etch/testing or sid/unstable?



Bye
 
Old 03-17-2006, 12:26 PM   #4
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Original Poster
Rep: Reputation: 30
deb http://http.us.debian.org/debian testing main contrib
deb http://security.debian.org/ testing/updates main contrib
 
Old 03-17-2006, 12:51 PM   #5
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
So you've dist-upgraded from stable to testing. Personally, I would have done the dist-upgrade right after installing the base system. Now you have to deal with x-window-system upgrade. Debian stable has XFree86 while testing has X.org and your problem seems to be related to this upgrade. I'd suggest that you should try "aptitude install x-window-system" (you can replace aptitude with apt-get if you prefer that) -- this should ensure that you'll get X.org.

Debian testing doesn't use security.debian.org, testing has it's own security team. More info here: http://secure-testing-master.debian.net/
 
Old 03-17-2006, 06:37 PM   #6
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Original Poster
Rep: Reputation: 30
I redone the whole thing again, i.e. install Sarge, update and upgrade, rewritten the sources.list, update dist-upgrade with the new sources.list being
deb http://http.us.debian.org/debian/ testing main contrib non-free
deb http://secure-testing.debian.net/debian-secure-testing testing/security-updates main contrib non-free
now after I did the dist-upgrade, I did update and upgrade again to make sure all is up to date and I am getting
W:GPG error: http://secure-testing.debian.net/debian-secure-testing testing/security-updates Releases:
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 94xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
W: YOu may want to run apt-get update to correct these problems.
 
Old 03-17-2006, 06:59 PM   #7
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
apt-get install debian-archive-keyring
apt-key update
 
Old 03-17-2006, 07:36 PM   #8
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
That didn't work, dracae.

I added the secure-testing.debian.net url, followed your instructions, but still get the same error posted by ekdya.

I also tried
# wget http://ftp-master.debian.org/ziyi_key_2006.asc -O - | apt-key add -
...with the same result.

Here is the complete conversation:
Code:
debian:~# apt-get update
Get: 1 http://secure-testing.debian.net etch/security-updates Release.gpg [189B]
Get: 2 http://secure-testing.debian.net etch/security-updates Release [26.8kB]
Get: 3 ftp://mirror.espri.arizona.edu testing Release.gpg [189B]
Ign http://secure-testing.debian.net etch/security-updates Release
Get: 4 http://secure-testing.debian.net etch/security-updates/main Packages [22.9kB]
Get: 5 ftp://mirror.espri.arizona.edu testing Release [5902B]
Get: 6 http://secure-testing.debian.net etch/security-updates/contrib Packages [606B]
Get: 7 http://secure-testing.debian.net etch/security-updates/non-free Packages [14B]
Get: 8 ftp://mirror.espri.arizona.edu testing/main Packages [2769kB]
Get: 9 ftp://mirror.espri.arizona.edu testing/contrib Packages [36.5kB]
Hit ftp://mirror.espri.arizona.edu testing/non-free Packages
Get: 10 ftp://mirror.espri.arizona.edu testing/main Sources [1078kB]
Get: 11 ftp://mirror.espri.arizona.edu testing/contrib Sources [18.2kB]
Hit ftp://mirror.espri.arizona.edu testing/non-free Sources
Fetched 3959kB in 13s (293kB/s)
Reading package lists... Done
W: GPG error: http://secure-testing.debian.net etch/security-updates Release: The following signatures coul dn't be verified because the public key is not available: NO_PUBKEY 946AA6E18722E71E
W: You may want to run apt-get update to correct these problems

debian:~# apt-get install debian-archive-keyring
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed
  debian-archive-keyring
0 upgraded, 1 newly installed, 0 to remove and 63 not upgraded.
Need to get 6050B of archives.
After unpacking 53.2kB of additional disk space will be used.
Get: 1 ftp://mirror.espri.arizona.edu testing/main debian-archive-keyring 2006.01.18 [6050B]
Fetched 6050B in 1s (4251B/s)
Selecting previously deselected package debian-archive-keyring.
(Reading database ... 135831 files and directories currently installed.)
Unpacking debian-archive-keyring (from .../debian-archive-keyring_2006.01.18_all.deb) ...
Setting up debian-archive-keyring (2006.01.18) ...
gpg: key 1DB114E0: "Debian Archive Automatic Signing Key (2004) <ftpmaster@debian.org>" not changed
gpg: key 4F368D5D: "Debian Archive Automatic Signing Key (2005) <ftpmaster@debian.org>" not changed
gpg: key B5F5BBED: "Debian AMD64 Archive Key <debian-amd64@lists.debian.org>" not changed
gpg: key 2D230C5F: "Debian Archive Automatic Signing Key (2006) <ftpmaster@debian.org>" not changed
gpg: Total number processed: 4
gpg:              unchanged: 4

debian:~# apt-key update
gpg: key 1DB114E0: "Debian Archive Automatic Signing Key (2004) <ftpmaster@debian.org>" not changed
gpg: key 4F368D5D: "Debian Archive Automatic Signing Key (2005) <ftpmaster@debian.org>" not changed
gpg: key B5F5BBED: "Debian AMD64 Archive Key <debian-amd64@lists.debian.org>" not changed
gpg: key 2D230C5F: "Debian Archive Automatic Signing Key (2006) <ftpmaster@debian.org>" not changed
gpg: Total number processed: 4
gpg:              unchanged: 4

debian:~# apt-get update
Get: 1 http://secure-testing.debian.net etch/security-updates Release.gpg [189B]
Hit http://secure-testing.debian.net etch/security-updates Release
Errhttp://secure-testing.debian.net etch/security-updates Release

Get: 2 http://secure-testing.debian.net etch/security-updates Release [26.8kB]
Hit ftp://mirror.espri.arizona.edu testing Release.gpg
Hit ftp://mirror.espri.arizona.edu testing Release
Hit ftp://mirror.espri.arizona.edu testing/main Packages
Hit ftp://mirror.espri.arizona.edu testing/contrib Packages
Ign http://secure-testing.debian.net etch/security-updates Release
Hit ftp://mirror.espri.arizona.edu testing/non-free Packages
Hit http://secure-testing.debian.net etch/security-updates/main Packages
Hit ftp://mirror.espri.arizona.edu testing/main Sources
Hit ftp://mirror.espri.arizona.edu testing/contrib Sources
Hit http://secure-testing.debian.net etch/security-updates/contrib Packages
Hit http://secure-testing.debian.net etch/security-updates/non-free Packages
Hit ftp://mirror.espri.arizona.edu testing/non-free Sources
Fetched 27.0kB in 1s (15.1kB/s)
Reading package lists... Done
W: GPG error: http://secure-testing.debian.net etch/security-updates Release: The following signatures coul dn't be verified because the public key is not available: NO_PUBKEY 946AA6E18722E71E
W: You may want to run apt-get update to correct these problems

debian:~# wget http://ftp-master.debian.org/ziyi_key_2006.asc -O - | apt-key add -
--18:20:13--  http://ftp-master.debian.org/ziyi_key_2006.asc
           => `-'
Resolving ftp-master.debian.org... 140.211.166.43
Connecting to ftp-master.debian.org|140.211.166.43|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,017 (2.0K) [text/plain]

100%[===============================================================>] 2,017         --.--K/s

18:20:14 (192.36 MB/s) - `-' saved [2017/2017]

debian:~# apt-get update
Get: 1 http://secure-testing.debian.net etch/security-updates Release.gpg [189B]
Hit http://secure-testing.debian.net etch/security-updates Release
Errhttp://secure-testing.debian.net etch/security-updates Release

Get: 2 http://secure-testing.debian.net etch/security-updates Release [26.8kB]
Hit ftp://mirror.espri.arizona.edu testing Release.gpg
Hit ftp://mirror.espri.arizona.edu testing Release
Hit ftp://mirror.espri.arizona.edu testing/main Packages
Hit ftp://mirror.espri.arizona.edu testing/contrib Packages
Ign http://secure-testing.debian.net etch/security-updates Release
Hit ftp://mirror.espri.arizona.edu testing/non-free Packages
Hit http://secure-testing.debian.net etch/security-updates/main Packages
Hit ftp://mirror.espri.arizona.edu testing/main Sources
Hit ftp://mirror.espri.arizona.edu testing/contrib Sources
Hit http://secure-testing.debian.net etch/security-updates/contrib Packages
Hit http://secure-testing.debian.net etch/security-updates/non-free Packages
Hit ftp://mirror.espri.arizona.edu testing/non-free Sources
Fetched 27.0kB in 1s (15.1kB/s)
Reading package lists... Done
W: GPG error: http://secure-testing.debian.net etch/security-updates Release: The following signatures coul dn't be verified because the public key is not available: NO_PUBKEY 946AA6E18722E71E
W: You may want to run apt-get update to correct these problems
debian:~#
 
Old 03-18-2006, 01:10 AM   #9
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
If I get a message like "The following signatures couldn't be verified because the public key is not available: NO_PUBKEY XXXXXXXXXXXXXXXX", I fix the problem with these commands:

# gpg --keyserver wwwkeys.eu.pgp.net --recv-keys XXXXXXXXXXXXXXXX
# apt-key add /root/.gnupg/pubring.gpg
# apt-get update

The "XXXXXXXXXXXXXXXX" part I just copy&paste from the error message.
 
Old 03-18-2006, 01:30 AM   #10
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
That worked. Another tidbit for my Linux cheat-sheet.
 
  


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
Dependencies problem juanb Linux - General 1 09-13-2004 09:11 AM
Program Dependencies Problem DrakIE Linux - Newbie 7 04-05-2004 05:31 PM
I recieve a failed dependencies error, but I have all required dependencies Laptop2250 Linux - Software 15 02-03-2004 07:58 PM
Problem Correcting Dependencies Dip Linux - Software 4 12-25-2003 08:16 AM
problem with dependencies serji Linux - Software 0 10-01-2003 01:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:35 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