LinuxQuestions.org
Visit Jeremy's Blog.
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 09-02-2011, 07:13 PM   #1
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Rep: Reputation: 39
Synamptic - Fixing broken dependicies


When I start Synaptic (Or the software manager) I get them to start and show all programs and packages available, But it says I have a broken dependicy (libc6-dev). I have right clicked and marked for recommended upgrade, I have tried (and failed) to remove, I have started terminal and done:
Code:
 sudo apt-get update
sudo apt-get upgrade
with and without the -f option and I always run into the same thing:

Encountered error:
Error 1: cannot connect to url, check for broken dependicies


it will not let me download anything through either synaptic or SM.

I am using Mint 10 (with xfce) so it is debian (I believe), I do have an internet connection (using it now) and all else on the system works as expected. Any help will be welcome help, and I will be more then happy to provide any more info that is need.
 
Old 09-02-2011, 07:24 PM   #2
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,749

Rep: Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462
In Synaptic, have you tried Edit-->Fix Broken Packages?
 
Old 09-02-2011, 07:27 PM   #3
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Original Poster
Rep: Reputation: 39
This is what I get from Edit>fix

Code:
An error occured:
The following details are provided:
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
 
Old 09-02-2011, 08:11 PM   #4
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,749

Rep: Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462
Since the original error message cited a broken URI, in Synaptic check Settings-->Repositories (or look at /etc/apt/sources.list). Perhaps a repo has been deselected or the URI has gotten messed up.

If you recently upgraded your Ubuntu, the upgrade process normally disables non-Ubuntu repos.

I've never had to deal with this error, but this thread from the Ubuntu forums may help.

http://ubuntuforums.org/showthread.php?t=790638
 
Old 09-02-2011, 08:28 PM   #5
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Original Poster
Rep: Reputation: 39
I did
Code:
sudo apt-get install -f
and it ran, as normal EXCEPT for the last section:

Code:
Fetched 46.1 kB in 17s (2,685 B/s)                                             
Reading package lists... Done
N: Ignoring file 'opera.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
W: GPG error: http://deb.opera.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A2019EA84E7532C8
I installed Opera myself (from a DLed .deb) and assume that the version I got does no match that in the repo (or the key in the repo?), and I most likely installed it wrong (User error is common with me ) I am going to try changing the file name (specificly the .list.d to .list) and hope that works. If not I will delete Opera and just use Firefox and see if that helps. I thank you for all the assistance provided so far, and will post the outcome of my experiment (Which I will try in roughly in hour, In case new help arrives) ... If all else fails, at least I am learning a bit more on how the repo's work.
 
Old 09-02-2011, 08:46 PM   #6
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,749

Rep: Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462
Try remarking out or deleting the Opera repos in sources.list or Synaptic.

I usually update my Opera manually anyhoo. It's been my primary browser since v. 3 and I'm not about to change now.
 
Old 09-02-2011, 11:56 PM   #7
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Original Poster
Rep: Reputation: 39
The url for Opera was stored in a different file INSIDE the etc/apt/ file instead of being in the sources.list. Turns out it was just missing a repo url for Opera. added 'deb http://deb.opera.com/opera/ stable non-free' & 'deb http://deb.opera.com/opera-beta/ stable non-free', Opened Synaptic, Marked Opera for re-installation, Went to EDIT and choose Fix, and now on the very bottom bar it said it had 'updates' that will take 50.5MB so I went back to edit and selected 'Apply All Marked For Change', and it is now installing ... and I managed to get that libc6-dev to removed so it seems (to me at least) that it is working again!


I am just now starting to use Opera, known of it for years though. And I've got to say, It impresses me. It is fast, has tons of cool widgets and extensions ... And I am blown away by Turbo for slow networks (I rely on wi-fi so that is a major selling point). I really don't think I am going to switch anytime soon.

Thanks again for all the help, I am really happy to have Synaptic working again (Turns out a good portion of my linux life revolves around it!)
 
Old 09-03-2011, 08:52 PM   #8
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,749

Rep: Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462
Glad you're up and running.

Enjoy using Opera. If you like Opera half as much as I do . . . .

I use it for mail, rss, and text newsgroups (such as the news.opera.com groups), as well as browsing.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Fixing Linux: What's Broken And What To Do About It LXer Syndicated Linux News 0 12-01-2008 02:20 PM
Need advice on fixing a broken NTFS XP with a Linux LiveCD brjoon1021 Linux - General 1 05-05-2007 02:50 PM
No luck fixing broken packages dishbert Ubuntu 14 10-08-2006 10:02 PM
Apt-Get i need help fixing broken dependencies turkenator02 Suse/Novell 2 05-11-2006 04:36 AM
fixing or reading a broken FAT partition ?? e1000 Linux - General 1 08-02-2004 01:37 PM


All times are GMT -5. The time now is 05:37 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration